DeprecationWarning: Using a domain property in MakeCallback is deprecated.

Version: v3 (3.0.1)
Calling .authenticate() which triggers (at least):

getAccessToken()

Let's say the above fn successfully returns the object (fields: accessToken, accessTokenExpiresAt, client, user, scope)
static async getAccessToken (accessToken) {
      const token = await OAuth2AccessTokensModel.getOauth2AccessToken(accessToken)
      if (!token) {
        throw new ResourceNotFoundError(`The token for ${accessToken} is not found.`))
      }

      const { accessTokenExpiresAt, clientId, userId, scope } = token

      return { accessToken, accessTokenExpiresAt, scope, client: { id: clientId }, user: { id: userId } }
  }

However, the token is expired and the library returns error (invalid_token) on .authenticate() call and deprecation warning.
Any thoughts on deprecation warning?
(node:22198) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.

I faced the same problem. Am not sure but seems there is cause of float problem, blank page on navigate. Sometimes test hangs on load page.

We don't use the domain module ourselves, so I suspect this will have been due to an outdated library (which have now been updated).
Do you happen to have a minimal example to replicate the issue?


[orca-pods] Orca pods strategy

Fixes #725

It should be called "orca-pod".
We should have a schema for it.
And we should have a readme

To add schema we need this https://github.com/snapshot-labs/snapshot/issues/2628


fix: callout warning icon

Fix RM-XYZ

🧰 Changes

Switch order of callout warning icons (🚧 <-> ⚠)
Based off the docs, the default should be 🚧 instead of ⚠

🧬 QA & Testing

Broken on production.
Working in this PR app.

This PR was released!
🚀 Changes included in v6.50.0


CLI / GraphQL commands for time-locked / time-vested accounts

Once #4244 and #4698 are merged, we'll be able to validate transactions for time-locked and time-vested accounts in- and outside the SNARK.
There's not yet a way for users to create such accounts. We should be able to do so from CLI and GraphQL.
We can add client commands, like fund-time-locked-account and fund-time-vested-account with parameters for the cliff slot, amount, etc. If the account doesn't exist, create it, otherwise add timing info to the account. If the account already has timing info, the transaction is invalid.
Internally, we could add optional information to Payment commands, or add a new command for this purpose.

There's a new discussion about this planned.


Fix URL Markdown syntax in Connection docs

Fix malformed Markdown URL syntax in both Connection::open_with_flags and Connection::open_in_memory_with_flags docs.

Thanks!


🚀 Shortcut for naviagting to commits list

Description
I have raised the issue regarding g + 2 isn't working but later found that it was for PR review and not for the whole repo. I regularly use g + r and often I also go to the commits (list) of repos but unfortunately there isn't any shortcut to navigate to the commits list.
Screenshot
N/A

Steps:

Go to any repo
Hit the shortcut we assign like g + l
It should navigate to commits list

Example URLs
https://github.com/refined-github/refined-github

more-dropdown already adds a link in the repo navigation's dropdown. I don’t think we need to add further shortcuts


Need I to copy include files manually to use them in my software?

Do I need to copy the files in https://github.com/osmcode/libosmium/tree/master/include/osmium manually to e.g. /usr/include or is there an automatic mechanism (e.g. Makefile) to do so? Is this documented somewhere?

Libosmium works like any other C/C++ library in that regard. You can use it uninstalled or install it (in this case make install should work and by default install in /usr/local/include). The key is telling the build system of your application where to find it. If it is installed in /usr/include or /usr/local/include your build system will probably just find it. If it is installed somewhere else or not installed at all, you can set the CPATH environment variable, it should be a list of :-separated directories where the compiler searches for include files.
Also please have a look at https://github.com/osmcode/libosmium/wiki/Using-Libosmium-in-your-own-projects . If you are using CMake this page explains how to include libosmium.

