semicolon in comment causes parse failure

x.sql:
/*
;
*/
select 1;

cat x.sql | duckdb
Error: near line 1: Parser Error: unterminated /* comment at or near "/*
;"
LINE 1: /*
        ^
Error: near line 3: Parser Error: syntax error at or near "*/"
LINE 1: */
        ^

Good catch, I'm fairly certain this is due to sqlite3_complete not being clever enough right now.

Good catch, I'm fairly certain this is due to sqlite3_complete not being clever enough right now.


Publish release on production profile only

Currently it appears to not be possible to upload sourcemaps conditionally for iOS.
Maybe the right question is "Why is there different logic for Android and IOS source map upload trigger?"
With Android it is possible via eas-build-on-success hook. Example:
package.json
"eas-build-on-success": "./eas-build-on-success.sh"

eas-build-on-success.sh
#!/bin/bash

if [[ "$EAS_BUILD_PROFILE" == "production" ]]; then
  echo "Production profile detected."
  npx bugsnag-eas-build-on-success
else
  echo "Non-production profile detected. Skipping hook."
fi

Due to iOS not using this hook I cannot control the conditions for publishing release & uploading sourcemaps.
Let's harmonize the logic?

Hi @krisgerhard, we have now added something to our backlog to align approaches across both iOS and Android. We are still working on the specifics as there is some inconsistency in the Expo and RN default approaches to source map uploading in different release types.  We will post here with updates as we have them.


Wrong HID Wiimote uninstall instructions

Hi,
the instructions in the readme to remove any previous HID Wiimote installation are insufficient and won't fully remove the driver. Please change them accordingly:

Use the HID Wiimote Control Center to bring up the installer window via Tools -> Installer. Uninstall the driver package.
Or
Open the Programs and Features settings. On Windows 10 the entry on the Apps and Features settings panel won't work, so scroll down to Related Settings, to open Programs and Features. Search for HID Wiimote 0.X.Y.Z and uninstall it.

Lastly, please do not ever recommend any user to manually delete any files from within the Windows folder, as that may result in a damaged system.

The problem is that the official uninstaller doesn't delete the driver file. Trust me I've had 5 different people with that same issue.


Access to the path 'D:\Windows\system32\file is denied

Can I specify a path for the cache files? I'm working with azure on a web app, and It's trying to write the files on D:\Windows\system32\airports.cache

Hi @wvasquezr. I presume you are using OpenFlightsDataAirportProvider  with "airports.cache" as the first argument, i.e. "cacheFileName"? If so you should send an absolute path instead of just a file name and it should work just fine.
Please let me know how this is working for you and your experience with this component, since we have only used this components ourselves so far.

I use this component in a WebJob hosted in Azure and specify an absolute path when initializing, and I sometimes get the following exception:
Exception:
The process cannot access the file 'D:\Home\CacheFiles\airports.cache' because it is being used by another process.


GEODE-7082: geode-core:distributedTest timeout exceeded.

The timeout for geode-core:distributedTest is not sufficiently long.
Lengthened the timeout as it appears the tests were successful at 2hrs and 20min. Adding a little padding just in case to 2hrs and 30min.

Timeout is not the problem in this case.


Properly disable package-lock.json

Thanks but having this file gives up reproducible builds.

Err what are you talking about? You don't have a lock file commited...
On Mon, Oct 4, 2021, 11:47 Michael Mifsud @.***> wrote:

Closed #815 https://github.com/dlmanning/gulp-sass/pull/815.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dlmanning/gulp-sass/pull/815#event-5402338075, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACVLNNMKYFXRK4H7PPM3MTUFFZ4FANCNFSM5FISNS3Q
.

This PR does not change the existent behavior. It simply properly disables
the lock file.
If you want a lock file, that's OK, but it's not the case on master.
So, if you are going to add a lock file, I should also update my CI PR to
use npm ci. Otherwise this patch is good to go.
On Mon, Oct 4, 2021, 11:48 XhmikosR @.***> wrote:

Err what are you talking about? You don't have a lock file commited...
On Mon, Oct 4, 2021, 11:47 Michael Mifsud @.***>
wrote:

Closed #815 https://github.com/dlmanning/gulp-sass/pull/815.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dlmanning/gulp-sass/pull/815#event-5402338075, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACVLNNMKYFXRK4H7PPM3MTUFFZ4FANCNFSM5FISNS3Q
.


Watchify appears to stop (never start?) watching after initial successful run.

When I install Watchify, I get a warning that fsevents0.3.6 can't be installed on Windows. Is there any alternative / work-around?

That's because fsevents is used by chokidar which is what watchify uses to watch for filesystem changes. You'd actually see the same thing on Linux since fsevents is OS X specific. You can ignore this.
npm doesn't have any concept of platform-specific dependencies so the solution is just to use an optional dep and let it fail with a log message on Windows/Linux.

Thanks for the reply. I should have mentioned a) That Watchify didn't work after initial run. b) Though I believe I followed all instructions, I must admit I'm still quite new to the Node/npm environment.
Running globally installed Watchify using the command 'watchify main.js -o lib/bundle.js -v' produces the expected results and writes the file correctly. However, after making/saving changes to main.js, nothing happens. The process appears to running. No more messages appear.
This is why I assumed the fsevents might have had something to do with it..., though it was clear after reading/searching that, if that was the case, it was the best kept secret on the internet :)

@NickGrease There are some browserify issues that could play a role there. Could you try this as an experiment:
watchify /abs/path/to/main.js -o lib/bundle.js -v

@jmm Hi. I've tried with (both|either|or) paths using the full path. No Joy. I've tried installing the 32bit version of node, un/install everything again, set node.exe to run as Admin. I've used the script property of package.json to run watchify as well as at the command prompt - always the same result: it browserify's the file and writes it to the right folder, then never does anything again. No error messages (that I can see, not sure if any logs are hidden anywhere), process is still running, just not catching the change in file main.js after saving.
I'm acutely aware that I seem to be the only one with this problem, which tends to mean user error, but there are so few steps to mess up, I'm at a loss. Thanks for the help.

Well - technically user error I think. I feel bad - I should feel bad. File path contained a "Projects(Node)" folder. Removing the braces... ya that solved the problem. I've been tinkering with programming for many years, and I forgot rule number one) No special characters in the path. Thanks both, sorry for the trouble.


col value out of range

Explain the issue
Sometimes some error messages like col vlaue out of range pop up.
Steps to reproduce

run nvim -u vimrc.vim test.py

We can input like this

Then we press tab key, and the snippt will be expanded.

Then we go ahead and press the tab key to make the cursor jump to the comment.

Type something random and when we type the second letter, an error message will pop up

Minimal working example
test.py
def

Minimal vimrc file
vimrc.vim

if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'dcampos/nvim-snippy'
Plug 'honza/vim-snippets'
call plug#end()
PlugInstall | quit

imap <expr> <Tab> snippy#can_expand_or_advance() ? '<Plug>(snippy-expand-or-advance)' : '<Tab>'
imap <expr> <S-Tab> snippy#can_jump(-1) ? '<Plug>(snippy-previous)' : '<S-Tab>'
smap <expr> <Tab> snippy#can_jump(1) ? '<Plug>(snippy-next)' : '<Tab>'
smap <expr> <S-Tab> snippy#can_jump(-1) ? '<Plug>(snippy-previous)' : '<S-Tab>'
xmap <Tab> <Plug>(snippy-cut-text)

lua << EOF
    require('snippy').setup({
        hl_group = 'Search',
    })
EOF

Additonal information
nvim version: NVIM v0.7.0-dev+913-ge07a4b97f6
I can provide any other information if needed

Hi, thanks for the very detailed issue description! I'm sure it will be helpful for debugging the problem.
I made a recent change to remove a placeholder's children when it is modified by hand, so it seems like this issue may have been caused by that change. I'll look into it as soon as possible.

It should be working now. Please let me know if it still doesn't.


Apply assorted ruff/flake8-return rules (RET)

Summary of changes
RET502 Do not implicitly `return None` in function able to return non-`None` value
RET503 Missing explicit `return` at the end of function able to return non-`None` value

Pull Request Checklist

[ ] Changes have tests
[ ] News fragment added in newsfragments/.
(See documentation for details)

I'm not a fan of RET 503. It feels a lot to me like overspecifying the behavior, not dissimilar to:
if bool(x):
  return True
else:
  return False

Instead of just:
return bool(x)

Or writing:
str("foo")

instead of just
"foo"

Both of the former examples are more "explicit", but they only add noise. One of the things I loved about the Python language early on was that a blank return or an implied return at the end of a function body is indistinguishable from an explicit return None, so use the minimal form for consistency and conciseness.
I understand people's instinct to use meaningless statements as a signal about intent, but it just feels nitpicky to me.
My preference would be to stick with the more concise form until there's a documented language feature that enforces or honors a convention, such as to not have an implicit None.
I do believe I've seen other type checkers enforce a similar rule, though, so maybe I'm just a curmudgeon.

My understanding of these rules is that an implicit None in itself is OK. What is not OK is a mixture of explicit and implicit:
def f(i):
    if i > 0:
        return i

instead of:
def f(i):
    if i > 0:
        return i
    return None

The rationale could be that newcomers to Python might get confused, and that a missing return might actually be an oversight and not an implicit return None.

But I agree that's not the most useful of the ruff rules. To tell the truth, I haven't ever caught an actual oversight, as opposed to an implicit return or None.


Maps EEC/StatsD-related annotations to the EEC and data sources runtime properties

Extension Controller and data sources (like StatsD) can be configured in OneAgent/ActiveGate bare metal deployments using runtime properties (a.k.a. debug flags). In a bare metal AG setup, the interface is a json file stored at /var/lib/dynatrace/remotepluginmodule/agent/conf/runtime/runtimeConfiguration.
This changeset converts EEC/StatsD debug flags defined as DynaKube annotations with prefix internal.operator.dynatrace.com/extensions. into valid runtime properties mounted into EEC container via a config map.
Example:
    "internal.operator.dynatrace.com/extensions.debugExtensionDSstatsdlogoutboundminttraffic": "true"

is turned into:
apiVersion: v1
kind: ConfigMap
metadata:
  name: eec-config
  namespace: dynatrace
data:
  runtimeConfiguration: |
    {
      "revision": 1,
      "booleanMap": {
        "debugExtensionDSstatsdlogoutboundminttraffic": true
      },
      "stringMap": {},
      "longMap": {}
    }

Annotations starting with internal.operator... should be managed by the operator.
If these annotations are defined by the user, we need to find a different name.

OK, changed the prefix to alpha.operator.dynatrace.com/extensions..


Feature request: Adding in support for smile.amazon.co.uk & smile.amazon.de

Hello r7kamura,
I recently discovered Amazon also offers their 'Smile' charity program outside the USA.
So, would you kindly consider adding in support for smile.amazon.co.uk & smile.amazon.de URL shortening, please?
Thank you in advance!
--MardukNT

