Components of a RIMS scheme entry

This is an idea gathering list on what we must have for a scheme database. Most entries will probably be optional.
All of these fields should be saved in a json file for automatic reading and generation of the website.
Title
Element name and number (subsequent) for multiple scheme separation
Reference
A reference with doi and title, etc., to the publication that provides the information for this scheme! Need to have the capability of submitting more than one scheme.
Notes
Any kind of experimental notes that the submitter wants to communicate to the user. The more detail the better.
One thing that could be important here as well is, how this scheme compares to others that are already in the database. For example, there are people who have multiple schemes for the same element and each of them has some up and downsides. For example, more non-resonant ionization vs. less laser need to be used to get this work. Notes are definitely crucial.
Scheme and drawing

Scheme should be automatically drawn with a (reworked) version of the rimsschemedrawer package.
A table should be generated with the individual steps / wavelengths and total wavenumber such that the user can copy and paste and doesn't have to type in the numbers individually. This can be generated from the same data as the plot.
The user should have the possibility to dump the content of a rimsschemedrawer json file directly in here instead of typing in all of the data. That would allow as well for less issues with the automatic plotting, since default values are sometimes difficult.

Saturation curves

Notes with respect to saturation curves
Units for x axis, y axis should always be signal and is arbitrary
Data as x (irradiance, ...) vs y (signal)

The data should be automatically fitted with a standard saturation curve and then we can print this result out as well! If the fit fails, maybe just leave it out?
Multiple saturation curves must be allowed, maybe subsections with a given title, e.g., the wavelength? And then we sort them by step or something similar?
The data should be shown as:

Overview table with all steps that are provided, required saturations, (...?)
A plot of the saturation curve data with a fit to the saturation curve.

We should also allow for uncertainties in the signal, x and y probably? This might be a bit difficult to do. Maybe some true/false questions for the user to answer?
Name/handle of the submitter
Who submitted the scheme? This could be important to find out who to get in touch with, etc. This should not necessarily be the github username of whoever submitted it, then it would also allow to have schemes submitted, e.g., by the management team of the database. Ultimately, there will always be people who don't want to submit schemes online but just send data by e-mail. They should still be the "submitter", even if they don't put it themselves on the website.
GitHub submitter
Handle of the person that submitted the actual scheme via PR or via direct addition.

Here's an example of the current json file that the rimsschemedrawer uses. The settings entry can probably be neglected, since we will standardize the plotting with useful default values. However, the settings should be there in case the user wants it!

{
    "scheme": {
        "gs_level": "0",
        "gs_term": "3F2",
        "ip_level": "55074",
        "ip_term": "",
        "step_level0": "170.15",
        "step_level1": "386.88",
        "step_level2": "21469.5",
        "step_level3": "45498.85",
        "step_level4": "56844.45",
        "step_lowlying0": true,
        "step_lowlying1": true,
        "step_lowlying2": false,
        "step_lowlying3": false,
        "step_lowlying4": false,
        "step_term0": "3F3",
        "step_term1": "3F4",
        "step_term2": "3G3",
        "step_term3": "3G4",
        "step_term4": "",
        "unit": "cm<sup>-1</sup>"
    },
    "settings": {
        "arrow_head_width": "0.6",
        "arrow_width": "0.2",
        "fig_height": "8",
        "fig_width": "5",
        "fs_axes": "12",
        "fs_axes_labels": "14",
        "fs_labels": "12",
        "fs_title": "14",
        "headspace": "2700",
        "ip_label_pos": "Top",
        "line_breaks": false,
        "plot_title": "",
        "prec_level": "0",
        "prec_wavelength": "3"
    }
}

The current proposal for a json format to serve RIMS schemes:
{
  "rims_scheme": {
    "scheme": {
      ...
    },
    "settings": {
      ...
    }
  },
  "saturation_curves": {
    "First Transition, 319.215 nm": {
      "unit": "W * cm^-2",
      "data": {
        "x": [
          ...
        ],
        "y": [
          ...
        ],
        "y_err": [
          ...
        ]
      }
    }
  },
  "notes": "Overall notes for the scheme.",
  "references": [
    "doi number 1", "doi number 2", ...
  ]
}

This json file is very minimal. The red dots indicate where the data goes. The only key that is mandatory is the "rims_scheme".
Keys:

rims_scheme: Dictionary with the entries directly from the RIMSSchemeDrawer json. Note that only the scheme entry is mandatory, the settings have all default values.
saturation_curves: Each entry will produce one saturation curve with the key as the title. Each entry consists of the unit to be used on the x axis, and the a data entry which contains lists for x data, y data, and uncertainties in x and y (not mandatory!).
notes: Overall notes for the scheme.
references: DOI numbers with references. See #7 for details on how we could proceed with those.

To be discussed:

An entry on who submitted the scheme?
Additional notes on saturation curves - overall and individual? This could be useful to specify beam sizes, etc.

A filled json file can currently be found here

As of #22, the RIMSSchemeDrawer should now be able to take most schemes and display them nicely. The database now contains no more "settings" data for these schemes and should only contain those if the default settings do for some reason not work.

After considering https://github.com/RIMS-Code/rimsdb_scheme_submission/issues/3, we need to change the saturation curve entries:
{
  "saturation_curves": [
    {
      "title": "First Transition, 319.215 nm",
      "unit": "W * cm^-2",
      "data": {
        "x": [
          ...
        ],
        "y": [
          ...
        ],
        "y_err": [
          ...
        ]
      }
    }
  ]
}

Once this is fully figured out, we need a writeup in a discussion or wiki about the detailed format

This is now written up in the wiki, see here


docs(developing): adding Building for IBM.com page

Related Ticket(s)
Refs #642
Description
This adds the Building for IBM.com page under Developing. This page is not directly authored here, but is pulled from the main Carbon for IBM.com repo under here:
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/master/docs/building-for-ibm-dotcom.md
This documentation is also referenced in our Storybooks, so would like to have this as the centralized documentation. We can make adjustments there if necessary.
Changelog
New

/developing/building-for-ibm-dotcom page

Thank you @janchild ! I tweaked the text wrapping a bit, so hopefully it fixes it!


cannot comment on one line command

You cannot do something like:
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \ # this is specific to mesos