Thanks, I missed the make install part.
I noticed that the install make target is only available after cmake .. ; ccmake .. (described in https://github.com/osmcode/libosmium/wiki/Building-Libosmium)

The whole Makefile is only available after the CMake step. Thats how it is supposed to work.


Change Icon Color onHover

Hello,
is there any easy way to add a hover effect e.g. when mouseOver change color to yellow?
I tried the following:
onMouseOver={(evt) => evt.target.setAttribute('style', 'stroke: gray')}
onMouseLeave={(evt) => evt.target.setAttribute('style', 'stroke: white')}

But this has got a problem with multiple paths. It does only color the selected path not all paths of the svg.

You can easily achieve that with CSS.
https://css-tricks.com/using-svg/#article-header-id-9


I'd like to be able to build an ERD diagram that will show relations between views

FYI, this is a Snowflake database. The problem is, all of our data is in JSON and it is loaded into a variant column named JSON_CONTENT, We then have a view for each table pulls out the columns from the variant data.
I'd like to be able to create the relationship connectors between views so I can create a diagram as if the views were tables
The only alternative I have considered was Archimate and Visio. However, I'd prefer to keep the diagrams in the DBeaver toolset.
Here is a screenshot showing how one column in the table is extracted in the view. So the views are what in want to show related in the diagram

Please try to use virtual keys for this. You can create virtual primary key and foreign key in Virtual tab of view properties or directly in ERD (press Connection in the ERD toolbar and create keys by clicking on views).

The created connections are saved in DBeaver only.

Please try to use virtual keys for this. You can create virtual primary key and foreign key in Virtual tab of view properties or directly in ERD (press Connection in the ERD toolbar and create keys by clicking on views).

The created connections are saved in DBeaver only.

My window is a bit different. I have a Data tab between Properties and ER Diagram. I also can't find the Palette menu, Are these differences between the "Free" and "Pro" versions?

My window is a bit different. I have a Data tab between Properties and ER Diagram. I also can't find the Palette menu, Are these differences between the "Free" and "Pro" versions?

No, I opened the diagram for the schema (double click a schema name in DB Navigator and it will be opened in Object Editor with tabs Properties and ERD ), you - for the table.
You can also create custom diagrams. Please find more info in wiki https://github.com/dbeaver/dbeaver/wiki/ER-Diagrams and https://github.com/dbeaver/dbeaver/wiki/Custom-Diagrams
Feel free to ask to reopen the ticket if you have additional questions about diagrams.

No, I opened the diagram for the schema (double click a schema name in DB Navigator and it will be opened in Object Editor with tabs Properties and ERD ), you - for the table.
You can also create custom diagrams. Please find more info in wiki https://github.com/dbeaver/dbeaver/wiki/ER-Diagrams and https://github.com/dbeaver/dbeaver/wiki/Custom-Diagrams
Feel free to ask to reopen the ticket if you have additional questions about diagrams.


update openresty <IP_ADDRESS>

I just created two new releases:
https://github.com/api7/ngx_multi_upstream_module/releases/tag/1.1.0
https://github.com/api7/apisix-nginx-module/releases/tag/1.9.0
would you update the tag version in the script?
https://github.com/api7/apisix-build-tools/blob/12668ab39d717cf35e988de5f5d60791c31189ab/build-apisix-base.sh#L16

It's done

Merged. Thanks!


Migrate Organization Management + Orgs API into Laravel

Current workflow
We currently have a drupal admin which is used for managing an Organization List - which is then translated into an API end point organizations.openupstate.org.
While this solution is great, there are a few draw backs.

Currently we do not have a good way to actually write code for that repo. One of those things is having an ability for an organization to multiple event services.  While it is possible for this to be managed in drupal, it require a data migration and setting up additional controllers etc to handle this data
Drupal.

Proposed Idea

We move the "Organizations" management to HackGreenville.com (this repo) - which is a laravel applications.
We offer an api for Organizations which will serve as the source of truth of managing these orgs.
Make any necessary migrations to the database to support various features such as organizations with multiple event service providers.
Create an Admin Crud system with https://filamentphp.com/ (fairly easy task, Laravel Admin Tool, amazing to work with)

Final thoughts
This may seem like a lot of work, but its will take more work to many any changes to the drupal site than it will to migrate this into Laravel
#186  Organization API is basically complete.

I'm not fighting to keep the Drupal implementation, but I'll add historical context and other notes.  It does some things out of the box, or with clicks, that may need to be factored into the scope of rolling our own replacement.
@bogdankharchenko and @ThorntonMatthewD I'll add accounts for you so you can see some of what it does for authenticated users to get ideas for what might need to be replaced or what's not needed.
The Drupal code can certainly be added to a Git repo, but I just never bothered because most of the contributors were just helping enter data in Drupal and didn't need to run a dev copy.
Also, since there's a database, having a repo of Drupal alone doesn't make it where people can just setup a new instance and start doing things.  It is possible to export UI defined field definitions, views, and configuration to code, but this site was created shortly after Drupal 8 was released and I wasn't too familiar with the best way to do that. Plus, it was a problem nobody had, so I focused on just getting things to work and giving people logins to help with the data.
To Bogdan's point, not many people know Drupal, so hardly anybody has asked how to contribute. To Drupal's credit, there's been little reason for anybody to need to write code for it, since you can do so much by clicking buttons. I've dealt with writing the little bit of custom code that's been needed for the nearly 8 years it's been running.
I'm sure Laravel has packages for the GUI, auth side and other bells and whistles, but Drupal comes with a lot out of the box, so it may be a decent task to replicate even the minimum scope.
Keeping Drupal up to date takes work to patch security and deal with module an core upgrades. Minor versions typically aren't an issue, but I did recently start moving to Drupal 10 and there was an unexpected breaking change that required rolling back to a snapshot to fix.  Drupal has gotten much better about not having major version upgrades being a big deal ever since they adopted the Symfony core in Drupal 8, but it's still work to patch security and do minor and major upgrades. Though, even with Laravel someone has to do similar work when there are major versions, so it's work by someone regardless of the tool.
The other main thing is we have the map layers setup in Drupal too.  While we could continue to host just the map layers there, I'd rather not maintain the site just for that purpose.  Some of the map layer stuff could possibly be static pages and moved under a GitHub pages. Other stuff is dynamic and would require more than GitHub pages.
Since the demo map is in Vue, it could make sense to rebuild some of the other map pages, like

Map list https://data.openupstate.org/map-layers
Detail pags like https://data.openupstate.org/map/co-working-spaces
in the same static app and host it all on GitHub pages under a subdomain.

Though, there are some dynamic pieces we'd have to host somewhere too, like

GeoJSON script to pull data from Google Spreadsheets in real-time (or near real-time). This is currently written in PHP and uses a slug value in the request URL to map to a spreadsheet CSV link in the Drupal content (database).
Scripts to pull copies of syndicated data from Greenville County (currently these are shell scripts)

So, we could move the map stuff to Vue, or PHP, or a combination of both.
Drupal historically hasn't been a bottleneck on progress since non-coders can log in and click buttons to edit stuff, and since there haven't been many pressing tasks until Carolina Code School threw a new wrench in things by using both Eventbrite and Meetup to host events. https://github.com/hackgvl/events-api/issues/70
https://github.com/hackgvl/events-api/issues/70 on the existing orgs side would likely be a matter of clicking buttons to make a compound field to allow for 1 or more (event_service + events_api_key) for any org and then some rework of the Events API to deal with the same change.
Other things that Drupal does out of the box, or with clicking on a contributed module UI, that we'd probably not want to lose.

We could very well put the orgs data into a raw JSON file and do away with any forms and UI. I suspect we might prefer the orgs data in an actual database to allow for better filtering and caching and such. So, we probably don't want to do away with the CMS components of the adding and editing orgs by an authenticated user.
A taxonomy interface to allow folks to tag orgs with specific tags, which can be filtered in the orgs API.  Admittedly, I'm the main user of that feature, with tagging OpenWorks' events for our dashboard, but it is something we'd want to maintain in some form.
Meta tag description fields for pages for SEO
Path redirects for SEO, like when we've changed URLs or someone is sending traffic to a typo URL and we want to redirect it to the correct place.
Contact forms and ReCaptcha and honey pot CAPTHCA protection on forms - we could probably use the HackGreenville forms as an alternative, so I'm not too worried if these went away. Plus, hardly anybody uses them but maybe once a year or less.
We've never found a need, but all of the content "nodes" in Drupal also have JSON views and REST endpoints for CRUD on the content. I don't think this is something we'd need to worry about, but it is baked in to the CMS that nodes aren't just HTML pages.
We could probably move the data.openupstate.org content into GitHub documentation, or a Wiki, but that's another CMS element that's part of the current Drupal context.
As mentioned above, things related to the map layers

Add a reminder that the version of the orgs API in the Laravel stack does not implement fields all of the fields from the original orgs API.
field_year_inactive, field_regular_start_time, field_regular_day_of_the_month
and in the tests app-modules/api/tests/Feature/EventApiV0Test.php


Install on Red Hat Enterprise Linux Server release 6.5

npm install (as root) on this system produces this warning.
npm WARN cannot run in wd<EMAIL_ADDRESS>bower install (wd=/root/angular-seed)
it seems to be more than a warning as no server appears on the chosen port
Paul

Did this work for anyone? Seems like it still isn't working for me.


[idea] add WaveDrom support for AsciiDoc documentation

Most of the figures used in the documentation (mainly waveforms) are made with WaveDrom. It is possible to add those WaveDrom scripts right into the AsciiDoc source files of the projects documentation (requiring a modification of the docs's build scripts).
I think this has also been discussed somewhere, but I cannot find that... Anyway, I think it would be great to have this all-in-one setup as this would also add the wavefrom sources to the project (which are not available yet). :+1:

See branch https://github.com/umarcor/neorv32/tree/feat/docs/wavedrom-demo. I've been keeping it, waiting for this issue :smile: See this dialogue we had in may: https://github.com/stnolting/neorv32/pull/40


No Booster data?

I am not seeing the booster data. Has the scripts been updated to cope with this new data yet?

Not sure to which scripts you're referring, but this is not a development issue. It is related to our data team. I suggest you get in touch via the email that's available on the website so that your query can be forwarded to the relevant team.


Added a method to check if a sphere intersects a bounding box.

Hello, I found myself several times using the method for checking intersection between a sphere and a bounding box introduced in the following answer by the user nerdinand:
https://stackoverflow.com/a/15247348/3450476
I thought it'd be useful to include it in the Intersector class instead of going back to that answer each time.

can OrientedBoundingBox and Sphere intersects method also be implement?


Removes shadowed variable.

The i in the lambda is a local function parameter, which will shadow the outer parameter.  Also, the outer parameter wasn't used.
Made specialCharacters as const so that the i is strongly typed in the Lambda.

Thanks, grabbed the code. had to remove : SearchReplace[]

errors
/Users/bthaile/gitrepos/augur/node_modules/ts-node/src/index.ts:261
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/flash/generate-templates.ts(220,7): error TS4104: The type 'readonly [{ readonly find: RegExp; readonly rep: "\("; }, { readonly find: RegExp; readonly rep: "\)"; }, { readonly find: RegExp; readonly rep: "\?"; }, { readonly find: RegExp; readonly rep: "\/"; }]' is 'readonly' and cannot be assigned to the mutable type 'any[]'.
src/flash/generate-templates.ts(220,26): error TS2304: Cannot find name 'SearchReplace'.
fixed error


test on Node 7 (and 5)

The failure was "SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode," so I merged the use-strict branch into this branch, which will hopefully fix that.

The next failure is because Node 5 doesn't support destructuring assignment. It's also obsolete, so I'm going to stop testing on it.


Modify: Appest.TickTick version <IP_ADDRESS>

Update ReleaseNotesUrl and Update to Manifest 1.9.0
Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.9 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

These pull requests* are making the following changes:
https://www.ticktick.com/public/changelog/zh.html (404) → https://www.dida365.com/public/changelog/zh.html
https://www.dida365.com/public/changelog/en.html (404) → https://www.ticktick.com/public/changelog/en.html

https://github.com/microsoft/winget-pkgs/pulls?q=is%3Apr+author%3ADuckDuckStudio+Appest+

I'm sorry for submiting so many pull requests at once...
BTW, I think Appest.TickTick and Appest.Dida might can be merged together. They are all the same package, just different regional versions.

(I don't know if this has been discussed before, but if it has, please ignore it.)


Added Applicative and Functor instances to RenderState s

To compile after AMP all monads need to be applicatives and functors. This patch adds those
two instances where they are missing.

Thanks!


add default policy, use lib go audit

This is a dupe of https://github.com/openshift/cluster-kube-apiserver-operator/pull/1084
This is the removal of the audit pkg internal for the cluster-kube-apiserver operator so it can use library-go
Then it bumps the version of library-go that has the changes needed so library-go can be used which are here
https://github.com/openshift/library-go/pull/1025/
If I can solve the rebase issue that exists in PR 1084 here I will close that one.

Looks good overall.
/assign @tkashem

/test k8s-e2e-gcp-serial

/test k8s-e2e-gcp-serial

/test e2e-aws-operator

/test e2e-aws-serial

@EmilyM1 did you run make update-bindata to remove the old audit asset from the operator asset package? I don't see the removed bits here

also, we probably need to add these bits:
https://github.com/openshift/cluster-kube-apiserver-operator/pull/1090/commits/2fc08d73d12bb4ffb83c8fa6e16e0e72b17198d0#diff-0d623dfd885adb20f991bda4c2453aebd732ca6dbb4d1d4be6e79805c3b48de6R115-R124
https://github.com/openshift/cluster-kube-apiserver-operator/pull/1090/commits/2fc08d73d12bb4ffb83c8fa6e16e0e72b17198d0#diff-0d623dfd885adb20f991bda4c2453aebd732ca6dbb4d1d4be6e79805c3b48de6R142-R143

/test k8s-e2e-gcp

/test e2e-upgrade

/test e2e-aws-serial

/test e2e-aws

/retest

/restest

/test e2e-aws-serial

/test k8s-e2e-gcp-serial
/test k8s-e2e-gcp

/test ci/prow/k8s-e2e-gcp-serial

/test e2e-aws-operator
/test e2e-aws
/test e2e-aws-serial

/test e2e-upgrade

/retest

/retest

/test k8s-e2e-gcp

/retest

/retest

/test e2e-aws

/test e2e-aws

/test e2e-aws

/test e2e-aws


Fix dimmer error

The addition of last level sometimes leads to an error if there is no sValue in the device args. This fixes the error (not sure if it results in the intended behavior though....)

Merged in the scope of another PR, thanks!


permission denied?

I can not work out how to get this script working... like others posted the command stdbuf -oL libinput debug-events|grep switch seems to do nothing.. it just sort of goes to a new line and runs... I get no outputs of any kind and have to ctrl+c out. If I run it without the grep I get a ton of info, but nothing seems to happen when I fold the laptop. The LS command seemed to return results I could use?
~ ❯❯❯ ls -lh /dev/input/by-path
total 0
lrwxrwxrwx 1 root root 10 Jul 21 14:50 pci-0000:00:14.0-usb-0:1:1.1-event-mouse -> ../event13
lrwxrwxrwx 1 root root  9 Jul 21 14:50 pci-0000:00:14.0-usb-0:1:1.1-mouse -> ../mouse2
lrwxrwxrwx 1 root root 10 Jul 21 14:50 pci-0000:00:14.0-usb-0:8:1.0-event -> ../event12
lrwxrwxrwx 1 root root  9 Jul 21 14:50 pci-0000:00:15.0-platform-i2c_designware.0-event-mouse -> ../event6
lrwxrwxrwx 1 root root  9 Jul 21 14:50 pci-0000:00:15.0-platform-i2c_designware.0-mouse -> ../mouse4
lrwxrwxrwx 1 root root  9 Jul 21 14:50 pci-0000:00:15.1-platform-i2c_designware.1-event -> ../event8
lrwxrwxrwx 1 root root  9 Jul 21 14:50 pci-0000:00:15.1-platform-i2c_designware.1-event-mouse -> ../event7
lrwxrwxrwx 1 root root  9 Jul 21 14:50 pci-0000:00:15.1-platform-i2c_designware.1-mouse -> ../mouse0
lrwxrwxrwx 1 root root  9 Jul 21 14:50 pci-0000:00:1f.0-platform-VPC2004:00-event -> ../event4
lrwxrwxrwx 1 root root  9 Jul 21 14:50 platform-i8042-serio-0-event-kbd -> ../event3

I assume that pci-0000:00:1f.0-platform-VPC2004:00-event is the correct event... so I made the config file.... (I also tried pci-0000:00:15.1-platform-i2c_designware.1-event)

input_device: /dev/input/by-path/pci-0000:00:1f.0-platform-VPC2004:00-event
modes:
  laptop:
     - xinput enable "AT Translated Set 2 keyboard"
  tablet:
     - xinput disable "AT Translated Set 2 keyboard"

but whenever I run the script I get....
Failed to open /dev/input/event4 (Permission denied)
Failed to initialize device /dev/input/by-path/pci-0000:00:1f.0-platform-VPC2004:00-event

I tried copying it into /root/.config and then running the script with sudo... but I got the same erorr...
I'd appreciate any advise you may have on this.. thanks.

If stdbuf -oL libinput debug-events|grep switch prints nothing when you convert your laptop, then most likely your device is not supported, and this script won't work for you. The script uses libinput debug-events internally, with input_device property being there to filter out irrelevant events, it just adds --device argument to libinput debug-events.
You may try to run sudo stdbuf -oL libinput debug-events|grep switch and see if it shows anything. If it works, check permissions for those input devices. On my machine they belong to user root and group input, so to have access you'd add yourself to the input group. This is distribution-dependent, so check it yourself. If running that command with sudo still doesn't show anything  - you are out of luck here. You might try luck with the older version of this script, I put under old/ in the repository: https://github.com/alesguzik/linux_detect_tablet_mode/tree/master/old . It uses a pair of accelerometers instead of mode switch events.

ok thanks.. I see.. I still couldn't get it to work, but I appreciate you taking the time to respond.


Check if player is channelling

Nice addon, small nit pick you need to check if unitTarget is "player", the event fires for other players/party/raid members too.
e.g:
local function eventHandler(self, event, unitTarget, castGUID, spellID)
    if unitTarget ~= "player" then return end

   -- <snip>
end

Updated here and submitted to CurseForge. Thanks!


Backups response doesn't use instances

When calling the endpoint /instances/  the returned names are like /1.0/instances/INSTANCE_NAME when calling /instances/INSTANCE_NAME/backups/ the returned names are like /1.0/containers/INSTANCE_NAME/backups/test instead of /1.0/instances/INSTANCE_NAME/backups/test

I believe I fixed this yesterday:
https://github.com/lxc/lxd/commit/4e34b0870004466260ba4abecdf3ed75f27e8932

This will be in the snap package that we'll promote to stable tomorrow.

Awesome ty 😊


Text overflows split terminal when using dom renderer

Issue Type: Bug
Steps to reproduce:

Set terminal.intergrated.rendererType to dom
Split the terminal
Run a command that will generate long lines that need to be wrapped, ex. ./scripts/code.sh in the vscode repo

The text runs over the edge into the next terminal:

VS Code version: Code - Insiders 1.25.0-insider (8f8ed32e737a7a906fac654fb0bd61b257b449b1, 2018-06-08T05:10:42.592Z)
OS version: Darwin x64 17.4.0

Another case: https://github.com/Microsoft/vscode/issues/51552

Resizing down doesn't trim the line ends:

I still see a slight visual overlap

Seeing a similar issue in code-insiders (27" monitor not 4k), same version works fine on 22"
both on ubuntu 18.04 and 16.04 respectively.
Also only seems to affect terminal window all other command windows are fine.

Have just updated to version code-insiders_1.26.0-1530854541_amd64.deb and it's still doing it, will check tomorrow evening to see if that version has fixed the issue

@Tyriar yes that has appeared to fix the issue, thanks

Awesome, thanks for verifying 😃


WIP on simplifying remote kernel docs

Some updates (no need for Docker Toolbox, Dec 2016 bug fixed)
Some of the way to combining the two docker sections, that are mostly repetitive
Starting jupyter kernel should be part of the docker process, not something people are execing in to start
Everyone should run tini rather than go through the long-winded steps of manually shutting processes

One question: what's the difference between running a notebook and connection to a kernel there, and running kernelgateway

This eagerly awaits feedback
Ready to go from my end after this in answered:

One question: what's the difference between running a notebook and connection to a kernel there, and running kernelgateway

Thanks a lot for the documentation overhaul. I can take a look at this tomorrow :tada:

Should we replace all references to kernel-gateway with jupyter notebook, then?

@MaximilianR Thanks a lot for your work, this makes it a lot cleaner 🎉 👍

Should we replace all references to kernel-gateway with jupyter notebook, then?

I'd be happy to only recommend jupyter notebooks. This gives users less choice and probably makes it easier for new people to understand.

@lgeiger I tried using the jupyter notebook approach.
How do you handle the token? I get a new one each time I start the process, which is fine when copying & pasting into a browser, but less convenient if it requires updating the config. I also have an SSL issue (using an unsigned certificate?) but that's a separate issue.
That's not needed for the kernel-gateway, as there's no authentication (which is fine if running locally).
Do you enter it into the config each time?

I've made updates based on the prior feedback, thanks for those

@maxim-lian To handle tokens, you can set the notebook server config to always use the same token every time the server starts. You can even set it to the empty string to avoid using tokens altogether (however, this is insecure). If editing the config is inconvenient for a docker setup, I think there's an environment variable such as JUPYTER_TOKEN that can be used instead.

@nikitakit thanks - that worked well.
I've updated the documentation and ready to merge / open to more feedback

Updated!

Tests failed, but I think unrelated?

the typo is still present

🤕
...but now updated!

Thanks for those excellent docs 💯 🎉

I can't believe we haven't invited you to the nteract organization yet.
Here we go: Welcome to nteract 🎉

Thank you! Hope I can be helpful in the near future.

Welcome and thanks @maxim-lian :tada:


feat: ✨ support for VoiceBot

Summary
This pull request introduces the new VoiceBot class, which provides several key functionalities aimed at enhancing our application's interaction with audio and text data. The additions include methods for text-to-speech conversion, speech transcription, and text summarization into notes.
Features

text_to_speech: Converts provided text into spoken language audio using OpenAI's Text-to-Speech API. The method accepts a text input and optional parameters for model and voice selection.
transcribe: Transcribes audio files into text using OpenAI's Whisper model. It accepts the path to the audio file and returns the transcribed text.
text_to_notes: Takes a conversation in textual format and uses GPT-3.5 to create concise bullet-point notes, ensuring that no important details are left out.

Changes incorporated in v0.1.21. Closing this PR.


Add Python 2 statement

Partly as another preparation for import attrs, I think it's good to spell out our Python 2 policy explicitly.
Feedback welcome!

I have far fewer users, so different situation... but:

You can release packages with version limiters, so like "version X runs on Python 2 and 3" and "version X+1 only runs on Python 3".
Which means Python 2 users will continue to get version X even as you do X+1, X+2, X+3, etc..
You can then do point releases for Python 2 if there are critical bug fixes, so like X.1, X.2.

Which means you can just drop Python 2 from the main development branch.
For Eliot I'm asking for money beyond a certain point, though that's somewhat orthogonal (https://eliot.readthedocs.io/en/stable/python2.html).

Which means you can just drop Python 2 from the main development branch.

Since we do CalVer, I think a separate package would make more sense.

For Eliot I'm asking for money beyond a certain point, though that's somewhat orthogonal

I might try that but my experience so far is that people don't like to give me money.

I think the policy as written is sound.  Let's worry about how to handle dropping Py2 when we get to the point that it's necessary.  Options will depend on reasons for dropping.


Solo theme unreadable Account button on dark backgrounds

Hi, I've noticed that when a dark background is used on the solo theme and the user is logged in, the account button is not visible.
Can I add the gh-primary-btn class this button so the white text becomes visible?
https://github.com/TryGhost/Themes/blob/23cbe6816a1837f0fcbe78fe8337be14f2d78e64/packages/solo/default.hbs#L69

Here's an example of the issue


⚠ Bofrost.de has degraded performance

In ae49851, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1079 ms

Resolved: Bofrost.de performance has improved in 68f394b.


Application error when opening settings

Just downloaded PowerToysSetup-0.14.1.msi on Windows 10.0.18363.592 (x64), launched it and received the UAC prompt. PowerRename is added to the context menu but selecting Settings from the tray (or just single left-clicking) on the tray icon forces the mouse cursor to flash several times but nothing else happens.
Application log contains the following events:
Application Error
Faulting application name: wwahost.exe, version: 10.0.18362.1, time stamp: 0xd44a1ada
Faulting module name: EdgeManager.dll, version: 11.0.18362.418, time stamp: 0x5bbfcaef
Exception code: 0xc0000409
Fault offset: 0x0000000000047e98
Faulting process id: 0x3c98
Faulting application start time: 0x01d5d279334cba96
Faulting application path: C:\Windows\System32\wwahost.exe
Faulting module path: C:\Windows\System32\EdgeManager.dll
Report Id: e4f571c5-6dc6-4f33-a378-f6f63703de73
Faulting package full name: Microsoft.Win32WebViewHost_10.0.18362.449_neutral_neutral_cw5n1h2txyewy
Faulting package-relative application ID: DPI.PerMonitorAware
Windows Error Reporting
Fault bucket<PHONE_NUMBER>455124626, type 5
Event Name: MoBEX
Response: Not available
Cab Id: 0
Problem signature:
P1: Microsoft.Win32WebViewHost_10.0.18362.449_neutral_neutral_cw5n1h2txyewy
P2: praid:DPI.PerMonitorAware
P3: 10.0.18362.1
P4: d44a1ada
P5: EdgeManager.dll
P6: 11.0.18362.418
P7: 5bbfcaef
P8:<PHONE_NUMBER>047e98
P9: c0000409
P10:<PHONE_NUMBER>000007

Same for me

@enricogior  this looks related to #243

@wpa1160 @ronnypolley
we know about two scenarios where this problem. happens
One has been resolved and the fix will be available in the next release (0.15.0)
The other seems an incompatibility when there is(are) other app(s) using the WebView control.
One test you can do is to restart your machine making sure that there are no other applications auto starting at logon. If the problem still persists, it may be the problem we fixed.

@enricogior
I did a retest as you suggested and had the same issue. So I will wait for 0.15.0 and see if this fix it on my system.
Thanks

A restart didn't resolve the issue. Windows 10 is running on 18363.693 now but the very same error still appears with 0.15.1.

There were two bugs that could cause the Settings page to not open, was has been fixed in the latest release https://github.com/microsoft/PowerToys/releases
The other one that is the one reported by @wpa1160 is still not fixed and is tracked in https://github.com/microsoft/PowerToys/issues/243
I'm closing this issue. If you still can't open the settings with 0.15.1 please add a comment  in https://github.com/microsoft/PowerToys/issues/243
Thank you.


Exposing the Xavier random generator type.

Exposing the Xavier random generator type.
Pull Request Checklist

[x] Changes are complete (if posting work-in-progress code, prefix your pull request title with '[WIP]'
until you can check this box.
[X] Unit tests pass (pytest)
[X] Passed code style checking (./pre-commit.sh or manual run of pylint & mypy)
[X] Updated major/minor version in sockeye/__init__.py. Major version bump if this is a backwards incompatible change.
[X] Updated CHANGELOG.md

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

rebased.


Dependent resources implementation

Fixes #771

One thing that popped up is that even for kubernetes resources we will need ordering, or the "depends on" notion. Like to create resource when other is already up and running.

This implicitly managed at the moment by the declaring order of the dependents but we should probably make it explicit, indeed. That said, one step at a time. Let's get initial support in and then see what else is needed.

yep, lets do this in interations. But this "depends-on" notions, makes a good selling point, without it it's not more powerful than a helm chart.

This implicitly managed at the moment by the declaring order of the dependents but we should probably make it explicit, indeed. That said, one step at a time. Let's get initial support in and then see what else is needed.

yep, lets do this in interations. But this "depends-on" notions, makes a good selling point, without it it's not more powerful than a helm chart.

I beg to differ. You cannot reconcile dependent resources with a helm chart. It's a lot more complex than just installing dependent resources, it's also about managing them as they evolve at runtime.

I beg to differ. You cannot reconcile dependent resources with a helm chart. It's a lot more complex than just installing dependent resources, it's also about managing them as they evolve at runtime.

What I mean is, that helm charts handles re-apply / changes nicely. It handles when you just apply a list or resources. What does not handle is the situation when you want to "create a resource after an other resource is in a certain state". Basically this is an analogy to depends_on from terraform.

It's not easy to review this big change. What I would like (maybe just temporarily) is also have there the samples without the dependent resources. Since there are some places, where it's not clear (like the informers) how that would work without depdnednt resoures. So that would help.
Also miss unit tests in some cases.

So a goal should be also to preserve the current "low" level API clear and available. Ideally make it clear where is the difference.

Also we should add docs soons, this is clear how to use. Also update the internal docs:
https://javaoperatorsdk.io/docs/architecture-and-internals
Since this is quite massive change.

Pls add also the description of the scope this PR.

Pls add also the description of the scope this PR.

I need to update it but the scope is defined in #771.

So a goal should be also to preserve the current "low" level API clear and available. Ideally make it clear where is the difference.

As mentioned several times already, this is completely opt-in. If you don't want to use the dependent resources support, you can keep doing what was done before.

It's not easy to review this big change. What I would like (maybe just temporarily) is also have there the samples without the dependent resources. Since there are some places, where it's not clear (like the informers) how that would work without dependent resources. So that would help.

Easy enough: there is no change. You can use the previous version of the examples without any issue because this is completely opt-in.

Also miss unit tests in some cases.

Definitely but that will come after the approach is validated.

It's not easy to review this big change. What I would like (maybe just temporarily) is also have there the samples without the dependent resources. Since there are some places, where it's not clear (like the informers) how that would work without dependent resources. So that would help.

Easy enough: there is no change. You can use the previous version of the examples without any issue because this is completely opt-in.

Also miss unit tests in some cases.

Definitely but that will come after the approach is validated.

I commented in one place the InformerEventSource for example seems to have completetly different API

This PR is now merged in the next branch where we will work on the next 2.1 release.


Test: unit test for pkg/misc/misc.go

ref: https://github.com/cectc/dbpack/issues/67
Ⅰ. Describe what this PR did
Added unit tests for pkg/misc/misc.go
Ⅱ. Does this pull request fix one issue?
yes
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #87 (66c0fcc) into dev (9ae5518) will increase coverage by 0.25%.
The diff coverage is n/a.

:exclamation: Current head 66c0fcc differs from pull request most recent head 0a5fd91. Consider uploading reports for the commit 0a5fd91 to get more accurate results

@@            Coverage Diff             @@
##              dev      #87      +/-   ##
==========================================
+ Coverage   41.40%   41.66%   +0.25%
==========================================
  Files          47       47
  Lines        5774     5774
==========================================
+ Hits         2391     2406      +15
+ Misses       3163     3145      -18
- Partials      220      223       +3

Impacted Files
Coverage Δ

pkg/misc/misc.go
71.42% <0.00%> (+71.42%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM

LGTM


bootkube on baremetal with Container Linux, rkt and flannel

Hello,
I am trying to setup a cluster with Container Linux, rkt and flannel + bootkube.
This is my kubelet.service: http://pastebin.com/n9wX0JvN
Bootkube is not starting...
http://pastebin.com/hP6XaetQ
Can someone help me with this?
Regards.
Dragos

Have you followed https://github.com/coreos/matchbox/blob/master/Documentation/bootkube.md? What version of bootkube? I'd expect a much longer paste log if bootkube is timing out and failing.

Hi,
The documentation is not up to date and it does not provide all the steps (for exampe the bootkube service is not documented).
I used this to generate the config and start bootkube (version v0.3.8):
wget https://github.com/kubernetes-incubator/bootkube/releases/download/v0.3.8/bootkube.tar.gz
tar xzf bootkube.tar.gz
./bin/linux/bootkube render --asset-dir=assets --api-servers=https://CoreOS01.cloud:443
copy bootstrap-kubeconfig on all nodes
start bootkube with the generated assets files
Here is a extended log: http://pastebin.com/EA8Rhcwi
Regards.
Dragos

You should skip v0.3.8, TLS bootstrapping was reverted. Matchbox docs will bump to v0.3.9 in a bit.

Can you provide also some info on bootkube.service?

It just runs bootkube start with rkt to save you having to copy the correct bootkube binary to the host. And makes it easy to journal.
[Unit]
Description=Bootstrap a Kubernetes control plane with a temp api-server
[Service]
Type=simple
WorkingDirectory=/opt/bootkube
ExecStart=/opt/bootkube/bootkube-start

Btw, you can run systemctl cat bootkube to find this out in future.

On a fresh install of Container linux I do not have a bootkube.service and there is no /opt/bootkube/bootkube-start :)

Your PXE infrastructure and matchbox are responsible for bare-metal CoreOS nodes being provisioned with the expected services (kubelets, etcd cluster) and files.
You might checkout the matchbox concepts and revisit the guide on using bootkube once you're setup. This is intended for large networks which provision machines from the network.

My PXE setup generates something similar to the matchbox examples. The only difference that I can think of is that the kubelet.service is using rkt (--container-runtime=rkt) and flannel is started before bootkube...

Self-hosted Kubernetes does not use rkt as the container runtime.

So that is the problem :)
Thank you for your help.

np


NetworkManager 1.12.0 seems to not be able to connect to ethernet with e1000e

Issue description
I've tried to rollback to dae9cf6106d and it worked at that commit. Then I rolled forward to 7c585235ff6 and it didn't work there. And then I upgraded to 2428f5dda13 and it was still broken there.
It just keeps on trying to connect and I get this over and over again in my log:
Aug 06 08:57:49 phouchg wpa_supplicant[1153]: enp0s31f6: Associated with XX:XX:XX:XX:XX:XX
Aug 06 08:57:49 phouchg wpa_supplicant[1153]: WMM AC: Missing IEs
Aug 06 08:57:49 phouchg wpa_supplicant[1153]: enp0s31f6: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Aug 06 08:57:55 phouchg wpa_supplicant[1153]: enp0s31f6: CTRL-EVENT-DISCONNECTED bssid=01:80:c2:00:00:03 reason=3 locally_generated=1
Aug 06 08:57:56 phouchg kernel: e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx

This is my PCI network card:
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection I219-V (rev 21)
        Subsystem: Lenovo Device 2233
        Kernel driver in use: e1000e
        Kernel modules: e1000e

Update:
I tried building a 4.14.54 kernel (the one that was default in dae9cf6106d) on 2428f5dda13. But it's still giving me the same errors. So now I'm on 4.14.59 again.
Another note is that I've tried to connect without PEAP to another network over cable and it still gave me the same errors.
Update 2:
Tried to systemctl stop network-manager and do a dhcpcd enp0s31f6. That way I got an IP by the network. But I need the PEAP thingys to access all things I need, so I need it through networkmanager (I also need cisco vpn thingys, so networkmanager is handy for that as well).
I also notice that f6e83edf36a1444e8fb57c787163b94a02584f13 seems to have happened which upgrades networkmanager. I haven't tried to build with an older networkmanager yet.
But: cc @jtojnar, any ideas?
Technical details

system: "x86_64-linux"
host os: Linux 4.14.59, NixOS, 18.09.git.2428f5dda13 (Jellyfish)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.0.4
channels(etu): "nixos-18.09pre147850.2428f5dda13"
channels(root): "nixos"
nixpkgs: /etc/nixos/nixpkgs

Hmm, I've got it to connect again. Seems to have been weird settings in NetworkManagers config file.

Could you provide us with a details?

Some odd fields in the file in /etc/NetworkManager/system-connections/ seems to have caused this. But I don't know what exactly. But I made a new connection which worked, then I dropped the old one and renamed the new one.


Motion Toast cant dismiss

using   motion_toast: ^2.3.2
just put a button and called motion toast
but it cant dismiss automatically, I have to tap over the screen.

Hello @vishalpatel1327 I tested it and there's bug in dismissing the toast once it's fixed I will let you know

@koukibadr also it's not dismissible even manually if it's not used at the bottom position

Hello @vishalpatel1327 I tested it and there's bug in dismissing the toast once it's fixed I will let you know

This is a release blocker for us, do you have an estimate on when you will release a new version?

Dissmisible is also not working on web

hello, any progress on the subject? @koukibadr

Hello @yunusdtarla @DiegoVega19 @pst9354 @thorizer @vishalpatel1327
I just published a new version that contains the bug fix, if it's okay you can close this issue
sorry for the delay
https://pub.dev/packages/motion_toast

Hi @koukibadr I tested it now and the problem is solved for me. Thank you.

Hello @vishalpatel1327 if the problem is solved in your app
you can close this issue

@koukibadr  sometimes when toasts appear too fast and they are stacked, they won't disappear automatically. it's not fully fixed

https://user-images.githubusercontent.com/13587810/193852862-bf46311e-615f-4f20-b2b4-abd37981d73d.mp4

@thorizer can you please send me a code example for this issue so I can fix it ?


Prerelease not bumping<EMAIL_ADDRESS>to<EMAIL_ADDRESS>etc

Affected Packages
Private, unable to share.
Problem
Possible that I'm misunderstanding, but if in my registry I have a package that's been published normally, and once with prerelease, so that my versions are:
1.0.1-pre.0
1.0.0
And I then add another patch changeset to<EMAIL_ADDRESS>that changes code in some way, and I then mark that as a prerelease, nothing happens when doing this:
yarn changeset status && \
yarn changeset pre enter pre && \
yarn changeset version && \
yarn changeset publish && \
yarn changeset pre exit && \

I get:
 warn pkg is not being published because version 1.0.1-pre.0 is already published on npm

Am I wrong to assume that should be going out to 1.0.1-pre.1? Again, I could be wrong, but shouldn't multiple prereleases stack on that end number?
Proposed solution
n/a

Bumping up against same issue. It seems it is just hardcoded to {channel}.0 suffix :(

I believe when bumping versions, changeset version doesn't consult the registry for the current version so it'll take 1.0.0 and bump that up to prerelease, which is -pre.0 next. I'm not sure how safe or deterministic it would be if it would check the registry. It seems safer to me that if you had already published 1.0.1-pre.0, you should keep that version in package.json and publish onwards from there.


sftp-connector-test artifact gets deployed

Hello @ivy-rew and @majeed-hm
There is no need to deploy the test artifact to artifactory. See alfresco connector and a-trust connector.
https://github.com/axonivy-market/sftp-connector/blob/80cfc082c47e13cf5feadeae62e9620234851a9c/sftp-connector-test/pom.xml#L22

done in PR #5


kubernetes: Disable LocalNodeRoute while chaining

While chaining, a route covering the AllocCIDR was still being installed
pointing to the cilium_host interface. Ideally the k8s node resource populates
the PodCIDR information in which case this is harmless. If the PodCIDR is not
known, Cilium would fall back to allocate a PodCIDR using the standard
10.x.0.0/16 template which then had the potential to conflict witha PodCIDR of
another node.
In case of a conflict, the rp_filter protection could cause packet loss due to
conflicting routes.
Related: #9794

This change is

test-me-please

Coverage increased (+0.04%) to 44.717% when pulling 8f85bd68b0ba76d4d832030503b701bc29b206ef on pr/tgraf/aks-fixes into eb01fe70b13ddedba23402a00aee6844185d052d on master.


expand before/after callback?

sometime expand to get data from server.
for now it can use ng-click.
If using Expand subtree on drag over after 500ms then it can't get data from server.

Hello,
No there is no expand/collapse/toggle callback ... I handle this case by open the node on accept callback ... not the best way. And no, the callbacks are not promise :-/

Closing this issue due to inactivity. See #815 for more information.
Please create a new issue is this still occurs with the current version of the component.


Text selection bug (trunk version)

Sample 1

Sample 2

I tried in my editor but I can't repeat. Can you post the editor properties you're using?

To reproduce this problem just drop on the form BCEditor and clear it's lines.
No other properties changes required.

So, you're not loading a highlighter and color? I think that is the problem but I will check that later.

Yes, as you say, no colors no highlighters.
To reproduce second sample pleas check this code below, I don't know which property I changed that causes this problem:
Sample2.zip

You should load Text highlighter and Default color at least. I haven't thought about the use without highlighter and color and I don't think there is much use for it without those. But I will check....

with my Sample2.zip that I send to you, I see the same shit even if add

procedure TForm3.FormCreate(Sender: TObject);
begin
BCEditor1.Highlighter.Colors.LoadFromFile( 'C:\Components\Free\BCDEditor\TBCEditor\Colors\Default.json');
BCEditor1.Highlighter.LoadFromFile('C:\Components\Free\BCDEditor\TBCEditor\Highlighters\Text.json' );
BCEditor1.Lines.Text := Memo1.Text;
end;

My investigation shows that cause of problem shown in sample 2 is that BCEditor1.Font.Charset was set to ANSI_CHARSET, but caret bug from sample 1 still remain

Aah, it's all about tabulators...

Should be fixed.


add interesting boundary conditions.

Something behinds a rectangle ?  Perhaps an oval ?

reflection vs absorbtion

Something behinds a rectangle ? Perhaps an oval ?
The puddle element takes the shape of the div you give it. Give a circular div and it'll be circular.

reflection vs absorbtion
I'm assuming you are meaning at the corners. There are 2 math modes to how forces are calculated. In 'anair' mode, the ripples are more absorbed. i.e doesn't reflect, whereas in 'helias' mode, there is reflection mechanics.


Can't convert RSpec::Mocks::Double to String (RSpec::Mocks::Double#to_str gives RSpec::Mocks::Double)

It seems from other issues posted that this was an intentional breaking change in 3.0.0, but from the issues listed I haven't been able to put together a concrete answer to how I should change my code so as not to have this problem. Some suggest putting this in spec_helper:
Rspec::Mocks::Mock.module_eval do
  alias to_str to_s
end

But I cannot get that code to run, and even if I could, would that not just reintroduce bugs with Double#to_str?
Here is my test:
      it "redirects to the customer_agent" do
        allow(CustomerAgent).to receive(:find) { mock_customer_agent(:update_attributes => true) }
        put :update, :id => "1", :customer_id => "24"
        expect(response).to redirect_to(customer_url(mock_customer))
      end

And failing line of code is the first format line:
  def update
    respond_to do |format|
      if @customer_agent.update_attributes(params[:customer_agent])
        format.html { redirect_to(@customer, :notice => 'Customer agent was successfully updated.') }
        format.xml  { head :ok }
      else
        format.html { render :action => "edit" }
        format.xml  { render :xml => @customer_agent.errors, :status => :unprocessable_entity }
      end
    end
  end

Thanks in advance for your help!

spec_helper file that throws uninitialized constant RSpec::Mocks::Mock (NameError) when I add the three lines at the bottom:
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause this
# file to always be loaded, without a need to explicitly require it in any files.
#
# Given that it is always loaded, you are encouraged to keep this file as
# light-weight as possible. Requiring heavyweight dependencies from this file
# will add to the boot time of your test suite on EVERY test run, even for an
# individual file that may not need all of that loaded. Instead, make a
# separate helper file that requires this one and then use it only in the specs
# that actually need it.
#
# The `.rspec` file also contains a few flags that are not defaults but that
# users commonly want.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
# The settings below are suggested to provide a good initial experience
# with RSpec, but feel free to customize to your heart's content.
  # These two settings work together to allow you to limit a spec run
  # to individual examples or groups you care about by tagging them with
  # `:focus` metadata. When nothing is tagged with `:focus`, all examples
  # get run.
  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  # Many RSpec users commonly either run the entire suite or an individual
  # file, and it's useful to allow more verbose output when running an
  # individual spec file.
  if config.files_to_run.one?
    # Use the documentation formatter for detailed output,
    # unless a formatter has already been configured
    # (e.g. via a command-line flag).
    config.default_formatter = 'doc'
  end

  # Print the 10 slowest examples and example groups at the
  # end of the spec run, to help surface which specs are running
  # particularly slow.
  config.profile_examples = 10

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = :random

  # Seed global randomization in this process using the `--seed` CLI option.
  # Setting this allows you to use `--seed` to deterministically reproduce
  # test failures related to randomization by passing the same `--seed` value
  # as the one that triggered the failure.
  Kernel.srand config.seed

  # rspec-expectations config goes here. You can use an alternate
  # assertion/expectation library such as wrong or the stdlib/minitest
  # assertions if you prefer.
  config.expect_with :rspec do |expectations|
    # Enable only the newer, non-monkey-patching expect syntax.
    # For more details, see:
    #   - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
    # expectations.syntax = :expect
  end

  # rspec-mocks config goes here. You can use an alternate test double
  # library (such as bogus or mocha) by changing the `mock_with` option here.
  config.mock_with :rspec do |mocks|
    # Enable only the newer, non-monkey-patching expect syntax.
    # For more details, see:
    #   - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
    # mocks.syntax = :expect

    # Prevents you from mocking or stubbing a method that does not exist on
    # a real object. This is generally recommended.
    mocks.verify_partial_doubles = true
  end

  RSpec::Mocks::Mock.module_eval do
    alias to_str to_s
  end
end

The solution to your issue is probably that your mock needs to respond to id or to_param in order for Rails to convert it into a url, it's calling to_s as a last resort and wouldn't give the result you want.
The reason why Mock is undefined is that module was an internal api and has since been renamed, (to Double as your error shows), however we don't recommend monkey patching it like this.

@JonRowe is that was https://github.com/rspec/rspec-activemodel-mocks is supposed to do?


Maintain correctness when rewriting fastboot-capable apps

Apps that are built with fastboot support contain a fastboot.manifest in their package.json. The manifest includes the names of JS and HTML files. These files may be renamed by broccoli-asset-rev.
Up until now, ember-cli-fastboot has been doing hacks to handle adjusting those references itself. But this requires it to have too much knowledge of broccoli-asset-rev, and it forces ember-cli-fastboot to run after broccoli-asset-rev, which is problematic for use-cases like https://github.com/ef4/prember/issues/2.
This PR reverses that approach by considering fastboot.manifest a standard part of the built ember app that broccoli-asset-rev should know how to update for consistency when renaming files.
This PR includes a flag on the addon itself that we can use to migrate ember-cli-fastboot away from its hacky behavior.

Tests are failing on node 0.12. Current ember-cli supports down to 4. I can also update the CI here to cover a more modern set of nodes if that's acceptable.

Hmm.  Doesn't this library already support rewriting these files via the extensions option?  Note, I haven't tried but I would have assumed that adding json to the extensions list would work without changes here.  Am I missing some other issue/caveat?

Yes, two caveats. One is that json is broader than you really want,
although that would maybe be easily fixable with a new option for whole
file patterns rather than extensions.
But the second caveat is that normal rewriting will also apply the prefix
(like a CDN url) to the filenames in the fastboot manifest. We want their
local names rewritten but we don’t want prefixing, in just this one place.
On Fri, Nov 3, 2017 at 9:20 AM Robert Jackson<EMAIL_ADDRESS>wrote:

Hmm. Doesn't this library already support rewriting these files via the
extensions option
https://github.com/rickharrison/broccoli-asset-rev#options? Note, I
haven't tried but I would have assumed that adding json to the extensions
list would work without changes here. Am I missing some other issue/caveat?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rickharrison/broccoli-asset-rev/pull/125#issuecomment-341701152,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATfMg9qsbC3Ahi7Ud_fNJd8Bgzt9nXpks5syxMrgaJpZM4QQpC7
.

Gotcha, thank you.

We want their local names rewritten but we don’t want prefixing, in just this one place.

👍 I think this is the key bit that I was missing.

json is broader than you really want, although that would maybe be easily fixable with a new option for whole file patterns rather than extensions

I would generally prefer this as I think it would provide a bit more flexibility (and remove some of the fastboot coupling that seems a tad out of place here to me).

I'm working through what that option might look like.  I was thinking something akin to the way eslint allows overrides, what do you think?
var assetNode = new AssetRev(node, {
  extensions: ['js', 'css', 'png', 'jpg', 'gif'],
  exclude: ['fonts/169929'],
  replaceExtensions: ['html', 'js', 'css'],
  prepend: 'https://subdomain.cloudfront.net/',
  overrides: [
    {
      files: 'fastboot-manifest.json',
      prepend: null
    },
 ]
});

This seems OK but it creates the need for an additional API.
When somebody installs ember-cli-fastboot, I don't want to need to tell them to manually paste some new options into their ember-cli-build.js. We need ember-cli-fastboot to provide the configuration directly to broccoli-asset-rev.
AFAIK there are only hacky ways to do that. Which is a larger topic.

I guess I assumed that ember-cli-fastboot would configure the fingerprint options on their behalf.
included() {
  let fingerprintOptions = this.app.options.fingerprint;
  let overrides = fingerprintOptions.overrides = fingerprintOptions.overrides || [];
  overrides.push({
      files: 'fastboot-manifest.json',
      prepend: null
  })
}

🤔

Right, but I consider this hacky for a few reasons.
One is that it's order dependent: we now need to force ember-cli-fastboot's included hook to run before broccoli-asset-rev's (because broccoli-aset-rev is free to copy off its options and start using them right away). While that's not terrible in this particular case (my original problem was that ember-fli-fastboot was running after asset-rev), it's still not ideal. It should be possible for an addon that needs to run after asset-rev to also change settings in asset-rev.
Second is that we're reaching in from far away and mutating state. Which makes things hard to reason about. "Where the heck did this setting come from? I don't know LOL, try grepping."
Third is that we're putting the policy decision of how to merge configs from the app and the addons into the hands of every individual addon. Once you consider that a third addon may want to also alter the fingerprint settings, the combinations get bad.
I realize we only have compromised choices here. Though this discussion is feeding my notes file on how to redesign all addon API.

This is blocking my ability to land a nice cleanup in ember-cli-fastboot that in turns will unblock fixing a nasty bug in prember that is otherwise unfixable.

I'm hitting issues with this cycle stuff now as well.

We have now discovered a second use case, which is ember-service-worker also suffers the same issue as prember: broccoli-asset-rev needs to run last, and we can't make it run last unless it's capable of rewriting fastboot apps without breaking them.

Just to clarify, this is the ember-service-worker and ember-service-worker-prember issue cycle detected: prember <- ember-cli-fastboot <- broccoli-asset-rev <- ember-service-worker <- ember-service-worker-prember <- prember

Published as 2.7.0

🎉


fix: do not start crashReporter on < Electron 10

if the current test template is run on older versions of Electron, it will error out with

"Error: companyName is a required option to crashReporter.start"

The template works in Electron 10 due to @nornagon's update which is described in the breaking changes doc:

The companyName argument to crashReporter.start(), which was previously required, is now optional, and further, is deprecated. To get the same behavior in a non-deprecated way, you can pass a companyName value in globalExtra.

Since the test template will ideally work on whatever version of Electron we throw at it, this PR changes the behavior to only start crashReporter iff running on Electron 10 or higher.

companyName shouldn't be required in 9.x: https://github.com/electron/electron/blob/f981f3a7c41767fa5ec13cbc8e2242129db96e7a/lib/browser/api/crash-reporter.ts#L23


User stats

H!
it would be interesting to have a "/stats" command or similar, that shows the user's statistics (transaction volume, user rating, etc), in short, something that shows the information that appears when placing an order, without have to place an order.
Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
/stats > show user stats
Thank you for this amazing bot!

Yes that is in the roadmap #182


Validator returns 200-response and error trace when 'schemaVersion' attr is missing

Request format:
Post: /stac_validator
Body:
{
  "url": "https://cbers-stac.s3.amazonaws.com/CBERS4/MUX/057/122/catalog.json",
  "version": "v0.5.2"
}

Request Response
Status Code: 200
Response Body:
{
    "errorMessage": "Extra data: line 1 column 4 (char 3)",
    "errorType": "JSONDecodeError",
    "stackTrace": [
        [
            "/var/task/stac_handler.py",
            51,
            "handler",
            "stac_message = stac_validator.StacValidate(stac_file.strip(), version, verbose=True).message"
        ],
        [
            "/var/task/stac_validator.py",
            50,
            "__init__",
            "self.ITEM_SCHEMA = requests.get(ITEM_SCHEMA_URL).json()"
        ],
        [
            "/var/task/requests/models.py",
            888,
            "json",
            "self.content.decode(encoding), **kwargs"
        ],
        [
            "/var/lang/lib/python3.6/json/__init__.py",
            354,
            "loads",
            "return _default_decoder.decode(s)"
        ],
        [
            "/var/lang/lib/python3.6/json/decoder.py",
            342,
            "decode",
            "raise JSONDecodeError(\"Extra data\", s, end)"
        ]
    ]
}

Discussion

the schema attribute was used in the past, and the proper attr is schemaVersion
The issue is only that the response body is an error, when the HTTP response code is 200

I would argue that the ideal response code is 400
Having a 4XX or 5XX code return will trigger error-handling in the client.

With the latest release, the paths to the json schema to validate against as changed. Subsequently, specifying a specific version now breaks the validator.

I confirm having stacVersion now breaks the validator.
But it still returns a 200-status :(


ArrayIndexOutOfBoundsException when looking at extended tooltip of any create item crafted in mechanical crafter

Crash occurs when trying to calculate affinities for items created in mechanical crafter
Steps to reproduce:
Open any inventory containing any item crafted using mechanical crafter and non standard grid
i.e. crushing wheel, extendo grip, flywheel, potato cannon or wand of symmetry, furnace engine
Mouse over said item
Press shift
crash-report-client.txt
versions:
MC - 1.18.1
Forge - 39.0.8
Create - v0.4a
Flywheel - 0.4.2-rc
Primal Magick - 2.0.0-beta
Detailed description:
Mechanical crafter is a device which is able to process recipes with variable grid size and can have (and usualy has) more than 9 ingredients, and such recipes e.g. a 12 ingredient one for extendo grip is cought by generateItemAffinityValuesFromIngredients (as create:mechanical_crafting extends ShapedRecipe) and while trying to calculate remaining items for this recipe it fails
This may possibly cause incompability with any mod adding recipes using more than 9 slots and/or non standard recipe shape
Possible fixes:

limit the checked recipes to those that we are sure are within bounds (loss of functionality)
or
I imagine it would also be possible to use some kind of unbounded crafting container  (if one exists, or write our own)

If I had more knowledge of the inner workings of minecraft/forge modding I would have maybe made a pull request for this

This issue should be fixed as of version 2.0.2 of Primal Magick.  Please file a new ticket if you encounter the issue again.  Thank you for filing this ticket and helping me make the mod better!


Improve color support for themes

This improves readability when using dark or other themes in RViz.
Before
White theme

Dark theme

There are some other colors that might be improved but this fixes the main issues I have seen.

Does someone know where the color is set for the status tree and similar entries?

Firendly :pig:

I hard a hard time finding this color because it was not initialized.
This pull request is ready on my side.
After
White theme

Black theme

Other color problems
In the help panel:

This panel uses HTML so it's not easy to fix

For the help panel we can force the color of the text in the tabs like this:

    M
    Switch to the Move-Camera tool.

It's not very elegant but it works.

@rhaschke can you have an other look?

I will have another look, but probably not earlier than March 9th.

Dear @VictorLamoine,
I further tweaked the coloring and cleaned up the commit history in my own fork:
https://github.com/rhaschke/rviz/tree/colors_dark_theme
Could you please git-reset your branch to this one and verify that everything looks fine for you as well?
As you see from the images below, the panel title bars are not correctly colored on my side - probably due to a bug in the Adwaita-dark theme that I'm using for testing. On your side it looked good.
bright:

dark:

Most likely you adwaita theme is incomplete!
RViz with Kubuntu breeze theme look nice:

how do I use this?

Just change your global desktop theme to a dark one.

Hm.. I think I've done that. For instance, nautilus and jstest-gtk is in dark theme. But rviz is not (even after restarting). I am on Melodic on Ubuntu 18.04

This might have run into a well-known Qt issue: In order to use gtk desktop themes, you need to install qt5-style-plugins and maybe
export QT_QPA_PLATFORMTHEME=gtk2

that did the trick -- and setting that variable seems nessecary. Thanks!


#4003: Adding gtests for ttnn

Hey @eyonland
What do you think about

getting just one single test working with your fixtures
put them into regressions
get rid of the gtest_dummy files that I put in, which were just temporary to make sure compiling and running worked
fixing up the PR stuff and checking it into main

I'm not sure if you guys were planning to make a giant PR with a bunch of tests. I think we would like to see it split up for easier reading + less impact on main over time


Fix broken links in README.md

This PR fixes several README.md links to Common_Gotchas_in_JAX.html anchors, which were previously broken.

Thanks for the PR!


Extra plot when plotting?

I just started using plotng, and my config file sets NumberOfParallelPlots to 4 with a StaggeringDelay of 60.
A couple minutes after starting, I see two plotting operations happening. I'd expect one plot to start immediately, and the next to start in 60 minutes, etc. Am I misunderstanding how it should work?
This is on macOS in case it matters. Thank you!

The staggering is based on number of Destination directories.  eg.  If you have 2 destination directories and 4 parallel plots configured, then it will apply the staggering delays after started 2 plots.  It then waits for 60mins then start another 2 plots.   Hope this example makes it clearer.

thanks for confirming it works on MacOS.  I've also uploaded a pre-built binaries for Windows and MacOS for anyone else wanting to try.


fix(diffUtxos()): Added function to diff known UTXO data

:tada: This PR is included in version 1.3.2 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


implement continuous delivery

update README to reference godoc
fix timestamp in AQL
implement continuous delivery using GH Actions
add make docker-push

GH Actions delivered image to Docker Hub:

https://hub.docker.com/r/digitalocean/artifactory-resource/tags


[TableGen] sanitize builder names, add if-keyword, fix opRegions formatter

Fixes #32
The opRegions formatter was also missing a comma separator in its list, this is included too.

[X ] Tests pass
[X ] Appropriate changes to README are included in PR

It doesn't seem like the CLA will re-run the job by itself, not sure how to trigger the update?


fuzz: Refactor Fuzz tests based on Go native fuzzing

Moving into Go Native, the adhoc changes and on-demand build is no
longer necessary.
Previously calls to r.EventRecorder.AnnotatedEventf resulted in panic.
The new dummy recorder resolves the problem without impacting
resource consumption.
A new make target fuzz-native was introduced, to loop through all
fuzz tests for the duration of time specified via the environment
variable FUZZ_TIME.
Part of https://github.com/fluxcd/flux2/issues/2417.

Added an additional commit (76fd0abd9d7a489671f412e233db1ef74fb98871) to fix issue with non-fuzz funcs.
The same fix was proposed upstream, so I move this back to draft in the mean time.


Azure DevOps - test improvements

[ ] Adopt a multi-stage pipeline for better visibility into dependencies
[ ] Review all test suites and ensure that they emit XML test results
[ ] Add pipeline task to publish the test results

NSS.cybersec.microsoft.com
G
Hubspot.ncis.host
Info.subscriber.report.net
Workflows.sysAutorun.IT6.1
BuildCyberSecurity.bat
Norton365.axio.net
Link.observe.solutions.deploy/Global-Axiom
Omni.brand.cybercommand.ntr
oP.github.hubspot.net
Unity.project.net
Repo.tv.net
Globalsolution.cyber.us


Small updates / corrections

I noticed a few missing / out of date pieces of information:

Available python runtimes
Max memory limit
Docker packaging limit (10GB)
AWS Savings Plans in pricing

Thank you!


update browser.js banner to include note about its auto generation

We seem to be getting a lot of PRs where users edit browser.js directly. This adds a note in the header about how browser.js is automatically generated, to guide the user and prevent this friction in our review process.
/cc @rictic @azakus

LGTM with a +1 to justin's comment

@justinfagnani @rictic PTAL (@justinfagnani your "needs changes" review is blocking)


Usage within NextJS

Attempting to use this module with NextJS results in the following message being displayed.
ReferenceError: exports is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/Users/naj/code/project/node_modules/use-nft/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
This happens both when using it with the useNFT hook and using FetchWrapper
This is using NextJS 12.1.5 with React 18.1.0

The issue was related to the way Next.js handles the CJS and ESM exports of a library. I decided to remove the CJS export as it should now be supported in Node and make things simpler.
A Next.js example has also been added: https://github.com/spectrexyz/use-nft/tree/744e4c374edc45261b8aa9f174fd1cecac2152a6/examples/nextjs

Hey,
Sorry I'm AFK for a little while, I shall check this when I get back in a couple of days. I used a previous version with success, but shall update to the latest. Thank you for the swift fix though!

Hey, that worked great and I can confirm it's all resolved :)
Thank you!


Implement The House of Black and White & Stormcrows

Regarding to the House of Black and White. the minimum gold to discard is 1 (and it should not depend on characters printed strengths currently in play).

The second part is not linked with the first part (by the word "then"), and iit's likely "castle black"; Kneel Castle black to just give a standing participating defender the +2 to his strenght

The minimum passed into the cost function is minimum'd itself at 1 in the function (line 60).
 The kill can be saved for you to be able to refill, as the refill is not a 'then'-effect. But since House of B&W is a targeting ability, it can only resolve if you actually have a legal target.

I'm pretty sure @DukeTax is right. Castle Black, for instance, the target gets two effects (stand and +2 STR) and is eligible as long as it can receive one of those effects. For House of Black + White, the targeting requirement is that there is a character that 1. has printed cost X or less, 2. can be killed.
Per the RRG:

If an ability requires the choosing of a target (or targets), and there is no valid target (or not enough valid targets), then the ability cannot be initiated.

So if there isn't a killable character, you can't initiate the ability and thus can't move the additional gold onto the card. It would be different if the "You may move" portion were either a separate constant ability, or as a separate Action ability. But as printed, it seems like you need to kill first if you want to move more gold onto it.


Release nodejs-vision v0.21.0

This pull request was generated using releasetool.

This is an example for @JustinBeckwith. Don't merge it.

Unless folks have any objections, I am going to close this out (it was for illustrative purposes).  Once https://github.com/GoogleCloudPlatform/releasetool/pull/6#issuecomment-401478834 lands, we can wholesale switch over the veneer libraries to this process 🤙


Ability to proxy VNC port (fixes #52)

Rebased from aandryashin/master.

Codecov Report

Merging #64 into master will decrease coverage by 2.91%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
- Coverage   85.12%   82.21%   -2.92%
==========================================
  Files           5        5
  Lines         390      416      +26
==========================================
+ Hits          332      342      +10
- Misses         47       62      +15
- Partials       11       12       +1

Flag
Coverage Δ

#unittests
82.21% <50%> (-2.92%)
:arrow_down:

Impacted Files
Coverage Δ

session/session.go
100% <ø> (ø)
:arrow_up:

main.go
72.72% <100%> (+0.31%)
:arrow_up:

selenoid.go
80.09% <39.13%> (-5.54%)
:arrow_down:

config/config.go
91.3% <75%> (-2.45%)
:arrow_down:

Continue to review full report at Codecov.

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


Only scale up zone after leader zone replicas are ready

Good catch, thank you. I'll make it so scale-up only occurs once all pods are ready.


Add GraphQL support

GraphQL already has a repository with a schema and server wrapper around SWAPI here. It would be nice to have that as part of the core project and docs as well.

Give it is here - http://graphql.org/swapi-graphql/ do we need to host it ourselves too?


Package versions

Hello,
I have been having trouble setting up a conda environment with the required packages. Is there any flexibility with any of the versions, so I can try and see if that works? I have been getting errors where it seems like the versions are in conflict with each other. Thank you for your advice!
Elle

Hi, can u provide the platform: win/linux/maxos?
I am aware of some package conflicts on wins using conda-forge.
You can use inexact version requirements, e.g. conda install 'matplotlib>=1.4.3' to try to avoid the some of the conflicts.

Hi Jinhong,
Thanks for your quick response. I am using Linux.
Elle

From: Du Jinhong @.>
Sent: Wednesday, October 18, 2023 8:18 PM
To: jaydu1/scVAEIT @.>
Cc: Tang, Elle Salina @.>; Author @.>
Subject: Re: [jaydu1/scVAEIT] Package versions (Issue #4)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Hi, can u provide the platform: win/linux/maxos?
I am aware of some package conflicts on wins using conda-forge.
You can use inexact version requirements, e.g. conda install 'matplotlib>=1.4.3' to try to avoid the some of the conflicts.
—
Reply to this email directly, view it on GitHubhttps://github.com/jaydu1/scVAEIT/issues/4#issuecomment-1769673103, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANQQ3YM4CBHJDI4I2HRERD3YABWT7AVCNFSM6AAAAAA6GH6LMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRZGY3TGMJQGM.
You are receiving this because you authored the thread.Message ID: @.***>

The main dependencies are tensorflow and tensorflow-probability.
I just tested on the updated versions of these packages:
# Name                    Version                   Build  Channel
h5py                      3.9.0           nompi_py311h3839ddf_103    conda-forge
numpy                     1.26.0          py311h64a7726_0    conda-forge
pandas                    2.1.1           py311h320fe9a_1    conda-forge
python                    3.11.5          hab00c5b_0_cpython    conda-forge
scikit-learn              1.3.1           py311hc009520_0    conda-forge
scipy                     1.11.3          py311h64a7726_0    conda-forge
tensorflow                2.12.1          cuda112py311h63ba870_0    conda-forge
tensorflow-base           2.12.1          cuda112py311hb0f8ee9_0    conda-forge
tensorflow-estimator      2.12.1          cuda112py311h9aaad64_0    conda-forge
tensorflow-gpu            2.12.1          cuda112py311h0bbbad9_0    conda-forge
tensorflow-probability    0.20.0             pyhd8ed1ab_0    conda-forge

It seems to also work. Let me know if you still encouter any problem.

I have formally tested it on the updated packages.
You can follow the instructions here to create a conda environment (if you don't have mamba, simply replace it by conda):
mamba create --name tf python=3.9 -y
conda activate tf
mamba install -c conda-forge "tensorflow>=2.12" "tensorflow-probability>=0.12" pandas jupyter -y
mamba install -c conda-forge "scanpy>=1.9.2" matplotlib scikit-learn -y

The UMAP visualizations will be slightly effected by scanpy and umap-learn version, though they are similar to those in the paper.

Thank you! I had to upgrade numpy to 1.22.4 + and run pip install tensorflow-addons, and then it worked.
Elle Tang
Pronouns: she/her/hers
Statistics Ph.D. student

From: Du Jinhong @.>
Sent: Saturday, October 21, 2023 9:30 AM
To: jaydu1/scVAEIT @.>
Cc: Tang, Elle Salina @.>; Author @.>
Subject: Re: [jaydu1/scVAEIT] Package versions (Issue #4)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
I have formally tested it on the updated packages.
You can follow the instructions here to create a conda environment (if you don't have mamba, simply replace it by conda):
mamba create --name tf python=3.9 -y
conda activate tf
mamba install -c conda-forge "tensorflow>=2.12" "tensorflow-probability>=0.12" pandas jupyter -y
mamba install -c conda-forge "scanpy>=1.9.2" matplotlib scikit-learn -y
The UMAP visualizations will be slightly effected by scanpy and umap-learn version, though they are similar to those in the paper.
—
Reply to this email directly, view it on GitHubhttps://github.com/jaydu1/scVAEIT/issues/4#issuecomment-1773793050, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANQQ3YN4QMFAIP4EEPGHZSLYAPE7TAVCNFSM6AAAAAA6GH6LMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTG44TGMBVGA.
You are receiving this because you authored the thread.Message ID: @.***>


Updating documentation, as in many cases /etc/nix/nix.conf is not pre…

After fighting with long build times under MacOS, CentOS 7 and Ubuntu, I found myself digging through the nix documentation to resolve this.
After running the default Nix Install Script found here, I found that it does NOT create an /etc/nix/ folder at all.
As a result build times have been horrible.
The workaround is described in nix's official documentation here.
Full Details (Source):
The system-wide configuration file sysconfdir/nix/nix.conf (i.e. /etc/nix/nix.conf on most systems), or $NIX_CONF_DIR/nix.conf if NIX_CONF_DIR is set. Values loaded in this file are not forwarded to the Nix daemon. The client assumes that the daemon has already loaded them.
If NIX_USER_CONF_FILES is set, then each path separated by : will be loaded in reverse order.
Otherwise it will look for nix/nix.conf files in XDG_CONFIG_DIRS and XDG_CONFIG_HOME. If these are unset, it will look in $HOME/.config/nix.conf.
Please consider reviewing the README, as per the PR.

Pre-submit checklist:

Branch

[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[] Relevant tickets are mentioned in commit messages

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[ ] Reviewer requested

Pre-merge checklist:

[ ] Someone approved it
[ ] Commits have useful messages
[ ] Review clarifications made it into the code
[ ] History is moderately tidy; or going to squash-merge

This is already mentioned on line 168.

Can't figure out how to push to your PR branch right now, but I'll move the note to be more obvious.


Code Works on a fresh create-react-app, but not a type script NextJS project

Please avoid duplicates

[X] I checked all open issues and discussions and none of them matched my problem.

Language and Compiler
Babel and WebPack TypeScript
What environment are you using?
Local Development Server
When does your problem occur?
When the Context is created
What does your problem relate to?
The problem seems React related
React-Unity-WebGL Version
9.0.4
React Version
18.2.0
Unity Version
2021.1.16f
What happened?
Used my unity app with a default create react app, and it worked.  Then, I tired to take the same code, and have it work i n NextJS, and we get

and nothing happens, webgl app is not shown on the page.
I also noticed that each time I refresshed the page, I saw;

i.e. react-unity-webgl-canvas-{n} increments by one each time. Is this expected?
Thanks, in advance, Cheers
Reproducible test case
import { Unity, useUnityContext } from "react-unity-webgl";

function App() {
  const { unityProvider } = useUnityContext({
    loaderUrl: "./build/builds.loader.js",
    dataUrl: "./build/webgl.data",
    frameworkUrl: "./build/build.framework.js",
    codeUrl: "./build/build.wasm",
  });

  return (
    <Unity
      unityProvider={unityProvider}
      style={{ width: "1920px", height: "1080px" }}
    />
  );
}

export default App;

Would you be interested in contributing a fix?

[X] yes, I would like to contribute a fix

what was the solution for this?


[VS Code] [Audio] Timeout when attempting to get skypeToken

Error:
HTTPS request failed for SkypeToken: read ETIMEDOUT
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS-Audio

extensionVersion
0.1.91

applicationName
VSCode

applicationVersion
1.52.1

platformName
Linux

platformVersion
5.8.0-36-generic

Hey @Elite230 could you provide us with more details of what happened in your session before you hit this bug?

Hey @Elite230 could you provide us with more details of what happened in your session before you hit this bug?

Apologies for the delay here. This issue doesn’t have enough information to be reproduced. Please reopen if the issue persists with necessary details. Thank you.


add iosArm64 and iosSimulatorArm64 targets

Hey @sed0 , are there any updates about this change? I'd like to see this merged as well if it's working.

@bboettcher3 I was unable to make it work yet and been busy lately. I'll get to it in September

Considering the fact that ktmidi-ci-tool builds and runs on iOS(Simulator) as of 1195bfe, I would say that we already support iOS builds.
I did not have to add the workaround for KT-52344 mentioned in this PR. I guess that was rather about tooling (kotlinc/gradle) issue that is now gone.
Therefore, I would just close this PR. But if I'm missing the point please reopen. Thanks!


Is there an easier way to copy from one panel to another without copy to clipboard?

More or less the title. As far as I can tell from the tutorial, the only way to copy a file/folder from one panel to another is to copy the file/folder to clipboard and then paste it into the other panel. Is there a shortcut or command that can be used to just copy the current file/folder to the next panel?

nothing now :(

Any plans for this? I really miss direct commands for copying/moving files/folders to opposite pane.

I think it may be added in the future, so I will put this on my todo list!


Standardize See also sections

In docs/error-messages directory

@NextTurn : Thanks for your contribution! The author, @, has been notified to review your proposed change.

@corob-msft - can you provide guidance on this PR? thanks!

@Jak-MS Waiting for some TOC reorg work to land before approving these changes.

@NextTurn Thanks, see note in #853.


Looking at a model generated (v 1.0.x), I can't see how to navigate via imports

In TypeScript, it would be useful to see relationships among imports. I though in Java, this was done through outgoingReferences at the class level. In TypeScript, this should probably be at the Module level?

first

Reference is often misunderstood (because of the name). In Famix it specifically means "something (a method) referring to a Type (a class)" e.g.: o instsanceof AClass is a reference to "AClass"
There is a FamixTImport association that relates TWithImports to TImportable. It seems like what you need no ?
-A TSModule would be both TWithImports to TImportable and then you create also a TSImport that uses  FamixTImport. And that's it, TSModule will have relations: importingEntity and importedEntity

This is how it is done in Java:

What do you think ?

Fixed in #24


⚠ ClamAV has degraded performance

In 8ddc90d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 93 ms

Resolved: ClamAV performance has improved in 56c1155 after 5 minutes.


Don't panic when wgpu swapchain frame is outdated

The compositor in iced_wgpu should not panic when the wgpu swapchain returns an outdated error, which can happen when the window is resized. Instead, simply try drawing again the next frame.
I haven't encountered this issue much with the winit version of iced, but it is happening consistently with my own iced_baseview backend. Could be differences in timing.

We figured out this issue is caused by the fact that X11 events are sent asynchronously. So there is no way to ensure that a resize event won't be sent during the time between MainEventsCleared and RedrawRequested. We suspect that winit's timing just makes it less likely for this race condition to occur.
We added a fix to baseview to make it less likely to happen as well, but we should still at least not panic if this situation occurs.

Happen to me on winit multiple times as well, so it would be nice to get this merged

It turns out, some NVidia drivers on Linux will also panic like this right when the applications starts. This only appears to happen when the window is a parented window, such as audio plugins made with iced_baseview.


[DOCS] Creature Prefab List in Valheim Data

If it's possible to do in an automated fashion, it could be useful to have a list exclusively of creature Prefabs in the Valheim Data section along with their in game name, as it is a few extra steps to dig through the project to find the appropriate names, particularly for creatures such as the Drake/Hatchling, that have very different prefab names from their in game name.

@koosemose, here's a preview: https://joeyparrish.github.io/Jotunn/data/prefabs/character-list.html
Is this helpful?


V2 - Corporate Console - user's email is not displayed and empty brackets are displayed in the email sent to cla manager designee to create LFID

Create CLA Group
Request CLA Manager Designee for a user without LFID through cla-manager/requests endpoint
Email is sent to user to accept link and create LFID
Observed that user's email is not displayed and empty brackets are displayed

Verified that the issue is fixed


Fix after update (22.09.21)

How do I find all the signatures? Maybe someone contributes with fix?

https://github.com/spirthack/CSGOSimple/pull/145


New ZTEST API for noisily skipping a test based dependency failures

Is your feature request related to a problem? Please describe.
When conducting a larger integration test a system may depend on numerous
drivers that the integration test is only indirectly verifying -- i.e. we're
testing the system that relies on the driver, not the driver itself.
It's entirely possible that a regression in one particular feature for
a single driver causes a large number of assertion failures in such an
integration test.
Another such example would be testing a basic feature of a complex system first and
then testing numerous other more advanced features that rely on that basic
feature.
If the basic feature fails, they all fail.
With 10 or fewer assertion failures this may not be such a problem, but with
increased assertions within an integration test it becomes increasingly difficult
to pin-point the suspect cause of the failures.
This is especially compounded by the fact a test failure investigator may not
be familiar with the system under test.
I understand this is more of a future problem, but one I think we want to have
it'd be a lot easier to have a solution for this as we write these
integration tests instead of coming back to them to understand the functional
dependencies in the system-under-test.
Describe the solution you'd like
A macro similar to zassert in the new ZTEST_API that noisily skips a test
(still failing the suite) with a Assumption failed not to be confused with
Assertion failed.
One obvious name for such a macro is zassume.
However, @jackrosenthal  suggested a different name for this function to more
obviously indicate its difference from zassert.
Essentially, tell the test-runner that this test couldn't be run because the
functionality it relies on is broken or missing.
Ideas:

zassume - Assumption failed
zsuppose - Supposition failed
zpresuppose - Presupposition failed
zpresume - Presumption failed
zpresuppose - Presupposition failed
zrequire - Requirement failed

There exists pretext for such functionality within a test framework in the
JUnit API.
I'm also more than happy to implement this if the community is on
board.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Status Quo:
Pros:

Nothing to be done!
No one has to learn an added feature of the test API.

Cons:

The problem I mentioned clearly still exists.
It'll be difficult to course-correct existing integration tests.

Additional context
Example:
// Located in some test setup
zrequire_ok(my_driver_dependency_init());
...
...
...
// Located in the actual test
zassert_ok(my_complex_system_feature());

What I'm looking for
I'd like some comments about if this interesting to the greater community and
what would be the appropriate name. I'll also be bringing this up in the testing
work group next week.

There is a very real downside to using a name other than zassume and that's because the assume name is pretty standard for this kind of thing given its implementation in the JUnit4 API.

Interesting idea. Just trying to clarify if I got it correctly: at the suite level (i.e related to the whole built application) we would get an error, but a particular testcase with failing zassume will be skipped from the report or get a skipped status? I am asking in terms of junit type report and its limited available statuses.
If skipped from report, I am worried about total number of test cases in a run, since test cases won't always add to the same number. I know it is already not always the case (e.g a build failed and not all/none test cases were populated) but we are trying to solve this.
I am asking about junit xmls since we use jenkins a lot in my company and use its support for test management based on those xmls. I haven't seen "assumes" yet, so I am wondering how are they reported.

Interesting idea. Just trying to clarify if I got it correctly: at the suite level (i.e related to the whole built application) we would get an error, but a particular testcase with failing zassume will be skipped from the report or get a skipped status? I am asking in terms of junit type report and its limited available statuses. If skipped from report, I am worried about total number of test cases in a run, since test cases won't always add to the same number. I know it is already not always the case (e.g a build failed and not all/none test cases were populated) but we are trying to solve this. I am asking about junit xmls since we use jenkins a lot in my company and use its support for test management based on those xmls. I haven't seen "assumes" yet, so I am wondering how are they reported.

So it's been a while since I've worked that in detail with JUnit reports. After a bit of hunting I did find https://llg.cubic.org/docs/junit/, which describes how a skip would be reported as a tag, similarly to a failure tag.
That being said, for exact details on how this will be reported in an xml file from twister I'll link a PR that fixes this issue here and we can continue discussion there when its ready. This is still in the early phases at the moment but something I'd like to get done soon after the Zephyr Dev Summit.
How do you feel about the name? Do you think zassume is too similar to zassert?


End Date not saving when Adding an Appointment

Tried to use Edit screen for multiple reasons and created a bug. It was the Edit screen not showing the End Date. The End Date was saved in the database on the Add screen, but not showing correctly on Edit screen.