OK, I'll try to add them 👌

I've submitted the new version to chrome web store, so it'll be released in a couple days

The new version has released on chrome web store 🎉


OCPBUGS-35906: a rule to check if the featureSet is one of the known set of features

In the past, there was an admission plugin for checking if the value of the featureSet field matched a known one.
With https://github.com/openshift/kubernetes/pull/1944, the validation was moved to CEL and the check was dropped.
This PR adds the missing check.
NOTE that there was an additional check that allowed updates to FG even with an invalid featureSet if the field wasn't modified. I haven't found a way to move this to CEL for kube < 1.30.
The validation was moved in 4.16, and setting an invalid value breaks an operator and prevents upgrades. This PR allows transitioning from an invalid value to unblock upgrades.
For full backward compatibility we would have to bring back the admission plugin for 4.16 and use for 4.17 use optionalOldSelf.

/assign @deads2k

add testing

@deads2k added the missing test cases, PTAL.

Setting different values caused failures, so this is ok.
/lgtm
/approve

/jira refresh

/jira refresh

/test e2e-aws-ovn-techpreview

/cherry-pick release-4.16


How to bind Nested JSON to list in SAP UI5?

OpenUI5 version:
Browser/version (+device/version):
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
1.
2.
3.
What is the expected result?
What happens instead?
Any other information? (attach screenshot if possible)

Employee-{EmployeeSet: Array(2), EmployeeId: "2337"}
{
EmployeeId: "2337"
EmployeeSet: Array(2)
0: EmployeeDesc: "ABC" EmployeeNumber: "123" TotalScore: "2000.000" EmployeeDetail: Array(2)
0: {ReceivedScore: "30", Rank: "1", BatchNo: "100"}
1: {ReceivedScore: "40", Rank: "2", BatchNo: "101"}
1: EmployeeDesc: "XYZ" EmployeeNumber: "456" TotalScore: "3000.000"
EmployeeDetail: Array(2)
0: {ReceivedScore: "50", Rank: "1", BatchNo: "102"}
1: {ReceivedScore: "60", Rank: "2", BatchNo: "103"}
}
Hi Team, I want to bind above nested Josn data in List. The List contains following column:
EmpNo, EmpDesc, ReceivedScore, Rank, BatchNo.
it contains 4 rows i.e;
123|ABC|30|1|100
123|ABC|40|2|101
456|XYZ|50|1|102
456|XYZ|60|2|103
I tried many ways but was unable to bind this data can you please help me to solve this problem.. Any help is appreciated.
Thanks:)

Hi @LalitMendha
this is not a place to ask a question like yours. You might want to try the openui5 slack channel
https://slackui5invite.herokuapp.com/
or stackoverflow
https://stackoverflow.com/questions/tagged/sapui5
Sincerely
Fjaoos

Use the sap.m.List items aggregation, bindItems("/EmployeeDetail", <item_template_here>), where the JSONModel is bound to view or parent of the sap.m.List
https://jsbin.com/sanudiqeja/edit?html,output
For more details:
https://openui5nightly.hana.ondemand.com/#/topic/bf71375454654b44af01379a3c3a6273
https://openui5nightly.hana.ondemand.com/#/topic/9373793b290d429ba1bc6aea1ce5482f
https://openui5nightly.hana.ondemand.com/#/topic/91f057786f4d1014b6dd926db0e91070


front-end: displayed order of text messages sometimes wrong

Possible reason:
at least in the old GUI, when querying the text messages for displaying in conversation view, the messages are ordered by received timestamp of local message and of the corresponding remote message at the same time. If the messages are hosted at different nodes that have time differences, it might lead to the wrong ordering of messages.

reletaed issues #304 and #299

This is still an issue, reproducible in the integration-testing system. The ordering is consistent within each sender but inconsistent between senders.  As @yanapanchenko points out, the possible cause is that the two servers' clocks are not synchronized and ordering uses timestamps of both nodes (but they should only use the timestamps of the owner's node)

Also experienced that, my message are sorted all to the top while the bots messages are added at the bottom while we talk ...