Because \ will be taken as excape and so  # as image for the run command. So:
Invalid repository name ( #), only [a-z0-9-_.] are allowed

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "fix_test_script" git@github.com:4is2cbetter/swarm.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

How is this change supposed to make the build fail?!

@affo how od you run the tests ? I have not issue on my machine.

 I have not
issue on my machine.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/swarm/pull/916#issuecomment-110454106.

@affo ok, can you put the comment somewhere else ?

I found only this way.
It is surprising that it works for you!

LGTM

ping @aluzzardi


how can i make the change in mouse and the teeth more obvious?

when i use the egif as my driving video,  the  teeth in the out video is not obvious? Is there any way to solve the problem?
thank u !

First frame should be with closed mouse, if you are using relative movement


html content not recognised

The documentation states that front matter changed to
+++```
will allow content to be written in html.
This does not occur. See latest comment at https://discourse.gohugo.io/t/solved-using-html-for-content-pages-instead-of-markdown/3374

Please post documentation related issues here: https://github.com/gohugoio/hugoDocs/issues
We have tests for HTML as content, and I just did a quick test -- and it works fine. Take further questions on the forum.

Example was given in the discourse web site, what is the error in the example given please?

Have tried to show the actual html code, but the web server converts it. How to show the html so that readers can see if there are errors?


Experiment log directories use curriculum name but not agent

Should they include both names to be easier to find?

The file itself is made in l2logger, so this change would be accomplished by modifying
    scenario_dir = (
        f"{curriculum.__class__.__name__}-"
        f"{agent.__class__.__name__}"
    )


docs: Add roadmap

/assign @johnugeorge @richardsliu
Is there anything we should do?
Signed-off-by: Ce Gao<EMAIL_ADDRESS>

This change is

Currently, have we tested for k8s version 1.16+ ?

/lgtm

I have experience of running the operator on 1.17, it works.

/approve


added support and tests for pydantic dataclasses

Fixes #265
Summary of changes:

in fastapi.utils.create_cloned_field we coerce a pydantic dataclass to its BaseModel version using the __pydantic_model__ attribute
changed the test_serialize_response.py test to actually test serializing the response and created a separate test test_validate_response.py which tests for appropriate ValidationErrors
created *_dataclass.py variants of test_serialize_response and test_validate_resonse

Great! Thanks a lot! :rocket: :cake:

Is this available for use?

Is this available for use?

Released with 0.37.0

Add support and tests for Pydantic dataclasses in response_model. PR #454 by @dconathan.


this.ctx undefined

this.ctx undefined

I keep on getting the same error as well.
I followed the instructions given to install all the dependencies.
Getting the error trying to run the example given in the docs.
Node Version - v10.7.0
NPM Version - 6.1.0

You need to fork filterous-2, upgrade canvas version to 2.5.2 and follow the instructions for migrating node-canvas from 1.x to 2.x : https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md#200
It works for me after completing that

Upgrade with async await to load image URL or buffer in PR #10. It should fix the undefined this.ctx


[Feature] Mobile Application: Ongoing notification to run fire button in background

Similarly to Google Chrome's incognito mode, the option for an ongoing notification to close all tabs, or in this case, run the fire button, would be a nice feature to have, as opposed to having to open the app and run manually, or have the clear timer expire. My current usage is on Android. I am not sure if something like this would be possible on iOS.

Thanks, glad you enjoy the feature and you want to use it more :)
Please use discussions to share feature requests or check how to send us feedback here.

This was a feature request.  Does this feature already exist?  I have not seen it anywhere in the settings.

No, we don't have a pinned notification to clear data. I was referring to the fire functionality, I'm assuming you like it if you wanted to use it from the notification.
What we have is an auto-clear setting you can use. Or just long-press on the ddg app icon, there's a shortcut to clear data.
I will share your feedback internally.

@cmonfortep Yes sounds good thank you!


toarrow and fromarrow

Most expected users of Awkward ↔ Arrow conversion are using Python, not C++. Writing a converter in C++ is not a performance consideration, but an accessibility one—it allows pure C++ programs to exchange structured data with other programs in the Arrow ecosystem. However, writing it would mean spinning off a separate package, since Awkward can't take on Arrow as a dependency; the Awkward-Arrow package would have to depend on both Awkward and Arrow, which is too much to deal with right now.
For the time being, Awkward ↔ Arrow conversion will be a Python function. (And that Python function can continue to exist as a fallback if the Awkward-Arrow package isn't accessible).

On second thought, there's this: https://github.com/apache/arrow/blob/master/docs/source/format/CDataInterface.rst
We may have a minimal-dependency way to consume and produce Arrow buffers after all. (Need to check on the status of that from Arrow.)

It looks promising.

My reading of this (Arrow JIRA ticket and pull request) is that this human-readable specification is the entirety of the C interface. There's no code other than what we see on the instructions page. We're supposed to copy its struct definitions into our project, populate them according to the rules on the page, and that's it: the in-memory buffer we've just made is an Arrow buffer. It would be nice to see an example of wrapping that buffer in pyarrow and verifying that the data can be round-tripped, but once we (I or someone else) figure out how to do that, we can submit such an example as a PR to apache/arrow.

I can't make it an "assignment," but @trickarcher is actively working on this.


Bug relate cloud drive

Description
I have 2 error relate cloud drive

Red Color: I have 2 sharepoint (cicamt and Vilai Viet same as Win explorer), but in File (right), it shows only cicamt sharepoint, but when i click to cicamt folder, it show folder in vilai viet sharepoint. How can Files show both 2 sharepoint?
Green color: I use Autodesk Drive (https://drive.autodesk.com/) and it shows in Explorer same as a drive, can Files add Autodesk Docs and Drive as a cloud drive.

Thank you so much.
Steps To Reproduce
.
Steps to fix
.
Files Version
<IP_ADDRESS>
Windows Version
Win 10 22H2 19045.2486
Log file
debug.log

Thank you for your feedback, we're tracking the SharePoint issue here #4966. Can you open a feature request for Autodesk?


Accounts don't follow IPB "Remove unvalidated members"

Basically if there's an incomplete account (user has signed in with steam, but hasn't provided a username and finished registration), it stays in the admin cp widget that shows validating members. The reason for the account requiring a username is because we have regex on usernames and the use steam name option for the login handler bypasses the regex. I just noticed there was an update today, so is that fixed?
Now for people who register with just email and password, but don't confirm their email get deleted 7 days after registering. This doesn't apply however for users who register through steam and haven't completed the registration. We have a user who registered on Feb 4th who still shows up today (the 17th) and hasn't been deleted by the forums. And of course since the registration is incomplete, I can't go through the member list or search for them using their email to delete it. The only options I have are to approve or ban it through the admincp widget. Other than that, I have to delete the user manually from the database.
A small side question for the new update is what does this mean?

Resolves fatal error when attempting to disassociate other login methods

Basically if there's an incomplete account (user has signed in with steam, but hasn't provided a username and finished registration), it stays in the admin cp widget that shows validating members. The reason for the account requiring a username is because we have regex on usernames and the use steam name option for the login handler bypasses the regex. I just noticed there was an update today, so is that fixed?

-Bold (reference) ; no.

Now for people who register with just email and password, but don't confirm their email get deleted 7 days after registering. This doesn't apply however for users who register through steam and haven't completed the registration.

-If I remember right this is a byproduct of Login Handlers except for Internal (plain old username/password)

Other than that, I have to delete the user manually from the database.

-Don't. Seriously don't. When a user is generated it generates in other spots in the database. The appropriate way to delete a user is through the ACP.

A small side question for the new update is what does this mean?

Resolves fatal error when attempting to disassociate other login methods

-IIRC IPS broke it, we fixed it.

-If I remember right this is a byproduct of Login Handlers except for Internal (plain old username/password)

We have Google and Twitter login handlers, but since those are rarely used. I have yet to see if the same issue occurs.

-Don't. Seriously don't. When a user is generated it generates in other spots in the database. The appropriate way to delete a user is through the ACP.

It's impossible to delete the user through ACP if they haven't completed their registration. In the ACP Dashboard widget it shows their email, ip they registered on, and when they registered. The only 2 options are Approve & Ban. Searching through the member list using their email doesn't pull their account either. I haven't deleted the user yet, but that information is good to know. Do you know what other tables a user's data is stored in?

It's impossible to delete the user through ACP if they haven't completed their registration. In the ACP Dashboard widget it shows their email, ip they registered on, and when they registered. The only 2 options are Approve & Ban. (1.)Searching through the member list using their email doesn't pull their account either. I haven't deleted the user yet, but that information is good to know. (2.)Do you know what other tables a user's data is stored in?

-1. That is because if they didn't finish registration they will not have an email. They will have a username though, and that is searchable via ACP. But IIRC they were supposed to allow showing all users regardless if they have an email listed or not. Seriously it's the email that's preventing the members module showing all users. On my personal community I have at least 5 users that have no email at all, either due to semi-registered or fake/bounceback email. and another community I do support for has about 4 users without emails. It's just nature of 3rd party login handlers. I am sure if steam allowed us to grab emails (which they never will), we could possibly support auto importation of the email. But yay, limitations lol.
-2. No, but honestly I wouldn't recommend it as imo it's kinda tedious and pointless lol. just visiting the validating user and pressing delete works best. not sure why IPS doesnt include a delete user button on that page.


⚠ Fortnite has degraded performance

In 2b7c330, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1507 ms

Resolved: Fortnite performance has improved in f4451a5.


A11y – Check color-contrast on post-alert with success background

Reported by cypress-axe:

### Tasks
- [ ] Fix issues with color contrast
- [ ] Enable 'color-contrast' rules again (by removing the option) on the e2e test
- [ ] Update success color

@imagoiq please check the current state of the alert, which success color is actually used

So @alizedebray was totally right, the background-color was changed with PR adding c
Text color was automatically adapted with the algorithm.

Wait until #2784 is done and check again!


Add test for users and posts controllers

In this PR

[x] Create a Request spec file for users and posts controllers
[x]  Testing includes
If response status was correct.
If a correct template was rendered.
If the response body includes correct placeholder text.

@julie-ify Thanks for reviewing the PR. I didn't clearly understand the mentioned changes required. Was it to add the test setup in the Readme File?


Switch example OUTPUT_GPIO overlaps with USB on ESP32-C3 (MEGH-3037)

The issue was originally reported in https://github.com/espressif/openocd-esp32/issues/192 — after uploading switch example to ESP32-C3 over the built-in USB-SERIAL-JTAG port, USB stops working.
This is probably caused by the fact that OUTPUT_GPIO is set to 19, which is the USB D- pin on ESP32-C3 (and USB D+ pin on ESP32-S3).
https://github.com/espressif/esp-rainmaker/blob/722635985e2b99cdade949e611f0079208f360b0/examples/switch/main/app_driver.c#L25
Recommend choosing another pin when building this example for ESP32-C3 and ESP32-S3, e.g. by adding a Kconfig option.

C3 is not supported, S2 instead.


Add support for strided index-select on Metal

I'm fairly certain I got the right idea here, however I'm not sure if I've missed some guard clauses or reshaping on the output buffer.

Thanks. In the future would be great if you can add run some benchmarks and profiling and mention it in the feature description.
For example on cuda kernels passing parameters that are slices, e.g. strides that you added in this PR, has some substantial runtime cost because of the allocation and htod communication that it introduces. I have no intuition on the cost of this on the metal side but it would be great to check that it's negligible.

Thanks. In the future would be great if you can add run some benchmarks and profiling and mention it in the feature description. For example on cuda kernels passing parameters that are slices, e.g. strides that you added in this PR, has some substantial runtime cost because of the allocation and htod communication that it introduces. I have no intuition on the cost of this on the metal side but it would be great to check that it's negligible.

Ah that's a good callout, let me do some research into this and run some benchmarks. I've been wanting to write up a readme for the metal kernel package that has common issues/patterns etc... about metal I've discovered during my time learning.


CI runs both on the branch when a PR is opened and also after the PR is merged into main

https://github.com/loftwah/linkarooie/pull/21
This fixes it.


Function Definition matching

Function definitions are kind of complex...so argument matching and recording function arguments as symbols is not yet implemented.

Function definitions are now matched, and argument matching also match and are added to the symbol table as arg nodes. Annotations are currently skipped, and default values are currently matched exactly. Design decision needs to be made about whether default values and annotations should also be matched.
Decorators are NOT added to the symbol table


Default value for "invalid type" error

Hi there,
First of all, thank you very much for this crate. It's been very useful to me.
I'm building an application that will have an ever-changing configuration file and I would like to avoid resetting user's entire configs back to default as much as possible.
Let's say I have this simple field;
hotkey: "ShiftLeft"

and I then decide that I want it to be a struct with more fields such as;
[hotkey]
key: "ShiftLeft"
code: 160

Which would leave me with the error "invalid type: string" when using toml::from_str
I know that empty fields can be set to default with #[serde(default)], but is there a way to make it return the default value when getting an invalid type?
I noticed the entire error message is private, so going that route to fix it seems to be a dead end.
Sorry if this is a question to be asked in one of the serde crates.
Thank you!

What you are looking for is a serde feature called Untagged Enums which will let you deserialize a field as either a String or a Struct.
You have likely been the user of this feature if you think to creating a dependency: toml = "0.9" vs toml = { version = "0.9" }

What you are looking for is a serde feature called Untagged Enums which will let you deserialize a field as either a String or a Struct.
You have likely been the user of this feature if you think to creating a dependency: toml = "0.9" vs toml = { version = "0.9" }

It wasn't exactly what I was looking for, but close enough that I would have used it, however, I found a different solution.
Thank you for the quick response & the extra trivia 😄
What I ended up going with was;
#[derive(Serialize, Deserialize)]
#[serde(default)]
struct Config {
  #[serde(deserialize_with = "ok_or_default")]
  hotkey: Hotkey
}

fn ok_or_default<'a, T, D>(deserializer: D) -> Result<T, D::Error>
where
    T: Deserialize<'a> + Default,
    D: Deserializer<'a>,
{
    let v: Value = Deserialize::deserialize(deserializer)?;
    Ok(T::deserialize(v).unwrap_or_default())
}

Thanks to dtolnay.


Unpinned dependency on gevent causing install errors with latest release of gevent

Problem
The latest gevent release (23.9.0) is failing to build for python 3.9 on this aws/codebuild/standard:5.0 image. Because the dependency cloud-files makes on gevent is unpinned, we are exposed to these unintended failures.
Background
We pull in cloud-files~=4.15 as a dependency and compile code on aws/codebuild/standard:5.0. In the past 5 days, we started seeing build failures with the unpinned gevent (dependency of cloud-files) after the package upgraded to 23.9.0.
Failure
...
#12 38.70       generating cffi module 'build/temp.linux-x86_64-cpython-39/gevent.libuv._corecffi.c'
--
4890 | #12 38.70       creating build/temp.linux-x86_64-cpython-39
4891 | #12 38.70       Running '(cd  "/tmp/pip-install-erth84_2/gevent_60d4e7e1e6d7425492946b23b1f4d8e7/deps/libev"  && sh ./configure -C > configure-output.txt )' in /tmp/pip-install-erth84_2/gevent_60d4e7e1e6d7425492946b23b1f4d8e7
4892 | #12 38.70       configure: error: in `/tmp/pip-install-erth84_2/gevent_60d4e7e1e6d7425492946b23b1f4d8e7/deps/libev':
4893 | #12 38.70       configure: error: no acceptable C compiler found in $PATH
4894 | #12 38.70       See `config.log' for more details

Seems like maybe a newer version of Cython is being used (per this commit)? not really sure but I'm not asking you to solve this.
Proposal
Please pin gevent to a stable version.

Thanks for bringing this to my attention. There are also problems introduced by pinning (lack of bugfixes etc). Perhaps a compromise might be to pin for certain OSes? What do you think? Is there a platform tag that you could suggest?

Fair point, I understand that pinning might be undesirable for downstream consumers of this package.
FWIW I am following up on this with this issue in gevent. https://github.com/gevent/gevent/issues/1993. I am hoping that they will add support back in for manylinux2014_x86_64.
If you have the infrastructure to easily pin on specific architectures and OSes perhaps that could work, but I will circle back to this once the other issue is addressed.

looks like gevent has added support again for the platform tags in v 23.9.2 that were removed in a previous version.


docs(config): cleanup default values

Some definitions of accepted/default config values didn't adhere to the writer's guide - I fixed them.

@EugeneHlushko I just rebased with master 🙂

@Neob91 no need, only do it in case we have conflicts or master has updated lint rules or similar

Thanks!


Fix missing bot instance on proxy objects

This PR will fix only the first level proxy object...
This fix MUST BE done at Hydrator level.


settings-overlay: Redesign and clean up styling.

This redesigns the settings overlay tabs a bit and makes them more consistent across to board with regard to design.

Automated message from Dropbox CLA bot
@brockwhittaker, it looks like you've already signed the Dropbox CLA. Thanks!

I merged a few commits that looked good.  The "UI settings tip" commit is broken individually, so I skipped that one; I think maybe you fixed the bugs in it in some later commit?

@brockwhittaker can you rebase to drop the merged commits and let me know when you have a cleaned up version of the "UI settings" change history?

Updated.

I merged several more commits.  The button style for these settings controlled in a modal doesn't look right to me:

I'm also not excited about how the notification settings page now feels really tall; I'm not sure what the right strategy is for that.
Also, this needs a rebase (which should also address the test failure in master).

Hm, that button state doesn't appear on mine.

But it's rebased now.

I meant more the approach of displaying a value like the current language as a button, and clicking the button opens the change UI.  I think maybe a link styling would be better if we wanted to go the route of having the same space be the button and the current value.  Or we could use an edit icon and have that be what pops up the modal.

We chatted about this and identified the following 4 remaining issues:

Replace the "popup modal" "change" buttons with a pencil icon sort of thing (assuming looks good; if not, iterate)
Add horizontal line above "log out"
Fix the button after you click "show API key"
Probably not for this PR, move "change password" into a modal

This has been updated with changes, with the exception of the "change password" portion being moved to a modal.

Updated with two spacing fixes @timabbott.

Nice, merged with a small spacing fix, thanks @brockwhittaker!


Grid-column() inside of media query compiles duplicate media queries

So I was just shocked by a super bloated css compiled from a scss. The issue is the following:
@include breakpoint(medium) {
  .foo { @include grid-column(10); }
}

My expected css output would be something like this (one @media):
@media screen and (min-width: 40em) {
  .foo {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    width: 83.33333%;
    float: left;
  }
  .foo:last-child:not(:first-child) {
    float: right;
  }
}

But what I get is this mess of duplicate media Queries:
@media screen and (min-width: 40em) {
  .foo {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    width: 83.33333%;
    float: left;
  }
}
@media screen and (min-width: 40em) and (min-width: 40em) {
  .foo {
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
  }
}
@media screen and (min-width: 40em) {
  .foo:last-child:not(:first-child) {
    float: right;
  }
}

Can someone explain that behavior to me? Is the grid-column mixin not supposed to go inside a media Query? Why are there duplicate padding declarations?

Try this instead:
.foo {
  @include grid-column;

  @include breakpoint(medium) {
    @include grid-column-size(10);
  }
}

The extra media query comes from the responsive gutter adjustments on the column. Above, I've moved the base column definition outside of the media query, and then changed the size only at the medium breakpoint.
The CSS output of the above code is:
.foo {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  width: 100%;
  float: left; }
  @media screen and (min-width: 40em) {
    .foo {
      padding-left: 0.9375rem;
      padding-right: 0.9375rem; } }
  .foo:last-child:not(:first-child) {
    float: right; }
  @media screen and (min-width: 40em) {
    .foo {
      width: 83.33333%; } }

But isn't that still one media query too many?

Yes, but it's not easy to resolve. grid-column() is printing base column styles and the gutter styles, which includes a media query (or more, if you define more gutter sizes). grid-column-size() is being called separately within a media query. That's where the duplication comes from.

So in theory, I would be able to omit this behavior with not using responsible gutters?

Yep, if the feature doesn't interest you, change your grid column settings like so:
$grid-column-responsive-gutter: (
  small: 30px,
) !default;

Alright thanks, that seems to solve my issue!


Relation to node-fontnik?

Since node-fontnik does not support windows, can I use fontnik instead of node-fontnik in production environment?


Issue with Chunk Scores Returning None

Hello,
I’m encountering an issue with the scores of retrieved chunks. Each score is returning as None. Could this be a problem with my code, or is it a potential bug?
Thank you for your help!
milvus_document_store = MilvusDocumentStore(
    connection_args={
        "uri": X
    },
    collection_name=X,
    primary_field="X"
)

def get_pipeline(top_k=10):
    pipeline = Pipeline()
    pipeline.add_component("embedder", AzureOpenAITextEmbedder())
    pipeline.add_component("retriever", MilvusEmbeddingRetriever(document_store=milvus_document_store, top_k=top_k)
    pipeline.connect("embedder", "retriever")
    return pipeline

pipeline = get_pipeline(top_k=10)
r = pipeline.run({"text": "X"})
for doc in r['retriever']['documents']:
    print(doc.score)

> None
...

@NoahAi25  thank you for your report.  have fixed at https://github.com/milvus-io/milvus-haystack/pull/37


Attribute error "jetson.utils.Log" has no attribute "Usage"

Attribute error : type object "jetson.utils.Log" has no attribute "Usage"

@georgekasa have you tried building/installing the latest source from jetson-inference master?

I will install the latest source from your github, thanks


dedge/api entityid

Adds base for updating Microsoft.KeyVault from version preview/7.3-preview to version 7.4-preview
Updates readme
Updates API version in new specs and examples
Key Vault 7.4-preview to 7.4-preview.1 (#15900)
Key Vault keys API: Add OKP key type and EdDSA digital signature (#15989)
Add EntityId to the API definitions for secrets, keys, and certificates

/azp run public.rest-api-specs

@lmazuel the check completed successfully but didn't report back status, even after re-running it. Could you use your magic powers, please?

/azp run


Forcefield.createSystem cannot accept atomtype=False

I was messing around with forcefield.createSystem to see how much time is taken up by all of the steps involved openmm.System compared to the atomtyping step(s). I wanted to use atomtype=False to skip over the atomtyping but found this is not a valid argument. The block at L373 gets skipped over and the function eventually errors out at L428 when it fails to find atomtypes. This is not tested for, and from what I can tell will fail for any system lacking nonbonded parameters.
Maybe this should only be called on a openmm.Topology that already has the appropriate nonbonded information, but I don't see how that can happen - nowhere else in forcefield.py is find_atomtypes called. Perhaps this was saved for a future feature? I'm confused how this case could even happen if createSystem returns openmm.System and there is currently no other operation on openmm.Topology that would fill in that information.
We should either document this or remove atomtype as an argument altogether.

Another suggestion - what if we wrap the if Atomtype block into a separate function?

This is not tested for, and from what I can tell will fail for any system lacking nonbonded parameters.

Good catch. Should definitely have been tested but as you point out is a flawed concept to begin with. IIRC, in the standard openmm createSystem, this is the place where templates are applied -something we would like to support as well. Presumably, there should be some check post atomtyping/templating to assert that all atoms have a type. If they don't, there's not enough information to build a system.

Another suggestion - what if we wrap the if Atomtype block into a separate function?

That seems sensible regardless of the above issues. +1 from me.

👍 I'll see if I can wrangle a PR to at least address the second point

Resolved #159

Atomtyping moved into a new function

atomtype removed as an argument to Forcefield.createSystem


Transport endpoint is not connected

First off, I love this!  This is exactly what I was looking for for Plex.
I was able to successfully connect to my google drive using the steps listed out on GitHub and I was able to upload/download files.However, after some time, it drops the connection telling me the transport endpoint is not connected.   I've tried remounting with no luck.
Here's what gdfuse.log shows :
[0.000638] TID=0: Setting up default filesystem...
[0.000676] TID=0: Loading configuration from /home/user/.gdfuse/default/config...done
Saving configuration in /home/user/.gdfuse/default/config...done
[0.001157] TID=0: Loading application state from /home/user/.gdfuse/default/state...done
Current version: 0.5.3
Setting up cache db...done
Setting up CURL...done
Refresh token already present.
[0.004306] TID=0: Starting filesystem /mnt/gdrive/
[0.015072] TID=0: init_filesystem
[35.449524] TID=0: getattr /
Loading metadata from db...not valid
Refreshing metadata...Refreshing access token...fail (error_code=Exception)
Error refreshing access token (try=0):
Exception:GaeProxy.ServerError("error_code Exception")
Backtrace:
fail (error_code=Exception)
Error refreshing access token (try=1):
Exception:GaeProxy.ServerError("error_code Exception")
Backtrace:
fail (error_code=Exception)
If I remove the .gdfuse directory and start over, it works again until it drops again after some time.
Any ideas?  Thanks in advance!

Closing as duplicate of #106.

I do not see why it's duplicated of #106.
In any case, it's still happening. Ubuntu 18.04, google-drive-ocamlfuse, version 0.7.0
Any workarounds? It's a pity as this was the only decent solution to sync with google drive from ubuntu.


Add GpuSubstring handling to SortOrder canonicalization

Fixes #459.
When canonicalizing a SortOrder to match the CPU, it turns out a GpuSubstring operation can be a child of a SortOrder.  We weren't handling it, so it crashed.  This adds canonicalization handling for GpuSubstring.
Verified this fixes the at-scale TPC-DS query 8 crash.

build

we should have a follow on issue

I filed #1305 to track this.


add this into docker container?

Wondering if anyone has had any luck using the prebuolt images of nginx that include this? Maybe you could share a guide or play-by-play?
I'm about to give this a shot: https://github.com/nginxinc/docker-nginx/issues/226#issuecomment-364897691

FWIW I use nginx with this plugin (although I'm using my fork which has some fixes in it, see kvspb/nginx-auth-ldap#237) in docker, here's my configuration.

I created this for work which we use: https://github.com/AxisCommunications/docker-nginx-ldap
It is based on the official images with basically no changes except this module.


Add Sound to Chrome Notifications

Great tool, works perfect!
But if you could include a sound to the notifications, it would be an huge advantage to recognise the notifications.

+++ Update +++
I studied the source code and found the part where Chrome creates the notfication. So i added at the following lines in the icinga.js file. Also I created a sound folder in the "root-direcotry" of the Plugin to store the sounds.
The function icinga_notification(id, title, message, context) is modified as follows:
 else {
					// Send it
					if ($.inArray(id, notf_store) == -1) {
						// split the message String, to get the type of notification DOWN, WARNING or CRITICAL
						var splMess = message.split("(");
						var notf_type = splMess[1].split(" ");

						notf_store.push(id);
						chrome.notifications.create(id, { 'priority': 2, 'type': 'basic', 'iconUrl': 'img/icon_48.png', 'title': title, 'contextMessage': context , 'message': message }, function(id) { });

						// every notification-type gets its ownn sound

						if (notf_type[0] == 'CRITICAL'){
						var sound = new Audio('sound/critical.mp3');
						sound.play();
						}
						if (notf_type[0] == 'WARNING') {
							var sound = new Audio('sound/warning.mp3');
							sound.play();
						}
						if (notf_type[0] == 'DOWN') {
							var sound = new Audio('sound/down.mp3');
							sound.play();
						}
					}
				}


Create documentation to explain how to create a presentation project using this theme

Like this page https://aneoconsulting.github.io/armonik-docs-theme/guide/installation

That would be great !


Middleware type incorrect for grouping

When using middleware in a router and use that in a grouped route, the Hono router will no longer be of type
Hono<Environment, "/", Schema> but instead be of type Hono<Environment, string, Schema>.
Typescript error:
Argument of type 'Hono<Environment, string, Schema>' is not assignable to parameter of type 'Hono<any, "/", Schema>'.
  Types of property 'router' are incompatible.
    Type 'Router<Handler<string, Environment, Schema>>' is not assignable to type 'Router<Handler<"/", any, Schema>>'.
      Type 'Handler<string, Environment, Schema>' is not assignable to type 'Handler<"/", any, Schema>'.
        Types of parameters 'c' and 'c' are incompatible.
          Type 'Context<"/", any, Schema>' is not assignable to type 'Context<string, Environment, Schema>'.
            The types of 'req.param' are incompatible between these types.
              Type '{ (key: "/"): string; (): Record<"/", string>; }' is not assignable to type '{ (key: string): string; (): Record<string, string>; }'.
                Types of parameters 'key' and 'key' are incompatible.
                  Type 'string' is not assignable to type '"/"'.ts(2345)

Steps to reproduce:
const api = new Hono()
  .use('*', logger())
  .get('/example', (context) => context.json({ foo: 'bar' }))

const app = new Hono()
  .route('/api', api)
  .get('/hello', (context) => context.json({ message: 'Hello there!' }))

export default app

Hi @PietervdWerk !
Thank you for creating the issue.  It's reproduced my environment and I found how to fix it. I'll do it soon!


test(portal): comment out failing test

This test is consistently fails every morning Sydney time for a few hours, thus blocking the merge queue.
For example: https://github.com/firezone/firezone/actions/runs/10327413931/job/28592574546?pr=6237

This test could easily be fixed by using stable datetimes instead of now. I'll do that now.

This test could easily be fixed by using stable datetimes instead of now. I'll do that now.

Spoke too soon. Flows have a min_expires_at which makes using a locked Date/Time here tricky, as that won't achieve what this test is trying to test - that the flow expires at the time in the future.
Can be solved by updating conditions to match the test expectation. Working on that now.

Thank you for fixing this @jamilbk !


How to use model for generation

Hi All,
I have completed training (about 30hrs), how can I generate audio now?
I saw only one file was generated in the results folder.
Thanks

what did you use a GPU(google colab) or CPU to train the model?

Resolved. Used the GeneratorPlugin.


Onionshare 2.6.2 won't connect to tor

Describe the bug
When onionshare tries to connect to a Tor daemon using the control socket, the progress gets stuck at 0% Connecting to the Tor network.
Steps To Reproduce
To Reproduce

Set these settings:
Connect using socket file
Socket file = /var/run/tor/control
SOCKS port = <IP_ADDRESS>, 9050
Try to connect (or test connection).

Debug logs
Output of the GUI with --verbose
When onionshare initially tries to connect, the Tor daemon logs Aug 11 23:25:51.000 [notice] New control connection opened., indicating that it assumes a successful connection.
Expected behavior
Onionshare connects to tor.
Metadata
onionshare issue 1913 opened by @LordMZTE
Notify maintainers
@bbjubjub2494
Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

FWIW version 2.5 from c2c0373ae7abf25b7d69b2df05d3ef8014459ea3 works almost flawlessly (chat function is broken)

after testing previous versions:
2.5 crashes after connecting to tor
2.4 works


Dead Links

Describe the bug
Near the bottom of GitHub Basics are three dead links that all return 404 errors:

labs.github.com
First Week on Github
the First Week on GitHub training lab

To Reproduce
Steps to reproduce the behavior:

Go to GitHub Basics
Scroll down to the "Review & Self Study" section
See the three dead links described above.

Expected behavior
Working links. 😛

Please assign this issue to me, I'll replace them. The links are dead because Learning Lab is now deprecated in favour of GitHub Skills (https://github.blog/2022-06-06-introducing-github-skills/)

Resolved with #1042


ELF _entry_point function does not seem to work as expected

The purpose of the following code snippet in crt0.S seems to allow an external debugger to start running form the ELF entry point after loading the image to the external flash:
// ELF entry point:
.type _entry_point,%function
.thumb_func
.global _entry_point
_entry_point:

#if PICO_NO_FLASH
    // Vector through our own table (SP, VTOR will not have been set up at
    // this point). Same path for debugger entry and bootloader entry.
    ldr r0, =__vectors
#else
    // Debugger tried to run code after loading, so SSI is in 03h-only mode.
    // Go back through bootrom + boot2 to properly initialise flash.
    movs r0, #0
#endif
    ldr r1, =(PPB_BASE + M0PLUS_VTOR_OFFSET)
    str r0, [r1]
    ldmia r0!, {r1, r2}
    msr msp, r1
    bx r2

This, however, does not seem to work in the Segger Ozone. ldmia r0!, {r1, r2} and msr msp, r1 seems to make no difference to r1, r2 or msp. What can be the reason? Can it be that the bootrom and second stage bootloader have not yet configured the flash for XIP and we are trying to execute this entry point in flash?
The work around I used is to update the default generated Segger Ozone Jdebug file to read SP and PC from 0x00000000, thereby making it start from bootrom.
Thanks.

In fact, a better way to do the same is in Ozone is to leave the functions AfterTargetDownload() and AfterTargetReset() in the jdebug file empty which causes the rom bootloader to run: https://wiki.segger.com/Debug_on_a_Target_with_Bootloader
The question then is - is this entry_point needed?
Thanks.

The work around I used is to update the default generated Segger Ozone Jdebug file to read SP and PC from 0x00000000, thereby making it start from bootrom.

That is exactly what happens unless PICO_NO_FLASH=1 as per the comment:
// Debugger tried to run code after loading, so SSI is in 03h-only mode.
// Go back through bootrom + boot2 to properly initialise flash.

The code explicitly reads SP and PC from 0 and jumps to it, you say "seems to make no difference to r1, r2 or msp"; what were these before and after then?
Your debugger is not required to jump to the entry point, but it is quite a sensible way!

The code explicitly reads SP and PC from 0 and jumps to it, you say "seems to make no difference to r1, r2 or msp"; what were these before and after then?

r0 = 0
r1 = E000 ED08
r2 = FFFF FFFF
msp = 4B32 B500

ldmia r0!, {r1, r2} and msr msp, r1 seems to make no change to r0, r1, r2 or msp.

Your debugger is not required to jump to the entry point, but it is quite a sensible way!

My experience is that it is required as the _entry_point code does not work. Which debugger does this code work with?
Thanks.

Can it be that the bootrom and second stage bootloader have not yet configured the flash for XIP and we are trying to execute this entry point in flash?

Ah i missed this... yes, this could be the problem (i.e. garbage is being executed)
this works with (IDE->)gdb->openocd as the flash code for rp2040 in our openocd puts the flash back in generic XIP mode after wiritng to the flash.
How is Ozone writing code to the flash?

Note that we use the entry point by default under debug, since we support non-flash binaries also (i.e. loading directly into RAM).
You can certainly start using the bootrom vector (which is exactly what the flash entry point does anyway) which is what i meant above, but gdb load foo.elf; c is a handy way to debug too.

How is Ozone writing code to the flash?

I am not sure - this is internal to Ozone. Well, as long as this code works for some setup [gdb --> OpenOCD], it is all good.

Note that we use the entry point by default under debug, since we support non-flash binaries also (i.e. loading directly into RAM).

Yes, good point.
Thank you for all the information. I will close this issue.
Thanks.

This issue is mostly over my head, but could a #ifdef DEBUGGER_DOESNT_REENABLE_XIP code-path in crt0.S make sense @kilograham ?


Could you upgrade the card-validator to the latest?

At present, card-validator is far away from the latest version. It is provided in a certain version to change the value of maxLength. I need it

@Dylan0916 I will work on it :)

I'm happy to announce the new version! 🚀 #0.4.6, please check it out!


fix: add concurrency and fixed change checking to workflows

Changes

Add Concurrency to self version reference update workflow to prevent issues with multiple of the same Workflows running at the same time
Fix issue with HAS_CHANGES var not being evaluated properly

Summary by CodeRabbit

New Features

Enhanced workflows for checking and updating SDK and package versions with improved logic for detecting changes.
Added logging for version comparisons to improve visibility of operations.

Bug Fixes

Adjusted conditions for executing update steps to ensure they only run when actual changes are detected.

:tada: This PR is included in version 1.6.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove RTags and bump minimum version to Emacs-28

Per discussion in #227
Remove all RTags modules and all references I managed to find.
Also bump minimum supported version to Emacs-28 and remove all kludges that came
up while scrubbing the code. I have started adding comments like Since Emacs-29 or Until Emacs-28 to make next scrubbing session that little bit
easier.

@philippe-grenet @steve-downey just a friendly reminder to take look at this PR. Let me know if you have any questions or feedback.
Cheers,
PK

Sorry I couldn't find time yet, but I will review it this week. It is mostly code deletion anyway.


End of support message

After re-evaluating Slate and its current state, Shopify has decided to officially end support for Slate.
Why?
With the launch of our new section theme architecture we're taking a step back to examine our current tooling and how we can deliver the best theming experience to our theme developers.
Slate is not in line with our vision for themes moving forward and it does not solve two of the larger asks our theme developers have made:

Local development of a Shopify theme
Support for code versioning within themes

I’m a theme developer that is using Slate. What should I do now?
Slate was built upon Theme Kit as an opinionated way to setup up a Shopify theme build. Shopify will continue to actively maintain and support the growth of Theme Kit through the open-source community.
You can continue using Slate the way you have been. While we will not be maintaining it any longer, you can still fork the repo to suit your own needs.

Themekit while amazing is just a small critical part of tooling for alot of themes, with it's main drawback being that since it's themekit is made with GO the population of possible contributors goes way down.
@wizardlyhel

Support for code versioning within themes

Is that meaning the ask is support for versioning natively on shopify itself?  and things like locksfiles or permissions?
OR is that developers|teams are having trouble inherently using version-control with either slate itself or the theme system|admin?
Trying to get a feel if for most this is

😕) a process education problem
🚀) a lack of access to GIT centric tooling,UI's, or readymade scripts?
🎉) designers fighting developer tooling

@PaulNewton
It's the complexity of where the code is being updated. You, as a theme developer, have no guarantee at any point in time that your theme code is the latest version. This is due to the fact that at any giving point in time, theme code can be altered by:

Online web editor
Apps that have theme edit access
Theme upgrades
Theme uploads

@wizardlyhel this has been a gripe of mine with the Shopify ecosystem in general. Agencies should be able to disable some of these features and receive heads up on these things when working with enterprise clients.

Online web editor
Apps with theme access

Agencies and client Plus accounts should have more granular control. I understand that this is hard due to the thoughts behind what your ecosystem is... But we have had multiple clients who have installed third party apps and then we have to go and cherry pick code to merge it into our version control. This is bad. If a Shopify account codebase is being managed by an agency, there should be mechanisms in place to notify us when the client wishes to change theme code via an app install/setup, which files will change, and what code will go in. That way we can pre-populate our codebase for the app being installed. In terms of clients directly editing code... This should be able to be disabled as a safeguard.

@joniler

we have to go and cherry pick code to merge it into our version control

Is this part due to the using a a build process and the theme output itself not always being in version control?
Or that you also need to back-propagate|reverse-engineer whatever liquid was added into your frameworks language and logic to then put that into VCS?

@PaulNewton From our perspective, it is the later.  It is not uncommon or unusual for a Shopify App install to automatically inject 1,000s of lines of new code across newly introduced files as well as modify virtually every theme file.
For a perfect example of this, set up a fresh theme, install any of Bold's apps as a trial and see how dramatically the code is modified.  Right now there is no way to pull that code back into version control without a lot of manual work.

https://github.com/Shopify/slate/pull/1001
This low maintenance period is time-boxed to 6 months from March 2019. We will re-visit and re-evaluate the project priority and plans for next steps.

Please manage expectations better in the future, knowing how well-used Shopify Slate is by stores, the lack of updates after this announced time-box left a lot of room for interpretation.
Similarly to Shopify, we would like to allocate engineering resources appropriately.

I just had a back and forth with support and they are saying they don’t fully support themekit. Maybe this was incorrect but it seems concerning...

@wizardlyhel why not assign community maintainers instead of letting the project sit? There are probably lots of competent developers who could take up the project and do a great job.
That is the benefit of making things open source in the first place...


Client lags to hell when restarting/starting a round

Logs:
[ERRO] runtime: Caught exception in GameLoop Tick: System.Collections.Generic.KeyNotFoundException: The given key '1202' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Robust.Shared.GameObjects.EntityManager.GetEntity(EntityUid uid) in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Shared/GameObjects/EntityManager.cs:line 124
   at Robust.Client.Player.PlayerManager.UpdateAttachedEntity(Nullable`1 entity) in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Client/Player/PlayerManager.cs:line 136
   at Robust.Client.Player.PlayerManager.ApplyPlayerStates(IEnumerable`1 list) in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Client/Player/PlayerManager.cs:line 101
   at Robust.Client.GameStates.ClientGameStateManager.ApplyGameState(GameState curState, GameState nextState) in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Client/GameStates/ClientGameStateManager.cs:line 344
   at Robust.Client.GameStates.ClientGameStateManager.ApplyGameState() in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Client/GameStates/ClientGameStateManager.cs:line 179
   at Robust.Client.GameController.Update(FrameEventArgs frameEventArgs) in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Client/GameController.cs:line 276
   at Robust.Shared.Timing.GameLoop.Run() in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Shared/Timing/GameLoop.cs:line 180

[ERRO] runtime: Caught exception in GameLoop Tick: System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.ThrowHelper.ThrowNoMatchException()
   at Robust.Client.GameObjects.ClientEntityManager.ApplyEntityStates(EntityState[] curEntStates, IEnumerable`1 deletions, EntityState[] nextEntStates) in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Client/GameObjects/ClientEntityManager.cs:line 47
   at Robust.Client.GameStates.ClientGameStateManager.ApplyGameState(GameState curState, GameState nextState) in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Client/GameStates/ClientGameStateManager.cs:line 343
   at Robust.Client.GameStates.ClientGameStateManager.ApplyGameState() in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Client/GameStates/ClientGameStateManager.cs:line 177
   at Robust.Client.GameController.Update(FrameEventArgs frameEventArgs) in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Client/GameController.cs:line 276
   at Robust.Shared.Timing.GameLoop.Run() in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Shared/Timing/GameLoop.cs:line 180

fixed by b8338bc

Tried in my local and couldnt reproduce, but i think those only ocurred in the server, i will try this out once jenkins update.

Yep, cant reproduce with the release build either, this is fixed


Theme not applying when tk instance changes

Hi, love your theme. I'm not sure if there is my mistake in code since i've just started to learn tk but it seems ok
Problem
I'm using python 3.10 and sv-ttk 2.4.3. I have two windows with different tk instances. After I apply theme to the first window and destroy it, I can't use your theme in other windows.

New window will have tk default theme and applying your theme on new window raises:
Traceback (most recent call last):
  File "**\test.py", line 29, in <module>
    sv_ttk.set_theme("dark")  #gives error
  File "**\Python\Python310\lib\site-packages\sv_ttk\__init__.py", line 30, in wrapper
    return func(*args, **kwargs)
  File "**\Python\Python310\lib\site-packages\sv_ttk\__init__.py", line 41, in set_theme
    root.tk.call("set_theme", theme)
_tkinter.TclError: can't invoke "winfo" command: application has been destroyed

Code to reproduce
from tkinter import *
from tkinter import ttk
import sv_ttk

root = Tk()
root.geometry('450x110')
root.title("Fisrt window")
root.columnconfigure(0, weight=1)
root.rowconfigure(0, weight=1)
mainframe = ttk.Frame(root)
mainframe.grid()

ttk.Button(mainframe, text="Destroy first", command=root.destroy).grid()
sv_ttk.set_theme("dark")
root.mainloop()

new_root = Tk()
new_root.geometry('450x110')
new_root.title("Second window")
new_root.columnconfigure(0, weight=1)
new_root.rowconfigure(0, weight=1)
mainframe = ttk.Frame(new_root)
mainframe.grid()

ttk.Button(mainframe, text="Destroy second", command=new_root.destroy).grid()
#sv_ttk.set_theme("dark")  # gives error
new_root.mainloop()

Workaround
I've found simple solution for me but i guess this cannot be used in production. In sv_ttk_init_.py in line 14 change if not inited: to if True: so it query fresf tk instance every time

Hi! Thanks for using this theme!
This behavior is intentional, as I couldn't think of any scenarios where people would want to use multiple Tk instances in the same program (and they shouldn't).
The second Tk instance initializes a new embedded Tcl interpreter, that doesn't know anything about the previous Tk instance, so the theme won't be applied to its root window. And since sv_ttk doesn't know, that the previous Tk instance was destroyed, and another created, it tries to set the theme on the first instance, and throws an error, since it no longer exists.
Obviously it's not great, that it completely breaks this way, and doesn't give any useful information. That should be fixed.
My question would be why do you need multiple 'Tk' instances?

I have the main window with options and buttons to run different scripts. Since these scrits use different window properties I first destroy main one and then create new clean window(and tk instance) to start with, so i dont forget to change something that I needed in main window but not in the second. For example main window was set to be always on top and i dont need this in other scripts. What's the right way to do this?

So if I understand well, you want to launch totally different scripts from the main window, and then hide the main window. In this case I would use subprocess.Popen to execute a separate Python file, and that way it can have its own root window.
Note that even Tkinter can misbehave if there are multiple root windows in the same program (even if the first is destroyed).

Ok thanks for advise!


[QUESTION] Plans to stream the soundtrack rather than download it all first?

Please tick all applicable boxes.

[x] I am using Python 3.5.3 or higher (run python --version on the command line)
[x] I have followed the official guides to install the bot for my system
[x] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[x] The latest master version (release-260419)
[ ] The latest review version

What type of issue are you creating?

[ ] Bug
[ ] Feature request
[x] Question

Description of issue
I wonder, are there any plans to make this bot stream the music? What I mean by this is, Groovy, for example, will play the sound track as it downloads, as opposed to this bot which downloads the entire sound track and then plays?
If not, is there anyway I can set this up? Is this possible with this bot?
Steps to reproduce

NA

Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
NA

For us, we had choosed this bot because it download music before playing, most of our users ask same songs so the bot is not blacklisted

I mean it's possible but we use youtube-dl which does give us more functionality, however the streaming is lack luster.

I mean it's possible but we use youtube-dl which does give us more functionality, however the streaming is lack luster.


Converted Altium to KiCad actually did it right this time

I converted Altium to Kicad

There are two kicad branches, both of which have a correct board. I have made changes on the kicad branch that should be kept. Thus, I will merge kicad not kicad2.


iperf: 3.11 -> 3.12

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

5 packages built:

bcc
bpftrace
iperf
linuxKernel.packages.linux_5_4.oci-seccomp-bpf-hook (linuxKernel.packages.linux_5_10.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_5_4_hardened.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_6_0.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_6_0_hardened.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_hardened.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_latest_libre.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_libre.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_lqx.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_testing_bcachefs.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_xanmod.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_xanmod_latest.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_xanmod_stable.oci-seccomp-bpf-hook ,linuxKernel.packages.linux_zen.oci-seccomp-bpf-hook)
sockdump

Result of nixpkgs-review run on x86_64-linux 1

After a local rebase, due to https://github.com/NixOS/nixpkgs/issues/199030.

I don't know why ofborg labelled the PR with rebuilds 101-500 when my local nixpkgs-review only built 5 (+ 13 sub-packages?).
iperf 3.12 is a mainly a bugfix release (changelog).


Fix unique constraint failure for integration tests

Coverage remained the same at 43.242% when pulling 6c7f58b4c24a50446855b65d32f197213d64d669 on stgleb:integration_test_fix into be586dee0330bdb314a3c0de37197fe36b6a92d2 on supergiant:master.


Building apprtc fails: revision 8353

Hi,
I'm trying to build webrtc for android using these commands:
get_webrtc
build_apprtc
export WEBRTC_ARCH=armv7 #or armv8, x86, or x86_64
prepare_gyp_defines && execute_build
** The zip file that is generated is less than 918 bytes and has a few empty folders in it.
I'm getting this message which includes an error:
In file included from ../../webrtc/modules/audio_device/audio_device_impl.cc:28:0:
../../webrtc/modules/audio_device/android/audio_device_template.h: In instantiation of 'webrtc::AudioDeviceTemplate<InputType, OutputType>::AudioDeviceTemplate(int32_t) [with InputType = webrtc::OpenSlesInput; OutputType = webrtc::OpenSlesOutput; int32_t = int]':
../../webrtc/modules/audio_device/audio_device_impl.cc:280:85:   required from here
../../webrtc/modules/audio_device/android/audio_device_template.h:40:16: error: no matching function for call to 'webrtc::OpenSlesInput::OpenSlesInput()'
input_() {
^
../../webrtc/modules/audio_device/android/audio_device_template.h:40:16: note: candidate is:
In file included from ../../webrtc/modules/audio_device/audio_device_impl.cc:31:0:
../../webrtc/modules/audio_device/android/opensles_input.h:38:3: note: webrtc::OpenSlesInput::OpenSlesInput(int32_t, webrtc::PlayoutDelayProvider*)
OpenSlesInput(const int32_t id, PlayoutDelayProvider* delay_provider);
^
../../webrtc/modules/audio_device/android/opensles_input.h:38:3: note:   candidate expects 2 arguments, 0 provided
[8/157] CXX obj/webrtc/modules/audio_device/android/audio_device.opensles_input.o
ninja: build stopped: subcommand failed.
Copy JAR File
cp: cannot stat ‘/Repos/webrtc-build-scripts/android/webrtc/src/out_android_armeabi_v7a/Release/libjingle_peerconnection.jar’: No such file or directory
/Repos/webrtc-build-scripts/android/webrtc/src/third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip: '/Repos/webrtc-build-scripts/android/webrtc/src/out_android_armeabi_v7a/Release/libjingle_peerconnection_so.so': No such file
adding: libs/ (stored 0%)
adding: res/ (stored 0%)
adding: jniLibs/ (stored 0%)
adding: jniLibs/x86/ (stored 0%)
adding: jniLibs/armeabi_v7a/ (stored 0%)
adding: jniLibs/x86_64/ (stored 0%)
Release build for apprtc complete for revision 8353

Ok, looks like this is in part due to this issue: https://code.google.com/p/webrtc/issues/detail?id=4293
I can 'build' without errors after I make the suggested source changes, but I only see empty folders in the jniLibs directory of the zip file. Hope I'm just missing something simple.

the same as @i68040 :(

@i68040 see my comments for your issue: https://github.com/pristineio/webrtc-build-scripts/issues/50#issuecomment-74234350

@i68040 seems like to be fixed https://code.google.com/p/webrtc/source/detail?r=8360

                                                                                Yes, it works for me now. I'd close this but my laptop gave me a BSOD and I'm recovering from backups.                                                                                From: Aleksey MalevaniySent: Saturday, February 14, 2015 08:59To: pristineio/webrtc-build-scriptsReply To: pristineio/webrtc-build-scriptsCc: Rion CarterSubject: Re: [webrtc-build-scripts] Building apprtc fails: revision 8353 (#63)@i68040 seems like to be fixed https://code.google.com/p/webrtc/source/detail?r=8360

—Reply to this email directly or view it on GitHub.

@i68040 Can we close this issue?

                                                                                Yes please. I apologize if that wasn't clear from my last reply.                                                                                From: ArikYaSent: Wednesday, February 18, 2015 11:59To: pristineio/webrtc-build-scriptsReply To: pristineio/webrtc-build-scriptsCc: Rion CarterSubject: Re: [webrtc-build-scripts] Building apprtc fails: revision 8353 (#63)@i68040 Can we close this issue?

—Reply to this email directly or view it on GitHub.


Display automatically chosen value for the internal toast editor setting

This is similar to what's being done for the editor scale setting already.
Note: Not cherry-pickable as editor toasts aren't implemented in 3.x.

Thanks!


reformat output of odo list cmd using tabwriter

changes the format of odo list command by using tabwriter for printing the output
fix https://github.com/redhat-developer/odo/issues/256

current output looks like this
$odo list
ACTIVE     NAME         TYPE
           frontend     php
*          pysample     python


Remove space inside double curly braces in vue template

I have the opposite problem mentioned in #2350
Volar (1.8.1) always add spaces in templates, from {{value}} to {{ value }} no matter what I do

"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"vue.autoInsert.bracketSpacing": false

I cannot reproduce it. Could you please share a video? Thanks!

https://github.com/vuejs/language-tools/assets/1233305/ff8bbaa7-2b79-4497-bbe5-8406b9fd71be

Ah, I see. You mean volar will add a space when you save the file right? But I'm not sure if this is caused by volar. Have you installed prettier?

I have prettier installed but the default formatter is Volar for .vue files

Volar currently does not respect this setting when formatting. I'm not sure whether this is a bug or intended behavior, so we may need Johnson to take a look into this :(

Thanks. It is a pain since every time I save a .vue it will reformat it so I end up with many unintentional changes in my commits.

The virtual code used for formatting {{value}} is 1 +value+ 1. TS will insert spaces around the + symbol. You need to check whether the TS settings of VSCode can change this behavior.


Update repo-infra to v0.2.3

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Update repo-infra to the latest release and remove the pin from master.
Which issue(s) this PR fixes:

None
Does this PR have test?
None

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

None

Codecov Report

Merging #682 (da20a79) into master (47db0e8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #682   +/-   ##
=======================================
  Coverage   51.67%   51.67%
=======================================
  Files          31       31
  Lines        2061     2061
=======================================
  Hits         1065     1065
  Misses        943      943
  Partials       53       53

/test pull-security-profiles-operator-test-e2e

/test pull-security-profiles-operator-test-e2e


Implement --exit-on-stdin-disconnect flag for dotnet-monitor collect

Summary
This PR adds a new --exit-on-stdin-disconnect command line switch to dotnet collect. When specified, this will cause dotnet-monitor to watch stdin, and if it closes, will initiate graceful shutdown.
This also made some minor debuggability improvements to the unit test code to make it faster to see which processes were spawned.
Release Notes Entry
Adds new --exit-on-stdin-disconnect command line switch to dotnet collect

I have to figure out why this isn't working on macOS

I completed testing, so feel free to merge whenever you would like.


[Feature Request]: Chroma in client/server mode can communicate through https

Describe the problem

I have reverse-proxied a server using Nginx and enabled HTTPS, but it seems that the client does not support HTTPS.
Describe the proposed solution
Settings(chroma_api_impl="rest",
              chroma_server_host="localhost",
              chroma_server_http_port="8000"
)

I hope here can provide an option for the parameter of https: chroma_server_https = True.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response

Oh, it has already been supported.


spyder internal error [pyflakes E error]

Description
What steps will reproduce the problem?

line = "qwerty asdfg zxcvb"
if len(data:=line.split()) == 3: print("ok")
gives my an error when pressing F8
44, in register_message_definition
self.check_msgid_and_symbol(msgid, symbol)
File "C:\Program Files\Spyder\pkgs\pylint\message\message_id_store.py", line 81, in check_msgid_and_symbol
self._raise_duplicate_symbol(msgid, symbol, existing_symbol)
File "C:\Program Files\Spyder\pkgs\pylint\message\message_id_store.py", line 90, in _raise_duplicate_symbol
raise InvalidMessageError(error_message)
pylint.exceptions.InvalidMessageError: Message id 'W1601' cannot have both 'apply-builtin' and 'using-f-string-in-unsupported-version' as symbolic name.
Traceback
pylint error:

Traceback (most recent call last):
  File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 193, in _run_module_as_main
  File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 85, in _run_code
  File "C:\Program Files\Spyder\pkgs\pylint\__main__.py", line 9, in <module>
    pylint.run_pylint()
  File "C:\Program Files\Spyder\pkgs\pylint\__init__.py", line 24, in run_pylint
    PylintRun(sys.argv[1:])
  File "C:\Program Files\Spyder\pkgs\pylint\lint\run.py", line 279, in __init__
    linter.load_default_plugins()
  File "C:\Program Files\Spyder\pkgs\pylint\lint\pylinter.py", line 579, in load_default_plugins
    checkers.initialize(self)
  File "C:\Program Files\Spyder\pkgs\pylint\checkers\__init__.py", line 133, in initialize
    register_plugins(linter, __path__[0])
  File "C:\Program Files\Spyder\pkgs\pylint\utils\utils.py", line 198, in register_plugins
    module.register(linter)
  File "C:\Program Files\Spyder\pkgs\pylint\checkers\unsupported_version.py", line 85, in register
    linter.register_checker(UnsupportedVersionChecker(linter))
  File "C:\Program Files\Spyder\pkgs\pylint\lint\pylinter.py", line 723, in register_checker
    self.msgs_store.register_messages_from_checker(checker)
  File "C:\Program Files\Spyder\pkgs\pylint\message\message_definition_store.py", line 39, in register_messages_from_checker
    self.register_message(message)
  File "C:\Program Files\Spyder\pkgs\pylint\message\message_definition_store.py", line 44, in register_message
    message.msgid, message.symbol, message.old_names
  File "C:\Program Files\Spyder\pkgs\pylint\message\message_id_store.py", line 44, in register_message_definition
    self.check_msgid_and_symbol(msgid, symbol)
  File "C:\Program Files\Spyder\pkgs\pylint\message\message_id_store.py", line 81, in check_msgid_and_symbol
    self._raise_duplicate_symbol(msgid, symbol, existing_symbol)
  File "C:\Program Files\Spyder\pkgs\pylint\message\message_id_store.py", line 90, in _raise_duplicate_symbol
    raise InvalidMessageError(error_message)
pylint.exceptions.InvalidMessageError: Message id 'W1601' cannot have both 'apply-builtin' and 'using-f-string-in-unsupported-version' as symbolic name.

I am running python 3.10.1

You have to uninstall the previous Spyder version and install the new one after that to avoid this error.

Thanks.
I get:
C:\Users\leif>pip install spyder==5.2.1
Collecting spyder==5.2.1
Using cached spyder-5.2.1-py3-none-any.whl (14.8 MB)
Requirement already satisfied: pygments>=2.0 in
c:\users\leif\appdata\local\programs\python\python310\lib\site-packages
(from spyder==5.2.1) (2.10.0)
Collecting nbconvert>=4.0
Downloading nbconvert-6.3.0-py3-none-any.whl (556 kB)
|████████████████████████████████| 556 kB 3.3 MB/s
Collecting sphinx>=0.6.6
Downloading Sphinx-4.3.2-py3-none-any.whl (3.1 MB)
|████████████████████████████████| 3.1 MB ...
Collecting qtpy>=1.5.0
Downloading QtPy-2.0.0-py3-none-any.whl (62 kB)
|████████████████████████████████| 62 kB 4.5 MB/s
Collecting rtree>=0.9.7
Downloading Rtree-0.9.7.tar.gz (44 kB)
|████████████████████████████████| 44 kB ...
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: parso<0.9.0,>=0.7.0 in
c:\users\leif\appdata\local\programs\python\python310\lib\site-packages
(from spyder==5.2.1) (0.8.3)
Collecting three-merge>=0.1.1
Using cached three_merge-0.1.1-py2.py3-none-any.whl (6.4 kB)
Requirement already satisfied: setuptools>=49.6.0 in
c:\users\leif\appdata\local\programs\python\python310\lib\site-packages
(from spyder==5.2.1) (58.1.0)
Collecting intervaltree>=3.0.2
Downloading intervaltree-3.1.0.tar.gz (32 kB)
Preparing metadata (setup.py) ... done
Collecting pexpect>=4.4.0
Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
ERROR: Could not find a version that satisfies the requirement
pyqtwebengine<5.13 (from spyder) (from versions: 5.14.0, 5.15.0, 5.15.1,
5.15.2, 5.15.3, 5.15.4, 5.15.5)
ERROR: No matching distribution found for pyqtwebengine<5.13
On Sun, Dec 26, 2021 at 8:29 PM Carlos Cordoba @.***>
wrote:

You have to uninstall the previous Spyder version and install the new one
after that to avoid this error.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001329916,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262F4JQYRKIAPXJZLDE3US7TT3ANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***

Please use our Windows installer and not pip to install Spyder. It's way easier and almost error free.
Just remember to uninstall the previous version to install the next one.

where is the 'windows installer'?
On Sun, Dec 26, 2021 at 9:13 PM Carlos Cordoba @.***>
wrote:

Please use our Windows installer and not pip to install Spyder. It's way
easier and almost error free.
Just remember to uninstall the previous version to install the next one.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001340701,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262FYSSGNABXBHXOL6LTUS7YXXANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***

The one you downloaded from our webpage or from here:
https://github.com/spyder-ide/spyder/releases
From your first message it's clear that that's how you installed Spyder.

I have done that three times now. Always with the same result. I need to
use python 3.10. The install gives me version 3.7.9
On Sun, Dec 26, 2021 at 9:32 PM Carlos Cordoba @.***>
wrote:

The one you downloaded from our webpage https://www.spyder-ide.org/ or
from here:
https://github.com/spyder-ide/spyder/releases
From your first message it's clear that that's how you installed Spyder.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001345632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262EHHRC7HCXJUYXUVALUS725DANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***

I appreciate the help. Now I have spyder 5.2.1 with python 3.10.1.
But the problem remains. pyflake or pylint fails with 'spyder internal
error'
On Sun, Dec 26, 2021 at 9:44 PM Leif Svalgaard @.***> wrote:

I have done that three times now. Always with the same result. I need to
use python 3.10. The install gives me version 3.7.9
On Sun, Dec 26, 2021 at 9:32 PM Carlos Cordoba @.***>
wrote:

The one you downloaded from our webpage https://www.spyder-ide.org/ or
from here:
https://github.com/spyder-ide/spyder/releases
From your first message it's clear that that's how you installed Spyder.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001345632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262EHHRC7HCXJUYXUVALUS725DANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***

--
Leif
@.***

so F8 does not work and there is no syntax check in the editor.
The python programs [if error free] does run, through.
On Sun, Dec 26, 2021 at 9:49 PM Leif Svalgaard @.***> wrote:

I appreciate the help. Now I have spyder 5.2.1 with python 3.10.1.
But the problem remains. pyflake or pylint fails with 'spyder internal
error'
On Sun, Dec 26, 2021 at 9:44 PM Leif Svalgaard @.***>
wrote:

I have done that three times now. Always with the same result. I need to
use python 3.10. The install gives me version 3.7.9
On Sun, Dec 26, 2021 at 9:32 PM Carlos Cordoba @.***>
wrote:

The one you downloaded from our webpage https://www.spyder-ide.org/
or from here:
https://github.com/spyder-ide/spyder/releases
From your first message it's clear that that's how you installed Spyder.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001345632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262EHHRC7HCXJUYXUVALUS725DANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***

--
Leif
@.***

--
Leif
@.***

When clicking help in spyder 5.2.1 I get version info:

Spyder version: 5.2.1 None
Python version: 3.7.9 64-bit <====
Qt version: 5.12.10
PyQt5 version: 5.12.3
Operating System: Windows 10

On Sun, Dec 26, 2021 at 9:52 PM Leif Svalgaard @.***> wrote:

so F8 does not work and there is no syntax check in the editor.
The python programs [if error free] does run, through.
On Sun, Dec 26, 2021 at 9:49 PM Leif Svalgaard @.***>
wrote:

I appreciate the help. Now I have spyder 5.2.1 with python 3.10.1.
But the problem remains. pyflake or pylint fails with 'spyder internal
error'
On Sun, Dec 26, 2021 at 9:44 PM Leif Svalgaard @.***>
wrote:

I have done that three times now. Always with the same result. I need to
use python 3.10. The install gives me version 3.7.9
On Sun, Dec 26, 2021 at 9:32 PM Carlos Cordoba @.***>
wrote:

The one you downloaded from our webpage https://www.spyder-ide.org/
or from here:
https://github.com/spyder-ide/spyder/releases
From your first message it's clear that that's how you installed Spyder.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001345632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262EHHRC7HCXJUYXUVALUS725DANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***

--
Leif
@.***

--
Leif
@.***

--
Leif
@.***

If you want to use Python 3.10 with our installer, please check this answer in our docs:
https://docs.spyder-ide.org/5/faq.html#using-packages-installer

Thank you! I'll try to make it work.
But why have you guys made it so complicated?
Why not simply include the stuff needed in the installer?
Spyder 5.2.1 actually works well with 3.10.1
It is only pyflakes or pylint that doesn't work.
On Mon, Dec 27, 2021 at 9:47 AM Carlos Cordoba @.***>
wrote:

If you want to use Python 3.10 with our installer, please check this
answer in our docs:
https://docs.spyder-ide.org/5/faq.html#using-packages-installer
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001674748,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262DP2WHCOCURTKQM5VDUTCRCNANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***

Why not simply include the stuff needed in the installer?

Because "the stuff needed" surely varies from user to user and so it could mean any Python package under the sun (i.e. Seaborn, Scikit-learn, Pytorch, etc, etc).
We're aware this process is complicated, but solving it requires to create a graphical way to manage environments and install packages on them, which is a lot of effort.

but is there a way to just install the pyflakes and pylint that work?
On Mon, Dec 27, 2021 at 10:12 AM Carlos Cordoba @.***>
wrote:

Why not simply include the stuff needed in the installer?
Because "the stuff needed" surely varies from user to user and so it could
mean any Python package under the sun (i.e. Seaborn, Scikit-learn, Pytorch,
etc, etc).
We're aware this process is complicated, but solving it requires to create
a graphical way to manage environments and install packages on them, which
is a lot of effort.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001685219,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262FYCGP5JQUO56BKUHDUTCT7PANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***

As far as I can tell everything works; all the packages I use [matplotlib,
urllib, etc].  The only problem is that the Editor [and F8] does not syntax
check correctly.
On Mon, Dec 27, 2021 at 10:15 AM Leif Svalgaard @.***>
wrote:

but is there a way to just install the pyflakes and pylint that work?
On Mon, Dec 27, 2021 at 10:12 AM Carlos Cordoba @.***>
wrote:

Why not simply include the stuff needed in the installer?
Because "the stuff needed" surely varies from user to user and so it
could mean any Python package under the sun (i.e. Seaborn, Scikit-learn,
Pytorch, etc, etc).
We're aware this process is complicated, but solving it requires to
create a graphical way to manage environments and install packages on them,
which is a lot of effort.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001685219,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262FYCGP5JQUO56BKUHDUTCT7PANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***

--
Leif
@.***

Besides removing the previous installation and installing Spyder again, we don't know why that happens, sorry.

I understand. Perhaps later versions of Spyder will cure the problem. For
now I live with it [I don't make errors anyway 😁].
And thanks for your help.
For fun, here is my latest program. Pyflakes complains about line 29 and
gives up checking the rest of the program.
"""
Created on Tue Aug 17 19:09:32 2021  Original version
Updated on Fri Dec 19 17:50:02 2021  Current  version; need 3.10
@author: Leif Svalgaard
"""
pylint: disable=C0103,C0200,C0321,C0325,C0410,C0411,C0413,C1801
pylint:
disable=R0124,R0912,R0913,R0914,R0915,R1702,R1703,R1705,R1710,R1711
pylint:
disable=W0102,W0104,W0105,W0125,W0612,W0614,W0621,W0622,W0702,W0640
pylint: disable=E1101
def pf(*s,end=''):
""" Print parameters to console and to file 'BR'.  """
if end: print(*s,end=end); print(*s,end=end,file=BR)
else  : print(*s);         print(*s,file=BR)
def sz(i, w=2):
""" Format integer number with leading zeroes.  """
return(str(i).zfill(w))
def take(v):
""" Return the value of 'v' if an integer.  """
return(int(v) if v.isnumeric() else None)
def output(Y,M,D,sym,f):
""" Output symbol for given date to open file 'f'.  """
def nD(Y,M):
""" Return number of days in given month.  """
nd = [0,31,29,31,30,31,30,31,31,30,31,30,31]
if (dm:= nd[M]) == 29 and Y%4 or not Y%100 and Y%400: dm = 28
<======
pyflakes error
return(dm)
if D > nD(Y,M): M += 1; D = 1
if M >   12   : Y += 1; M = 1
if 0: print('' if sym=='N' else 66-ord(sym),file=f)
else: print(Y,sz(M),sz(D),sz(20),      sym, file=f)
D += 1 # ready for next day
return(D,M,Y)

with open("polarity-table.txt",'w') as PT:
with open("brot-sectors.txt",'w') as BR:
import urllib
file = "https://svalgaard.leif.org/research/spolar.txt"
requ = urllib.request.urlopen(file)
text = requ.read().decode().split()
for i,v in enumerate(text[:-9]): # disregard stuff at end
match i%5: # each 'line' has five chunks
case 0: Y = take(v)
case 1: M = take(v)
case 2: D = take(v)
case 3: B = take(v); BL = 27 # Bartels Rot.
case 4:
v += ' '(BL-(len(v))) # pad to Brot length
pf(Y,sz(M),sz(D),sz(B),v,end=' ')
N = [0](SL:=len(S:=" .*X")); Ns = ''
for t in range(BL):
N[(s:= S.find(v[t]))] += 1
D,M,Y = output(Y,M,D,"NABC"[s],PT)
for s in range(SL): Ns += S[s]*N[s]
pf(' '*BL if N[0] else Ns)
On Mon, Dec 27, 2021 at 10:37 AM Carlos Cordoba @.***>
wrote:

Besides removing the previous installation and installing Spyder again, we
don't know why that happens, sorry.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17099#issuecomment-1001694310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXB262HPCH54224LCW5DMGDUTCW5LANCNFSM5KZU67ZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Leif
@.***


bugfix: fix server purge

这个 PR 实现什么功能/修复什么问题:
bugfix: fix server purge
是否需要 backport 到之前的 release 分支:
release/2.10.0
/area region
/cc @Zexi @swordqiu

Codecov Report

Merging #1979 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1979      +/-   ##
=========================================
- Coverage    7.19%   7.19%   -0.01%
=========================================
  Files         445     445
  Lines       69284   69285       +1
=========================================
  Hits         4985    4985
- Misses      63887   63888       +1
  Partials      412     412

Flag
Coverage Δ

#aFlag
7.19% <0%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/guest_actions.go
0% <0%> (ø)
: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 550387c...3f6832c. Read the comment docs.

/lgtm
/approve


Dogehouse and Profile Menu are push off screen on mobile devices when a room name is too long.

Describe the bug
When a room has a long name, it causes other buttons like the home button and profile picture to be moved off screen on smaller mobile devices (IPhone 6s or similar)
To Reproduce
Steps to reproduce the behavior:

Get phone with small screen
Open room with large name
or
Create room
Shrink web browser to smallest size possible

Expected behavior
The text should be abbreviated so that the buttons are not offscreen
Screenshots

What device are you on?
(Screenshot) Chrome, Win10

This was adressed in pr #1206 but apparently it's not working

Confirmed issue persists

let me do this, and also user avatar is not vertically centered, will send pr for both the issues. someone assign this to me.


Missing xdg-user-dirs package in miminal iso image

Hi,
I just installed manjaro-sway-21.1.0-minimal-220130-linux516.iso clean and noticed recording mode doesn't work. The issue was a missing package - xdg-user-dirs, which was needed for /usr/share/sway/scripts/recorder.sh script.
I installed it manually and it started working.
Is this on purpose for minimal version?

Na, not on purpose. I guess most people don't use the minimal edition, so it didn't come up yet. Would you like to update iso profiles accordingly?

Sure! I have no idea how and where, but I'll take a look in the evening :)

I noticed clipboard history not working too - should I fix this too for minimal iso? @boredland

tyvm! as I wrote there: both probably don't belong in a "minimal" image, but since it would be more difficult to remove them in a non-breaking way, I think your solution is very much fine for now.


Fix listeners removing

Codecov Report

Merging #11 into develop will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           develop   #11   +/-   ##
=====================================
  Coverage        0%    0%
=====================================
  Files           40    40
  Lines          761   761
  Branches        32    32
=====================================
  Misses         761   761

Impacted Files
Coverage Δ

...tango/skald/spotify/player/SkaldSpotifyPlayer.java
0% <0%> (ø)
: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 7a55a20...aa5541a. Read the comment docs.


recent update breaks sourcery extensions

hi again, I think your latest update breaks the extension on a regular linux64 machine with the following error:
ImportError: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ~/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/cryptography/hazmat/bindings/_rust.so)

Hi - thanks for the report - which linux version do you have?

$ cat /etc/os-release
NAME="Red Hat Enterprise Linux Workstation"
VERSION="7.9 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Workstation"
VARIANT_ID="workstation"
VERSION_ID="7.9"
PRETTY_NAME="Red Hat Enterprise Linux"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.9:GA:workstation"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

$ uname -i
x86_64

$ uname -o
GNU/Linux

From working with the conda-forge crowd, GLIBC_2.18 is basically pretty new stuff, so this update will likely be breaking sourcery on a lot of older machines (or machines with LTS OS that's not been upgraded to the latest stuff).

(This is not my "personal" machine --- it is a "work" machine where I don't have proper sudo rights to upgrade, so...)

I'm running into the same issue with v0.9.7 of the extension on a very similar RHEL7 setup. Downgrading the extension to v0.9.5 seems to get it working again locally.

I'm seeing the same error as well on CentOS Linux release 7.9.2009 (Core).

Same for me, on all my remove dev nodes I use via SSH.

We recently updated the version of cryptography that Sourcery uses. Cryptography now include rust bindings which created this issue.
The next version of Sourcery will fix this issue by including a manylinux2010 compiled version of cryptography

@brendanator, thanks!
This has been happening with a few times in OS-related things (e.g. your extension breaks as well when it's an arm-based processor). Could you please have a look and clean up the deps to ensure the extension works across different OSs if possible? Or if you tell us which deps is holding you back, we can chase them for you :)

As in, something like cryptography may the same source of arm64 issues... most things have supported the new arch, so it could well be simply changing versions, etc. like with the manylinux2010 fix above.

@ngam this should now be fixed with our latest update - 0.9.8. Could you try it out and let us know?

@Hellebore thanks for following up, it looks like the issue with glibc is resolved. The arm64/aarch64 issues persist (in particular, sourcery on arm64 still runs through rosetta and it completely fails on aarch64, indicating a complete lack of support for arm)

@ngam thanks - I will close this and we will keep that one for broader ARM support. Probably the main thing we need to do is set up a build environment in GitHub actions that runs on ARM - currently we only build for windows, linux and mac, all on intel.