still having frequent de-synchs

As of update 27, in coop play every move by a guest player results in a de-synch.

I need the logs please

May I have your save to confirm it's fixed now?

Here is a recent save. There is a battle beyond the secret door.
a1.zip

Is there anything we can do to help identify the source of the problem? If you need a possible fix tested, we'll be happy to oblige. Could we maybe load DLLs for the prior versions to see where the problems began?

I’m waiting for someone from discord server to help me test this on a MP session.

I was able to open and use this save without issues in MP. Not sure what else to suggest. Maybe ask every player to check game files.

A common source of problems includes settings.xml mismatch and file corruptions.
Verifying game files for each player, making sure all players run identical mod version and making sure .xml is identical for all players is important.

this is the latest feedback I got from the QA folks who help with MP. v31 haven't caused any issues over a 2hrs session.
I suggest check game files on all players computers, and ensure everyone is using same settings.


When we use useExpanded and useFilters subRows disappear when we perform a search

Describe the bug (required)
When using useExpanded and useFilters subRows disappear when we perform a search.
Provide an example via Codesandbox! (required)
https://codesandbox.io/s/expander-filtering-gjer7
Steps To Reproduce (required)
This happens with all filters, bellow an example:
Search for the exact content of a row from "First Name":
Issue 1: The search doesn't looks for values on subRows
Issue 2: When you clear the search the subRows disappear

I was just about to open an issue for this same behavior as well.
After looking through the code, I believe this behavior was introduced by this change. Before that change, each row was cloned before overwriting the subRows property. But now, each row is no longer cloned; which means that updating the subRows property actually persists a change the the memoized row data.
The workaround is to clone each row yourself inside your filter method(s). But I think this is definitely a bug. IMO, filtering should not be allowed to mutate the subRows like that.

Yeah, that change was necessary for some other things to work that were restricted by doing immutable ops on the sub rows. Welcome to suggestions, but you'll see many tests fail if you revert that change. Any ideas moving forward?

Out-of-the-box behavior seems broken here. I'm using the following to work around this bug.
function globalFilter<Datum extends DatumType>(
  rows: Row<Datum>[],
  columnIds: Extract<keyof Datum, string>[],
  searchQuery: string
) {
  if (!searchQuery) return rows;

  const lowercaseQuery = searchQuery.toLowerCase();
  const rowMatches = (row: Row<Datum>): boolean =>
    Object.values(row.values).some(
      rowValue =>
        typeof rowValue === "string" &&
        rowValue.toLowerCase().includes(lowercaseQuery)
    ) || row.subRows.some(rowMatches);

  return rows.filter(rowMatches);
}

useTable<Datum>(
    {
      ...
      globalFilter,
    },
    useGlobalFilter,
    useFilters,
    useSortBy,
    usePagination,
    useRowSelect,
  );

This also works quite well with Fuzzy searching:
import fuzzy from 'fuzzy';

function globalFilter<Datum extends DatumType>(
  rows: Row<Datum>[],
  columnIds: Extract<keyof Datum, string>[],
  searchQuery: string
) {
  if (!searchQuery) return rows;

  const rowMatches = (row: Row<Datum>): boolean =>
    Object.values(row.values).some(rowValue => {
      return typeof rowValue === "string" && fuzzy.test(searchQuery, rowValue);
    }) || row.subRows.some(rowMatches);

  return rows.filter(rowMatches).map(row => ({ ...row, subRows: row.subRows }));
}

@tannerlinsley You mention the changes in 6d4a733a88dd9c1b9d1e49e5dbc54edd6f2acad5 allowed a few other things to work. Could you share details? I'd like to ensure my cloning workaround isn't going to cause unreliable behavior/regressions. Thank you for all your hard work on this library and congrats on shipping v7.

For my use case I had to write my own useGlobalFilter plugin-hook anyway, so I decided to try to tackle this issue from a different angle.
Here's what I did, at a high level:

added a property to each row object called preGlobalFilteredSubRows

this is set in the useInstance hook whenever rows or columns change (basically whenever accessRowsForColumn is called in useTable)

row.subRows is reset to the value of row.preGlobalFilteredSubRows whenever globalFilterValue is undefined (basically whenever the filter is cleared)
Instead of:

row.subRows =
  row.subRows && row.subRows.length
    ? filterRows(row.subRows)
    : row.subRows

I do:
row.subRows =
  row.preGlobalFilteredSubRows && row.preGlobalFilteredSubRows.length
    ? filterRows(row.preGlobalFilteredSubRows)
    : row.subRows

In my limited testing thus far, this has worked to ensure that sub-rows do not disappear whenever the globalFilterValue changes or is removed.

@tannerlinsley You mention the changes in 6d4a733 allowed a few other things to work. Could you share details?

I would definitely be interested to learn about those issues as well!
Perhaps @aaryn101's solution could be generalized to solve the problem with both global and row filtering, by adding a preFilteredSubRows array to every row?

@aaryn101 Do you have a sample code for reference?  I am new to this and need this  feature :(

Well , when you explicitly define the subrows , at least the subrows are not getting removed.
But my problem now is, global filter is not searching the subrows.

In the next version of RT, this is going to be configurable. You'll be able to choose top-down or bottom-up filtering. For now, v7 is top-down.

@govi74 what are in hiddenColumns?

@govi74 what are in hiddenColumns?

an array of column names

I solved it by adding custom filter function to filterTypes
  const filterTypes = React.useMemo(
    () => ({
      filterRowsWithSubrows: (rows, id, filterValue) => {
        return rows.filter((row) => {
          const rowValue = row.values[id];
          return rowValue !== undefined ? String(rowValue).toLowerCase() === String(filterValue).toLowerCase() : true;
        });
      },
    }),
    [],
  );

and then add filterTypes to useTable hook
const tableInstance = useTable(
    {
      columns
      data,
      filterTypes,
    },
    useFilters
)

and then add this custom filter to column as a string name "filterRowsWithSubrows" for value "filter"
export const status = {
  Header: 'Status',
  accessor: 'status',
  filter: 'filterRowsWithSubrows',
  Filter: SelectColumnFilter,
};

I solved it by adding custom filter function to filterTypes
  const filterTypes = React.useMemo(
    () => ({
      filterRowsWithSubrows: (rows, id, filterValue) => {
        return rows.filter((row) => {
          const rowValue = row.values[id];
          return rowValue !== undefined ? String(rowValue).toLowerCase() === String(filterValue).toLowerCase() : true;
        });
      },
    }),
    [],
  );

and then add filterTypes to useTable hook
const tableInstance = useTable(
    {
      columns
      data,
      filterTypes,
    },
    useFilters
)

and then add this custom filter to column as a string name "filterRowsWithSubrows" for value "filter"
export const status = {
  Header: 'Status',
  accessor: 'status',
  filter: 'filterRowsWithSubrows',
  Filter: SelectColumnFilter,
};

Has anyone found any other solution to that issue as all of the mentioned solutions don't work for me? :(
I refer to the issue with filtering the subRows

In the next version of RT, this is going to be configurable. You'll be able to choose top-down or bottom-up filtering. For now, v7 is top-down.

@tannerlinsley How is it going?

Still working on it. The Typescript conversion is going well
Tanner Linsley
On Apr 14, 2021, 7:56 AM -0600, 花生Peadar @.***>, wrote:

In the next version of RT, this is going to be configurable. You'll be able to choose top-down or bottom-up filtering. For now, v7 is top-down.
@tannerlinsley How is it going?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@tannerlinsley  Could you tell me if you know some solution for the issue? All the suggested solutions did not help me

I have it implemented for a table that renders a sub table with global filtering using the match-sorter package.
When you create your filterFn (most of the filtering examples show the fuzzyTextFilterFn), you get access to rows. From there, you can add information from the rows.values and rows.original objects to the keys array for matchSorter (you can actually access deeply nested values in this keys array).
Your keys array needs to provide a list that looks at the data from both the main table's pov and the sub table's pov.
ie:

values.name belongs to the main table, it looks directly at rows.values for the main table
original.sub_item.*.item_name looks from the main table to the sub table's data (it's an array of objects, from rows.original)
values.sub_item_name belongs to the sub table, and looks directly at rows.values for the sub table

Both tables also need to implement useGlobalFilter. Only the main table gets the actual input, but both tables need to know about the globalFilter.
I'm using: react-table 7.6.3 and match-sorter 6.1.0

Its funny how this small fixable issue made me change library

Not sure why this is closed, this is still a bug in<EMAIL_ADDRESS>as of July 2021.
Feels like this library is just unmaintained until v8 comes out in year?

This is not an issue, but a feature request for leaf-node first filtering. It’s also non trivial to add without significant changes. Your choices are to either put in the time and effort yourself with a PR or patiently wait for v8.
It’s moving along well, too!

Took me a whole day to find some workaround.
For example, you have table with columns: title, price, count.
You have a parent rows and expandable sub-rows.

Put this in your useTable hook options: getSubRows: (row: any) => row.subRows ( fixing issue with missing sub-rows, after filtering ),
Put all title's from sub-rows inside title of the parent row.

Initial structure vs what you need to get:
  {
    "title": "Department 1 title",
    "cost": "",
    "count": "",
    "subrows": [
      { "title": "Department 1 service 1", "cost": "string", "count": "number" },
      { "title": "Department 1 service 2", "cost": "string", "count": "number" }
    ]
  }
]

[
  {
    "title": "Department 1 service 1 Department 1 service 2" + "Department 1 title",
    "department_title": "Department 1 title",
    "cost": "",
    "count": "",
    "subrows": [
      { "title": "Department 1 service 1", "cost": "string", "count": "number" },
      { "title": "Department 1 service 2", "cost": "string", "count": "number" }
    ]
  }
]

If you need to display somewhere initial parent row title, you can access it in formatter data though row.original.department_title.

🟢  A work-around for this issue here

🟢 A work-around for this issue here

Not suitable for huge data set. It hangs the table when the dataset is more than 5000.

🟢 A work-around for this issue here

Not suitable for huge data set. It hangs the table when the dataset is more than 5000.

Do not use v7 for this use case. Upgrade to v8. It will solve the issue without using any hack. And work fine with more than 5000 rows as well.

🟢 A work-around for this issue here

Not suitable for huge data set. It hangs the table when the dataset is more than 5000.

Do not use v7 for this use case. Upgrade to v8. It will solve the issue without using any hack. And work fine with more than 5000 rows as well.