Might be caused by how won.getEvent is implemented. If it encounters multiple timestamps, it uses the latest (which is flawed if they're from different servers). It should always use the the timestamp from the own owner.

A while ago, we wrote a SPARQL query that takes care of this for the mailbot, @quasarchimaere and I can help

This is still an issue btw, however, it seems, only when the two needs are on different nodes.

We can use the hasPreviousMessage triples to get a rough order of messages without looking at the timestamps (and only use the latter as secondary sorting where messages where send at almost the same time and thus have the same previous and next message)
This will be easier to debug once #1092 is resolved. The daisy chaining is also needed for #1056.

https://github.com/researchstudio-sat/webofneeds/pull/1124/files#diff-56522a221b044535f52269b176b6d230 contains a sparql-query for retrieving the messages in a sorted fashion. This should give us an initial sorting; new messages received via the websocket would only need to be inserted at the right position. We'd have to rerun the query whenever "show more" is used though.

Ah, I forgot to run mvn clean. It's good now.

here we go again:

The message ordering is not correct, not even after reloading. We are reading the wrong timestamps, it seems.

@fkleedorfer (in #1173)


RUBBoS workload

Hello,
I've implemented the Rice University Bulletin Board System (RUBBoS) workload.
RUBBoS is a bulletin board benchmark modeled after an online news forum like Slashdot.
RUBBoS is a free, open source initiative available at the OW2 Consortium web site.
I've implemented the workload driver for two possible incarnations of RUBBoS, namely php (target at the RUBBoS implementation based on PHP) and servlet (target at the RUBBoS implementation based on the Java Servlet technology).
You can select what version of RUBBoS to use by the rubbos.incarnation configuration parameter.
Also,

I've tried to make the driver fully compliant with the native client edu.rice.rubbos.client.ClientEmulator,
I've implemented all 24 operations + 2 special operations (i.e., "Back to Previous Page" and "End of Session"), provided by the original RUBBoS version as well,
I've added three traffic matrices ("user-default", "author-default", "browse") as available in the original RUBBoS, and
I've added several configuration options to provide more flexibility on the user side.

See:
https://github.com/sguazt/rain-workload-toolkit/tree/wkl-rubbos/src/radlab/rain/workload/rubbos/README.md
for a more detailed description of this workload.
Please, consider to merge this branch.
Best,
-- Marco

Hi,
Any feedback?
Cheers,
Marco

Hi Marco,
Sorry for the slow reply - I was travelling. I'll review these this week
and send feedback.
thanks for doing this,
Rean
On 01/10/2015 06:16 AM, Marco Guazzone wrote:

Hi,
Any feedback?
Cheers,
Marco

Reply to this email directly or view it on GitHub:
https://github.com/yungsters/rain-workload-toolkit/pull/20#issuecomment-69457237

Hi Rean,
Thank you for the feedback. No need for sorry. I just wanted to know that the pull request arrived to someone :)
Take your time
Cheers,
Marco


Proposal to remove "-v" from NotForVersion() check

op CLI version
2.12.0
Goal or desired behavior
"-v" flag in a CLI program works as expected. In the case of Railway CLI, "-v" is for verbose output.
Current behavior
Right now, the NotForVersion() check (used in the parent NotForHelpOrVersion() check) in Shell Plugins code causes "-v" flag in Railway CLI to fail. Since different plugins use "-v" as a shorthand for either version or verbose output, the simplest solution would be to remove "-v" from the NotForVersion() check.
Relevant log output
No response

I was curious to see how many repositories/projects use "-v" as a shorthand for "--verbose" but I couldn't find an exact number because Sourcegraph ran into a search limit. There are a ton though:
https://sourcegraph.com/search?q=context:global+-v%2C+--verbose&patternType=standard&sm=1&groupBy=repo

To avoid too many false positives, the NotForVersion helper is only disabling auth for -v if it's is the only arg provided:
https://github.com/1Password/shell-plugins/blob/d4822d5ebb3ddf2d633316e1a2f06852bebccaf5/sdk/needsauth/helpers.go#L124-L128
There are a few examples in the test cases:
https://github.com/1Password/shell-plugins/blob/d4822d5ebb3ddf2d633316e1a2f06852bebccaf5/sdk/needsauth/helpers_test.go#L47-L66
Does that not work well already for railway?

Great spot, @arunsathiya!
In the case of CLIs for which the standard/default functions do not fit, we can always use a custom check. For example, in the case of railway, we could use NotForExactArgs("--version") instead of NotForVersion(). Let's start with that, and if we see a pattern or recurring problems with this approach, we can consider making changes or additions to the default/standard needsauth functions.


Builds with go 1.15

Note, our current Go 1.14 will move out of support while we are still maintaining Helm 2.5.x.

while we are still maintaining Helm 2.5.x.

And of course Mr. Farina means Helm 3.5.x (because, happily, the v2 support is ended).


Option to not install vue as a dependency

What problem does this feature solve?
I really like vue-cli for its ease of use while still being highly customizable. My team has integrated vue-cli smoothly into our workflow using a custom plugin. This process is working so great that we have started experimenting with using it for non-Vue projects as well. However, since Vue is always automatically installed as a dependency, we have to remove it manually after install, which is time-consuming.
In short, we would like a command-line option to not automatically install vue, to be able to use vue-cli for non-vue projects.
What does the proposed API look like?
vue create would get a new option that could be called --no-vue. If present, cli-service generator would skip adding vue and vue-template-compiler as dependencies.
I am willing to help implement this feature if it is found to be within the scope of this project.

I'm not sure that we should go down this road. This is explicitly a Vue project. Apart from adding vue as a dependency to package.json, we install vue-loader and configure webpack to deal with.vue files. we add vue-spefic config to eslint and other tools etc.
While I can understand that you might be able to live with those points as they don't influence the code output, once we signal that we provide options to use Vue CLI outside of Vue projects, these points will come up rather sooner than later.
So on principal,  I think that we should not burden the project with supporting various usecases outside of the Vue ecosystem that way,
And at the same time, deleteing one line from package.json and running yarn again takes aproximately 20 seconds max, so unless you created dozens of projects per day, I'm not too sure you can call this process "time-consuming".

A tip:
With this PR https://github.com/vuejs/vue-cli/pull/5149, in a preset/plugin generator, you can pass { prune: true } to api.extendPackage to remove existing dependencies.
Here's an example: https://github.com/vuejs/vue-cli-plugin-vue-next/pull/9/files

Thanks for the comments!
LinusBorg had some good points and I understand that this feature might be out of scope. But at the same time as more use cases could be a burden, it could attract more contributors to a very functional tool. This would of course be a much greater discussion, I realize now.
The option that sodatea pointed me to does seem to help a bit on the way! Thanks!


Status of Project Alchemist

Hello,
I'd like to ask you about current status of Project Alchemist.
Could you please clarify where the current master is located on Github?
After watching this https://databricks.com/session/alchemist-an-apache-spark-mpi-interface talk, I assumed it's here https://github.com/project-alchemist. There are 4 repositories there and 2 of them are empty  - https://github.com/project-alchemist/AlLib and https://github.com/project-alchemist/ALI.
Is that a working release, or you've just started working on it?
I also found https://github.com/jey/alchemist which a fork of https://github.com/alexgittens/alchemist. Is that a current working release or it was a PoC?
Is it related to https://github.com/project-alchemist?
Best regards,
Pavel Khamutou

I think https://github.com/project-alchemist/Alchemist is currently the main repo.
@alexgittens @rustandruin @kai-rothauge: can you comment?

Hi Pavel,
I have moved away from Alchemist. @kai-rothauge Kai is now managing its development. https://github.com/alexgittens/alchemist is the version that we used to run the reported large-scale experiments on Cori, the NERSC supercomputer; it compiles on Cori and MacBooks. This is no longer being actively developed.
In the interest of making Alchemist more user-friendly (simpler compilation process and support multiple platforms, reduce dependencies, incorporate libraries dynamically, run under containerized systems like Kubernetes), Kai has been rewriting much of the code-base. I believe https://github.com/project-alchemist/Alchemist is the main repo, but I am not sure how usable the code currently is; I recommend leaving a question there if Kai doesn't see this thread.

Thank you!


Adds min_sum_per_partition and max_sum_per_partition

Description
Adds min_sum_per_partition and max_sum_per_partition. These two parameters only works for sum.
Only 1 pair of (min_value, max_value) and (min_sum_per_partition, max_sum_per_partition) might set
if (min_sum_per_partition, max_sum_per_partition) is set Metrics should be equal to [SUM]

It was already implemented on different PRs


#12690: Port moreh_softmax and moreh_softmax_backward to ttnn

Ticket
Link to Github Issue: https://github.com/tenstorrent/tt-metal/issues/12690
Problem description
moreh_softmax and moreh_softmax_backward were deprecated alongside tt_dnn. This PR ports it to ttnn using its operation format.
What's changed
Move device code to ttnn
Create new wrapper code for ttnn with new modules
Checklist

[x] Post commit CI passes

All post-commit tests #15741
All post-commit tests #15807

[x] Blackhole Post commit (if applicable) - NA
[x] Model regression CI testing passes (if applicable) - NA
[x] New/Existing tests provide coverage for changes

Please run clang-format on the modified code if you can

Some changes I made to your branch:

Refactored test_*.py
Moved changes from tt-metal/ttnn/ttnn/types.py to ttnn/ttnn/operations/moreh.py

Some changes I made to your branch (P2) (on the forward phase):

Defined a macro to shorten the script (reducing many repetitive definitions)
Removed unnecessary includes
Checked naming conventions
Checked type declarations
Handled ambiguous std::optional
Resolved unnecessary init_device_compute_kernel_config

Details: GitHub link

Some changes I made to your branch (P3) (on the backward phase):

Defined a macro to shorten the script (reducing many repetitive definitions)
Removed unnecessary includes
Checked naming conventions
Checked type declarations
Handled ambiguous std::optional
Resolved unnecessary init_device_compute_kernel_config

Details: GitHub link


update-directory-autoloads command obsolete on 28.1

Causes CI to fail:
straight.el:4401:12: Warning: `update-directory-autoloads' is an obsolete
    function (as of 28.1); use `make-directory-autoloads' instead.

We can define our own command which dispatches to the correct command depending on Emacs version. Looks like the semantics have changed:
https://github.com/emacs-mirror/emacs/commit/6f36b67e4146ef4610916b7903fd292e1308daf5

Should be fixed by #602


Also attempt to exit early when iterating b's keys in shallowEqual

Prior conversation

Can you run some perf benchmarks just to be sure it's faster? You know that old saying about what happens when you ASSUME.

I'm more concerned of the correctness of shallowEqual in react-redux. There are a few subtle ways it could fail right now. I think it would be best to copy shallowEqual from fbjs.

I agree with @appden here. For instance shallowEqual in react-redux doesn't account for NaN. If an object contained any NaN value then shallowEqual would always return false.

I'm going to close this out and we can switch over to the fbjs version. It seems to cover more edge cases and might even be faster in common cases for react-redux.


Added game: Tritium

Implemented my own game Tritium. All comments welcome, as it is my first TS project.

I might have to rethink the color palette. Player flags should probably follow the site's convention of red and blue, but initial tests show that red and blue on top of orange, green and purple is quite difficult to read.

Turns out my weekend is super busy, but I'm pulling this in now and will start reviewing and testing. I'll get it pushed to the dev server as soon as I can. Thanks for your contribution (and your patience)!

Oh, well it will appear on the dev server shortly, actually, so you can poke at it. I'll still be reviewing the code before we go live.


Parameter "-intent" no longer available - Concerned part: Identify the best destination shares to hold the container you migrate

Hi Team,
Parameter "-intent" no longer available - Concerned part: "Identify the best destination shares to hold the container you migrate" in https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-manage-storage-shares
Thank you!
Regards,
Hailian Li

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

ID: 03c63388-ff19-a72e-959b-883a01b400e8
Version Independent ID: bba686d4-1463-c9a1-bdb4-7d3edf095fee
Content: Manage storage capacity in Azure Stack
Content Source: azure-stack/operator/azure-stack-manage-storage-shares.md
Service: azure-stack
GitHub Login: @mattbriggs
Microsoft Alias: mabrigg

@Lihailian Thanks for the note. I'll update shortly. #in-progress

@Lihailian Update in progress. Should appear in our next build. #please-close

@Lihailian We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Autodoc enums

Allow autodoc to parse enums:
class MyEnum(enum.Enum):
    OPTION1 = "text"  #: Some PEP says this is a valid docstring
    OPTION2 = "other text"  #: This also!

Instead of a comment, you can put a triple-quoted string below the variable. It will be picked up by mkdocstrings.
class MyEnum(enum.Enum):
    OPTION1 = "text"
    """This is an actual docstring."""

    OPTION2 = "other text"
    """This also!"""

I'm not willing to implement support for documentation in comments of the form #:, especially with the current state of the code, because we're using ast which does not parse comments. Later, when the structure is better and more stable, I'll be able to review PRs adding support for doc comments, type comments, etc., but they will probably need to be sent in another repository (the code will be split into different packages).
If you need more details about the roadmap, just ask 🙂 !

If you are looking for another maintainer to help out, I'm happy to.  I believe in this project and would be willing to help it grow.

I'd absolutely love to have other maintainers on this project, thank you very much for offering your help :slightly_smiling_face:!
As stated in other comments, right now we're a bit stuck, but when the desired architecture is implemented, we'll be able to move faster. I'll tell you when this time comes, which I hope is soon!


ntr: decreased proteolysis during vegetative growth

standard
to finalise
https://github.com/pombase/fypo/issues/2677#

decreased proteolysis during vegetative growth FYPO:0005443
edit file: 7ecd34e4efc50bcf3304ca13ffb3ecaee7eb7e14
release: 1bb27ea77c93c656687cde2ca8005eee1f8db4b1


[2.7] Merge Aug patches from custom branch to dev branch

Tracking issue for merging August patches from custom KDM branch dev-v2.7-2023-08-patches to dev-v2.7 and custom RKE branch release/1.4.9 to release/1.4 for the 2.7.7 release

Both of these tasks are complete


Key ID not unlocking Doors?

I have created a key for a door using the GM commands, and assigned ownership of it to a test player. For some reason, when I play as the tester, it says that I have no matching key. Am I understanding the module incorrectly? The only time they can unlock the door is if I add them to Identities, and then they can lock/unlock without the key.

When you say you have assigned ownership of the key to the play, do you mean you have set the player as owner in the permissions menu? For a key to work the player has to have the key in their inventory.

That is exactly what I was doing incorrectly. Thank you! I am still new to Foundry, and I thought those were the same things.

Glad to hear that that solved the problem. Have fun with discovering foundry.


🐛 Enable the use of KubeFlex in MicroShift cluster

Summary
Add a new isMicroShift chart value to let the controller know that when creating a k8s control plane in a MicroShift cluster a runAsUser value is needed.
Related issue(s)
Fixes #
#195

ok


When is the Room's unreadCount changed?

What?
The unreadCount of Room object is not changed after loaded all messages for the room.
I also tried to set cursor for all messages but it didn't solve the problem.
When is the unreadCount value changed?
Environment

PusherChatkit version: 1.8.3
Xcode version: 11.3
Swift version: 5
Platform(s) running PusherChatkit: 0.7.2

Hello,
It is with great regret that we have to tell you that on April 23 2020 Pusher will be fully retiring our Chatkit product.
We started Chatkit 2 years ago and we want to thank all our partners, staff past and present, and customers who have joined us on this exciting journey.
This isn’t a decision that we’ve taken lightly and we know that it may cause significant challenges for our customers who have adopted Chatkit over the last 2 years.
We’ve had to face the sad reality that despite the best efforts of our dedicated team it’s become increasingly difficult to establish Chatkit in a crowded and highly competitive market.
We have been searching for alternatives to this decision but in the current financial climate, hugely impacted by the recent COVID-19 pandemic, we have not been able to find a viable way for the Chatkit service to continue.
So with no way forward for Chatkit we’ve had no choice but to begin the process of retiring the service.
At this point I'd like to thank you for your support of Chatkit and apologise for the devastating decision we’ve had to make.
In light of this news we must advise that you look to migrate from Chatkit by April 23 2020. You can read our migration advice on our help center.


Disable inlay hints for tests (or allow conditional overrides)

I ❤ the new inlay hints feature. One area where it's a bit noisy is in tests, though. Even with the literals setting, it shows up for Jest (and similar) test blocks (describe, it, test). Please consider adding a way to override this for certain cases. Thank you!

This feature is powered by the TypeScript project. Please file a feature request upstream

We plan to continue improving inlay hints going forward so be sure to share any feedback you have on the new feature!

You might want to update that link then...


Add the Markdown types that simplify handling a whole lot

This has been pretty successful in my Staff Notes application, so I figured I would back port it here. This PR doesn't make any actual functional changes, just integrates the types so that when other things are ready, they can be folded in.

Coverage decreased (-2.4%) to 76.543% when pulling 3224aab4f45fd114d1828978899d79718ecb1eea on markdown-types into 98e15374be5e6d5e68d3fb8ba3d4c533f08b4d96 on master.


Added keyevent for backspace to cancel the menu and search.

capture keystrokes and build a regex search string, then hide menu items that don't match the search string.

I probably need to add a display that shows the current search string.


Support Request:

Describe Your Problem
Persistent ’unlocking…’ state on Conexis L1 via Yale Connect Bridge
Relevant log output
No response
Config for homebridge-august
No response
Screenshots

Device & Model
Raspberry Pi
Node.js Version
16.15.0
NPM Version
Unsure
Homebridge Version
1.6.0
Homebridge August Plugin Version
1.1.10
Homebridge Config UI X Plugin Version
4.50.2
Operating System
Raspberry Pi

Btw, just want to say a huge thank for this plug-in. It’s literally the only thing I can find to bring my Yale lock to HomeKit

For context this is what I am using with my Yale Conexis L1 lock https://yalehome.co.uk/yale-access-connect-kit/


Is there a way could debug through python and c++ smoothly

as the title.

You can use gdb for c++ and pdb for python.
On 2017年4月18日, at 02:53, liang<EMAIL_ADDRESS>wrote:
as the title.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

currently， I use both at same time, I need switch tab time to time, so I hope there is one combined them.

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!


initialize ServiceBuild.Sidecars in mock

https://github.com/mlab-lattice/lattice/blob/ccf20e4c268e29316086685e74d3221adc001346/pkg/backend/kubernetes/api/server/backend/build.go#L274-L278
It looks like the backend api initialises ServiceBuild.Sidecars, whereas this is null in the mock. Also removed a duplicate assignment.

Ah yeah, you are right - I removed that extra one.

i think i would actually rather do the opposite - have it be the expected behavior of the api to omit the sidecars map if it would be empty.
this will be the case 99% of the time and will improve readability

note what i've described above is implemented in https://github.com/mlab-lattice/lattice/pull/220

Sweet, that works


Can't find: Add an Image only control (Insert tab > Gallery)

I try to follow the steps to add images from OneDrive by using the Excel Table. Nothing happens after I set Items = Jackets. I've tried it with different kinds of galleries (e.g. vertical or blank) but also noticed I see no "Image only control". Is there a step in the tutorial missing? Should it work with all galleries? Should we set it to image only in some way? Or specify the paths in the Excel table to the exact path of the Assets_images folder within OneDrive? Thanks!

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

ID: ea4ec8d3-8f91-d970-3722-133114c62f4a
Version Independent ID: 5cae347b-2a12-f0f4-95e6-35abaa23cb8c
Content: Embed multimedia files into a canvas app and upload - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/add-images-pictures-audio-video.md
Service: powerapps
GitHub Login: @emcoope-msft
Microsoft Alias: emcoope

Thank you for your reaching out and your feedback. The content is updated. Please allow some time for changes to reflect.


Need to get rid of outdated libraries saaj-impl and stax-ex

Describe the issue:
With JDK 11 SAML2 Artifact Binding not working as mentioned in [1]
[1] https://github.com/wso2/product-is/issues/9195
As the current solution, we will be packing the relevant jars saaj-impl-1.5.0.jar, stax-ex-1.8.3.jar to the product but we need to get rid of outdated libraries as they may cause some other issues down the line.
Expected behavior:
Removing outdated jars

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Issues when switching branches

When switching git branches using vim-fugitive or lazygit.nvim I get a series of errors. When just switching branch I get the aforementioned /lua/gitsigns.lua:663: attempt to index local 'bcache' (a nil value). However when opening the lazygit terminal floating window I get

I can't tell if it's trying to perform git operations on this invalid buffer somehow, it just generally really seems to react very badly to opening that plugin window, but ignores others like FZF so could be git related or could be some buffer attribute of lazygit isn't set up properly

I am experiencing the same. Thing it might have something to do with file(s) not existing on disk after branch change.

I am experiencing the same. Thing it might have something to do with file(s) not existing on disk after branch change.

Could you guys try out #46. Hopefully it fixes this.

Could you guys try out #46. Hopefully it fixes this.

Will give it a try and report back 👍🏾

Will give it a try and report back 👍🏾

Been using this this morning and no errors so far switching git branches or using lazygit 👍🏿

Been using this this morning and no errors so far switching git branches or using lazygit 👍🏿

Hmm actually I just hit part of this again this morning, thankfully I'm not seeing the large job spawn error anymore, but I am still hitting the bcache issue. It doesn't seem to happen on a regular branch switch, I think in the case I noticed it I had some conflicts on rebasing a branch, not sure if that helps or not. I think 46 is definitely an improvement though

Hmm actually I just hit part of this again this morning, thankfully I'm not seeing the large job spawn error anymore, but I am still hitting the bcache issue. It doesn't seem to happen on a regular branch switch, I think in the case I noticed it I had some conflicts on rebasing a branch, not sure if that helps or not. I think 46 is definitely an improvement though

Ok thanks for the report. Shall we wait a few more days until you understand what scenario the issue happens under? I'm sure the fix for it will be trivial.

Ok thanks for the report. Shall we wait a few more days until you understand what scenario the issue happens under? I'm sure the fix for it will be trivial.

Hmm after a few more days of use one thing that seems to be happening is that git signs is trying to track buffers that it shouldn't apply to and the bcache nil error is happening. Not sure of any of the underlying logic but I think if a buffer has a non empty buftype gitsigns should just not be active in that buffer.
I'm getting these errors when I use fugitive buffers, and initially in the lazygit buffer but that maybe has stopped not 100% sure.
From this list of buftypes from the docs seems that none of them are good candidates to have git signs enabled in
	  acwrite	buffer will always be written with |BufWriteCmd|s
	  help		help buffer (do not set this manually)
	  nofile	buffer is not related to a file, will not be written
	  nowrite	buffer will not be written
	  quickfix	list of errors |:cwindow| or locations |:lwindow|
	  terminal	|terminal-emulator| buffer
	  prompt	buffer where only the last line can be edited, meant

Hmm after a few more days of use one thing that seems to be happening is that git signs is trying to track buffers that it shouldn't apply to and the bcache nil error is happening. Not sure of any of the underlying logic but I think if a buffer has a non empty buftype gitsigns should just not be active in that buffer.
I'm getting these errors when I use fugitive buffers, and initially in the lazygit buffer but that maybe has stopped not 100% sure.
From this list of buftypes from the docs seems that none of them are good candidates to have git signs enabled in
	  acwrite	buffer will always be written with |BufWriteCmd|s
	  help		help buffer (do not set this manually)
	  nofile	buffer is not related to a file, will not be written
	  nowrite	buffer will not be written
	  quickfix	list of errors |:cwindow| or locations |:lwindow|
	  terminal	|terminal-emulator| buffer
	  prompt	buffer where only the last line can be edited, meant

Can you provide a minimal example with precise instructions? I can't trigger any error.

Can you provide a minimal example with precise instructions? I can't trigger any error.

🤔 I will try to, it's a little intermittent and I can tell if it's the project as in a specific repository and something about it causing the errors, or the system since I use a mac for work and linux for my personal machine and the errors seem to happen almost, if not exclusively, on my mac but I'm not sure if that's just because that's when I work on the repo in question

🤔 I will try to, it's a little intermittent and I can tell if it's the project as in a specific repository and something about it causing the errors, or the system since I use a mac for work and linux for my personal machine and the errors seem to happen almost, if not exclusively, on my mac but I'm not sure if that's just because that's when I work on the repo in question

@lewis6991 sorry I've been quite busy the last few days and so haven't had a chance to sit and write up a minimal test case. I have been using your branch for a while now though and am pretty confident that the specific issue still relates to when moving across branches and files are added or removed when switching.
I believe you will be able to reproduce it in a simple repo by adding creating a new branch and adding a file to it, then moving between that and the main branch. At least this is when I encounter the error, it doesn't happen just if files change it seems specifically to relate to missing files

@lewis6991 sorry I've been quite busy the last few days and so haven't had a chance to sit and write up a minimal test case. I have been using your branch for a while now though and am pretty confident that the specific issue still relates to when moving across branches and files are added or removed when switching.
I believe you will be able to reproduce it in a simple repo by adding creating a new branch and adding a file to it, then moving between that and the main branch. At least this is when I encounter the error, it doesn't happen just if files change it seems specifically to relate to missing files

Does it matter how the branch is switched? Can this be done in another terminal whilst nvim is running?

Does it matter how the branch is switched? Can this be done in another terminal whilst nvim is running?

@lewis6991 I'm currently using vim-fugitive and lazygit.nvim to switch branches. Tbh I very rarely switch branches in the terminal proper I almost always use either of those tools. I just tried both and it reproduced using fugitive but not in the terminal (nvim's terminal not one external to nvim)

@lewis6991 I'm currently using vim-fugitive and lazygit.nvim to switch branches. Tbh I very rarely switch branches in the terminal proper I almost always use either of those tools. I just tried both and it reproduced using fugitive but not in the terminal (nvim's terminal not one external to nvim)

I always switch branches in separate terminal and am getting that error, but didn't have time to check out that branch unfortunately.

I always switch branches in separate terminal and am getting that error, but didn't have time to check out that branch unfortunately.

I've merged the PR as it seems to improve things but will keep this issue open until we resolve all the known issues.

I've merged the PR as it seems to improve things but will keep this issue open until we resolve all the known issues.

@lewis6991 this might go without saying but I tried logging inside of gitsigns.lua for where I'm seeing the null error and cache is empty at this point. In this particular case I had just checked out a local version of a branch with various files open and had just merged in some upstream changes that tweaked quite a few files, I then fetched it and rebased my current branch onto the upstream branch which is when I hit this. I'm wondering if the fact that I have the following in my gitconfig is a factor.
[pull]
  rebase = true

@lewis6991 this might go without saying but I tried logging inside of gitsigns.lua for where I'm seeing the null error and cache is empty at this point. In this particular case I had just checked out a local version of a branch with various files open and had just merged in some upstream changes that tweaked quite a few files, I then fetched it and rebased my current branch onto the upstream branch which is when I hit this. I'm wondering if the fact that I have the following in my gitconfig is a factor.
[pull]
  rebase = true

No signs of the bug so far, but given the sporadic nature not sure if that means much. Will do some more testing/try triggering it by creating some fake nested dirs on different branches etc.

Well I know it fixes at least error I was able to reproduce (steps in PR).

So far so good @lewis6991 not seen the error since running #44. I was thinking that for sanity sake maybe leaving this open till the end of the week and if there are no more appearances of the bug then maybe closing it out, can revisit if it returns.
Whilst I think the specific issue about switching branches might be resolved 🤞🏿 but there is another issue which is the bcache <bufnum> is nil
...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:53: ...im/site/pack/packer/start/gitsigns.nvim/lua/gitsigns.lua:137: Cache for buffer 9 was nil

dump cache shows after the error
  [9] = {
    abbrev_head = "main",
    file = "/Users/akinso/.dotfiles/.config/nvim/lua/as/plugins/gitsigns.lua",
    gitdir = "/Users/akinso/.dotfiles/.git",
    has_conflicts = false,
    hunks = {},
    index_watcher = <userdata 4>,
    mode_bits = "100644",
    object_name = "ba57c662aaeb35e8aecff567266852389b98e32e",
    pending_signs = {},
    relpath = ".config/nvim/lua/as/plugins/gitsigns.lua",
    staged = "/tmp/lua_7lEZRL",
    staged_diffs = {},
    toplevel = "/Users/akinso/.dotfiles"
  },