V8 with your workaround example? Or is there any inbuild configs to do that? Because I still couldn't find a way to support child search in the documentation.

I am not sure it is working as intended in version 8. When using the global search functionality some rows lose the capability to expand. It is inconsistent. If I search for "c" some of the rows will be expandable and if I search for 'ch' then the rows lose their capacity to expand...

It does not works for huge data, it shows unnecessary rows also with two string

The solution for me was to overwrite the globalFilter option and return any row that:

Satisfies the global filter value.
One of its subRows satisfies the filter.
Has a parent that satisfies the filter. This was the trickiest to implement since you need to have access to all the rows to return the parent of the current row, and react-table calls the globalFilter function not on all rows at once, but does many calls to the function with each containing the rows of a certain depth. So you need to accumulate all the rows manually. You are welcome to tell me if there is a better way to get all the rows in react-table.

Solution:
useTable({
  globalFilter: getGlobalFilter()
})

function getGlobalFilter() {
  const allRows = []

  return (
    levelNRows,
    columnIds,
    filterValue,
  ) => {
    allRows.push(...levelNRows)

    if (!filterValue) {
      return levelNRows
    }

    const normalizedFilterValue = filterValue.trim().toLowerCase()

    return levelNRows.filter((row) => {
      function rowMatches(row, parentRow) {
        return (
          // row's string values satisfy the filter
          Object.values(row.values).some(
            (cellValue) =>
              typeof cellValue === "string" &&
              cellValue.toLowerCase().includes(normalizedFilterValue),
          ) ||
          // or the row has a subRow that satisfies the filter
          row.subRows.some((row) => rowMatches(row)) ||
          // or the row has a parent row that satisfies the filter
          (parentRow ? rowMatches(parentRow) : false)
        )
      }

      const parentRow = allRows.find(({ subRows }) => subRows.includes(row))

      return rowMatches(row, parentRow)
    })
  }
}

@obadakhalili Can you provide working sandbox for this piece of code

Well , when you explicitly define the subrows , at least the subrows are not getting removed. But my problem now is, global filter is not searching the subrows.
useTable(
    {
      columns,
      data,
      initialState: {
        hiddenColumns: hiddenColumns,
      },
      getSubRows: (row: any) => row.subRows,
    },

Yeah, this is one works, but if you don't wrap getSubRows in useCallback it may cause a huge performance issue, e.g if you using virtualization with the huge amount of items.
What did work for me, inside globalFilter (which also should be wrapped in useCallback) I do clone(rows) like so:
globalFilter: useCallback((rows) => clone(rows).filter(...), [])
so subRows will always be populates after you clearing the filter because you don't overwrite the original rows.


docker: Error response from daemon: Head "https://ghcr.io/v2/noslate-project/noslate-demo/manifests/0.0.1": denied.

Unalble to pull docker image

I've tried pulling  this image on both local environment and server's environment(US)
SystemInfo:
Centos 7.6
Docker 20.10.17
I try to open this URL https://ghcr.io/v2/noslate-project/noslate-demo,It returns 404 not found

fixed.


Component 'select-card' developed differently with Figma on Storybook

Describe the bug
For component 'select-card v1.7.3'
developed differently with Figma on Storybook
Expected behavior
Figma
Storybook
Match the design
Screenshots
slack

@heeyoung1332  opened this issue on https://github.com/spaceone-dev/spaceone-design-system/issues/1044


Add test for map

(Put an X inside the [ ] to denote check mark [X].)

[x] If creating a new file :

[x] added links to it in the README files ?
[x] included tests with it ?
[x] added description (overview of algorithm, time and space compleixty, and possible edge case) in docstrings ?

[ ] if done some changes :

[ ] wrote short description in the PR explaining what the changes do ?
[ ] Fixes #[issue number] if related to any issue

[ ] other

Pull Request Test Coverage Report for Build 706

122 of 123 (99.19%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.2%) to 71.556%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tests/test_map.py
122
123
99.19%

Files with Coverage Reduction
New Missed Lines
%

algorithms/linkedlist/is_palindrome.py
1
93.33%

Totals

Change from base Build 702:
0.2%

Covered Lines:
4088

Relevant Lines:
5713

💛  - Coveralls


Publish fails for hassio package: lacking Docker service

When trying to publish hassio package #3732 with make publish-arch-x64-6.1, repository rejects action with 502 error and stack trace
/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/dependency.py:465: SAWarning: Object of type <Version> not in session, add operation along 'Package.versions' will not proceed
  prop=self.prop)
Traceback (most recent call last):
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask_restful/__init__.py", line 263, in error_router
    return original_handler(e)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/_compat.py", line 32, in reraise
    raise value.with_traceback(tb)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask_restful/__init__.py", line 263, in error_router
    return original_handler(e)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/_compat.py", line 32, in reraise
    raise value.with_traceback(tb)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/var/www/spkrepo/spkrepo/views/api.py", line 35, in wrapper
    return f(*args, **kwargs)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask_restful/__init__.py", line 431, in wrapper
    resp = resource(*args, **kwargs)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask/views.py", line 84, in view
    return self.dispatch_request(*args, **kwargs)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/flask_restful/__init__.py", line 521, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/var/www/spkrepo/spkrepo/views/api.py", line 217, in post
    db.session.commit()
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/scoping.py", line 150, in do
    return getattr(self.registry(), name)(*args, **kwargs)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/session.py", line 776, in commit
    self.transaction.commit()
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/session.py", line 377, in commit
    self._prepare_impl()
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/session.py", line 357, in _prepare_impl
    self.session.flush()
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/session.py", line 1919, in flush
    self._flush(objects)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/session.py", line 2037, in _flush
    transaction.rollback(_capture_exception=True)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/util/compat.py", line 182, in reraise
    raise value
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/session.py", line 2001, in _flush
    flush_context.execute()
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/unitofwork.py", line 372, in execute
    rec.execute(self)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/unitofwork.py", line 481, in execute
    self.dependency_processor.process_saves(uow, states)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/dependency.py", line 1051, in process_saves
    False, uowcommit, "add"):
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/dependency.py", line 1140, in _synchronize
    self._verify_canload(child)
  File "/var/www/spkrepo/env/lib/python3.4/site-packages/sqlalchemy/orm/dependency.py", line 257, in _verify_canload
    "collection %s" % (self.prop, ))
sqlalchemy.orm.exc.FlushError: Can't flush None value found in collection Version.service_dependencies
[pid: 15518|app: 0|req: 145/145] <IP_ADDRESS> () {42 vars in 674 bytes} [Sun Jan 26 11:41:31 2020] POST /packages => generated 0 bytes in 1127 msecs (HTTP/1.1 500) 0 headers in 0 bytes (0 switches on core 0)

@ymartin59 I guess by the ID of your insert (5) that new SPKs are not automatically added as services upon which we can set dependency?
I'm asking whether it's specific to a dependency that we don't build (ie "docker") versus a dependency that we might build (ie depending on "python3")

I'm not sure if we want that to be manual or not. I feel that having that much data validation in the DB is making things hard and there's no use for having a table with services.


Confusing about anchor whl and output whl.

https://github.com/linxuewu/Sparse4D/blob/9a0de41e3f5bd43f02e0b580c85cd1db84f51837/projects/mmdet3d_plugin/models/detection3d/detection3d_blocks.py#L99
Hello, in the paper and code the meaning of anchor[:, [w, h, l]] is lnw, lnh and lnl, but here in the output part, you just add output[:, [w, h, l]] and anchor[:, [w, h, l]] to get output anchor's lnw, lnh and lnl. I think the better formular should be output[:, [w, h, l]] = ln(output[:, [w, h, l]].exp() + anchor[:, [w, h, l]].exp()).

It doesn't make much difference, you can think of the output offset of the network as a coefficient. offset=ln(gt/whl), consistent with the form in 2D detection, such as FaseterRCNN


token transfer dialog

when transfering a token from the UI, a dialog shows up. current problems with this:

given the new structure, this would be much better as a dedicated route. So that we can route to e.g. /home/transfer/ETH from other points in the UI, instead of relying on modals and ad-hoc navigation
decimal places currently don't work, meaning we can't transfer 0.1 ETH

Hi @naps62 , can I be assigned this please?

I’d like to help with this.