dump messages shows
watch_index(9): Watching index
dprint(nil): Running: git --no-pager show :0:.config/nvim/lua/as/plugins/gitsigns.lua
dprint(nil): Running: git --no-pager diff --color=never --diff-algorithm=histogram --patch-with-raw --unified=0 /tmp/lua_7lEZRL /tmp/lua_7lEZRL_buf
update(9): updates: 13, jobs: 72
watcher_cb(11): Index update
dprint(nil): Running: git rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD
watcher_cb(2): Index update
dprint(nil): Running: git rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD
watcher_cb(8): Index update
dprint(nil): Running: git rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD
watcher_cb(4): Index update
dprint(nil): Running: git rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD
watcher_cb(10): Index update
dprint(nil): Running: git rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD
dprint(nil): Running: git --no-pager ls-files --stage --others --exclude-standard /Users/akinso/.dotfiles/.config/nvim/lua/as/plugins/init.lua
dprint(nil): Running: git --no-pager ls-files --stage --others --exclude-standard /Users/akinso/.dotfiles/.config/nvim/lua/as/highlights.lua
dprint(nil): Running: git --no-pager ls-files --stage --others --exclude-standard /Users/akinso/.dotfiles/.config/nvim/lua/as/plugins/telescope.lua
dprint(nil): Running: git --no-pager ls-files --stage --others --exclude-standard /Users/akinso/.dotfiles/.config/nvim/lua/as/statusline/utils.lua
dprint(nil): Running: git --no-pager ls-files --stage --others --exclude-standard /Users/akinso/.dotfiles/.config/nvim/syntax/NeogitStatus.vim
watcher_cb(11): File not changed
watcher_cb(2): File not changed
watcher_cb(4): File not changed
watcher_cb(8): File not changed
watcher_cb(10): File not changed

I think this is worth raising and resolving separately. I lumped it in here so it's been a little murky that they are separate probably. This issue seems to happen most frequently when I change a buffer in place using git, e.g. I run git pull which is configured via my git config to rebase the changes so the current buffer contents change and I think that blats the cache somehow despite the buffer being the same.

Thanks for the report.
The debug messages are pretty confusing and don't seem to make any sense. Apparently there is no cache for buffer 9 when in fact there is. The log also doesn't have any attach/detach messages. If the buffer cache gets cleared, that can only be caused by a detach event. Maybe the log messages were earlier ones and you didn't scroll to the later ones, or reverse and the detach messages were higher up?
I have hit a similar issue today however. If I change a file which is open in nvim via an external git command, gitsigns is able to handle and updates the buffer accordingly, however if I undo in the buffer, then that causes the bcache nil error. I inspected a bit further and the undo action was causing a detach event. I'm not sure if this is intended behaviour and may be a bug in nvim_buf_attach(). I'm inclined to believe it is an nvim bug since an attach event doesn't occur after the detach, which it should since the buffer is still loaded. Either way, this is a particularly tricky issue, but I have at least figured out some steps to reliable reproduce.
I reckon my above issue is closely related to yours since a bcache nil error can only occur from a detach event as already mentioned.

Thanks for the explanation 👍🏿 glad you found a path to reproduce it. Yeah sorry the error happened at an inopportune time so I had to come back to it a few mins later and could easily have been the wrong bits that I grabbed, I'd done some other logging with a previous similar error. Regarding the undo, there were some PRs in nvim to fix treesitter related bugs that seemed to necessitate reseting something about the state of the buffer on things like undo or reading the buffer after coming back since both of those points were where treesitter errors were cropping up.
That could be related, or fresh red herring 😅

Merged the change, please reopen or create a new ticket if the issue persists.


How to send message to multiple clients with same credentials?

I want to deliver a message to every client with the same sessionid or any user-based (and not connection-based) identifier.
Are there any built-in solution for this, or I need to pair the users somehow manually?
Thanks in advance :)

Sorry, I should have post it to the forum, so I close it here.


Create StyleIconBase component for faster types

This means that TypeScript can centralize the Styled Components types into a single component, which reduces the burden on the type checker (vs 4815 separate Styled Components).  This may also speed up frontend rendering of multiple icons, not entirely sure.
This prepares for supporting custom SVG icons inside Styled Icons.

This cuts CI build time in half! 😱


Merge changes

Handle smaller screen in a better way :+1:

Thanks. merged.

Good idea, I resized it a little bit more.


Implement Send + Sync for CudaStream

Hi !
First, thank you for the cudarc project.
In my Novigrad project, I use cudarc.
My models are declared like in PyTorch (but in Rust).
Then, I generate instructions with opcodes and operands.
Using a dependency analysis, I assign each instruction to a logical stream. Logical streams have dependencies too.
At runtime, a logical stream is mapped to a physical CUDA stream.
For example, for multi-head attention, with 12 attention heads, the dependency analysis figures out that each head can be executed on a separate logical stream. Then the logical stream for Concat depends on the 12 logical streams of the heads.
I use a scheduler with a controller and execution units in a multi-threaded implementation.
It requires CudaStream to implement Send + Sync.
I ran the tests (cargo test --release). I don't currently have cuddn and nccl, so those tests failed.
failures:

---- cudnn::safe::tests::test_create_descriptors stdout ----
thread 'cudnn::safe::tests::test_create_descriptors' panicked at src/cudnn/sys/mod.rs:61:9:
Unable to find cudnn lib under the names ["cudnn", "cudnn64", "cudnn64_11", "cudnn64_115", "cudnn64_115_0", "cudnn64_110_5", "cudnn64_10", "cudnn64_110_0"]. Please open GitHub issue.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- cudnn::safe::tests::test_conv2d_pick_algorithms stdout ----
thread 'cudnn::safe::tests::test_conv2d_pick_algorithms' panicked at src/cudnn/sys/mod.rs:61:9:
Unable to find cudnn lib under the names ["cudnn", "cudnn64", "cudnn64_11", "cudnn64_115", "cudnn64_115_0", "cudnn64_110_5", "cudnn64_10", "cudnn64_110_0"]. Please open GitHub issue.

---- cudnn::safe::tests::test_conv1d stdout ----
thread 'cudnn::safe::tests::test_conv1d' panicked at src/cudnn/sys/mod.rs:61:9:
Unable to find cudnn lib under the names ["cudnn", "cudnn64", "cudnn64_11", "cudnn64_115", "cudnn64_115_0", "cudnn64_110_5", "cudnn64_10", "cudnn64_110_0"]. Please open GitHub issue.

---- cudnn::safe::tests::test_conv3d stdout ----
thread 'cudnn::safe::tests::test_conv3d' panicked at src/cudnn/sys/mod.rs:61:9:
Unable to find cudnn lib under the names ["cudnn", "cudnn64", "cudnn64_11", "cudnn64_115", "cudnn64_115_0", "cudnn64_110_5", "cudnn64_10", "cudnn64_110_0"]. Please open GitHub issue.

---- cudnn::safe::tests::test_reduction stdout ----
thread 'cudnn::safe::tests::test_reduction' panicked at src/cudnn/sys/mod.rs:61:9:
Unable to find cudnn lib under the names ["cudnn", "cudnn64", "cudnn64_11", "cudnn64_115", "cudnn64_115_0", "cudnn64_110_5", "cudnn64_10", "cudnn64_110_0"]. Please open GitHub issue.

---- nccl::result::tests::multi_thread stdout ----
thread 'nccl::result::tests::multi_thread' panicked at src/nccl/sys/mod.rs:61:9:
Unable to find nccl lib under the names ["nccl", "nccl64", "nccl64_11", "nccl64_115", "nccl64_115_0", "nccl64_110_5", "nccl64_10", "nccl64_110_0"]. Please open GitHub issue.

---- nccl::safe::tests::test_all_reduce stdout ----
thread 'nccl::safe::tests::test_all_reduce' panicked at src/nccl/sys/mod.rs:61:9:
Unable to find nccl lib under the names ["nccl", "nccl64", "nccl64_11", "nccl64_115", "nccl64_115_0", "nccl64_110_5", "nccl64_10", "nccl64_110_0"]. Please open GitHub issue.

---- nccl::result::tests::single_thread stdout ----
thread 'nccl::result::tests::single_thread' panicked at src/nccl/sys/mod.rs:61:9:
Unable to find nccl lib under the names ["nccl", "nccl64", "nccl64_11", "nccl64_115", "nccl64_115_0", "nccl64_110_5", "nccl64_10", "nccl64_110_0"]. Please open GitHub issue.

failures:
    cudnn::safe::tests::test_conv1d
    cudnn::safe::tests::test_conv2d_pick_algorithms
    cudnn::safe::tests::test_conv3d
    cudnn::safe::tests::test_create_descriptors
    cudnn::safe::tests::test_reduction
    nccl::result::tests::multi_thread
    nccl::result::tests::single_thread
    nccl::safe::tests::test_all_reduce

test result: FAILED. 137 passed; 8 failed; 1 ignored; 0 measured; 0 filtered out; finished in 2.80s

Thanks for this PR. Do you know if the CUDA docs mention thread safety for the same CUstream object? That's the main thing here. Specifically can multiple threads use the same CUstream object at the same time? If not, the thing to do here would be to create the stream object inside the thread.

Good point !
On StackOverflow, Robert Crovella (an NVIDIA employee) seems to indicate that CUstream objects are thread-safe but the order of operations from thread 1 and thread 2 can non-deterministic.
See https://stackoverflow.com/questions/57775326/multiple-threads-access-the-same-cuda-stream
But I think that your design is superior. It makes more sense to create the streams in each thread.
Thanks !

Hi @coreylowman
So your design suggestion works for what I want to achieve with cudarc in novigrad.
Thanks !
You can close this PR.


Moving captcha and security_question into before_action

It follows the example of
https://github.com/plataformatec/devise/wiki/How-To:-Use-Recaptcha-with-Devise
It also adds in tests around both the captcha and security question. What do you think of the testing approach?

I like the different user models to test the different combinations of devise modules.

It's the same approach as the Devise main plugin ;)


[Feat]: Domain redesign

Description
Domain redesign with current R&D
Requirements

[x] Remove Author aggregate
[x] Remove Publisher aggregate
[ ] Rename Publication aggregate to BibRecord aggregate
[ ] Rename Member aggregate to Patron aggregate
[ ] Add Vendor aggregate
[ ] Add Item Record aggregate
[ ] Add Item Type aggregate

Fields to be collected
Bib Record

Field Name
Type
Mandatory/Optional
Constraints
Error Message

Leader
Fixed-length String (24)
Mandatory
Must be 24 characters
"Leader is required and must be exactly 24 characters long."

001 (Control Number)
String
Mandatory
Unique, Max 50 characters
"001 Control Number is required, unique, and must be less than 50 characters."

003 (Control Number Identifier)
String
Mandatory
Max 50 characters
"003 Control Number Identifier is required and must be less than 50 characters."

005 (Date and Time of Latest Transaction)
DateTime
Mandatory
Valid DateTime
"005 Date and Time of Latest Transaction is required and must be a valid DateTime."

008 (Fixed-Length Data Elements)
Fixed-length String (40)
Mandatory
Must be 40 characters
"008 Fixed-Length Data Elements are required and must be exactly 40 characters long."

100 (Main Entry - Personal Name)
String
Mandatory if applicable
Max 255 characters
"100 Main Entry (Personal Name) is required when applicable and must be less than 255 characters."

245 (Title Statement)
String
Mandatory
Max 255 characters, First indicator must be 0-2
"245 Title Statement is required and must be less than 255 characters. First indicator must be 0-2."

260/264 (Publication, Distribution, etc.)
String
Mandatory
Max 255 characters, includes publication place, name, and date
"260/264 Publication Info is required and must include place, name, and date, with a max of 255 characters."

300 (Physical Description)
String
Mandatory
Max 255 characters
"300 Physical Description is required and must be less than 255 characters."

336 (Content Type)
String
Mandatory
Must be a valid MARC21 content type
"336 Content Type is required and must be a valid MARC21 content type."

337 (Media Type)
String
Mandatory
Must be a valid MARC21 media type
"337 Media Type is required and must be a valid MARC21 media type."

338 (Carrier Type)
String
Mandatory
Must be a valid MARC21 carrier type
"338 Carrier Type is required and must be a valid MARC21 carrier type."

500 (General Note)
String
Optional
Max 255 characters
"500 General Note must be less than 255 characters."

520 (Summary)
Text
Optional
None
None

650 (Subject Added Entry - Topical Term)
String
Optional
Max 255 characters
"650 Subject Added Entry (Topical Term) must be less than 255 characters."

700 (Added Entry - Personal Name)
String
Optional
Max 255 characters
"700 Added Entry (Personal Name) must be less than 255 characters."

852 (Location/Call Number)
String
Mandatory
Max 50 characters
"852 Location/Call Number is required and must be less than 50 characters."

Item Record

Field Name
Type
Mandatory/Optional
Constraints
Error Message

Barcode
String
Mandatory
Unique, non-empty
"Barcode must be unique and not empty."

Call Number
String
Mandatory
Non-empty
"Call Number cannot be empty."

Status
String
Optional
"available", "checked out", "lost", "damaged"
"Invalid status value."

Price
Decimal
Optional
Positive value
"Price must be a positive number."

Acquisition Date
Date
Optional
Valid date
"Invalid acquisition date format."

Copy Number
Integer
Optional
Positive integer
"Copy number must be a positive integer."

Note
String
Optional
None
None

Item Record Type

Field Name
Type
Mandatory/Optional
Constraints
Error Message

Type Code
String
Mandatory
Unique, non-empty
"Type Code must be unique and not empty."

Type name
String
Mandatory
Non-empty
"Type name cannot be empty."

Loan Duration
Integer
Optional
Positive integer
"Loan Duration must be a positive integer."

Renewable
Boolean
Optional
True/False
"Renewable must be true or false."

Patron

Field Name
Type
Mandatory/Optional
Constraints
Error Message

Patron ID
String
Mandatory
Unique, non-empty
"Patron ID must be unique and not empty."

First Name
String
Mandatory
Non-empty
"First Name cannot be empty."

Last Name
String
Mandatory
Non-empty
"Last Name cannot be empty."

Date of Birth
Date
Optional
Valid date
"Invalid date of birth format."

Email Address
String
Optional
Valid email format
"Invalid email address."

Phone Number
String
Optional
Valid phone number format
"Invalid phone number."

Address
String
Optional
None
None

Membership Start Date
Date
Mandatory
Valid date
"Invalid membership start date format."

Membership End Date
Date
Optional
Valid date, must be after start date
"Membership end date must be after start date."

Acceptance Criteria
Acceptance Criteria

Remove Author Aggregate

[ ] The Author aggregate is completely removed from the system.
[ ] All references to the Author aggregate in the codebase, including services, repositories, and related methods, are removed or refactored.
[ ] All related database tables and records specific to the Author aggregate are removed.
[ ] No errors or exceptions are thrown during system operations due to the removal of the Author aggregate.
[ ] Unit and integration tests related to the Author aggregate are removed or updated accordingly.

Remove Publisher Aggregate

[ ] The Publisher aggregate is completely removed from the system.
[ ] All references to the Publisher aggregate in the codebase, including services, repositories, and related methods, are removed or refactored.
[ ] All related database tables and records specific to the Publisher aggregate are removed.
[ ] No errors or exceptions are thrown during system operations due to the removal of the Publisher aggregate.
[ ] Unit and integration tests related to the Publisher aggregate are removed or updated accordingly.

Rename Publication Aggregate to BibRecord Aggregate

[ ] The Publication aggregate is renamed to BibRecord aggregate across the system.
[ ] All references to Publication in the codebase are updated to BibRecord.
[ ] Database schema is updated to reflect the new name where necessary (e.g., table names, foreign keys).
[ ] No errors or exceptions are thrown due to the renaming.
[ ] Unit and integration tests are updated to reflect the BibRecord aggregate name.

Rename Member Aggregate to Patron Aggregate

[ ] The Member aggregate is renamed to Patron aggregate across the system.
[ ] All references to Member in the codebase are updated to Patron.
[ ] Database schema is updated to reflect the new name where necessary (e.g., table names, foreign keys).
[ ] No errors or exceptions are thrown due to the renaming.
[ ] Unit and integration tests are updated to reflect the Patron aggregate name.

Add Vendor Aggregate

[ ] A new Vendor aggregate is added to the system.
[ ] The Vendor aggregate includes fields such as Vendor Name, Vendor Contact Information, and any other relevant data.
[ ] The system provides the ability to add, update, delete, and view Vendor records.
[ ] Appropriate database tables and relationships are created for the Vendor aggregate.
[ ] Unit and integration tests are added to cover all functionalities of the Vendor aggregate.

Add Item Record Aggregate

[ ] A new Item Record aggregate is added to the system.
[ ] The Item Record aggregate includes fields such as Barcode, Call Number, Location, Status, Price, Acquisition Date, and Copy Number.
[ ] The system provides the ability to add, update, delete, and view Item Record records.
[ ] Appropriate database tables and relationships are created for the Item Record aggregate.
[ ] Unit and integration tests are added to cover all functionalities of the Item Record aggregate.

Add Item Type Aggregate

[ ] A new Item Type aggregate is added to the system.
[ ] The Item Type aggregate includes fields such as Type Code, Description, Loan Duration, and Renewable status.
[ ] The system provides the ability to add, update, delete, and view Item Type records.
[ ] Appropriate database tables and relationships are created for the Item Type aggregate.
[ ] Unit and integration tests are added to cover all functionalities of the Item Type aggregate.

Anything else?
No response

Vendor Fields Description

Field Name
Type
Description

Name
String
The name of the vendor. Must be unique and non-empty.

Address
String
The physical address of the vendor.

Contact Number
String
The primary contact number for the vendor.

Email
String
The email address for vendor communications. Must be a valid email format.

Website
String
The vendor's website URL. Optional field. Must be a valid URL format.

Account Detail
String
Details related to the vendor's account, such as account number or bank details.

Contact Person Name
String
The name of the primary contact person at the vendor's organization.

Contact Person Phone
String
The phone number for the contact person. Must be a valid phone number.

Contact Person Email
String
The email address of the contact person. Must be a valid email format.

Status
String
The status of the vendor, either "Active" or "Inactive".

Transaction Currency
String
The default currency used for transactions with the vendor (e.g., USD, EUR).

Vendor Aggregate Acceptance Criteria

Name

[ ] Vendor Name is unique and non-empty.
[ ] System prevents creation or update of a vendor without a Name.
[ ] Error message: "Vendor Name must be unique and cannot be empty."

Address

[ ] Vendor Address is collected and stored.
[ ] Address field supports multiline input (e.g., street, city, postal code).

Contact Number

[ ] Vendor Contact Number is collected and stored.
[ ] Contact Number must follow a valid phone number format.
[ ] Error message: "Invalid phone number format."

Email

[ ] Vendor Email is collected and stored.
[ ] Email must follow a valid email format.
[ ] Error message: "Invalid email address format."

Website

[ ] Vendor Website URL is optional.
[ ] If provided, the URL must be in a valid format.
[ ] Error message: "Invalid website URL format."

Account Detail

[ ] Vendor Account Detail is collected and stored.
[ ] Field supports text input for account numbers, bank details, or other related information.

Contact Person Name

[ ] Contact Person Name is collected and stored.
[ ] System ensures the field is non-empty if provided.
[ ] Error message: "Contact Person Name cannot be empty."

Contact Person Phone

[ ] Contact Person Phone Number is collected and stored.
[ ] Contact Person Phone must follow a valid phone number format.
[ ] Error message: "Invalid phone number format."

Contact Person Email

[ ] Contact Person Email is collected and stored.
[ ] Contact Person Email must follow a valid email format.
[ ] Error message: "Invalid email address format."

Status

[ ] Vendor Status is either "Active" or "Inactive."
[ ] System defaults to "Active" when creating a new vendor.
[ ] Error message: "Invalid status value. Must be 'Active' or 'Inactive'."

Transaction Currency

[ ] Transaction Currency is collected and stored.
[ ] Currency must be a valid ISO 4217 currency code (e.g., USD, EUR).
[ ] Error message: "Invalid transaction currency format."


correct navigator history operation

fix #25 .
Currently history.pushState is called in every scene render, so it will generate multiple history items for one push if there are several routes in a routeStack.
Besides, when clicking back button, no popup operation is made, so window.history will stay the same.

@cubika I try the demo in your branch, back button of the browser not work now. https://rawgit.com/cubika/react-web/master/pages/uiexplorer.html

@yuanyan The target branch is not master. Try: http://rawgit.com/cubika/react-web/navigator_history/pages/uiexplorer.html

@cubika  same with the new link , bowser back not working in my chrome.


How to add openai api key?

This might be related to issue #9
When I run context I am not prompted to put in an api key? Any suggestions how to put an api key? Perhaps a config file somewhere? I didn't find any.
Here's a screenshot:

Thank you!

Hey @markredito! Try running export OPENAI_API_KEY=<your openai api key> and running Fleet Context again. Let me know if that works for you.

Hey @markredito! Seems like this is because you're on an old version of openai. You can run pip install --upgrade openai and it should be resolved.
Newer versions of the library require openai>=1.1.0.

Wonderful! Thanks for the help!


param 'schema' not used

I found many functions in sadrill.py like get_table_names(self, connection, schema=None, **kw),get_columns(self, connection, table_name, schema=None, **kw)...
the param 'schema' not used in function .
This may cause many problems, I wonder how to use it correctly.