May I pick this up?


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative/operations-wg-leads
/assign knative/operations-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/eventing 9b1f09c...75b9159:
  > 75b9159 Update actions (# 5673)
bumping knative.dev/caching 6494c8d...77b5d6a:
  > 77b5d6a upgrade to latest dependencies (# 521)
bumping knative.dev/serving 1c25327...5b9face:
  > 5b9face TestServiceWithTrafficSplit test changes (# 11799)
  > 88a8d1b upgrade to latest dependencies (# 11893)

/lgtm
/approve


horizon theme changes found in 20th nov codejam

In the codejam held today, found some minor discrepanices which resulted in question from multiple particpants. Addressing those change updates in this PR.

Hi @chaitanya-priya-puvvada @celineaudinsap. Please review and approve. Thanks.


[My habits] The "Add habit" buttons are disabled, when scroling page "All habits"

Environment: Windows10 x64, Chrome 89.0.4389.128
Reproducible: always
Build found: 27.09.2021
Preconditions
User is logged in GreenCity https://ita-social-projects.github.io/GreenCityClient/#/welcome
My habits page is opened.
Steps to reproduce

Click on 'Add new habit' button
Scroll down to the list of habits
Pay attention to the "Add habit" buttons

Actual result
All butons "Add habit" are disabled  when start scrolling down (see attachment).
Expected result
The buttons "Add habit" stays active.
User story and test case links
User story #993
related bug: [My habits] The "You don't have authorities" error is shown after clicking 'Mark as done' checkbox #2709"

Labels to be added
"Pri: high", "Bug", "Sev: major", "Functional", "Habit item"

bug isn't reproduced

Disabled only habbits that alredy added to user account. Back to user habbits and see habbits that added.


Fix macOS assembly exports on macOS.

Added macOS formatting rules for exported arm assembly symbols, like for amd code:
https://github.com/microsoft/PQCrypto-SIDH/blob/master/src/P434/AMD64/fp_x64_asm.S#L10-L14
See liboqs issue 1018 for issue details.

I've tried building this branch on my M1 Mac Mini.
When compiling make ARCH=ARM64 CC=clang OPT_LEVEL=GENERIC, it fails during linking with error library not found for -lrt; if I remove ARM_SETTING=-lrt from the Makefile, the build completes, and all test passes.
When compiling make ARCH=ARM64 CC=clang OPT_LEVEL=FAST, compilation fails:
clang -c -O3       -std=gnu11  -D _ARM64_ -D __NIX__ -D _FAST_   src/P434/ARM64/fp_arm64.c -o objs434/fp_arm64.o
src/P434/ARM64/fp_arm64.c:71:5: error: implicit declaration of function 'mp_shiftr1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    mp_shiftr1(c, NWORDS_FIELD);
    ^

When compiling make ARCH=ARM64 CC=gcc-11 OPT_LEVEL=GENERIC, it fails during linking with error library not found for -lrt; if I remove ARM_SETTING=-lrt from the Makefile, the build completes, and all test passes.
When compiling make ARCH=ARM64 CC=gcc-11 OPT_LEVEL=FAST, it fails during linking with error library not found for -lrt; if I remove ARM_SETTING=-lrt from the Makefile, the build completes, and all test passes.  There are lots of warnings during compilation, however, including ones like:
ld: warning: arm64 function not 4-byte aligned: p751 from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: p751x2 from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: p751x4 from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: p751p1_nz_s32 from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _fpadd751_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _fpsub751_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _mp_sub751_p2_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _mp_sub751_p4_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _mul751_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _rdc751_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _mp_add751_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _mp_add751x2_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _mp_subadd751x2_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)
ld: warning: arm64 function not 4-byte aligned: _mp_dblsub751x2_asm from ./lib751comp/libsidh_for_testing.a(fp_arm64_asm.o)

Thanks Douglas. I can investigate the failures on the Mac Mini (I sent you my SSH info)

So it seems that compiling with ARCH=ARM or ARM64 works if we remove the rt linking in the Makefile. @patricklonga, should we add another architecture (like s390x) or a special flag for M1, to disable the following lines:
ifeq "$(ARM_TARGET)" "YES"
    ARM_SETTING=-lrt
endif


Create sj.txt

Centro Universitário Salesiano de São Paulo - Unidade Campinas São José
http://unisal.br/unidades/campinas-sao-jose/

@jafernandes I am sorry a delay with processing your request. Could you please rename  lib/domains/br/unisal to  lib/domains/br/unisal.txt. I'll merge your pull request as soon as you do it.
Also, are you sure that you need to mention "- Unidade Campinas São José" in .txt file? Unisal.br seems to cover all campuses, and have the single email domain for all of them, doesn't it?

@philipto Thanks for reply.
We have some campus, but the main campus is unisal.br, our unit (campus) is sj.unisal.br - in this case the e-mails of our campus are<EMAIL_ADDRESS>Still it is necessary that I rename the file for you?
Thanks
Joel

@jafernandes Yes, if you wish to register e-mail domain for your campus only, the path should be lib/domains/br/unisal/sj.txt

@philipto OK take a look please if that's all right.
Thanks
Joel

@jafernandes I am sorry, I do not see any changes in the file path. Did you replace the file in the pull request?

@philipto Sorry, I'm not familiar with Git, I just create another Pull - https://github.com/JetBrains/swot/pull/1726 - see if it's ok or if I have to fix.
Thanks
Joel

@jafernandes Thank you! I merged pull request https://github.com/JetBrains/swot/pull/1726 and close this one as resolved in https://github.com/JetBrains/swot/pull/1726.


Caravan POC feedback

Overall
I thought it was nicely designed and laid out - I also appreciated it closely followed the UI of the Security Force Monitor site

"..."/sources
as of right now this functionality seems like it might have an extra step, the user has to click the "..." then click "source" - since this functionality only exists to add sources (as of now) could the workflow to add sources be shortened? Is there another functionality that is expected here?
When a user adds a new source each individual source is given a Confidence Score - this needs to be changed as Confidence Scores are attached to the Name or Aliases or other field, not each individual source. Confidence Scores can be increased as there is agreement among multiple sources about a field, eg five different sources agree on the Name of a Person. So when entering a new Source, a user should be able to change the Confidence Score of a Field itself.
Sources quickly become unreadable in the current setup -

Alias

I was able to enter an alias here nicely, but it was unclear to me how this field would handle multiple aliases. Many People and Organizations have multiple aliases so this needs to be reflected in the final product. It is not necessary to give each aliases a confidence score or track sources to each specific alias.

Death Date

Currently we do not have a Death Date in the data model for People - only First Citation and Last Citation
The Year, Month, Day interface works well and is nicely clear for future staffers who may be used to different formatting for dates

Relations
Membership

This should be renamed to Role which is what this field is capturing
It was unclear what the difference between “+ Add New” and “Add to this List” was

Memberships

People often have memberships with the same Organization with the same Role, but with different Ranks, as they are promoted
Including the Role and Rank in the table at the bottom would be useful for a user to quickly see a Person’s career
Right now it’s just “Memberships”, “Start Date” and “End Date”

Versioning

As of right now the Sourcing and Confidence don’t seem to be loading -- even if it did I’m not sure that would be the easiest way to navigate through different versions (versus seeing the date of an edit and the user who edited) --- will need to test in Alpha

It’s unclear to me the functionality right now --- is it that each field could be reverted to a previous version independent of the other fields? That makes sense, but I want to make sure that I’m understanding it

Languages

This functionality worked well - we are rethinking how the Monitor will handle translations at launch - for the names of People and Organizations we will choose a single name for the Name field and all other names (including translations) will go in the Alias field
However for we should have a controlled vocabulary of translations for Role, Title, Rank and other fields that can be standardized throughout the SFM as envisioned in the https://docs.google.com/spreadsheets/d/1VW8Ht1TuCV5Y3ziuLg1c_E9UsmBEp1_ZgP2L-k_Pelg/edit?usp=sharing

SFMquestion - Sheet1.pdf


Add blocking write mode for association

Block write is useful for cases like sfu to forward reliable message between clients and detach the data channel to use it as normal golang connections. The default behavior is still non-block mode and the user need to enable block mode by the config. Will also add an SettingEngine option to pion/webrtc for this.
Relates to #77  and #314

Love this feature! Great idea putting it behind a SettingEngine option.
Would it be possible to implement this by watching/peeking at a.pendingQueue.getNumBytes() + a.inflightQueue.getNumBytes()? Add some kind of notifier/callback that gets fired when it goes to zero.
It would allow us to keep the internals a lot simpler.

Love this feature! Great idea putting it behind a SettingEngine option.
Would it be possible to implement this by watching/peeking at a.pendingQueue.getNumBytes() + a.inflightQueue.getNumBytes()? Add some kind of notifier/callback that gets fired when it goes to zero.
It would allow us to keep the internals a lot simpler.

It will reduce the throughput if we watch the pending/inflight bytes to become zero that every write needs to wait for previous one to be acked by remote peer, it is also not identical to the net.conn's write method which returns after copy the data to the socket buffer.

@cnderrauber @boks1971 Push back if you disagree, but I think we should have Write drive and not create these single purpose points of communication.
This would be a deeper change. I think it will be easier to maintain/follow. As more gets added to the code base it gets harder to reason about and eventually the complexity makes everyone want to start over.

@Sean-Der It's a patch for blocking write based on currently read/write loop, the feature is useful for flow control in sfu forwarding reliable message and other people request it for long time. I think the change is easy to understand that the queueBuffer works as a ongoing write packet buffer in block mode and other write needs to wait for it drained.
I agree the write drive will make the write more straghtforward but we might still need buffer/notify to implement non-block writing if we don't want to break the API. So it is more like a v2 feature, what do you think?


chore: add env variables for fbc related test cases

Set TOOLCHAIN_API_URL and KEYLOAK_URL with stage values temporarily  for the test case can only run against stage cluster.
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Issue ticket number and link
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

I thought every e2e cluster was spun up with toolchain and keyclock. Why does only the release-pipelines suite need it?

We used different ways to communicate with stage cluster and the created cluster which is used by most tests.

I thought every e2e cluster was spun up with toolchain and keyclock. Why does only the release-pipelines suite need it?

We used different ways to communicate with stage cluster and the created cluster which is used by most tests.

So the difference here is that this is the only suite targeting the stage cluster?

I thought every e2e cluster was spun up with toolchain and keyclock. Why does only the release-pipelines suite need it?

We used different ways to communicate with stage cluster and the created cluster which is used by most tests.

So the difference here is that this is the only suite targeting the stage cluster?

Some other suite against stage cluster is  using  github action, not using openshift-ci.

I thought every e2e cluster was spun up with toolchain and keyclock. Why does only the release-pipelines suite need it?

We used different ways to communicate with stage cluster and the created cluster which is used by most tests.

So the difference here is that this is the only suite targeting the stage cluster?

Some other suite against stage cluster is using github action, not using openshift-ci.

Okay, so this is the only suite targeting the stage cluster using openshift-ci? And these urls are okay to have public, right?


There are 8 failing tests

There are 8 failing tests, i noticed some of them required elevated privileges so i ran them again as administrator.
Here's the report:
<MonoTorrent.Tests> (331 tests), 8 tests failed
  MonoTorrent.Tests.Client (185 tests), 8 tests failed
    TestWebSeed (7 tests), 6 tests failed: One or more child tests had errors
      ChunkedRequest, Success
      MultipleChunkedRequests, Failed: System.NullReferenceException : Object reference not set to an instance of an object.
      RecieveFirst, Failed: System.NullReferenceException : Object reference not set to an instance of an object.
      SendFirst, Failed: System.NullReferenceException : Object reference not set to an instance of an object.
      SingleFileTorrent, Failed: System.Net.WebException : Unable to connect to the remote server ----> System.Net.Sockets.SocketException : No connect
      TestInactiveServer, Failed: An unexpected exception type was thrown Expected: System.Net.WebException but was: System.InvalidOperationException : C
      TestPartialData, Failed: An unexpected exception type was thrown Expected: System.Net.WebException but was: System.InvalidOperationException : C
    UdpTrackerTests (12 tests), 2 tests failed: One or more child tests had errors
      AnnounceTest, Failed:  Expected: True But was: False
      ScrapeTest, Failed:  #3 Expected: True But was: False

Gist available here: https://gist.github.com/peters/4975677

Should be green now


"Tăuteu, Bogei, Chiribiș, Ciutelec, Poiana" are villages in "Tăuteu" commune, "BIHOR" county

Description
When an user search a location, this appear in the drop-down menu
according to the law
Precondition
The website ( https://peviitor-ro.github.io/ui.orase/ ) is up an running.
Empty the search bar after every step

Steps 1
Write "Tăuteu"
Expected result
In the drop down menu you find "Comuna Tăuteu, BIHOR
Sat Tăuteu, BIHOR(Tăuteu)"
Test Data
Tăuteu

Steps 2
Write "Bogei"
Expected result
In the drop down menu you find "Sat Bogei, BIHOR(Tăuteu)"
Test Data
Bogei

Steps 3
Write "Chiribiș"
Expected result
In the drop down menu you find "Sat Chiribiș, BIHOR(Tăuteu)"
Test Data
Chiribiș

Steps 4
Write "Ciutelec"
Expected result
In the drop down menu you find "SatCiutelec , BIHOR(Tăuteu)"
Test Data
Ciutelec

Steps 5
Write "Poiana"
Expected result
In the drop down menu you find "Sat Poiana, BIHOR(Tăuteu)"
Test Data
Poiana


test: add unit tests for image_check and xbrl_tag_check

Related to #34

May need to change test_xbrl_tag_check's assertion statement based on this discussion: https://github.com/orgs/alphanome-ai/discussions/38.
I think this was supposed to be True.
https://github.com/alphanome-ai/sec-parser/blob/b1b9213b1e2b01da6c1acf820d462e05270a75b3/sec_parser/processing_steps/individual_semantic_element_extractor/single_element_checks/xbrl_tag_check.py#L22
Update: Ready for review based on the answer from discussion https://github.com/orgs/alphanome-ai/discussions/38.

lgtm! thank you


only check is_public on content more than a few hours old?

There are some streams we used to grab after they were done, but they must be in a non public state, and then later changed to public.  I think adding a timing component here would help.

Also may end up in: Video is not available - hardcoded fix


[SPARK-37602][CORE] Add config property to set default Spark listeners

What changes were proposed in this pull request?
Adds a new config property spark.defaultListeners which is intended to be set by administrators to signify the "default" set of Spark listeners to be used in the job. This list will be combined with spark.extraListeners at runtime. This is similar in spirit to spark.driver.defaultJavaOptions and spark.plugins.defaultList.

Why are the changes needed?
spark.extraListeners allows users to custom Spark Listeners. Spark platform administrators would want to set their own set of "default" listeners for all jobs on the platform, however using spark.extraListeners makes it easy for end users to unknowingly override the default listeners.

Does this PR introduce any user-facing change?

Yes, adds new a config property.
How was this patch tested?
Modified existing UT to test new config property

Can one of the admins verify this patch?

Thanks for posting this Shardul! I wish we had a more nicely unified mechanism for defining these kind of "default"/"admin" configs (e.g. the config system automatically understanding a suffix of ".default"), but at least withPrepended makes the implementation simple.

cc @JoshRosen @cloud-fan @gatorsmile @vanzin

How many "list-like" configs do we have in Spark? I'm not sure if this is the best way to solve the admin <-> users issue, as users can always overwrite the configs set by the admin, if there is no extra protection in your Spark platform.

How many "list-like" configs do we have in Spark?

Currently I can find 3 instances where we have a separate "default" config:

spark.plugins.defaultList
spark.driver.defaultJavaOptions
spark.executor.defaultJavaOptions

There are also similar configs used by YARN for configuring required JARs/files/archives which get merged with the user-provided --jars/--files/--archives:
https://github.com/apache/spark/blob/a6d3a2c84e5cdc642ed57602612f0303585c4b6e/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L617-L626

I'm not sure if this is the best way to solve the admin <-> users issue, as users can always overwrite the configs set by the admin, if there is no extra protection in your Spark platform.

At least from our perspective, it is more about ease of configuration than enforcement/protection.
An example scenario is that we have configured a metrics emission listener in spark.extraListeners, let's say com.CustomListener.  This isn't the end of the world, but we might get a complaint from them at some point when they don't see their job showing up in downstream systems. We could ask them to also add com.CustomListener to their list, but this clearly isn't a scalable approach. It is better if it just works out of the box.
Similarly for both the javaOptions and YARN cases, let's say there are some JVM options and/or JARs that are required to make the job run properly on the cluster, or else it will fail. Without the default-style configs, if the user overrides it, the job will fail, and would need guidance to understand that they need to include the default value in addition to their own configs.
In both of these scenarios, we're not protecting against malicious actors, just trying to make users' lives easier.
That being said, the default-style configs can also make enforcement easier if necessary. For example in our own infrastructure, we have the ability to mark certain configurations as disallowed to be provided by users. We clearly don't want to include configs like spark.extraListeners and spark.driver.extraJavaOptions in this denylist, since we do want users to have the ability to add listeners and options if they need to. But, we could easily include spark.defaultListeners and spark.driver.defaultJavaOptions here. (Yes, it's possible to instead build the enforcement mechanism to force to spark.extraListeners to contain the expected string if it does not already, but this is more complicated and arguably more confusing when the user sees their config which magically has extra items in it.)

I would like to resume the discussion on this PR. @cloud-fan Can you advise on how to proceed here? @xkrogen's reply above captures our use case for such "default" properties. We also see utility in having something similar for spark.driver.extraClassPath (e.g. spark.driver.defaultClassPath)  where we could include the JAR files for spark.defaultListeners.

I wonder if this warrants a dev list discussion? @cloud-fan and @mridulm , would be curious to hear your thoughts.

@cloud-fan (or others), do you have any thoughts on what was shared above? From our side we're open to either moving forward with this PR as-is (just adding logic to have a default for this specific config), or trying to put together a more holistic PR that creates a clear convention/standard for such configs.


Enable pathless api

This PR enables a user to drop this line from their config:
  base: "rest", // A path prefix

to serve up an API directly from the hostname.
To see this in action, delete the base definition from the example server, navigate to http://localhost:16006/articles and click around, verifying all the links still work.

:+1:

looks good :+1:


Github Action to regenerate database not working on upstream

The Github Action we created to regenerate the database works fine on my fork, but fails on @kelle's. It's not 100% clear to me why this is, but a possibility could be related to:
https://stackoverflow.com/questions/57921401/push-to-origin-from-github-action/58393457#58393457
https://github.com/peter-evans/create-pull-request/issues/48
https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token
Basically, it sounds like since we have an Action that checks for a push, and another that does a push, these are blocked from running to prevent the possibility of cycling endlessly between them (even though they are not configured to do this).
I thought that having an open Pull Request might be blocking it, but no: merging it did not make the db generation script work. A possibility could be to disable the on-push integrity test, since we the main branch is protected from pushes anyways.

It's possible that #54 will fix this, but we won't know until it is merged.

Another possibility, which we can test before merging #54 is to check branch protection rules. main is protected from pushes, so it's possible that is why this Action is failing. We may want to relax that to allow pushes for certain users (including the user github-actions).

Hi! I took a quick look at this because you linked to one of my issues and I happened to see it.
I think the problem is that git commit fails because there is no diff. The file you are generating matches the one in the default branch already, so there is nothing to commit and push. See in the screenshot below it says Your branch is up to date with 'origin/main'. You need to add a check to see if there is a diff before trying to commit.

Ah, yes that can happen and that's a good catch. Though the more recent error case is that it's trying to push to a protected branch.

Ah, apologies. I missed the latest one but I see that error now. Well in that case, can I suggest a pull request? 😄
    steps:
    - uses: actions/checkout@v2

    - name: Set up Python 3.8
      uses: actions/setup-python@v2
      with:
        python-version: 3.8

    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install git+https://github.com/dr-rodriguez/AstrodbKit2

    - name: Generate database
      run: |
        python scripts/tutorials/generate_database.py

      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v3
        with:
          commit-message: auto regenerating database
          branch: update-database
          title: Update database

That's a good idea and certainly something we'll consider.
Though I would want the pull to somehow be automatically accepted ;)

I think this can be closed now? @dr-rodriguez ?


getImportableSymbolReferencesForDocument is not a function

I've seen this work in the samples and in other plug-ins, but it fails in my instance.
var sketch = require('sketch');
var Library = require('sketch/dom').Library;
var document = sketch.getSelectedDocument(); //there is a doc open, and it does have linked libraries
var symbolReferences=Library.getImportableSymbolReferencesForDocument(document);

The failure reported to console is

TypeError: Library.getImportableSymbolReferencesForDocument is not a function. (In 'Library.getImportableSymbolReferencesForDocument(document)', 'Library.getImportableSymbolReferencesForDocument' is undefined)

I'm using Sketch 54.1

There was a missing step; the documentation seems to be sequential at times. If if first define
var library = Library.getLibraryForDocumentAtPath(
  '~/Desktop/test.sketch'
)

and then alter the above code to use library instead of Library, it works as documented.
Feel free to close, or consider a document improvement suggestion to not assume a person accessing any of the methods or properties will have read all preceding samples, and to make the samples workable with a simple copy & paste.


Build failure for sites with shortcodes

In Issue #2951 that the merger of PR #2932 should resolve this.
I just wanted to note that I am still seeing this issue occurring in master after #2932 was merged.
v0.18.1 works fine however.  Only failing in master
❯ hugo server ws .
Started building sites ...
Error: Error building site: Prepare pages failed: ["html/template: cannot redefine \"shortcodes/flickr.html\" after it has executed" "html/template: cannot redefine \"shortcodes/gist.html\" after it has executed" "html/template: cannot redefine \"shortcodes/gist.html\" after it has executed" "html/template: cannot redefine \"shortcodes/gist.html\" after it has executed" "html/template: cannot redefine \"shortcodes/gist.html\" after it has executed"]…

❯ hugo version
Hugo Static Site Generator v0.19-DEV darwin/amd64 BuildDate: 2017-02-08T13:39:30-05:00

I need to see your site or a site that reproduces this issue.

Howdy bep.  I'm pretty sure that I'm on the latest source as I manually built using go install from the $GOPATH/src/github.com/spf13/hugo directory after doing a go get -v -u github.com/spf13/hugo
I attempted a make install but encountered an error because govendor wont follow HTTP redirection:
❯ make install
go get github.com/kardianos/govendor
govendor sync github.com/spf13/hugo
# cd .; git clone https://gopkg.in/yaml.v2 /Users/tristor/projects/go/.cache/govendor/gopkg.in/yaml.v2
Cloning into '/Users/tristor/projects/go/.cache/govendor/gopkg.in/yaml.v2'...
error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301
fatal: The remote end hung up unexpectedly
Error: Remotes failed for:
	Failed for "gopkg.in/yaml.v2" (failed to clone repo): exit status 128

make: *** [vendor] Error 2

The site I'm building is publicly on Github at https://github.com/tristor/tristor.ro

Looks like my issue above with govendor is a problem within gopkg https://github.com/niemeyer/gopkg/issues/50   I'm performing a workaround to get gopkg.in working again so I can run a make install and provide you the requested information.

Applying the workaround allowed make install to succeed.  I still get the same error as before, here's my updated version string after performing make install
❯ hugo version
Hugo Static Site Generator v0.19-DEV-7A5CC3CF darwin/amd64 BuildDate: 2017-02-09T12:06:55-05:00

OK, I can reproduce this now -- will fix.

Thanks a bunch @bep.  Just tested and confirmed that this fixes the issue!


Labels can only be printed to label sheets and not to a label printer

Currently, SpineOmatic cloud app can only print labels using sheets of labels. It does not have the ability to print to a label printer such as Zebra printers. It would be nice to have the option to choose to print using a label printer or using label sheets. Example is Orbis Cascades Label Printer App prints to a label printer, but not to label sheets.

I was able to print a label to a Dymo label printer.   The labels I am working with are height = 2.125 in and width = 1 in.  I'm using a template in SpineOMatic Cloud app with parsed call number and a layout that is set with my label height and width, portrait and 1 label per page.  I made sure the Dymo printer was selected in the print preview when attempting my print and then had to go into the "More Settings" on the preview and select "Page size" = 1 and 2 1/8 in and changed "Margins" = None.

Awesome! Thank you @dancromwell. I've been focused on the sheet labels and didn't get to this. I appreciate the detailed help.
Maggie

@MaggieMcGee no problem.  Hope it is helpful.
Daniel

Good stuff @dancromwell . Thanks for sharing this!

@dancromwell  and @jweisman
Testing printing to a zebra printer. I cannot get the label to print higher up. I do not see where I can adjust the page size beyond 1 for Chrome.

Thanks,
Maggie

Good morning.   This thread is very helpful in us considering how to configure how to configure our Zebra printer for spine label printing.
However we have an additional issue.  I'm not sure if this is the right place to forward things to development, but Ex Libris support sent me here.  The issue is our Zebra printer through its configuration settings file embedded in the printer requires there to be a pocket label in the label print job that is sent to the printer.  Both for workflow (it helps staff confirm they've scanned the right book) and because the label won't print without it, we need to be able to send the pocket label in data that is sent to the printer.
It looks given current functionality in the SpineOMatic cloud app this feature isn't supported, given this documentation.  If this is the right place I wanted to forward this as an improvement for development, but in the meantime I wondered if anyone had a hack/workaround for this?  I've included snapshots of our settings and an image I was able to "hack" print with them


draft: Port to Qt6 changes

Get OVOS Shell ready for Qt6

Do not merge this is work in progress

Please note this project and all code under this code base has been marked as GPL v3.0 if any attempts are made to reopen this pull request, they will be marked under this code license. As the author of this pull request this is enforced hence forth.


Setup testing similar to dartsass-rails

This code is based on rails/dartsass-rails#49, see also hotwired/turbo-rails#553 and hotwired/stimululs-rails#136.
/cc @ksylvest so we can collaborate and filling out more test cases (I've also sent you an invite to my fork so you can push to this branch).

Interesting that 5878a64 test for checking package.json only fails on Rails 6.1

@zzak thanks - you OK with pushing some fixups directly? A bit unfamiliar with Appraisals, but believe we need to regenerate?
bundle exec appraisal install

https://github.com/rails/jsbundling-rails/pull/187/commits/e90f88a8804675e4e92a2d750b9388cce5297f27
Also - any reason for having sqlite? Think it can go?

@ksylvest Yeah, feel free to push whatever commits and we can squash when we're ready.
For the other installers (node, bun, esbuild, webpack), we can split them out to separate files like test/installers/test_bun_installer. Which I've started with webpack in 88bfb43, feel free to continue with that or add system tests.

@zzak happy to look into cssbundling-rails. I've included tests for the three other package systems:

bun: c4d6c2b
rollup: 6661954
67aa5dc

Also tweaked our test on package.json slightly for webpack (LMK if overkill). Anything else needed here?

Forgot to confirm... This section of CI is an artifact of the prior life as a dartsass-rails CI.yml file right?
https://github.com/rails/jsbundling-rails/pull/187/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR48-R54

@ksylvest Thanks! There seem to be a few failures, and we probably want to make sure rails+ruby main don't fail the build. I will look into those and clean things up.

Forgot to confirm... This section of CI is an artifact of the prior life as a dartsass-rails CI.yml file right?
https://github.com/rails/jsbundling-rails/pull/187/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR48-R54

Yes, that is a dart sass specific problem, I believe.

Are you just running bundle exec appraisal rake test?  I don't see any issues on local when running:
results.txt

I was just running this but passes locally for me too:
$  ruby -v
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]

$ BUNDLE_GEMFILE=gemfiles/rails_7_1_propshaft.gemfile bundle exec rake
Run options: --seed 54245

# Running:

.............

Finished in 29.328444s, 0.4433 runs/s, 1.3639 assertions/s.
13 runs, 40 assertions, 0 failures, 0 errors, 0 skips

I might've introduced a test dependency ordering issue 🤦. I think this is missing in the webpack spec:
https://github.com/rails/jsbundling-rails/pull/187/files#diff-c54b8fa689f9a927f901d3762afa9c9523d9d3a2464d7525c3a43a03edb61f30R1
https://github.com/rails/jsbundling-rails/pull/187/files#diff-ac1bfc402d94e3e1f37ced5405775c3ad6757f913eba496b4cfcc039cd056ffaR1
I'm a bit less familiar with mini test, but this should fixup:
6f281a422f7cfdcc924dd01b385b8b3b6e1c30d5

Perhaps node is missing in CI...?

Seeing these errors now about missing rollup and esbuild:
/bin/sh: 1: esbuild: not found
error Command failed with exit code 127.

Writing lockfile to /tmp/d20240112-3275-e4xytm/app_aa0b15b827a37c077b0c1857a5812110307500bd/Gemfile.lock

Error:
error<EMAIL_ADDRESS>Extracting tar content of undefined failed, the file appears to be corrupt: "EEXIST: file already exists, mkdir '/home/runner/.cache/yarn/v6/npm-@rollup-rollup-linux-x64-gnu-4.9.5-85946ee4d068bd12197aeeec2c6f679c94978a49-integrity/node_modules/@rollup/rollup-linux-x64-gnu'"
error<EMAIL_ADDRESS>Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, chmod '/home/runner/.cache/yarn/v6/npm-<EMAIL_ADDRESS>error Error: ENOENT: no such file or directory, open '/home/runner/.cache/yarn/v6/npm-<EMAIL_ADDRESS>/bin/sh: 1: rollup: not found
error Command failed with exit code 127.

Here is the full error for the Ruby 3.3 rails_7_1_sprockets webpack failure:
Bundle complete! 14 Gemfile dependencies, 81 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
         run  bundle lock --add-platform=x86_64-linux
Writing lockfile to /tmp/d20240112-2034-2kkzsa/app_887ca0e996dc7eb969930641cc39b00857a279b8/Gemfile.lock

Error:
error Error: ENOENT: no such file or directory, lstat '/home/runner/.cache/yarn/v6/npm-webpack-5.89.0-56b8bf9a34356e93a6625770006490bf3a7f32dc-integrity/node_modules/webpack/lib'
[webpack-cli] Failed to load '/tmp/d20240112-2034-2kkzsa/app_887ca0e996dc7eb969930641cc39b00857a279b8/webpack.config.js' config
[webpack-cli] Error: Cannot find module 'webpack'
Require stack:
- /tmp/d20240112-2034-2kkzsa/app_887ca0e996dc7eb969930641cc39b00857a279b8/webpack.config.js
- /usr/local/lib/node_modules/webpack-cli/lib/webpack-cli.js
- /usr/local/lib/node_modules/webpack-cli/lib/bootstrap.js
- /usr/local/lib/node_modules/webpack-cli/bin/cli.js
- /usr/local/lib/node_modules/webpack/bin/webpack.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Module._load (node:internal/modules/cjs/loader:975:27)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/tmp/d20240112-2034-2kkzsa/app_887ca0e996dc7eb969930641cc39b00857a279b8/webpack.config.js:2:17)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/tmp/d20240112-2034-2kkzsa/app_887ca0e996dc7eb969930641cc39b00857a279b8/webpack.config.js',
    '/usr/local/lib/node_modules/webpack-cli/lib/webpack-cli.js',
    '/usr/local/lib/node_modules/webpack-cli/lib/bootstrap.js',
    '/usr/local/lib/node_modules/webpack-cli/bin/cli.js',
    '/usr/local/lib/node_modules/webpack/bin/webpack.js'
  ]
}
error Command failed with exit code 2.
E