Hmm. I am out on holiday this week so I can't look at it closely, is it as
simple as assigning it to a local function variable?
On Mar 14, 2017 6:10 AM, "wutaohust"<EMAIL_ADDRESS>wrote:

I found many functions in sadrill.py like get_table_names(self,
connection, schema=None, **kw),get_columns(self, connection, table_name,
schema=None, **kw)...
the param 'schema' not used in function .
This may cause many problems, I wonder how to use it correctly.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JohnOmernik/sadrill/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AB1zUfDhmjZlx7MxSJ3PpxUWPjdj8suVks5rli9PgaJpZM4McKh0
.

Is this causing issues or just warnings?

It doesn't cause any issues, I just can not use the param 'schema' .

I know I need to specify schema in connection string.
It doesn't cause any issues, I just can not specify schema in function get_table_names .


Switched to WorkboxWebpackPlugin.InjectManifest from WorkboxWebpackPlugin.GenerateSW

Implementation for #7966

Oh well, I guess It's quite a bit more difficult than I thought to do right.

As a simplistic alternative, I've found this to work to exclude API endpoints from caching:
in package.json, add a sed step to build:
"build": "react-scripts build && sed -i -r -f serviceworker.sed build/service-worker.js"

Where serviceworker.sed contains a regex to insert /^\/(api|swagger)/, at the start of the blacklist:
# we can even add comments inside the sed file
s/(^.*blacklist\: \[)/\1\/\^\\\/\(api\|swagger\)\/,/

A hack to be sure, and I doubt it works on Windows.

This looks good. It fits most of my simpler use cases nicely.
However, I started this work on service workers to address a more in-depth use case, and for that, it, unfortunately, won't be enough.


Thank you for your open source work! How to install vot-toolkit==0.5.3 with vot-trax==3.0.3, the version downloaded now is not suitable

I have solved this problem by using pip install vot-toolkit==0.5.3 .


Services and base images from private registries

I'm having some trouble running dusty up in the following scenarios:

Defining a service with an image from a private registry.
Defining an app with build ., where the Dockerfile has a FROM entry referring to a container in a private registry

In both, I get the error:
ERROR: Get https://REGISTRY_URL/v2/CONTAINER/manifests/TAG: no basic auth credentials
ERROR: Command 'docker-compose -f /etc/dusty/compose/docker-compose.yml -p dusty up -d' returned non-zero exit status 256

However, running that docker-compose command by itself works without any trouble.
I've also had a read through #626 and made sure docker is logged in and that the config.json files are being updated.
Dump output here: https://gist.github.com/morganjbruce/2646e29bac94191bb251
Any suggestions on what to investigate?

First off, thank you for a well-written submission and for providing your dusty dump output. :smile:
My first thought would be whether Dusty can successfully pull the image in the private repository if you provide it as the image key in the spec rather than using the build key. Perhaps the failure or success there might point us in the right direction.

This was the only match I could find for your issue in Compose and it's rather recent (2 weeks), you might want to try downgrading Compose a few versions to see if the issue still exists. https://github.com/docker/compose/issues/3037

Forgot to include my app/service definitions (where REPO = my private repo):
app.yml
repo: somewhere.git
mount: /somewhere
build: .

somewhere.git includes a Dockerfile that defines a base in a private repo: FROM REPO/ruby-2.1.5:latest
postgres.yml
image: REPO/postgres:origin_master

Running the docker-compose command with --verbose gives the following output about authentication:
compose.cli.verbose_proxy.proxy_callable: docker pull <- (u'REPO/postgres', tag=u'origin_master', stream=True)
docker.api.image.pull: Looking for auth config
docker.auth.auth.resolve_authconfig: Looking for auth entry for u'REPO'
docker.auth.auth.resolve_authconfig: Found u'REPO'
docker.api.image.pull: Found auth config
compose.cli.verbose_proxy.proxy_callable: docker pull -> <generator object _stream_helper at 0x10554a730>
origin_master: Pulling from postgres

Trying different version combinations:

Initial configuration - dusty 0.7.0 | docker-compose 1.6.2 - doesn't work
Downgraded Compose - dusty 0.7.0 | docker-compose 1.5.2 - doesn't work
Downgraded Dusty - dusty 0.6.5 | docker-compose 1.5.2 - works correctly

Unfortunately docker-compose 1.6.2 isn't compatible with dusty 0.6.5, as the --allow-insecure-ssl flag was removed in compose 1.6.

After some messing around, I think the problem is down to how launchctl sets environment variables (and how they're subsequently picked up in docker-py).
When I run Dusty from source, it works:
# terminal 1
python setup.py install
sudo dusty -d
# terminal 2
dusty up

But when I install the daemon using launchctl, it doesn't:
sudo chown root /Library/LaunchDaemons/com.gamechanger.dusty.plist
sudo chgrp wheel /Library/LaunchDaemons/com.gamechanger.dusty.plist
sudo launchctl load /Library/LaunchDaemons/com.gamechanger.dusty.plist
dusty up

The find_config_file method in docker-py determines which path to look at for the config.json file. Unless overriden by a DOCKER_CONFIG environment variable, this looks at os.path.join(os.path.expanduser('~'), DOCKER_CONFIG_FILENAME)
Therefore changing the plist to specify my home directory makes everything work correctly:
<key>EnvironmentVariables</key>
<dict>
  <key>HOME</key>
  <string>/Users/morgan</string>
</dict>

Alternatively it could set the DOCKER_CONFIG variable.
Not sure how best to integrate this into Dusty's install process, though... thoughts?

Thanks for all this info. I've got a working theory now that this might be a bug caused by the progress streaming feature we shipped in 0.7.0.
Up until 0.7.0, every Compose subprocess we run goes through the same plumbing in our subprocess module. Part of that module's job is to make sure the Compose process gets demoted to run as your mac_username user (morgan, in your case) which should point to the correct directory for home.
Starting in 0.7.0, the dusty up command invokes the Compose subprocess through this crazy PTY dance. We do this because it's the only way for Compose to stream back to us the progress of downloading and extracting images. However, we aren't demoting to the proper user here, which is probably what's causing your problem. I think all we should need to do is demote the child before it invokes the subprocess and we might get back to the right behavior.
I think it works for you from source because running sudo isn't quite the same as actually being the root user. Your home dir is still set as morgan's, even though you have root permissions.

@morganjbruce I put that fix together and put out an RC with it, could you try to reproduce after running dusty upgrade 0.7.1-RC9?

@thieman working perfectly, thanks!

Hooray :smile: @paetling Could you please end the saga of the longest RC ever and push 0.7.1 sometime this week?
@morganjbruce Thanks again for all your effort digging into this bug!


keep_name() not getting replaced name.keep()

polars source version: 0.18.3
polars target version: 0.20.14
polars_upgrade version: 0.3.1
Instance 1:
Code: df = (df.with_columns(plcs.by_dtype(pl.Null).cast(pl.Utf8).keep_name()))
Expected result: df = (df.with_columns(plcs.by_dtype(pl.Null).cast(pl.Utf8).name.keep()))
Actual Result: No change
Instance 2:
# cols is a pl.Expr
Code: return cols.keep_name() if kwargs.get('keep_name') else cols
Expected result: return cols.name.keep() if kwargs.get('keep_name') else cols
Actual Result: No change

I think the second one is too risky to do statically
for the first one, did you do import polars.selectors as plcs?

I think the second one is too risky to do statically
for the first one, did you do import polars.selectors as plcs?

Yes @ plcs.
For the second one: risky because keep_name() could be a function name being used by some other library, and there's no way to know that cols is a polars Expr?

there's no way to know that cols is a polars Expr

that's it, polars-upgrade just does static analysis - not saying it's not possible, but it would be quite tricky without doing a more involved analysis


GRAD2-1169

if we are using the calender object to get the current date, the session date also needs to be a calender object then only cal.before  will give the correct response, otherwise it will always return false. Thats why that course is not coming in the xml transcript.


ENH: Ditching regularization - beamformer with rank-based inversion of cov matrix

We have been experimenting with @sarangnemo with a beamformer variant that does not require the setting of a regularization parameter. Instead of regularizing the covariance matrix, it estimates the rank of the covariance matrix and sets the number of rank-deficient components to zero during the inversion of the covariance matrix. Thus, the enhancement of this method is that there is no "guessing" of the regularization parameter involved.
So far, we got very good results with this, especially also on highly rank-deficient data like maxfiltered data.
A branch of my fork of MNE-Python with this beamformer variant implemented can be found here:
https://github.com/britta-wstnr/mne-python/tree/lcmv_cov_inv
And see here for the enhanced beamformer API (parameter eig_inv added to enable this variant):
https://github.com/britta-wstnr/mne-python/blob/lcmv_cov_inv/mne/beamformer/_lcmv.py#L26
I would be happy to make this a PR if there is an interest in that!

We do an operation like this for the whitening step in minimum norm inversion. It involves use of an optional rank parameter. It would be great if you could reuse code there as much as possible to do this. And it sounds like a great way to make the two operations have more similar options.

yes we should do this by default. as @larsoner says it's what is done in MNE/dSPM during the withening step.
cc @vlitvak who suggested the same thing.
we have our phantom data to test this.

so far, I implemented it from scratch to be able to easily play around with it, if it goes into MNE-Python we should of course refactor! So thanks for the hints, I will look into it!

It seems like a no-brainer to me to replace this ugly hardcoded regularization in the current beamformer implementation:
Wk[:] = np.dot(linalg.pinv(Ck, 0.1), Wk)

with your approach @britta-wstnr.

if it's thoroughly tested no objection but we should avoid silently
changing people's results...

We plan to unify in 0.18 now

I think we have this now, reg=0 gives sensical results in the tests at least I think.


Standardize TAP file name

Currently, TKG creates TAP file called TestTargetResult.tap. Since we are going to collect the TAP files for AQAvit certification, we will collect TAP files for all test builds. It means we can get lots of these TAP files (the more parallel runs that we have, the more files we will have). We need to standardize the TAP file name. This will help us to easily identify the level and group of the tap file and display the results in the Grid view in TRSS. Also, putting this at the TKG level will benefit automated and local runs.
I would suggest creating a TAP file name based on JDK_VERSION, IMPL, TARGET, and PLATFORM info (similar to Jenkins test job name). i.e., Test_openjdk8_j9_sanity.openjdk_ppc64_aix.tap.
Also, the user can set this filename. If the value is not provided by the user, TKG should generate the tap file name as above.

Forgot to comment, but I can take this on!


[Question] Display Game Title instead of platform

Is there any way to replace the platform string with the game's name?
Not an issue, but a question. Hope this is the correct place to post.
I know the skin/script reads the game cause it's displaying when there's no banner.
I have decreased the tile size for the images but now some titles are hard to read.

Lauhdutin version 2.7.0

Rainmeter version 4.1.0 r2989 64-bit (Nov  6 2017)

Python version 3.6.4:d48eceb

Windows 10 Pro x64 (build 16299)

The game name is shown on the slot overlay in version 3.0.0.


Fail to publishing eosio.system contract

cleos set contract eosio ~/eosio/eosio.contracts/build/contracts/eosio.system -p eosio
Reading WASM from /home/liudan/eosio/eosio.contracts/build/contracts/eosio.system/eosio.system.wasm...
Publishing contract...
error 2020-04-03T12:44:48.012 cleos     main.cpp:4013                 main                 ] Failed with error: deadline 2020-04-03T12:44:47.999 exceeded by 92us  (2)
deadline 2020-04-03T12:44:47.999 exceeded by 92us

This belongs in eos repo where you already reported it. Closing this one in favor of https://github.com/EOSIO/eos/issues/8902


Fix two data races

As can be seen in a recent release 1.0 build failure for racetest, #6946 brought in two data races.
This PR fixes them.
Adds to #6730

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ymesika
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: kyessenov
Assign the PR to them by writing /assign @kyessenov in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @costinm


Can VNF interface be added/removed in runtime?

Once we create the vnf as follows (see example here)
vnf1 = self.dc[0].startCompute("vnf1", network=[{'id':'intf1', 'ip':'<IP_ADDRESS>/24'}])

can we add one more interface to the vnf such that it will look like this?
vnf1 = self.dc[0].startCompute("vnf1", network=[{'id':'intf1', 'ip':'<IP_ADDRESS>/24'},
                                                {'id':'intf1', 'ip':'<IP_ADDRESS>/24'}])

Or should all VNF interfaces be created before calling startCompute()?
I came across addLink() function in the repo, but that seems to be just for connecting "existing" VNF interface to the switch, which is not what I want.

Hi,
I guess addLink() might do the job, because it will create a new interface inside the container!
I don't have its detailed signature in mind right now but something like this should work:

vnf1 = self.dc[0].startCompute("vnf1" ... )

# add second interface
self.net.addLink(
    vnf1,  # VNF object
    s1,  # VNF or switch to connect to
    intfName1="intf0",  # name of vnf1 interface
    params1={"ip": "<IP_ADDRESS>/24"},  # ip of vnf1 interface
    #intfName2="s1-eth0", # not needed for switch (use defaults)
    #params2={"ip": "<IP_ADDRESS>/24"},  # not needed for switch
    cls=Link)

# add third interface
self.net.addLink(
    vnf1,  # VNF object
    s2,  # VNF or switch to connect to
    intfName1="intf1",  # name of vnf1 interface
    params1={"ip": "<IP_ADDRESS>/24"},  # ip of vnf1 interface
    cls=Link)

Does this help? Adding an interface only (without link) is not directly supported.
(Does not mean that there is no hack to achieve it, but I never needed or tried it)


Spine 3.6.53 not loading

Not sure why the file isn't loading, not having any error.
I saw in the readme file advertise the program does load spine 3.6 file.

spine 3.6 example.zip

可能是缺少json文件？单独这三文件不管用的

可能是缺少json文件？单独这三文件不管用的

.skel is the binary version of .json and I'm sure other spine viewer can load skel file without json.
I don't have json version as most games are compiled with skel format.

sorry for my missing
for spine < 3.7, support is  limited
https://github.com/pixijs/spine
I'll correct the readme and add log for error later

Seems like someone is able to run 3.6.53 here: https://github.com/pixijs/spine/issues/330

You can press Ctrl+Shift+i to open the console to check details of error

I found some old 3.6.32 version example and seems the json works fine, skel binary refuse to work with the same bug as above.

raptor.zip

I tried to convert skel to json with spine pro. It does work.
spine.3.6.example.json.zip

So I surfed the internet around and all free skel to json converters aren't accurate enough.
And I found this website which also use pixi.js and pixi-spine, loads the .skel file normally.
https://naganeko.pages.dev/chibi-gif/
https://github.com/naganeko/naganeko-tools

I digging more and seems like latest pixi-spine only support load .skel version 3.8, 4.0 and 4.1

For loading .json files, it can additionally load 3.7

There's also additional code that tries to load json <3.7

I dig around the naganeko-tools and seems like it use quite old version of pixi-spine, likely 1 of 2 versions:

Maybe it's hard to support so many versions at the same time or too much work.

也许同时支持这么多版本很困难或者工作量太大。

看了看他这是崩坏学院2联动超次元海王星的立绘

看了看他这是崩坏学院2联动超次元海王星的立绘
I asked a seller on 淘寶 how much is it cost to convert like 80 files to format that SVV and he quote about "half of Spine Pro cost"💀

看了看他这是崩坏学院2联动超次元海王星的立绘

I asked a seller on 淘寶 how much is it cost to convert like 80 files to format that Spine Viewer Vue can read, and he quote about "half of Spine Pro cost"💀

Ridiculous💀this is too expensive,go to steam to buy live2dviewerEX

Ridiculous💀this is too expensive,go to steam to buy live2dviewerEX

That software can convert .skel to .json?

Ridiculous💀this is too expensive,go to steam to buy live2dviewerEX

That software can convert .skel to .json?

no, this software can load the files you send

no, this software can load the files you send !

That software doesn't support video recording so it's no use for me anyway.
I found a way to convert 3.6 skel to usable json but it's not accurate enough compared to Spine Pro 3.6 json export, it broke sometimes and I have to manually remove json errors.

no, this software can load the files you send !

That software doesn't support video recording so it's no use for me anyway.
I found a way to convert 3.6 skel to usable json but it's not accurate enough compared to Spine Pro 3.6 json export, it broke sometimes and I have to manually remove json errors.

sorry, I don't know any other way to solve the problem😢


Database drivers

What
A major overhaul of the databases package to lay groundwork for additional drivers.

Removed all non-schema methods - all tables must be schema-ed
Solved the INSERT ... RETURNING compatibility issue
Solved the issue of different database types using different syntaxes

How

Solved the INSERT ... RETURNING compatibility issue

Created a LockingTable (really just an option field in the existing Table type.

The table has a sync.Mutex which is used to lock the table
Currently only INSERTs lock the table

Broke the Insert(values, returning) method into Insert( ... ) and InsertReturn( ... )

Insert( ... ) locks the table, runs an INSERT, and unlocks
InsertReturn( ... ) locks the table, runs an INSERT followed by a SELECT), and unlocks
All tables can call Insert(), only LockingTables can call InsertReturn()

Solved the issue of different database types using different syntaxes

Added the databases.Compiler type

Knows the syntax of one database type and, given parameters, creates Execs and Queries for that type
Each database will probably need its own version (there may be small overlap*)

Added a Compiler() method to DBInterface which gets a compiler for that database

db := postgres.Connection()
comp := db.Compiler(mySchema)
query, args := comp.CompileSelect( ... )

Why
Supporting new databases other than postgres.  The syntax differences alone were enough to make adding new types impossible in our current structure.
Testing
Tests for the database package appear weaker, but are actually just as strong.  This is because the database relies on a compiler to function properly, but like usual we can't rely on one specific type of compiler.  As mock compiler is used in the tests which creates queries that are simply the command (INSERT, DELETE, etc).  Because sqlmock is handling all our return values, these simple commands don't affect any actual behaviors.
Tests are added for the postgres package to ensure that it creates the right queries for the various commands.
* the postgres compiler is now our largest source file sooooo... yeah.

@lighthouse/owners for your review.  I'd like to make sure that I didn't break anything before I go too crazy with the new drivers.  As far as I can tell this is working perfectly, but more eyes is always good.
Also, I know this affects a lot a files, but most of them are just method renames.  The only real changes here are in databases.go and postgres.go.

@lighthouse/owners in light of our discussion today, I'm prioritizing rollbacks and history over drivers.  I'm going to build the rollback PR off this, but I am cutting off development of this branch.
If time permits I might make a new PR to add actual drivers.  At this point we can just say that it's easy to do.

+1


Running code . in a terminal does not get env vars from the terminal if there is any Code window already open

It seems that currently users can't rely on running code . from a terminal providing that terminals env vars in the new Code window.
If Code was not running before hand, they will see the expected env vars.
But if Code was running before hand, the new window will see the same env vars as the previous Code windows.
For the vscode-go plugin this causes issues because Go relies heavily on env vars to establish the working environment, and different development sessions in different terminals are likely to use different GOPATH vars even during concurrent development sessions.

@bpasero the fix here is to propagate the process.env over to the browser window, along with the cli arguments that we already do

:+1:


Return addresses in EIP-55 checksum format by default

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Ethereum addresses in results are rendered in lowercase.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Query any subgraph with address properties (Bytes).
What is the expected behavior?
Render all addresses in EIP-55 checksummed format.

Related (new function to checksum an address): https://github.com/graphprotocol/support/issues/40

@lutter @dotansimha what do you think about there being an Ethereum-specific "Address" type which could be configured in the graphQL schema. These fields could then be checksummed as described when queried

I think adding more scalar types like Address would be a good thing. I've also been wanting to add more integer types, in particular signed 64 bit integers would be great since they'll be more efficient to store than BigInt/BigDecimal which people will have to resort to today for anything that doesn't fit into 32 bits.


[DOCS] review no dataset onboarding message in UI

Which page or section is this issue related to?
We will remove :warning: signs, negative statements, broad URLs (like docs.argilla.io) right at the beginning. All the explanations should be made on clear text not code comments. And then the structure should be:

Welcome the user, explain how is easy is to get started, and explain how to get started step-by-step, and making sure the code snippets we suggest really work (at least in most cases).
We should avoid as much as possible requiring external deps.
The steps can be something like:
Open a notebook or Colab (we can even add the link to open a colab)
Install the argilla client with pip
Connect to the server with init, I guess we can't be 100% sure about the api_url but we can explain. For the api_key, explain the user where to get it in the UI
Setup and create your first dataset with records. We can use something that's really easy, doesn't require deps (if possible) and gets the user a first taste of how a simple dataset looks like.
Explain next steps, as you mentioned pointing to end to end examples

### Tasks
- [ ] remove general UI formatting @leiyre
- [ ] update https://github.com/argilla-io/argilla/blob/develop/docs/_source/_common/snippets/start_page.md

Maybe @Amelie-V wants to comment on the definition and design of this page.

That would be great. The steps above were initially introduced by @dvsrepo

https://docs.argilla.io/en/develop/getting_started/quickstart.html

@Amelie-V

We'll wait for the review of the text (Task 3) to work on styles.


Add Observable client to duckdb-wasm

Move the client from https://observablehq.com/@cmudig/duckdb here and add tests etc.

Already started at https://github.com/observablehq/stdlib/pull/313#issuecomment-1301955402

Done. The client is now in Observable's standard library. See https://github.com/observablehq/stdlib/blob/main/src/duckdb.js