Error:
WebpackInstallerTest#test_installer_for_webpack:
NoMethodError: undefined method `[]' for nil
    test/installer/webpack_test.rb:15:in `block (3 levels) in <class:WebpackInstallerTest>'
    <internal:kernel>:90:in `tap'
    test/installer/webpack_test.rb:14:in `block (2 levels) in <class:WebpackInstallerTest>'
    test/test_helper.rb:60:in `chdir'
    test/test_helper.rb:60:in `block in with_new_rails_app'
    /opt/hostedtoolcache/Ruby/3.3.0/x64/lib/ruby/3.3.0/tmpdir.rb:99:in `mktmpdir'
    test/test_helper.rb:58:in `with_new_rails_app'
    test/installer/webpack_test.rb:8:in `block in <class:WebpackInstallerTest>'

bin/rails test /home/runner/work/jsbundling-rails/jsbundling-rails/test/installer/webpack_test.rb:7

Thought the cache might have something to do with it, no luck.
Will try again in the morning, if I can't figure it out then I will start a new branch without using Appraisal to see if that helps. If it works I will rebase this branch once everything is 🟢

Sorry for the dumb question, but are y'all aware of this PR which was opened a few days ago https://github.com/rails/jsbundling-rails/pull/182 ?

LOL glad that I decided to sleep on that, and sorry I missed Jonathan's PR. :bow:


enabled long commands on httpd module

changed the parsing of the command that an '%20' in an url is equivalent
to an whitespace.

thanks for your patch
the cmd subsystem is not the right place to do this. It should be done in the
httpd module instead.
please use the function uri_header_unescape to unescape any escaped URL
parameters.
example:
in:  "foo%20bar"
out: "foo bar"
example usage:
char *buf;

re_sdprintf(&buf, "%H", uri_header_unescape, &req->prm);

mem_deref(buf);

Thanks for your feedback @alfredh !!
I implemented your suggestions as described and long commands work through the httpd module.
But I still have problems using commands with an ',', like the auplay command.
uric: unescape: illegal ',' in ?/auplay%20alsa,default
Do you have any suggestions for me how/where to tackle the problem?

this looks much better.
perhaps comma is a legal character in http uri, the uri module in libre is mainly
written for SIP. you can try to escape it (%2c)
you need to take a copy of the "struct pl" from http msg. then do the unescape,
and update pl again. you also need to check the return value from re_sdprintf.
/Alfred

Thanks for your help, @alfredh !
I implemented your suggestions but I also had to change the html_print_raw and html_print_cmd. Hope it is ok like that.
Martin

many thanks @elektm93 I have reviewed the code and it looks good. I have also tested
it and it works just fine :)


Add support to exclude a logger from logback_logger_events-metrics

Sometimes there is a logger that you don't want to include in your metrics. It may be because that it is noisy and you don't have time to deal with it right now.
Future improvement: Exclude log events based on mdc field and predicate

Tanker om denne @kagkarlsson og @eivinhb ?

Virker fint det 👍


fix(import): fixed field rules issue in content-types module

@vkalta, pls check out the content type import module written in ts, make your fixes there as well


add AjaxService.Gen

Source Generator/AjaxService.Gen- https://github.com/MrAliSalehi/AjaxService
AjaxService is a source-generator, it can generate ajax calls in typescript based on your c# Api endpoints.

is there any problems with this commit that doesn't get merged?

Hi @MrAliSalehi. The reason why it wasn't approved is the project needs to mature a little more to satisfy the Quality section for contributions
Good luck :) and feel free to reopen in the future

@pleb its documented, tested and stabilized, I dont know how it would not be useful or who decides that, anyway, GL to you too

@Jogai thoughts?


Add capability to suppress echoing of new directory and a few fixups.

Add new config g:rooter_silent_chdir
Remove extra spaces after periods from README.mkd.
Add a little more documentation and clarity.
Make quotes more consistent.

This was really useful for me to avoid extraneous Hit ENTER to continue prompts when the project directory is really long.

Many thanks.  I applied this in d2c8fa2.

BTW you can also increase your cmdheight value to give more space to the command line, which helps avoid the hit-enter prompts.

Thanks! Yeah, that's a great option, but I really like having as many lines as possible free :)


Fix panic caused by omitempty in an embedded struct

Panic caused by omitempty in an embedded struct #391
and fix panic cause in #401

Codecov Report

Merging #411 (3538276) into master (d7c473e) will not change coverage.
The diff coverage is 64.28%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #411   +/-   ##
=======================================
  Coverage   80.02%   80.02%
=======================================
  Files          52       52
  Lines       17581    17581
=======================================
  Hits        14069    14069
  Misses       2944     2944
  Partials      568      568

@goccy  done!

This PR mentions #391, but is it correct to fix #401 ?
#391 cannot be fixed this way. Please correct the description.

@goccy would you like me to separate to 2 separate PR's?
i saw the comment on the issue, and i pushed a fix and hope i covered all types.

In the first place, in this operation, NextField and Next should refer to the same thing, so this fix is incorrect. You should fix the compiler side.

ok, u know it better than me.
so would u like me to remove the parts where i changed it to Next?

The root cause of #391 is not setting the correct NextField to a field in the embed structure.

In this test case, NextField should point to the same thing as Next, so there is no problem.
However, there are cases where this is not the case, such as slice.
func TestIssue391(t *testing.T) {
	type A struct {
		X []int `json:"x,omitempty"`
	}
	type B struct {
		A
	}
	type C struct {
		B
	}
	b, err := json.Marshal(C{})
	if err != nil {
		t.Fatal(err)
	}
	if string(b) != "{}" {
		t.Errorf("unexpected json: %s", string(b))
	}
}

The graph for the above case is shown below.

Do not transition to code.Next when StructHeadOmitEmptySlice.
We need to fix the compiler so that NextField is set correctly.

Thank you for your contribution !
This PR is closed because we merged this PR that solves the same issue.
https://github.com/goccy/go-json/pull/438

@goccy sounds good to me, thank you🙏


EF Core tooling for .NET UWP in 2.0.1

This issue is to track the parts of #9666 that we plan to ship in 2.0.1.

This patch bug is approved for the 2.0.x patch. Please send a PR to the feature/2.0.1 branch and get it reviewed and merged. When we have the rel/2.0.1 branches ready please port the commit to that branch.

Hi, we have a public test feed that you can use to try out the ASP.NET/EF Core 2.0.3 patch!
To try out the pre-release patch, please refer to the following guide:

https://github.com/aspnet/Announcements/issues/274 (info)
https://github.com/aspnet/Home/issues/2254 (discussions and questions)

We are looking for feedback on this patch. We'd like to know if you have any issues with this patch by updating your apps and libraries to the latest packages and seeing if it fixes the issues you've had, or if it introduces any new issues. If you have any issues or questions, please reply on this issue to let us know as soon as possible.
Thanks,
Eilon


Absolute paths are used in 'precacheConfig'

Generated file contains absolute paths:
var precacheConfig=[["/512x512.8ed2a3a5.png","995b595601aa502081aad9db6df0c0ed"]
In my case, I'd like to get relative paths (using parcel build index.html --public-url ./):
var precacheConfig=[["512x512.8ed2a3a5.png","995b595601aa502081aad9db6df0c0ed"]
Changing L27 to the following fixes the issue for me - but not sure if it is a proper fix:
stripPrefix: targetDir + '/',
Please also note: there are other absolute paths in your plugin like navigateFallback.
Using 0.4.0.
Thanks for this plugin! :)

You may want to take a look at the related pr.
It provides you the ability to set replacePrefix to achieve your will.
In your case you can do as follows in your package.json
{
  "sw-precache": {
     "replacePrefix": ""
  }
}

Let me know if it solves your problem.

@cyyyu: Thanks, this fix works for me.
Just wondering if it would be possible to respect --public-url parameter for this which would follow the zero-configuration approach.

@uwolfer Yea it should be. 😄
I m going to patch 0.4.1 to do that.

@uwolfer  released 0.4.1 now.
you don't need replacePrefix at all. try it out and let me know if it works or not :)


Anywidget.send does not update the widget

Describe the bug
Anywidget.send does not update the widget.
I tried to render maplibre widget which is based on anywidget.
The initial rendering works, but if I try to update the widget which internally uses Anywidget.send method nothing happens. In th Js Developer console I can see that the custom message is not send.
Environment
{
  "marimo": "0.6.23",
  "OS": "Linux",
  "OS Version": "5.15.0-113-generic",
  "Processor": "x86_64",
  "Python Version": "3.9.19",
  "Binaries": {
    "Browser": "--",
    "Node": "v20.10.0"
  },
  "Requirements": {
    "click": "8.1.7",
    "importlib-resources": "missing",
    "jedi": "0.19.1",
    "markdown": "3.6",
    "pymdown-extensions": "10.8.1",
    "pygments": "2.17.2",
    "tomlkit": "0.12.5",
    "uvicorn": "0.29.0",
    "starlette": "0.37.2",
    "websockets": "12.0",
    "typing-extensions": "4.11.0",
    "black": "24.4.2"
  }
}

Code to reproduce
import marimo

__generated_with = "0.6.23"
app = marimo.App(width="medium")

@app.cell
def __():
    import marimo as mo

    return (mo,)

@app.cell
def __():
    from maplibre.controls import NavigationControl, ScaleControl
    from maplibre.ipywidget import MapOptions, MapWidget

    return MapOptions, MapWidget, NavigationControl, ScaleControl

@app.cell
def __():
    deck_grid_layer = {
        "@@type": "GridLayer",
        "id": "GridLayer",
        "data": "https://raw.githubusercontent.com/visgl/deck.gl-data/master/website/sf-bike-parking.json",
        "extruded": True,
        "getPosition": "@@=COORDINATES",
        "getColorWeight": "@@=SPACES",
        "getElevationWeight": "@@=SPACES",
        "elevationScale": 4,
        "cellSize": 200,
        "pickable": True,
    }
    return (deck_grid_layer,)

@app.cell
def __(MapOptions):
    map_options = MapOptions(
        center=(-122.4, 37.74),
        zoom=12,
        hash=True,
        pitch=40,
    )
    return (map_options,)

@app.cell
def __(MapWidget, NavigationControl, deck_grid_layer, map_options):
    m = MapWidget(map_options)
    m.use_message_queue(False)
    m.add_control(NavigationControl())
    m.add_deck_layers([deck_grid_layer])
    m
    return (m,)

@app.cell
def __(m):
    m.clicked
    return

@app.cell
def __(m):
    m.zoom
    return

@app.cell
def __(m):
    m.center
    return

@app.cell
def __(ScaleControl, m):
    m.add_control(ScaleControl())
    return

@app.cell
def __():
    return

if __name__ == "__main__":
    app.run()

Same for using marimo.ui.anywidget.

To bring anywidget into marimo's reactive system, you'll need to wrap it in
m = MapWidget(map_options)
m.use_message_queue(False)
m.add_control(NavigationControl())
m.add_deck_layers([deck_grid_layer])
widget = mo.ui.anywidget(m)
widget

In order for the downstream cell's to re-render based off the reactive changes from w, you'll need to pick the values off that instead of m.
widget.value["clicked"]

or you can force the dependency between cells by doing something like:
widget
m.clicked

We can look into making anywidget more tightly integrated without having to wrap marimo.ui.anywidget

Hi, yes I know and I first did it this and w.value works fine but I need it the other way round. I need to update the widget itself from Python, e. g. to update layer properties after it was initially rendered. In the example I provided I wanted to add a ScaleControl after the widget was rendered. This is done via Anywidget.send method.
See sending custom messages.

Oh sorry - I read this fast and started with your re-production code, which didn't have .send. How are you using send with maplibre?

I can see the value of .send in other contexts (button click or conditionals). We can look into supporting this, but as of now, we don't have any existing mechanism for python widgets to send data to their frontend counterpart after rendering (we do if they request it, as an RPC), but not a plain bi-directional connection.

I have a fix here: https://github.com/marimo-team/marimo/pull/1776
I added a test example to make sure this works. Since the adding the controls are not idempotent (you can add the same control multiple times), i put it behind a mo.ui.run_button()


The results'visualization

Could you provide your visualization of the experiment on ISIC2018? Than you very much!

Sorry for the late reply. Unfortunately, we did not save any experimental model and visualisation for all datasets. You are expected to train your own model and visualise results using the code we provide in GitHub.


Coral TPU error running Hass.io on VirtalBox

Description
I am attempting to use a Coral USB on a Windows 10 machine running Home Assistant on VirtualBox.
I am running VB v7.0 (with addons)
I have tried running the Coral drivers posted on the official site, and also versions; 20220308 and 20200331. Only the “official” website drivers are detectable by VB.
Once my Hass.io addon (Frigate) attempts to access the TPU I get the following error:
“Usb 2-1: device descriptor read/8, error -32” and “Usb 2-1: device descriptor read/8, error -71”.
System then defaults to CPU.
Any ideas how I can address this?
Thanks in advance!
Click to expand!
Issue Type
Bug
Operating System
Windows 10, Linux
Coral Device
USB Accelerator
Other Devices
No response
Programming Language
No response
Relevant Log Output
No response

Hi @darazi can you try with the edgetpu_runtime_20210119.zip located at: https://coral.ai/software/#edgetpu-runtime. Thanks!

I'll give it a go and keep you posted. Thank you!
On Tue, Dec 27, 2022 at 8:38 AM Hemanth-Jonnala @.***>
wrote:

Hi @darazi https://github.com/darazi can you try with the
edgetpu_runtime_20210119.zip located at:
https://coral.ai/software/#edgetpu-runtime. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/google-coral/edgetpu/issues/696#issuecomment-1366034015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHFJTCCUREBDK3QDUZG7XQDWPMLQHANCNFSM6AAAAAATKHW5SM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Unforutantley, I don't have any expereince with hass.io. Can you please check with the developers at: https://github.com/grinco/HASS-coral-rest-api

I am getting the same error.


[BUG] ...Striped Transaction Rows (broken after v5 Update)

Describe the bug
Selecting Striped Transaction Rows no longer results in Striped Transaction Rows
To Reproduce
Steps to reproduce the behavior:
Open toolbox
Go to 'account'
Select 'Striped Transaction Rows'
Refresh YNAB
Should result in alternate backgrounds on every other transaction row.
Expected behavior
Alternate backgrounds on every other transaction row.
Observed behavior
Background of ever transaction row is green
Screenshots
N/A
Desktop (please complete the following information):
OS: Chromebook, Windows 10
Browser Chrome
Toolkit Version Toolkit for YNAB v3.6.2

Still not working with Tookit v3.10.1 on Google Chrome browser on Windows 10 & 11.


【ERROR】spark job fail due to scala.NotImplementedError: cannot convert partitioning to native

Describe the bug
spark job fail because of this error。other unImplemented operator are 【WARN】,but this operator is 【ERROR】
env
spark version:spark 3.3.3
blaze version:v2.0.7
the full log is below
24/01/10 18:33:09 ERROR ApplicationMaster: User class threw exception: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 268.0 failed 4 times, most recent failure: Lost task 0.3 in stage 268.0 (TID 20389) (yuntu-qiye-e-010058011010.hz.td executor 3): scala.NotImplementedError: cannot convert partitioning to native: rangepartitioning(inDegree#2307 ASC NULLS FIRST, outDegree#2321 ASC NULLS FIRST, shortPath#2291 ASC NULLS FIRST, 1)
at org.apache.spark.sql.execution.blaze.plan.NativeShuffleExchangeBase.$anonfun$prepareNativeShuffleDependency$2(NativeShuffleExchangeBase.scala:205)
at org.apache.spark.sql.execution.blaze.shuffle.BlazeShuffleWriterBase.nativeShuffleWrite(BlazeShuffleWriterBase.scala:71)
at org.apache.spark.sql.execution.blaze.plan.NativeShuffleExchangeExec$$anon$1.write(NativeShuffleExchangeExec.scala:154)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:99)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:52)
at org.apache.spark.scheduler.Task.run(Task.scala:136)
at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:548)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1504)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:551)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Driver stacktrace:
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 268.0 failed 4 times, most recent failure: Lost task 0.3 in stage 268.0 (TID 20389) (yuntu-qiye-e-010058011010.hz.td executor 3): scala.NotImplementedError: cannot convert partitioning to native: rangepartitioning(inDegree#2307 ASC NULLS FIRST, outDegree#2321 ASC NULLS FIRST, shortPath#2291 ASC NULLS FIRST, 1)
at org.apache.spark.sql.execution.blaze.plan.NativeShuffleExchangeBase.$anonfun$prepareNativeShuffleDependency$2(NativeShuffleExchangeBase.scala:205)
at org.apache.spark.sql.execution.blaze.shuffle.BlazeShuffleWriterBase.nativeShuffleWrite(BlazeShuffleWriterBase.scala:71)
at org.apache.spark.sql.execution.blaze.plan.NativeShuffleExchangeExec$$anon$1.write(NativeShuffleExchangeExec.scala:154)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:99)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:52)
at org.apache.spark.scheduler.Task.run(Task.scala:136)
at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:548)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1504)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:551)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)

range partitioning is not supported at this moment, we should fallback this exchange to spark. it seems the falling-back logic is somehow not working.

range partitioning is not supported at this moment, we should fallback this exchange to spark. it seems the falling-back logic is somehow not working.

hi，could you please tell me when and which verison this bug can be fixed


Added scheduled CI tests

Once this is merged, our integration tests will run automatically every hour – apart from us pushing to any of the branches.
For now, this is the tightest interval possible (except for every minute, which is too tight), because Circle CI doesn't support crontab steps.

@Qix- It doesn't affect our main workflow and it needs to be on master of Now CLI in order to be effective. Shooting for the starts! 🚀

@leo good enough for me 🍭


Larval TrpA1 neurons

Added classes for TrpA1-expressing larval neurons named by soma location in FBrf0234407.
Two of these are shown to be thermosensory.
fixes #209

Looks good.  Please resolve clash and merge.


Fix: Remove log level WARN for response status code 5xx

As soon as no action proceed on the topic, im closing PR. Please, let me know if we need to rework it.


user/v-danwesley/writer pass on "Submission states for extensions"

Learn Build status updates of commit 3f61e43:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/submission-states.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@Reezaali please merge

Learn Build status updates of commit 73a79cd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/submission-states.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Fix file paths and a missing header

@xhaakon thanks. Merged it manually. Will be in master on the next push.


grid  refinement with shapefile

Hi,
when using a shapefile for gridrefinement I receive an error: assert os.path.isfile(sn), f"Shapefile does not exist: {sn}"
Apparently the add_refinement_features function searches for the existence of the shapefile with an extra .shp extension.
changing line 446 seems to solve the problem (at least for me)
sn = os.path.join(self.model_ws, f"{shapefile}")

Thanks for pointing this out Jeroen. We use the gridgen module from the flopy package to do the grid refinement. The lines you mention are inside this module and not in the nlmod package. So I think the best way to go is to create an issue in the flopy package.

I opened an issue in the flopy package (https://github.com/modflowpy/flopy/issues/2024). I will close this issue


Feature request: Open Godot with doubleclick/open file with... and etc.

I open with Godot on OSX. And it becomes a hell to work with its file explorer - it always opens the concrete inner folder and I should perform a lot of actions to open and import folder I need for the first time. Or I need to somehow copy a path and insert it into Godot window.
You could add something like ".project" file and allow to open it with Godot. Or maybe could you save/load the last used folder?
Anyways the current behaviour is not user-friendly.

This is already the case with godot 3. Project files are named project.godot now so they can be associated with the godot editor (however this is not done automatically yet, but it only takes a few seconds)

they can be associated with the godot editor

It doesn't work on macOS.

macOS looks for file associations in the application's Info.plist (there is no key for project.godot).
macOS apps handle double-clicking a file via NSApplicationDelegate application:openFile: not command line arguments. (not implemented)


Recipient Country and Recipient Region elements related issues

[x] recipient-country > percentage attribute and recipient-region > percentage attribute are not required  when single recipient-country or recipient-region are specified.
Multiple countries and regions can be reported, in which case the percentage attribute MUST be used to specify the share of total commitments across all reported countries and regions.
<recipient-country code="AF" /> This is valid
[x] recipient-country > percentage attribute
When multiple recipient-country are declared, then the @percentage values should sum to 100% per country for the specific iati-activity
[x] recipient-region > percentage attribute
When multiple recipient-region are declared, then the @percentage values should sum to 100%  per region vocabulary for the specific iati-activity
[ ] recipient-country > percentage + recipient-region > percentage attribute
When both the recipient-region and recipient-country, then the @percentage values should sum to 100% for the specific iati-activity.

<recipient-country code="AF" percentage="50" />
<recipient-region code="489" vocabulary="1" percentage="50" />

Hi,
Where has this issue got to in development? It would great to see the last bullet point implemented:

[ ]  recipient-country > percentage + recipient-region > percentage attribute. When both the recipient-region and recipient-country, then the @percentage values should sum to 100% for the specific iati-activity.

There's one change to the methodology needed. it should be:
When both the recipient-region and recipient-country, then the @percentage values should sum to 100% for the specific iati-activity, per region vocabulary.
For example this is correct, as each region vocabulary gets treated separately.


Function to Collapse a virtual chassis

NetBox version
v4.0.3
Topology Views version
v4.0.0-beta.1
Feature type
New functionality
Proposed functionality
The idea to group virtual chassis in #https://github.com/netbox-community/netbox-topology-views/issues/497 is great but what if we go a step further. My idea is to add a function that a virtual chassis can be shown as one object and can be collapsed into all the members.
Use case
I created a stack of 4 switches. These 4 switches are in one virtual chassis. 2 of the 4 switches have an uplink to the core switch which is also in a virtual chassis  (Core is a 2 switch stack). One uplink goes to core switch 1 the other to core switch 2. If I add a new virtual chassis which is the same as the first one  all the cable will traverse each other. If there is an option to stack both core switches to show just one stack (the virtual chassis) the topology view would be much cleaner.
External dependencies
No response

it would be really interesting to add this function to topology view

This seems to be a very interesting idea for some people (see also #33). As stated in #218 , I don't think it's a trivial thing. Virtual Chassis havn't got any interfaces (nor other connection options). So we need to work around this. As in all areas, workarounds are not solutions and I suspect that this would create a lot more work in the future.
At least for me, it's not worth the work. If someone wants to volunteer for a PR, I'd happily accept this feature and assign him/her. Just raise your hand and give a little idea how you would like to solve this.


Create scripts for running experiments, cleaning up artifacts, and staging models

Closing this issue as the training has been done


Unable to access KBFS on Linux

Hi,
my log id: b3ea3b6e8cf34f724449441c
I'm unable to perform any actions with KBFS using the keybase CLI on my Linux machine (openSUSE Tumbleweed)
$ keybase --version
keybase version 5.5.2
$ keybase fs ls --rec --all /keybase
▶ ERROR EOF

I installed keybase-client via my system's package manager and enabled the two following system user units. Both systemd services are enabled and seem to be working. I read in a separate story that the "failure" related to kbfs starting up is fine, but I couldn't understand why (link)
$ systemctl --user status kbfs.service
● kbfs.service - Keybase Filesystem service
     Loaded: loaded (/usr/lib/systemd/user/kbfs.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2020-11-11 23:11:23 CET; 4min 32s ago
    Process: 13515 ExecStartPre=/bin/sh -c SERVICE=$(keybase config get -d -b mountdir); fusermount -uz "${SERVICE:-/run/user/1000/keybase/kbfs}" (code=exited, status=1/FAILURE)
    Process: 13530 ExecStartPre=/bin/sh -c mkdir -p "${XDG_RUNTIME_DIR}/keybase/kbfs" (code=exited, status=0/SUCCESS)
   Main PID: 13531 (kbfsfuse)
     CGroup<EMAIL_ADDRESS>             └─13531 /usr/bin/kbfsfuse -debug -log-to-file

Nov 11 23:11:23 x1carbon systemd[1850]: Starting Keybase Filesystem service...
Nov 11 23:11:23 x1carbon systemd[1850]: Started Keybase Filesystem service.
$ systemctl --user status keybase.service
● keybase.service - Keybase core service
     Loaded: loaded (/usr/lib/systemd/user/keybase.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2020-11-11 23:09:20 CET; 7min ago
   Main PID: 12696 (keybase)
     CGroup<EMAIL_ADDRESS>             └─12696 /usr/bin/keybase --use-default-log-file --debug service

Nov 11 23:09:20 x1carbon systemd[1850]: Starting Keybase core service...
Nov 11 23:09:20 x1carbon systemd[1850]: Started Keybase core service.

I appreciate any help you can offer, and I'm happy to share anything else you might need

The files themselves are accessible via their mountpoint - I just tested uploading an image via mobile and it ends up in /run/users/1000/keybase/kbfs, but they are not accessible via the keybase cli

Similar story here on F35.
dacbarbos@kyndevone ~]$ lsb_release -d
Description:	Fedora release 35 (Thirty Five)
[dacbarbos@kyndevone ~]$
[dacbarbos@kyndevone ~]$ keybase --version
keybase version 5.9.0-20211217212642+29bfd9d39f
[dacbarbos@kyndevone ~]$
[dacbarbos@kyndevone ~]$ systemctl --user status kbfs.service
● kbfs.service - Keybase Filesystem service
     Loaded: loaded (/usr/lib/systemd/user/kbfs.service; disabled; vendor preset: disabled)
     Active: active (running) since Tue 2021-12-21 15:44:05 CET; 17min ago
    Process: 6594 ExecStartPre=/bin/sh -c fusermount -uz "$(keybase config get -d -b mountdir)" (code=exited, status=1/FAILURE)
   Main PID: 6614 (kbfsfuse)
      Tasks: 10 (limit: 4609)
     Memory: 121.6M
        CPU: 2.541s
     CGroup<EMAIL_ADDRESS>             └─6614 /usr/bin/kbfsfuse -debug -log-to-file

Dec 21 15:44:04 kyndevone systemd[1556]: Starting Keybase Filesystem service...
Dec 21 15:44:05 kyndevone sh[6594]: fusermount: entry for /run/user/1000/keybase/kbfs not found in /etc/mtab
Dec 21 15:44:05 kyndevone systemd[1556]: Started Keybase Filesystem service.
[dacbarbos@kyndevone ~]$
[dacbarbos@kyndevone ~]$ mount -l -t fuse
keybase-redirector on /keybase type fuse (ro,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /run/user/1000/keybase/kbfs type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
[dacbarbos@kyndevone ~]$
[dacbarbos@kyndevone ~]$ keybase fs ls /keybase
▶ ERROR RootFS cannot chroot
[dacbarbos@kyndevone ~]$

Update: upon additional digging, I found better clues by @strib. See below:

https://github.com/keybase/kbfs/issues/1655
https://github.com/keybase/kbfs/issues/1730

Note-to-self: RTFM.


VS Code debugger doesn't exit after program run

When debugging the following simple project (only a gulpfile.js), the debugger doesn't exit after the last line of code has been executed:
Gulp4ParallelTest.zip

{	"version": "0.2.0"
,	"configurations":
	[	{	"name": "Gulp"
		,	"type": "node"
		,	"request": "launch"
		,	"program": "${workspaceRoot}/node_modules/gulp/bin/gulp.js"
		,	"stopOnEntry": false
		,	"args": []
		,	"cwd": "${workspaceRoot}"
		,	"runtimeExecutable": null
		,	"runtimeArgs":
			[	"--nolazy"
			]
		,	"env":
			{	"NODE_ENV": "development"
			}
		,	"externalConsole": false
		,	"sourceMaps": false
		,	"outDir": null
		}
	]
}

@SetTrend the debugger only exits if node exits. Node programs have the tendency not to exit under debugging. You will find the same behaviour with node-inspector so this is not a VS Code specific problem.

Thank's for enlightening me. Would you suggest this is more or less a Node bug? Then I would tend to create an issue there.
I feel it's quite confusing not to safely know whether a program has finished or not. Don't you, too?

@SetTrend I'm not sure whether this is a node bug. It might be difficult for the node runtime to decide whether there are any events expected and the runtime needs to continue running or not. Yes, please file an issue with node. I'm interested in their response.


Hide "delete_selected" action from actions if has_delete_permission is False

Hi, guys!
Today I found some little problem in django admin.
I have model:
class Question(models.Model):
    question_text = models.CharField(max_length=200)
    pub_date = models.DateTimeField('date published')

And I have admin-class:
class QuestionAdmin(admin.ModelAdmin):
    def has_delete_permission(self, request, obj=None):
        return False

If I open any object Question I don't see button "Delete".
But if I open list with objects Question in: http://localhost:8000/admin/polls/question/
I see group actions select with item "Delete selected questions"...
If I select some Question objects, select item "Delete selected questions" in group actions and click "Go" I see page with this message:
403 Forbidden
I think this is not good - why we give opportunity for select group action if we don't have permissions for this action?!
This PR about this.

Thanks for the contribution. All fixes like this need a Trac ticket. The good news is that one already exists:
https://code.djangoproject.com/ticket/10609
and one that's marked as a duplicate of that one:
https://code.djangoproject.com/ticket/13709
and a related issue:
https://code.djangoproject.com/ticket/11383
Hope that helps gives some background. It would be nice to try for a more general solution that solves the first ticket. Anyway, I'm going to close this PR because all pull requests should go to the master branch rather than stable/1.11.x. This change doesn't qualify for a backport based on our supported versions policy.

@timgraham close PR is fantastic!
I right understand that this PR need be:

paste Trac ticket number;
from master branch.

Right?

Yes, and as I said, a more general solution that could be applied to other admin actions (as discussed in the ticket) would be better than the solution you've proposed here.
See also our patch review checklist.

I gave working solution for fix specific problem with tests for Django 1.11. It's works right now.
You know better - waited 8-7 years (open tickets) and will wait yet.

@timgraham I right understand than if I paste ticket number and branch from master you don't see any opportunities for merge it in Django?


Redirect to Https on the same port

In order to allow the user to forget they need https with less confusion
I want to be able to redirect from http to https.
UseUrls with the same port, but different scheme like so:
var host = new WebHostBuilder().UseUrls("http://*:9001", "https://*:9001")
.UseKestrel(options =>
                 {
                     options.NoDelay = true;
                    options.UseHttps(testCertPath, configuration["pfxPassword"]);
                     options.UseConnectionLogging();
                 })....

gives an Error -4091 EADDRINUSE address already in use exceptions at run time.
It'd be even better if I could use
services.AddMvc(config =>
{
  // this was causing a loopin redirect in RC2
  //config.Filters.Add(new RequireHttpsAttribute());
})

but I get stuck in a loop.
I have it setup manually with app.Use, but it is hacky
app.Use(async (httpContext, next) =>
{
	var url = httpContext.Request.GetDisplayUrl();
	var httpPort = url.EndsWith(":9001") || url.EndsWith(":9001/");
	if (httpPort)
	{
		// force to https
		var uri = new Uri(url);
		httpContext.Response.Redirect($"https://{uri.Host}:9000");
		return;
	}

http and https can never be hosted on the same port as there's no way to negotiate the protocol after connecting. RequireHttpsAttribute is the correct solution. If that's not working for you then share the details so we can investigate.

Probably better to check the scheme rather than the ports; that way if you change the ports it still works
e.g.
if (!string.Equals(context.Address.Scheme, "https", StringComparison.OrdinalIgnoreCase))

I understand the port issue now. this is where I've been leaning on IIS for a long time and trying to get into the kestrel/middleware thinking
I was thinking about the http://www.something.com redirecting to https://www.something.com without thinking about ports. So I was in the wrong mindset
IIS + MVC attributes + a long time since I've done a new website
that's my excuse anyways.
About the looping, it may have been my middleware setup.
I'll close this as it was my mis-understanding, but it would be nice to see some documentation/walk through on.
Using
.UseUrls("http://*:80", "https://*:443")
with
services.AddMvc(config =>
{
  config.Filters.Add(new RequireHttpsAttribute());
})

I did a write up, maybe it will help someone: https://gooroo.io/GoorooTHINK/Article/16767/Https-Redirect-with-AspNet-Core-RC2-And-Kestrel-on-Windows/22781