Fixed header doesn't work in the table inside the Spin container

Describe the bug
When placing Data table inside the Spin container, the table header fixation breaks.
Code example
https://codesandbox.io/s/relaxed-bash-jz6yck
To Reproduce
Steps to reproduce the behavior:

Open example
Scroll page down
Make sure that the table header is hidden

Expected behavior
When scrolling, the table title sticks to the top of the screen.

Hi! It doesn't seems like a bug... Spin Container have overflow: hidden;, so you shouldn't expect that content in it will scroll.
Could you rewrite your render like this?
return loading ? <SpinContainer loading={loading} size="l" h={600}/> : (
     <DataTable data={data}>
        <Box position="sticky" top={0} zIndex={2}>
          <DataTable.Head>
            ...
          </DataTable.Head>
        </Box>
        <DataTable.Body />
      </DataTable>
);

And if you need to limit a height of table container, could you show me more information about your case?

Hi Ilya! Okay, I can really just render SpinContainer separately without wrapping the entire table in it. Thank you!


Line break in org-mode when export to html don't work

Use emacs with org-mode 9.3.7 export this
This is a test for \\
export new line.

as html

This is a test for

export new line.

But in doom emacs the line break don't work

This is a test for
export new line.

And #+OPTIONS: \n:t also don't work in doom.

In the latest version of org-mode I believe they renamed the option line-break. Try
#+OPTIONS: line-break:t

The problem solved after reinstall doom, it should be something wrong in my config.
Sorry for issue without full test.

The issue reappear after I install input/chinese module, I think it caused by org-html-paragraph hack.
To me, the default org export logic is enough even for Chinese, the hack seemed not make sense, but it just by design.
I just need fcitx, so I install it separately.

Ah, good catch. I've fixed the advice in ffbd7b6. Thanks for letting me know!


trim the contents of column

It looks like I changed a lot because I ran an auto-formatter tool in sublime text (whoops). The only lines I actually changed start at 167. I just changed the if statement to make sure that the cell is not empty and then to trim the contents of the cell. I want trimming because for some reason the pages I'm using this on contain 3 line breaks before and after the cell text and when I paste it into excel I see all of those line breaks and have to manually move them. This fixed that for me.

@jmbeach I've (finally) merged a version of your change in ec450c2d12cf1f92ed8e994dcc8f359794a16e54 and referenced you for your help on this. Thanks!

@jamesandres nice haha


To hell listtransactions

This is based on #90 and fixes #74 .
We split the listtransactions command into listpresignedtransactions and listonchaintransactions commands. Also added my custom script for regtest management to contrib/ and hardcoded config, that's hacky but we can still improve over...

ACK df85b7f695d13e03ccc4d16c737c3bce75c871c3

ACK 52aa63d -- Re-applying Edouard's ACK after rebasing on top of master, no change


Update manage-trusted-repositories.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @scjane 👍


Duplicate class definition in nested polymorphic models

Issue Description
I have tried to use nested polymorphic models as described and found an issue, that arises when generating the files.
If a nesting (beyond one level) is present, the classes of the n-th level (which still have children) is always included in the class file of it's level, but also of the (n-1)-th level.
That in turn means that the code won't compile because of multiple class definitions.
Expected behavior
No duplicate classes are generated; each superclass is only generated in it's own class-file.
Root cause
The issue stems from the groupClasses function as far as i understand it.
This function associate models, which are sealed with classes that have this model as a superclass. The association does not in turn check if the class that it's trying to add is a sealed class itself. I would propose to fix this by filtering the associated models so that it's made sure that these are not sealed classes. See #283 for the tests that show this issue & #284 for this proposed fix.
Example of issue
As example, you can try generating the api from nestedPolymorphicModels/api.yaml via the cli.
This results in the files CommonObject, FirstLevelChild, FirstLevelDiscriminator, RootDiscriminator, RootType, SecondLevelChild1, SecondLevelChild2, SecondLevelDiscriminator, SecondLevelMetadata.
The errors are present in RootType, FirstLevelChild, SecondLevelChild1, SecondLevelChild2 (only attaching RootType & FirstLevelChild).
RootType.kt
@JsonTypeInfo(
  use = JsonTypeInfo.Id.NAME,
  include = JsonTypeInfo.As.EXISTING_PROPERTY,
  property = "rootDiscriminator",
  visible = true,
)
@JsonSubTypes(JsonSubTypes.Type(value = FirstLevelChild::class, name = "firstLevelChild"))
public sealed class RootType(
  public open val rootField1: String,
  public open val rootField2: Boolean? = null,
) {
  public abstract val rootDiscriminator: RootDiscriminator
}

@JsonTypeInfo(
  use = JsonTypeInfo.Id.NAME,
  include = JsonTypeInfo.As.EXISTING_PROPERTY,
  property = "firstLevelDiscriminator",
  visible = true,
)
@JsonSubTypes(JsonSubTypes.Type(value = SecondLevelChild1::class, name =
    "secondLevelChild1"),JsonSubTypes.Type(value = SecondLevelChild2::class, name =
    "secondLevelChild2"))
public sealed class FirstLevelChild(
  @param:JsonProperty("rootField1")
  @get:JsonProperty("rootField1")
  @get:NotNull
  override val rootField1: String,
  @param:JsonProperty("rootField2")
  @get:JsonProperty("rootField2")
  override val rootField2: Boolean? = null,
  public open val firstLevelField1: String,
  public open val firstLevelField2: Int? = null,
  @get:JsonProperty("rootDiscriminator")
  @get:NotNull
  @param:JsonProperty("rootDiscriminator")
  override val rootDiscriminator: RootDiscriminator = RootDiscriminator.FIRST_LEVEL_CHILD,
) : RootType(rootField1, rootField2) {
  public abstract val firstLevelDiscriminator: FirstLevelDiscriminator
}

FirstLevelChild.kt
@JsonTypeInfo(
  use = JsonTypeInfo.Id.NAME,
  include = JsonTypeInfo.As.EXISTING_PROPERTY,
  property = "firstLevelDiscriminator",
  visible = true,
)
@JsonSubTypes(JsonSubTypes.Type(value = SecondLevelChild1::class, name =
    "secondLevelChild1"),JsonSubTypes.Type(value = SecondLevelChild2::class, name =
    "secondLevelChild2"))
public sealed class FirstLevelChild(
  @param:JsonProperty("rootField1")
  @get:JsonProperty("rootField1")
  @get:NotNull
  override val rootField1: String,
  @param:JsonProperty("rootField2")
  @get:JsonProperty("rootField2")
  override val rootField2: Boolean? = null,
  public open val firstLevelField1: String,
  public open val firstLevelField2: Int? = null,
  @get:JsonProperty("rootDiscriminator")
  @get:NotNull
  @param:JsonProperty("rootDiscriminator")
  override val rootDiscriminator: RootDiscriminator = RootDiscriminator.FIRST_LEVEL_CHILD,
) : RootType(rootField1, rootField2) {
  public abstract val firstLevelDiscriminator: FirstLevelDiscriminator
}

@JsonTypeInfo(
  use = JsonTypeInfo.Id.NAME,
  include = JsonTypeInfo.As.EXISTING_PROPERTY,
  property = "secondLevelDiscriminator",
  visible = true,
)
@JsonSubTypes(JsonSubTypes.Type(value = ThirdLevelChild11::class, name =
    "thirdLevelChild1"),JsonSubTypes.Type(value = ThirdLevelChild12::class, name =
    "thirdLevelChild2"))
public sealed class SecondLevelChild1(
  @param:JsonProperty("rootField1")
  @get:JsonProperty("rootField1")
  @get:NotNull
  override val rootField1: String,
  @param:JsonProperty("rootField2")
  @get:JsonProperty("rootField2")
  override val rootField2: Boolean? = null,
  @param:JsonProperty("firstLevelField1")
  @get:JsonProperty("firstLevelField1")
  @get:NotNull
  override val firstLevelField1: String,
  @param:JsonProperty("firstLevelField2")
  @get:JsonProperty("firstLevelField2")
  override val firstLevelField2: Int? = null,
  public open val metadata: SecondLevelMetadata,
  @get:JsonProperty("firstLevelDiscriminator")
  @get:NotNull
  @param:JsonProperty("firstLevelDiscriminator")
  override val firstLevelDiscriminator: FirstLevelDiscriminator =
      FirstLevelDiscriminator.SECOND_LEVEL_CHILD1,
) : FirstLevelChild(rootField1, rootField2, firstLevelField1, firstLevelField2) {
  public abstract val secondLevelDiscriminator: SecondLevelDiscriminator
}

@JsonTypeInfo(
  use = JsonTypeInfo.Id.NAME,
  include = JsonTypeInfo.As.EXISTING_PROPERTY,
  property = "secondLevelDiscriminator",
  visible = true,
)
@JsonSubTypes(JsonSubTypes.Type(value = ThirdLevelChild21::class, name =
    "thirdLevelChild1"),JsonSubTypes.Type(value = ThirdLevelChild22::class, name =
    "thirdLevelChild2"))
public sealed class SecondLevelChild2(
  @param:JsonProperty("rootField1")
  @get:JsonProperty("rootField1")
  @get:NotNull
  override val rootField1: String,
  @param:JsonProperty("rootField2")
  @get:JsonProperty("rootField2")
  override val rootField2: Boolean? = null,
  @param:JsonProperty("firstLevelField1")
  @get:JsonProperty("firstLevelField1")
  @get:NotNull
  override val firstLevelField1: String,
  @param:JsonProperty("firstLevelField2")
  @get:JsonProperty("firstLevelField2")
  override val firstLevelField2: Int? = null,
  public open val metadata: SecondLevelMetadata,
  @get:JsonProperty("firstLevelDiscriminator")
  @get:NotNull
  @param:JsonProperty("firstLevelDiscriminator")
  override val firstLevelDiscriminator: FirstLevelDiscriminator =
      FirstLevelDiscriminator.SECOND_LEVEL_CHILD2,
) : FirstLevelChild(rootField1, rootField2, firstLevelField1, firstLevelField2) {
  public abstract val secondLevelDiscriminator: SecondLevelDiscriminator
}

Closing this as it's fixed, thank you @cjbooms for the quick response & merge :)

No prob. Thanks to you!


Rename unimplemented! to undefined!

I propose that we rename the unimplemented! macro to undefined!. This is much easier to type, and follows the the similar function in Haskell.

Due to this macro now being stabilized and lack of a method to deprecate macros, I'm going to close this.


chore(build): Add support for nginx 1.27.2

Description
Based on https://github.com/DataDog/nginx-datadog/pull/130

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.17%. Comparing base (bee8dfa) to head (7083129).

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #131   +/-   ##
=======================================
  Coverage   69.17%   69.17%
=======================================
  Files          36       36
  Lines        4883     4883
  Branches      676      676
=======================================
  Hits         3378     3378
  Misses       1151     1151
  Partials      354      354


ThemeMaster Fails to Detect Connection

Before submitting your issue or feature request.  DO NOT REQUEST ASSISTANTS FOR PRELOADED IMAGES.  I do not support or condone the use of preloaded ArkOS images.  Preloaded meaning images that come with copyrighted roms preincluded.  Look for support from the creator or supplier of those preloaded images, not from here!  If a ticket is submitted for assistance for such images or if there's an indiciation that a preloaded image is what the support request is for, the issue ticket will be closed with no further response.

This is not the Stock OS that comes with your device, AmberElec, JelOS, or UnOfficialOS.  ArkOS is a different distribution from those systems and will have differing features.  The only somewhat similarity is that they both use EmulationStation as a frontend.  Even with that, the versions of EmulationStation that's used in between ArkOS and these other distributions is different with different capabilities.  If there are features you prefer with the other available distributions, just use those distributions instead.  The choice is yours.

Have you reviewed the Frequently Asked Questions section available for your supported device in the wiki?

If your issue is related to being able to run certain emulators or ports, have you reviewed the Emulators and Ports section available at https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information for needed bios files and supported rom extensions?

Have you reviewed the known issues section available at https://github.com/christianhaitian/arkos/wiki/Known-issues ?

Describe the Issue (If applicable)

A clear and concise description of what the bug is.

After updating ArkOS from v2.0 09292023 to 10062023, ThemeMaster tool (both v4.4.2 and v4.5.0) thinks device is offline. 09292023 with ThemeMaster v4.4.2 worked when last tried, (approx. 3 days ago)?
How can the issue be reproduced? (If applicable)
Updated ArkOS from v2.0 09292023 to 10062023 using Options menu Update option.
After successful update completion, attempted to run ThemeMaster v4.4.2, and it thinks I’m offline.
Checked WiFi utility, network connection shows as present and active.
Checked JohnIrvine1433/ThemeMaster and  Jetup13/Emulationstation-OGA-Theme-Gallery repos, both active and otherwise accessible online.
Deleted and recreated network connection, restarted device from ES Quit menu, verified connection present and active in WiFi utility, tried ThemeMaster again, still thinks it’s offline.
Cycled WiFiOff/WiFiOn in Options/Advanced, with and without restarting via ES Quit menu, with and without verifying connection present and active in WiFi utility, tried ThemeMaster again, same result.
Cycled Enable/Disable Remote Services in Options, with and without restarts between changes, no change.
Tested other ArkOS online functionality (scraper, PortMaster), connections were successful with both, but still not ThemeMaster.
Found on JohnIrvine1433/ThemeMaster repo that ThemeMaster had been updated to v4.5.0. Manually updated ThemeMaster on device via SSH and retried. ThemeMaster Startup now reflects version ThemeMaster v4.5.0, but even after all on/off disable/enable toggles and restart repeated, ThemeMaster is still not detecting connection.
What device are you using?
Anbernic RG353M, SanDisk Extreme cards for OS and SD2, 49% charge.
What version of ArkOS are you on?

You can find this during the initial boot process right before the Emulationstation loading screen

v2.0 (10062023)
Anything else you'd like to include that may help to review this issue or feature request?

Will also report to JohnIrvine1433/ThemeMaster if possible/applicable.

ThemeMaster 4.30, 4.4.2 and 4.5.0 detect a connection just fine on the latest ArkOS 2.0 10062023 update for me.  I can't replicate this issue yet.  Tried on my rg353m, rg503, and rgb30 units.  All worked fine.

ThemeMaster will think you're offline if it can't ping google.com.  Are you able to ping google.com from where you're located?

ThemeMaster 4.30, 4.4.2 and 4.5.0 detect a connection just fine on the latest ArkOS 2.0 10062023 update for me. I can't replicate this issue yet. Tried on my rg353m, rg503, and rgb30 units. All worked fine.

Perhaps it is my network then. It’s the only thing I’m presently unable to try differently. If it’s working for you, then it’s clearly not ArkOS or ThemeMaster. Thanks for checking!

ThemeMaster will think you're offline if it can't ping google.com. Are you able to ping google.com from where you're located?

I believe so, no problems checking Gmail or YouTube, at least. I will have to try a different network when I am able.

ThemeMaster will think you're offline if it can't ping google.com. Are you able to ping google.com from where you're located?

Just to follow up: I dug around in the thememaster files and changed the url for the test ping to another server, and now it’s working. Guess I wasn’t able to ping Google after all. Thanks for the save!


trigger systems for entities instead of manual flags

core code setup is done, heading back to the media pr to test in headset

pausing on this while working through bringing the manual documentation back up to date now that we're formalizing the review process

havent checked this over yet - @michaelthatsit said he might look this over today tho - a few other things might be pending before i turn off wip so i'll take his pass and then a few of my own before going through full review cycle for merging

@hanbollar ah I think I may have been unclear in the original request. I was suggesting we deprecate needsSystemUpdate in favor of the eventUpdate function i implemented in MRSystem here
Here's how I'm implementing it in the PhysicsSystem for collision shape updates

So I wouldn't implement new events. Instead move the conditional updates into EventUpdate for each system.

up and running - charging headset then i'll test there for the enter/exitvr triggers as well but overall seems to be running nicely

since this is an older pr - manually adding pr checklist here:
Required to Merge

[ ] PASS - all necessary actions must pass (excluding the auto-skipped ones)
[ ] TEST IN HEADSET - main dev-testing-example and any of the other examples still work as expected
[ ] VIDEO - if this pr changes something visually - post a video here of it in headset-MR and/or on desktop (depending on what it affects) for the reviewer to reference.
[ ] TITLE - make sure the pr's title is updated appropriately as it will be used to name the commit on merge
[ ] BREAKING CHANGE

make a pr in the documentation repo that updates the manual docs to match the breaking change
note: the docs underneath the Javascript API section come automated from the jsdocs inline with the code itself
link the pr of the documentation repo here: #pr
that documentation repo pr must be approved by @lobau

up and running - charging headset then i'll test there for the enter/exitvr triggers as well but overall seems to be running nicely

tested in headset with the different examples - seems all good
@michaelthatsit lmk if you find anything ~

@hanbollar It looks like we're getting a pretty noticeable perf hit in-headset. Are you sure you're not accidentally triggering a per-frame update for geometry and material updates?

@hanbollar It looks like we're getting a pretty noticeable perf hit in-headset. Are you sure you're not accidentally triggering a per-frame update for geometry and material updates?

we shouldnt be at all - let me add some consoles to check if anything is triggering them directly and get back to you to confirm, but the update functions themselves being empty should keep that from happening

we shouldnt be at all - let me add some consoles to check if anything is triggering them directly and get back to you to confirm, but the update functions themselves being empty should keep that from happening

Yeah I'm wondering if an event is being triggered every frame and we just hadn't noticed.

went through it and i dont think it's an issue of items being run every frame, i think there's some items that are being run too often individually regardless of frame (whereas before they were only per frame) - like theyre being hit because of other updates or too often in general due to interaction
the three in question that might be over triggered (ie should be run once a frame instead of everytime theyre trigger) - here, for child-updated, and for mouse-events
i think mouse over has to happen as an individual event, but the other two might be better as per-frame updates - or if there's a way we can ignore the in between and only run their updates per frame if theyre triggered for an entity - thoughts?

im going to keep digging on this

Using the perf profiler in chrome it looks like the TextSystem.update is the culprit! looks like some of the logic in update might need to be moved into eventUpdate as well. Most probably updateStyle

good catch! - i'll add that change to this pr

MaterialSystem and GeometrySystem don't show up on the profiler at all tho which is great!

kk @michaelthatsit checked in headset again - /should/ be good now - but lmk if there's anything lingering you'd want me to tackle in this one


[BetterSpotify] Plugin seems to have stopped working.

BetterSpotify used to work flawlessly a while ago. I only just reinstalled it after a while and sadly it has stopped working.
Previously I'd have to play the exact same song the person is listening to, and then press "Listen Along" and the music would sync.
Sadly this does not work anymore.
I tested the plugin on a newer version of Spotify (with xManager). I thought it might have something to do with compatibility, then I downloaded the version of Spotify I used to use where I knew the listen along functionality worked for, however it still didn't work.
"Play on Spotify" button works flawlessly, but "Listen Along" does not.
Regardless of listening to the same song the person is listening to, the plugin still says:
"Failed to play: Make sure your Spotify is running".
Error in Debug Log:

[BetterSpotify] Failed to play. Make sure your Spotify is running
com.aliucord.Http$HttpException: 404: Not Found (https://api.spotify.com/v1/me/player/play)
at com.aliucord.Http$Response.assertOk(Http.java, [BetterSpotify] Failed to play. Make sure your Spotify is running:448)
at dev.vendicated.aliucordplugins.betterspotify.SpotifyApi.request$lambda-4(SpotifyApi.kt:78)
at dev.vendicated.aliucordplugins.betterspotify.SpotifyApi.$r8$lambda$5AoAYxkWKQABjNyqB94Y5vk0pSY(Unknown Source:0)
at dev.vendicated.aliucordplugins.betterspotify.SpotifyApi$$ExternalSyntheticLambda0.run(Unknown Source:10)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)

It works fine, it is just not very stable because the Spotify api sucks and isn't meant for things like this


Add route table fetching using filters

Description
Add filter-based routing table search into AWS backend, i.e. we can add RouteTableFilter string list using Name=Value format to configuration and this filters will be used to get required routing tables.
Todo

[ ] Documentation

Hi @alexey-medvedchikov thanks for this PR! Could you write some documentation outlining why this is an important feature from a user's perspective?
It's also really useful for me to know what testing you've done. What's the risk that this will introduce a regression for people not using this feature?

@tomdee yeah, sure. I've just expected you to check out code for now.
We're using flannel in our proprietary K8S bundle with multiAZ AWS setup. We don't have direct communication between terraform and provisioner, so it's impossible to get RT IDs directly. Other option is to use awscli and pass RT IDs into flanneld configuration, but it requires awscli to be installed and some bash glue. From our perspective it's much easier to do this job inside flannel, since it introduces one simple function.
I've made simple tests with filters configured, checked connectivity. I think AWS e2e tests will be awesome addition.
I don't see any risk for people not using this feature, since missing sections in config not introducing ones and it's explicitly coded "if no filters set do the usual way".

Sounds great to me! If you can add some documentation and hopefully some tests I can get it merged

@alexey-medvedchikov Could you add some documentation to the aws-vpc-backend.md file and I can merge this.


"No module named 'bokeh'"   error when running psu in a venv

First, I'm glad to have found this code as I've just got a new RS305p and I'm looking forward to getting access to it via the USB cable to my Ubuntu 20.10 box.
I've followed the installation instructions but running this always gives me this error.  I had installed bokeh in the virtualenv.  Google searches has not yielded a solution. Any ideas?

I posted a fix and have had no feedback on this issue so closing it


How to apply knowledge

Great work. It was mentioned in the paper that it will search for relevant knowledge and use knowledge to answer. Is there a part about knowledge search in this source code?

@aguang1201 Unfortunately, I do not have access to a large enough database with a consistent stream of update-to-date information. I was looking into integrating something like pinecone for searching relevant information if the cost was low enough for users.
If you have any recommendations on cost-efficient databases let me know.
Best,
Enrico

Thanks for your reply, I'm considering using wikipedia api to find relevant knowledge information and integrate it into the conversation to generate a reply

@aguang1201 I will have to look into the Wikipedia API as well. If you get something working, feel free to open up a pull request!
Thank you,
Enrico

@aguang1201 I found a viable solution utilizing LangChain and SerpApi. I am going to integrate both of them in this library soon.


⚠ Secret Website 1 has degraded performance

In 3965e14, Secret Website 1 ($SECRET_WEBSITE_1) experienced degraded performance:

HTTP code: 200
Response time: 5055 ms

Resolved: Secret Website 1 performance has improved in d2f9243.


Cas::getCurrentUser() Exception

Hi Xavier ! Can you help me ?
I will describe the context of what is happening;
1- I access first page os system and do login

2- Login redirect to cas server and authentication is ok, return to application

3- Cas send ticket via GET but raise exception when getCurrentUser is called

Route, Filter and Controller informations :
Routes

Filters

Controller

PS: Using the "simple example" of jasig PHPcas everythings is ok ..... cas return ticket and i can getCurrentUser.... Whats happen with laravel ?
Thank you for your attention

Hi,
It seems weird to have 'CASAuthServer' suffix in your ticket. I don't really know where that comes from...
Your code seams alright. And if it works with the Jasig package, it's even weirder... Do you see that 'CASAuthServer' string in your URL as well when you're using the Jasig package ?
Xavier

Same error here. Works OK without "ca", doesn't work with. I think "ufscCASAuthServer" is actually the server name (I get a different string there).
In my case the error seems to happen on "Cas::authenticate();"

Is your application using https protocol ? If you're using ca to
authenticate the server, you will need to do it over https.
Xavier
2015-02-10 19:55 GMT+01:00 Jose Andrade<EMAIL_ADDRESS>
Same error here. Works OK without "ca", doesn't work with. I think
"ufscCASAuthServer" is actually the server name (I get a different string
there).
In my case the error seems to happen on "Cas::authenticate();"
—
Reply to this email directly or view it on GitHub
https://github.com/XavRsl/Cas/issues/12#issuecomment-73759460.

--
Xavier

You're right! Thank you! - Problem fixed. It works OK on the production server with SSL enabled.


stack-config json schema

what
Including a comprehensive stack config JSON schema.
why
The goal is to provide infrastructure for linting of config files used by atmos.

Testing fit of schema to existing atmos YAML files:
$ yajsv -s ./cloudposse-stack-config-schema.json
../../example/stacks/workflows.yaml: pass
../../example/stacks/ue2-globals.yaml: pass
../../example/stacks/ue2-prod.yaml: pass
../../example/stacks/ue2-dev.yaml: pass
../../example/stacks/ue2-staging.yaml: pass
../../example/stacks/globals.yaml: fail: components.terraform.vpc: vars is required
../../example/stacks/globals-2.yaml: pass
1 of 7 failed validation
../../example/stacks/globals.yaml: fail: components.terraform.vpc: vars is required

Testing fit of schema to existing atmos YAML files:
$ yajsv -s ./cloudposse-stack-config-schema.json
../../example/stacks/workflows.yaml: pass
../../example/stacks/ue2-globals.yaml: pass
../../example/stacks/ue2-prod.yaml: pass
../../example/stacks/ue2-dev.yaml: pass
../../example/stacks/ue2-staging.yaml: pass
../../example/stacks/globals.yaml: fail: components.terraform.vpc: vars is required
../../example/stacks/globals-2.yaml: pass
1 of 7 failed validation
../../example/stacks/globals.yaml: fail: components.terraform.vpc: vars is required

In its current state, the schema validates all YAML files in example/stacks and all the files included in the .tgz file @osterman sent me.

LGTM


urlgrabber seems to have an implicit dependency on pycurl

Without this I get:
% rosdep install --from-paths src --ignore-src --rosdistro kinetic -y
executing command [sudo -H pip install -U urlgrabber]
Password:
Collecting urlgrabber
  Downloading urlgrabber-3.9.1.tar.gz (72kB)
    100% |████████████████████████████████| 81kB 3.8MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/tmp/pip-build-FT8P3i/urlgrabber/setup.py", line 3, in <module>
        import urlgrabber as _urlgrabber
      File "urlgrabber/__init__.py", line 54, in <module>
        from grabber import urlgrab, urlopen, urlread
      File "urlgrabber/grabber.py", line 427, in <module>
        import pycurl
    ImportError: No module named pycurl

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-FT8P3i/urlgrabber/
ERROR: the following rosdeps failed to install
  pip: command [sudo -H pip install -U urlgrabber] failed

When installing urlgrabber from pip on OS X.

An upstream issue (fedora): https://bugzilla.redhat.com/show_bug.cgi?id=1057150
Installing pycurl first is a simple workaround. Ideally they would fix it in python-urlgrabber.


Update tasks.json

define property

hidden
Fixes #

Proposed Changes

...
...
...

Readiness Checklist
Author/Contributor

[ ] Add entry to the CHANGELOG.md listing the change and linking to the corresponding issue (if appropriate)
[ ] If documentation is needed for this change, has that been included in this pull request

Reviewing Maintainer

[ ] Label as breaking if this is a large fundamental change
[ ] Label as either automation, bug, documentation, enhancement, infrastructure, or performance
-[define],{property}

I don't know this property, what does it change ?


Added Academic.edu and researchgate.net to social tab on profile page OSF-4995, OSF-2427

Purpose
To disable Ace Auto Complete so that it does not pop up on the first character of every word that is typed.
Changes
Disabled Ace Live Auto complete. Ace Basic Auto Complete is still enabled, which means the feature is still there, but must be prompted each time by the user.
Side Effects
Auto Complete no longer pops up for users that need it. It can still be accessed with 'control' + 'space', but for users that rely heavily on this feature, that can be tedious.

Can you look into the failing tests please? :octocat:

Yeah, I'm trying to fix them. I think I took the tickets off of CR1.

While you're looking into the failing tests, can you also look into why the settings page doesn't allow you to save an Academia.edu or ResearchGate link? I think they are related errors.

@sbt9uc Please resend this to develop if this PR is still relevant.

This has been picked up by another intern and will probably see a PR then.


Update README.md

I signed it!
Best Regards,
shanuka gayashan
Tel:<PHONE_NUMBER>180
Skype: shanuka.gayashan
https://www.linkedin.com/pub/shanuka-gayashan/25/875/348
On Wed, May 24, 2017 at 9:57 AM, googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the
company's name.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlesamples/android-architecture-components/pull/21#issuecomment-303614423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAed8upB7bJ8rHVHDF9lIv0fvrjTHmLGks5r87G5gaJpZM4NklYH
.


feat: add CFN dataset IAM role

Issue #, if available:
Description of changes:
added functions to:

generate a CFN IAM role with permissions necessary to perform datasets actions
append a policy to a CFN IAM role that gives permissions to modify a single dataset

Checklist:

[ ] Have you successfully deployed to an AWS account with your changes?
[ ] Have you written new tests for your core changes, as applicable?

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

Could you add in the PR description the testing you performed to verify this business logic?


Supports .yarn modules directory

When using Yarn PnP, the modules directory is .yarn and not node_modules, so that folder should be used as the root of the .cache folder if it exists and node_modules doesn't. Otherwise it results in an additional node_modules folder created just for caching purposes.

Otherwise it results in an additional node_modules folder created just for caching purposes.

Personally I would prefer it keep on doing that as it's what people are used to

Otherwise it results in an additional node_modules folder created just for caching purposes.

Personally I would prefer it keep on doing that as it's what people are used to

The .yarn/.cache path would be used only if there's already a .yarn folder (which means that, except very special edge cases, there's no node_modules folder). I don't think what peoples want is to end up with an empty node_modules folder.

@sindresorhus Who should I assign as reviewer?

@sindresorhus Who should I assign as reviewer?

Can you add a test?

Can you add a test?

The behavior needs to be documented.

The behavior needs to be documented.

When using Yarn PnP, the modules directory is .yarn

This isn't true, it's configurable so it can be anything which is another reason to not make this change

The .yarn/.cache path would be used only if there's already a .yarn folder (which means that, except very special edge cases, there's no node_modules folder).

I get that, my reasoning is still the same, people are used to rm -rf node_modules/.cache clearing the cache of misc tools, having to now run rm -rf .yarn/.cache node_modules/.cache is an unnecessary change. (Need to clear both as not all tools use this package to find that cache)

When using Yarn PnP, the modules directory is .yarn

This isn't true, it's configurable so it can be anything which is another reason to not make this change

The .yarn/.cache path would be used only if there's already a .yarn folder (which means that, except very special edge cases, there's no node_modules folder).

I get that, my reasoning is still the same, people are used to rm -rf node_modules/.cache clearing the cache of misc tools, having to now run rm -rf .yarn/.cache node_modules/.cache is an unnecessary change. (Need to clear both as not all tools use this package to find that cache)

I didn't realize it was configurable. That makes me less in favor of merging this.

I didn't realize it was configurable. That makes me less in favor of merging this.

This isn't true, it's configurable so it can be anything which is another reason to not make this change

Doing some research, it seems the only way I can find how to get this directory is this node module, perhaps. That's assuming it actually provides a way to get where the .cache file should go.
Problem is, in npm it doesn't have a licence, or a link to its source, so I can't justify actually recommending this api. (yet)
@arcanis (sorry for the ping) What do you think? Could you perhaps upload that api to github? A quick search finds that you might have not pushed that library. In addition, what do you think about this issue?

My current workaround is use of the CACHE_DIR environment variable. This works well, as no other deps in my lockfile are making use of node_modules/.cache without using this library. Should this be the case, I'll just pr them to add this library as a dependency.

I'm going to pass on this.


Proposal to abolish the use of dictionary as argument passed to trainer

https://github.com/fastnlp/fastNLP/blob/8a87807274735046a48be8eb4b1ca10801875039/fastNLP/core/trainer.py#L27
To make code more consistent, and debuggable. I propose we abolish the use of dictionary as argument passed to trainer class. instead we can use **kwargs instead, with argument checking. Default values of argument can be stored in a template dictionary.
def foo(**kwargs):

    tmplt = {'arg1': 'value1', 'arg2': 'value2', 'arg3': 'value3', 'arg4': 'value4', 'arg5': 'value5'}
    for k in kwargs:
        if k not in tmplt:
            raise ValueError('Argument error: %s'%k)
        if type(tmplt[k]) != type(kwargs[k]):
            raise ValueError('Argument %s type mismatch: expected %s while get %s' %
                             (k, type(tmplt[k]), type(kwargs[k])))
        tmplt[k] = kwargs[k]
    print(tmplt)

When called,
foo(arg1='hello', arg3='there')

foo(arg1='hello', arg_error='there')

foo(arg1='hello', arg3=1)

The corresponding results would be,
{'arg1': 'hello', 'arg2': 'value2', 'arg3': 'there', 'arg4': 'value4', 'arg5': 'value5'}

The second calling is passed with a false argument name,
Traceback (most recent call last):
  File "test.py", line 16, in <module>
    foo(arg1='hello', arg_error='there')
  File "test.py", line 6, in foo
    raise ValueError('Argument error: %s'%k)
ValueError: Argument error: arg_error

The third calling is passed with right argument name arg3 but with wrong type of content <integer>
Traceback (most recent call last):
  File "test.py", line 20, in <module>
    foo(arg1='hello', arg3=1)
  File "test.py", line 9, in foo
    (k, type(tmplt[k]), type(kwargs[k])))
ValueError: Argument arg3 type mismatch: expected <type 'str'> while get <type 'int'>

User will know exactly what's going on when passed with a wrong argument name or a wrong argument type.
And from a users' perspective, it makes user code more consistent and elegant.

A considerable solution.

but we need to check the argument name and argument type every time we call the function.
an other point, will pycharm (or maybe other ide?), remind the argument name to users while they are coding?

@JerrikEph Thanks for suggestions. kwargs is good for readability, but it introduces more coding.

Most arguments passed to Trainer are loaded as a ConfigSection from a config file. The ConfigSection class has the same interface as a dict.

train_args = ConfigSection()
ConfigLoader.load(train_args)
trainer.train(train_args)

Every time a new setting is added in the config file, you don't need to modify the interface of trainer.train.
But if we use trainer.train(epoch=train_args.epoch, save_model=train_args.save_model, ...), a new argument has to be added by hand.

Trainer has sub-classes. Some sub-class may have more specific arguments. If all arguments are explicitly passed, trainer.train will be very long. This looks ugly.

As I suggest in another issue, if we want default value for Trainer, we shall specify those default value in ConfigSection. This gives both Trainer more freedom and users convenience.

@FengZiYjun
There are ways to pass a dictionary to **kwargs:
arg_dict = {'arg1': 'hello', 'arg3': 'there'}
foo(**arg_dict)

The main concern here is debugability, when user mess up such as passing a wrong key-valued dictionary to the trainer,  the error could be confusing. that would be head-scratching for user to debug what have gone wrong.

I suggest to pass the args like Keras.
def fit(self,
x=None,
y=None,
batch_size=None,
epochs=1,
verbose=1,
callbacks=None,
validation_split=0.,
validation_data=None,
shuffle=True,
class_weight=None,
sample_weight=None,
initial_epoch=0,
steps_per_epoch=None,
validation_steps=None,
**kwargs):
"""Trains the model for a given number of epochs (iterations on a dataset).


Save host for a Vm after migration

Fix saving the host of a Vm after it was migrated when doing
targeted refresh of the Vm.
https://bugzilla.redhat.com/show_bug.cgi?id=1368925

@masayag please review

@miq-bot add-label  euwe/yes

@miq-bot assign @durandom

Indeed, I changed both the PR description and the bug title.

That's a pretty cool solution @borod108 :) let me try to think if there is anything wrong with it :wink:

Not quite as clean as providing the host in inventory, but lets you pass just the ems_ref and uid_ems without having to rework the host_inv_to_hashes so :+1: from me

@borod108 Can't do a clean cherry-pick due to refactoring.  Please make Euwe-specific PR (referencing this one) or suggest other PRs to backport.

@simaishi here is the cherry-pick you requested https://github.com/ManageIQ/manageiq/pull/13618

Backported to Euwe via https://github.com/ManageIQ/manageiq/pull/13618


Add non-graceful node shutdown blog article

~Place holder blog PR for https://github.com/kubernetes/enhancements/issues/2268~
Add blog article for https://github.com/kubernetes/enhancements/issues/2268

@xing-yang Please also consider document this feature on the main website somewhere, in addition to a blog post.

https://github.com/kubernetes/website/pull/32406 is also opened up for the same enhancement issue. We can close either one of them.

I'll mark this as WIP
/retitle [WIP] Add non-graceful node shutdown blog article

https://github.com/kubernetes/website/pull/32406 is also opened up for the same enhancement issue. We can close either one of them.

These two PRs are different.  That one is to add documentation.  This one is for a blog post.

/milestone 1.24

cc @yastij @sonasingh46 @jingxu97 @gnufied @mrunalp

@sftim @YuikoTakada Addressed your comments. PTAL. Thanks.

Thank you for updating. Looks good to me.

@mickeyboxell is there a date we can assign for this article?

@sftim I'll check with the team about the priority and dates.

@xing-yang could we plan to have this ship on 20-MAY-2022?

@xing-yang please revise the publication date and paths to match the assigned date. If you could squash commits too, that'd be ideal.

@kubernetes/sig-node-pr-reviews how does this look? Any concerns?

/assign @mrunalp

Updated publication date and squashed commits.

/milestone clear
v1.24 has been released, but this post can come in after.

I left some nits but it looks good to me overall :+1:

@mrunalp Addressed your comments.  Thanks.

Is this ready to be merged?

/lgtm


SamuraiScan change URL

Source information
SamuraiScan 1.4.39
Source language
Spanish
Source new URL
https://manhuaonline.org/
Other details
Samuraiscan.org is accessible but can no longer be read from there, it redirects to the new url mentioned above.
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

Some titles are still being uploaded to samuraiscan.org while others have been migrated to manhuaonline.org


feat: add aave swapper address

Changelog
Add newly deployed Aave Swapper address.

clsosing in favor of #225 - we did some bigger refactor creating merge conflicts here.


Show compilation time

Component
Forge
Describe the feature you would like
Print time spent compiling, similar to test block summaries:
$ forge build
[⠒] Compiling...
[⠃] Compiling 35 files with 0.6.12
Compiler run successful. Finished in 782.40ms

Additional context
We can add duration to ProjectCompileOutput and OutputDiagnostics in ethers-rs. Should we simply add this to the ethers-rs output message?
TG discussion

(Perhaps this is a pure ethers-rs issue, actually)

Can be implemented by adding it to the reporter: https://github.com/gakonst/foundry/blob/master/cli/src/term.rs#L213-L258

(Perhaps this is a pure ethers-rs issue, actually)

Can be implemented by adding it to the reporter: https://github.com/gakonst/foundry/blob/master/cli/src/term.rs#L213-L258 (also here https://github.com/gakonst/foundry/blob/master/cli/src/term.rs#L149-L195)

yes, best way to do this would be to create a new std::time::Instant before invoking solc and then including the elapsed time when calling the reporter.
the time spent in preprocessing is rather negligible and not really important so makes sense to just focus on time spent in solc

Assigned you since you seemed interested in tackling this in Telegram, let me know if I am incorrect :smile:

relevant lines
https://github.com/gakonst/ethers-rs/blob/3a653472cfb484bab7ae831ad6e3664d24b4e916/ethers-solc/src/compile/project.rs#L460-L462
https://github.com/gakonst/ethers-rs/blob/master/ethers-solc/src/compile/project.rs#L547


Page not found when deploying to Netlify

Hello,
I followed the steps provided but when I deploy to netlify, I get a page not found although there are no errors.
https://notmilkrecipe.netlify.app/
I tried both using the steps cloning from github and using the button "deploy to netlify" and I have the same error on both
https://relaxed-gates-6dd431.netlify.app/

I fixed the issue. For anyone having the same problem in Netlify go to your build > Deploy settings and put the following settings:
Base directory: Not set
Build command: gatsby build
Publish directory: public/


Fix coverage reports

The coverage report seems unreliable, the figure is ~11% but looking at tests here I highly doubt it's that low (also see tts-ros1 which has similar tests and sits at 77%).
There's probably something wrong in the way our coverage reporting works for ROS2 Python packages, need to investigate further.

With https://github.com/aws-robotics/travis-scripts/pull/61, the coverage report improved, but I believe we can do better. If the directory structure of this repo is similar to that of tts-ros1, it would be easier to exclude voicer.py from being part of the coverage report (which tts-ros1 also excludes).
Let's decide if voicer.py should be excluded or not, but if not, we should change tts-ros1 to include it in its coverage reports, too, to be consistent.

We have decided that voicer.py should remain included in the coverage reports, so the current coverage rate of 58% is considered accurate.
Closing this issue as the coverage report is now considered accurate.


LocalTunnel Issue

binance-bot            | events.js:353
binance-mongo          | 2021-05-25T21:21:43.076+0000 I NETWORK  [conn24] end connection <IP_ADDRESS>:39268 (22 connections now open)
binance-bot            |       throw er; // Unhandled 'error' event
binance-mongo          | 2021-05-25T21:21:43.076+0000 I NETWORK  [conn21] end connection <IP_ADDRESS>:39262 (22 connections now open)
binance-bot            |       ^
binance-mongo          | 2021-05-25T21:21:43.076+0000 I NETWORK  [conn22] end connection <IP_ADDRESS>:39264 (22 connections now open)
binance-bot            |
binance-mongo          | 2021-05-25T21:21:43.076+0000 I NETWORK  [conn23] end connection <IP_ADDRESS>:39266 (22 connections now open)
binance-bot            | RangeError: Invalid WebSocket frame: RSV1 must be clear
binance-mongo          | 2021-05-25T21:21:43.076+0000 I NETWORK  [conn18] end connection <IP_ADDRESS>:39256 (22 connections now open)
binance-bot            |     at Receiver.getInfo (/srv/node_modules/ws/lib/receiver.js:178:14)
binance-mongo          | 2021-05-25T21:21:43.076+0000 I NETWORK  [conn17] end connection <IP_ADDRESS>:39254 (22 connections now open)
binance-bot            |     at Receiver.startLoop (/srv/node_modules/ws/lib/receiver.js:131:22)
binance-mongo          | 2021-05-25T21:21:43.076+0000 I NETWORK  [conn19] end connection <IP_ADDRESS>:39258 (22 connections now open)
binance-bot            |     at Receiver._write (/srv/node_modules/ws/lib/receiver.js:78:10)
binance-mongo          | 2021-05-25T21:21:43.076+0000 I NETWORK  [conn20] end connection <IP_ADDRESS>:39260 (22 connections now open)
binance-bot            |     at writeOrBuffer (internal/streams/writable.js:358:12)
s now open)
binance-bot            |     at Receiver.Writable.write (internal/streams/writable.js:303:10)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn15] end connection <IP_ADDRESS>:39250 (14 connections now open)
binance-bot            |     at Socket.socketOnData (/srv/node_modules/ws/lib/websocket.js:910:35)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn13] end connection <IP_ADDRESS>:39246 (14 connections now open)
binance-bot            |     at Socket.emit (events.js:376:20)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn14] end connection <IP_ADDRESS>:39248 (11 connections now open)
binance-bot            |     at addChunk (internal/streams/readable.js:309:12)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn12] end connection <IP_ADDRESS>:39244 (11 connections now open)
binance-bot            |     at readableAddChunk (internal/streams/readable.js:284:9)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn11] end connection <IP_ADDRESS>:39242 (11 connections now open)
binance-bot            |     at Socket.Readable.push (internal/streams/readable.js:223:10)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn10] end connection <IP_ADDRESS>:39240 (11 connections now open)
binance-bot            |     at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn9] end connection <IP_ADDRESS>:39238 (7 connections now open)
binance-bot            | Emitted 'error' event on WebSocket instance at:
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn8] end connection <IP_ADDRESS>:39236 (7 connections now open)
binance-bot            |     at Receiver.receiverOnError (/srv/node_modules/ws/lib/websocket.js:815:13)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn7] end connection <IP_ADDRESS>:39234 (6 connections now open)
binance-bot            |     at Receiver.emit (events.js:376:20)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn6] end connection <IP_ADDRESS>:39232 (6 connections now open)
binance-bot            |     at emitErrorNT (internal/streams/destroy.js:106:8)
binance-mongo          | 2021-05-25T21:21:43.077+0000 I NETWORK  [conn4] end connection <IP_ADDRESS>:39218 (4 connections now open)
binance-bot            |     at emitErrorCloseNT (internal/streams/destroy.js:74:3)
binance-mongo          | 2021-05-25T21:21:43.078+0000 I NETWORK  [conn5] end connection <IP_ADDRESS>:39222 (2 connections now open)
binance-bot            |     at processTicksAndRejections (internal/process/task_queues.js:82:21) {
binance-bot            |   [Symbol(status-code)]: 1002
binance-bot            | }
binance-bot            | [nodemon] app crashed - waiting for file changes before starting...
To Reproduce

building project on windows
open localtunnel address

Pls @salimj6 where did u host it. I'm using wamp but is not working

i am running it in docker.

@salimj6 that log is nothing to do with local tunnel as you can see from the log
binance-mongo | 2021-05-25T21:21:43.077+0000 I NETWORK [conn7] end connection <IP_ADDRESS>:39234 (6 connections now open)

Check docker status
docker ps -a

true, but this error is only appearing when the local tunnel is opened
Now i disabled it

Well, I only have the log you provided to find out what happened. But I am glad to hear you fixed it.
So if it is resolved, please close the issue.


dialog: updated to 1.2.20150920

A new patch release fixing some bugs and cleaning up code. (See Changelog)

Looks good, can you rename the commit according to CONTRIBUTING.md?

Fixed the commit message.


NFC: Update stale references to next(_:)

In the accepted proposal for SE-0421, next(_:) became next(isolation:). Some of the references to that method in the codebase need to be updated accordingly.

@swift-ci please smoke test


question : Unable to find end of central directory record

I have some zipfile saying "Unable to find end of central directory record"
        var ZIP = require('zip');
        var data = Buffer.from(r)
        var reader = ZIP.Reader(data);

        //console.log(reader)

        reader.forEach(function (entry) {              <= here on the forEach
            console.log(entry)
        });

I can unzip them with the linux unzip command, but not with this tool (nor any other I can found)
The linux unzipping say :
unzip -o sortie_xxar400.zip
Archive:  sortie_xxar400.zip
warning [sortie_xxar400.zip]:  22787 extra bytes at beginning or within zipfile
  (attempting to process anyway)
  inflating: 3128340.log
  inflating: ESS_O_3128340_BIP.text
  inflating: ESS_O_3128340_BIP.xml

Is there's a way to "force" the unzipping (attempting to process anyway) in typescript ?
Thanks

@DavidVergison This is often a sign that part of the Central Directory (which is at the end of the zip file) did not get written. I have built my own package which is able to recover these borked zip files by traversing the Local Headers instead.
https://www.npmjs.com/package/@merlin4/zip


selective key restore

This PR contains the swagger definition for selective key restore
User needs to provide the following

The name of the key to be restored
The SAS token pointing to the previous successful full backup

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

The example errors seems false positive, created an issue here https://github.com/Azure/azure-openapi-validator/issues/204, meantime merging to unblock the service team.


typeof vs. arrow function

IINM, the following syntax is illegal:
console.log(typeof () => {}); // SyntaxError

An arrow function has a low precedence (important for expression bodies). It must therefore be parenthesized if it is the operand of typeof:
console.log(typeof (() => {})); // OK

You are entirely right. Attached patch should help.

Cool!


Added default admin user for redash on startup

Creates a default admin user for redash on startup. The output that gets printed after successful execution of terraform apply command looks like this:

redash_email_id =<EMAIL_ADDRESS>redash_password = admin123
redash_username = admin

Nice!

@Neha-Sinha2305 you can merge this if you want! :)

@Neha-Sinha2305 Can you merge this, or are you waiting for something? :)

I thought of waiting for the test execution to complete, but yeah, i haven't made any additional changes so can merge anyway :)


Change floating label background-color to transparent

Description
Floating labels have a background-color set to $input-bg. This can look odd if an input uses a browsers native autocomplete which adds a light blue background to the input. Additionally, if a sites design requires styling of input background colors the floating label will appear with the $input-bg color on top of the input background color.
Motivation & Context
Removes the need to manually override the floating label background color.
Type of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Refactoring (non-breaking change)
[ ] Breaking change (fix or feature that would change existing functionality)

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
[ ] My change introduces changes to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Live previews

https://deploy-preview-39480--twbs-bootstrap.netlify.app/docs/5.3/forms/floating-labels/

Before/after demo: https://stackblitz.com/edit/bs-floating-label-bg?file=index.html
Light theme screenshot:

Dark theme screenshot:

@theodorejb  thanks for adding screenshots!

The background color was added to ensure labels were legible on multi-line inputs or textareas.

@mdo Is there an example where it improves legibility? It seems like the label background is only visible when an input is autofilled.

Here's an example where a solid background is useful:

With the fix in this PR:

@julien-deramond Ah, that is useful for when textarea contents are scrolled.

Thanks for the context @mdo and thanks for the screenshots @julien-deramond! It does make sense for textareas, I def agree.
Does it makes sense to apply this fix to an input field of type password and email since those will almost always be single line inputs? Or I could just make a note how to adjust the css to fix this in the docs.

Does it makes sense to apply this fix to an input field of type password and email since those will almost always be single line inputs? Or I could just make a note how to adjust the css to fix this in the docs.

I don't think there was any particular reason we didn't special case this based on the HTML element. I'm down to see if we can scope the addition of the background-color to just the textarea. Want to take a crack?

I think this can be closed since #39720 was merged.

Yes you're right, thanks for pointing this out @theodorejb
Thanks to all in this PR for the work 🙏, it has been handled slightly differently in https://github.com/twbs/bootstrap/pull/39720


Update Set-CsTeamsUpgradePolicy.md

fix typo (change new-csteamsupgradeppolicy to set-teamsupgradepolicy). and add clearer note.

Docs Build status updates of commit 81ad9ee:
:clock10: Full build: the average full build time is 12 min(s) 10 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 81ad9ee:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsUpgradePolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 540e0e8:
:clock10: Full build: the average full build time is 12 min(s) 10 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 540e0e8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsUpgradePolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit a44c5f5:
:clock10: Full build: the average full build time is 12 min(s) 10 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit a44c5f5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsUpgradePolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Weird avatar image

Hey, so, I've recently downloaded GitLens and without having changed anything, it displays something that looks like a "turd man" as my avatar. I do not have a gravatar or libavatar account and nor is this my GitHub image (as you can see). How do I find out where this image is coming from?
This is what it looks like:

That is by-design, as that icon is one of the gravatar fallback icons. You can choose which set of gravatar fallback icons to use via:
  // Specifies the style of the gravatar default (fallback) images
  //  - identicon: A geometric pattern
  //  - mp: A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)
  //  - monsterid: A monster with different colors, faces, etc
  //  - retro: 8-bit arcade-style pixelated faces
  //  - robohash: A robot with different colors, faces, etc
  //  - wavatar: A face with differing features and backgrounds
  "gitlens.defaultGravatarsStyle": "robohash",

GitLens 11 also adds GitHub avatars, so hopefully that will reduce the times a fallback will happen.


[iOS] TouchableOpacity can be pressed off view when rendered in Section Header

It seems that TouchableOpacity can be pressed off view when rendered in Section Header. It even hooks drag events, which is quite strange.  Repo here: https://github.com/ModusCreateOrg/RN-touachable-opacity-bug

The main view is a modified "Hello world" boilerplate:
https://github.com/ModusCreateOrg/RN-touachable-opacity-bug/blob/master/index.android.js
The ListView is slightly modified:
https://github.com/ModusCreateOrg/RN-touachable-opacity-bug/blob/master/ListViewExample.js
Any suggestions on where i can start troubleshooting would be greatly appreciated. :-\

looks to be the same https://github.com/facebook/react-native/issues/3533 bug

I might have found a permanent solution (For iOS anyway).
@ide @vjeux @nicklockwood  Please let me know if this is something that would be OK performance wise?  It definitely works.
RCTScrollView::docClosestSectionHeader see comments marked JG:  below.

- (void)dockClosestSectionHeader
{
  UIView *contentView = [self contentView];
  CGFloat scrollTop = self.bounds.origin.y + self.contentInset.top;

  // Find the section headers that need to be docked
  __block UIView *previousHeader = nil;
  __block UIView *currentHeader = nil;
  __block UIView *nextHeader = nil;
  NSUInteger subviewCount = contentView.reactSubviews.count;
  [_stickyHeaderIndices enumerateIndexesWithOptions:0 usingBlock:
   ^(NSUInteger idx, __unused BOOL *stop) {

    if (idx >= subviewCount) {
      RCTLogError(@"Sticky header index %zd was outside the range {0, %zd}", idx, subviewCount);
      return;
    }

    UIView *header = contentView.reactSubviews[idx];

    // If nextHeader not yet found, search for docked headers
    if (!nextHeader) {
      CGFloat height = header.bounds.size.height;
      CGFloat top = header.center.y - height * header.layer.anchorPoint.y;
      if (top > scrollTop) {
        nextHeader = header;
      } else {
        previousHeader = currentHeader;
        currentHeader = header;
      }
    }

    // Reset transforms for header views
    header.transform = CGAffineTransformIdentity;
    header.layer.zPosition = ZINDEX_DEFAULT;

  }];

  // If no docked header, bail out
  if (!currentHeader) {
    return;
  }

  // Adjust current header to hug the top of the screen
  CGFloat currentFrameHeight = currentHeader.bounds.size.height;
  CGFloat currentFrameTop = currentHeader.center.y - currentFrameHeight * currentHeader.layer.anchorPoint.y;
  CGFloat yOffset = scrollTop - currentFrameTop;
  if (nextHeader) {
    // The next header nudges the current header out of the way when it reaches
    // the top of the screen
    CGFloat nextFrameHeight = nextHeader.bounds.size.height;
    CGFloat nextFrameTop = nextHeader.center.y - nextFrameHeight * nextHeader.layer.anchorPoint.y;
    CGFloat overlap = currentFrameHeight - (nextFrameTop - scrollTop);
    yOffset -= MAX(0, overlap);
  }
  // JG: Ensure that the current header is visible before making the transform.
  currentHeader.hidden = NO;
  currentHeader.transform = CGAffineTransformMakeTranslation(0, yOffset);
  currentHeader.layer.zPosition = ZINDEX_STICKY_HEADER;

  if (previousHeader) {
    // The previous header sits right above the currentHeader's initial position
    // so it scrolls away nicely once the currentHeader has locked into place
    CGFloat previousFrameHeight = previousHeader.bounds.size.height;
    CGFloat targetCenter = currentFrameTop - previousFrameHeight * (1.0 - previousHeader.layer.anchorPoint.y);
    yOffset = targetCenter - previousHeader.center.y;

    previousHeader.transform = CGAffineTransformMakeTranslation(0, yOffset);
    previousHeader.layer.zPosition = ZINDEX_STICKY_HEADER;
    // JG: Hide the previous header to prevent touches.
    previousHeader.hidden = YES;
  }
}

Demo:

/cc @gre

I'm not sure to understand what your solution does but that doesn't generically address https://github.com/facebook/react-native/issues/3533 bug that views positioned outside of a overflow container are still touchable right?
I'm not sure where the bug could be, but somewhere in the code is missing a check on overflow: hidden (for iOS only, in Android everything seem to work).

@gre, yes. when the section header is scrolled out of bounds, the section header is hidden from view.

@jaygarcia I believe your patch fixes the section headers but as @gre points out there's a more generic bug at play with clipped views receiving touches for some reason. We may need to check clipsToBounds in -[UIView reactTagAtPoint:] or override hitTest:.

@ide , very good point. I honestly was not looking at scrollView outside the context of ListView. TBH, the only time I experienced this (again within the context of ListView), was with section headers.  That's why I targeted them specifically. =)

@gre, @ide
am hoping the above PR fixes things.
Modify RCTView.m line 121 to the following
 if (!subview.clipsToBounds && !subview.isHidden && subview.isUserInteractionEnabled && subview.alpha > 0) {

@gre, I tested your use case as well as mine and everything seems to work as designed.  Am hoping this can be tested by others and verified for fixing.

Cool :-)

Hey @jaygarcia is this still happening, seems like it's been fixed

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/ios-touchableopacity-can-be-pressed-off-view-when-rendered-in-section-header-of-listview
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub. GitHub issues have voting too, nevertheless
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


Changed link to Nexus repo

Quick fix to #99

@ahemaid I was told that the server will be shut down nevertheless, after ISST will move to the their new building end of this year / beginning of next year. You shall update (you may have a look into current messaging-services repo)

Has been done in the latest version


net/udp: Populate the udp connection structure with the address family.

Summary
The udp connection structure contains the field, "domain", which defines which address family it belongs to. Prior to this change, this field was only populated correctly if IPv4 and IPv6 was enabled. As a result, packet information was not processed in udp_recvpktinfo, as expected when the appropriate socket option was enabled.
This PR is actually a reworked version of #9294, which was closed when #9295 was merged. However the additions in #9295 did no solve the current issue.
Impact
The conn->domain field is correctly populated with the address family when only IPv6 is enabled. Further processing of UDP packets, i.e in udp_recvpktinfo, can correctly read the address domain and provide appropriate actions.
Testing
In our application:
We are now able to fetch using in6_pktinfo using recvmsg. Previously this wasn't possible if only the IPV6 stack was enabled. When both IPV4 and IPV6 was enabled, this wasn't an issue.
In NuttX:
Using syslog messages to log the value of the udp_conn_s::domain field.

Thanks, LGTM.


Inverse?

I know this is an old project, but, is there any chance of making the inverse? Converting a .ogg to a .wem?

No, that would be out of scope for this project. Additionally, it could only ever work on a very limited range of input Oggs, as the Wwise encoding uses a particular set of codebooks (which might be everything possible for a given encoder, but I'm not sure). It should be possible to use the Wwise SDK to get files in the right format.


Nodejs botbuilder promises don't Send messages

I'm looking for advice on handling promise resolutions. Here's a really basic sample that will output "start of test" but not "end of test".
var builder = require('botbuilder');
var connector = new builder.ConsoleConnector().listen();
var bot = new builder.UniversalBot(connector);

bot.dialog('/', new builder.IntentDialog()
    .matches(/test/i, function (session) {
    session.send("start of test");
    var p = new Promise(function (resolve, reject) {
        setTimeout(resolve, 5000, 15);
    });
    p.then(function () {
        session.send("end of test");
        console.dir(session);
    });
})
    .onDefault(function (session) {
    session.send("I didn't get that; try /test");
}));

The session object is not null and seems in a good state, but no sending occurs when we reach the end of test position.
Any thoughts welcome.

This is a bug. In some cases, ConsoleConnector leaves the Session object in an inconsistent state, thus preventing subsequent messages from being sent. This should be fixed in the next release, #1023 is the related issue. (Your code should work as expected with ChatConnector.)

Thanks for the insight @Thegaram
I'll await the fix in the release.

@AndyCross It is fixed in botbuilder 3.3.0.


Support for Flash Player v<IP_ADDRESS>5

The Adobe Flash Player August 2023 Release, version <IP_ADDRESS>5, is available.
Please add support for this release. Thank you!
https://www.flash.cn/flashplayer/3400295/install_flash_player_ax_cn.exe
https://www.flash.cn/flashplayer/3400295/install_flash_player_debug_ax_cn.exe
https://www.flash.cn/flashplayer/3400295/install_flash_player_cn.exe
https://www.flash.cn/flashplayer/3400295/install_flash_player_debug_cn.exe
https://www.flash.cn/flashplayer/3400295/install_flash_player_ppapi_cn.exe
https://www.flash.cn/flashplayer/3400295/install_flash_player_debug_ppapi_cn.exe
https://www.flash.cn/cdm/latest/flashplayer_sa.exe
https://www.flash.cn/cdm/latest/flashplayer_sa_debug.exe

295

是去广告版的不？

是去广告版的不？

Translate of quoted comment:"Is these installer ads-free?"
No, these are the original version of the installer, and it will install Flash Helper Service silently when a working internet connection is available.
不是，这些都是原版安装包，如果有网络连接的话会自动静默安装 Flash Helper Service。

I will release a completely safe installer for <IP_ADDRESS>5 today, with no advertisements.

^_^

Installer for <IP_ADDRESS>5 has been released:
https://cdn.cleanflash.org/CleanFlash_<IP_ADDRESS>5_Installer.exe


Rename electron-mattermost to Mattermost at implementation

This PR rename the application at implementation.

npm package name (package.json: name) is "mattermost-desktop"
display name (package.json: productName) is "Mattermost"

As the result, configuration directory will be different from electron-mattermost. To take over the configuration, users have to copy config.json. When releasing the next version, we must announce this point.

CircleCI will pass after merging.

@crspeller, just wondering if you had any feedback?
@yuya-oc, FYI, @crspeller leads build for the Mattermost server and I thought he might be a good person to share any feedback on naming.

@yuya-oc Looks good!  The official binaries for Mattermost have the version number in them now:  https://releases.mattermost.com/2.1.0/mattermost-team-2.1.0-linux-amd64.tar.gz Maybe we should put the mattermost-desktop version number in the same place?
ex: mattermost-desktop-1.0.7-linux-amd64.tar.gz

@crspeller Yes, the version number should be included. At d824ba8e2e88d50b806cac21abb72530a9ef6682, it will be like mattermost-desktop-v1.0.7-linux-x64.tar.gz (electron-mattermost already uses this style). So "v" is the difference and it's just named by git-tag. Which is better?

This will close #77.

We drop the v from our builds so we should drop it here as well.

Thanks, I will drop v.


Various actions on pull requests are broken

Gitea Version
1.16.0+dev-687-g0981ec30c
Git Version
No response
Operating System
No response
How are you running Gitea?
try.gitea.io
Database
No response
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
Various actions on pull requests are broken because the paths point to .../pulls/... instead of  .../issues/... and these actions are only supported on the issues router:

toggling WIP status
subscribe/unsubscribe to notifications
time tracker
add/remove issue dependencies
lock/unlock conversation

A regression from PR #17551 I believe. Same for #17943.
Screenshots
No response

it would be useful to give exact urls for which pages are broken


Term for PMID:35286199

A child of FYPO:0002822: decreased protein localization to mitotic spindle pole body during mitosis

decreased protein localization to mitotic spindle pole body during metaphase

Since only this is missing, I will annotate to the parent and approve the session, mention me when you close so that I edit the annotation.

ght5plo1
ght5Δplo1Δ
FYPO:0002822
decreased protein localization to mitotic spindle pole body during mitosis
Microscopy
during metaphase
Fig. 4
assayed_protein cdc7
Manuel Lera RamÃrez<EMAIL_ADDRESS>

Added, also logical definition from siblings template


how to process dataset

The Artificio/WikiArt dataset is *.parquet from HuggingFace.
After I download the dataset to local, then run pre-train fail.
How to process the local dataset for pre-training？

You can just fix the E4TDataset to your custom torch dataset!


BeforeTest/AfterTest use different threads than the actual test

Hi,
it seems that BeforeTest and AfterTest functions are running on different threads than the actual test. This is problematic for some frameworks like GAE and Objectify. Is it possible to make them all run on the same thread?

Any release date?

I'll merge this back into 3.1.x along with the fix for #413 and release 3.1.11.

Any estimation for a new release version?


SRVKP-5880: Switch to use annotations as labels from PipelineRuns created through Pipelines as Code is deprecated

Fixes: https://issues.redhat.com/browse/SRVKP-5880
Descriptions:
The labels added by PAC have been deprecated and added to PLR annotations. So, use annotations to get the value in the repository list page, repository PLRs list page, and on the PLR details page.
Test steps:
Check Repository list page
PipelineRuns list page for repository
PipelineRun details page
Repository details page

Tested locally. I am able to load PLR list in Repository details page
/lgtm

/cherry-pick release-v1.15.x

manual cherry-pick PR https://github.com/openshift-pipelines/console-plugin/pull/145


Requests with no final slash in rawurl are causing server to stop responding

One of our customers has reported an issue where our server stops responding after a while. After some troubleshooting we found out, that for some http requests an exception is thrown when creating instance of Request class from request context. This causes server to stop responding after a few such requests and needs to be restarted.
This is the exception:
System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
at System.ArraySegment`1..ctor(T[] array, Int32 offset, Int32 count)
at Microsoft.Net.Http.Server.RawUrlHelper.GetPath(Byte[] raw)
at Microsoft.Net.Http.Server.RequestUriBuilder.DecodeAndUnescapePath(Byte[] rawUrlBytes)
at Microsoft.Net.Http.Server.Request..ctor(RequestContext requestContext, NativeRequestContext nativeRequestContext)
at Microsoft.Net.Http.Server.RequestContext..ctor(WebListener server, NativeRequestContext memoryBlob)
at Microsoft.Net.Http.Server.AsyncAcceptContext.IOCompleted(AsyncAcceptContext asyncResult, UInt32 errorCode, UInt32 numBytes)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Server.WebListener.MessagePump.d__23.MoveNext()
This occurs because method call NativeRequestContext.GetRawUrlInBytes() returns absolute url with no final slash ("http://www.bing.com") for some requests. This causes exception to be thrown in the next line when trying to decode url path.

What does a Fiddler trace of that request look like? Something like this?
GET / HTTP/1.1
Host: www.bing.com

The request comes in every few hours and I don't even know which client it comes from. Is there a simple way to enable logging of incoming requests so I could take a look at headers and origin IP? I don't have full access to the server, so I would need to send instructions to my customer on how to enable logging.

It's failing while trying to construct the request so it's not able to log it at this layer. The only logs before this that might help would be down a layer in Http.Sys via ETW:
https://blogs.msdn.microsoft.com/wndp/2007/01/18/event-tracing-in-http-sys-part-1-capturing-a-trace/

@Tratcher The Azure trial expired for the VM the issue was happening on. So I can not reproduce it anymore. Also, I can't figure out which VM template I used for it - it is not obvious where to find that in the portal :/

I think this line  in RawUrlHelper is causing the error:
if (pathStartIndex == -1)
{
    // e.g. for request lines like: 'GET http://myserver' (no final '/')
    pathStartIndex = raw.Length;
}

When returnig result it alwasy throws exception because it tries to return array segment beyond source array limit:
return new ArraySegment<byte>(raw, pathStartIndex, scan - pathStartIndex);

I just ran into this too @Tratcher . I'll make a fix for this now.

@Tratcher @JunTaoLuo @Eilon this may be patch worthy.


Unclear how to configure zeebe-cluster

My problem was that I wanted to setup Zeebe with operate for our benchmarks and
I saw that the throughput was significant lower when we use the zeebe-full instead of the zeebe-cluster chart. https://github.com/zeebe-io/zeebe-benchmark/issues/23
I used the same configuration for the full chart as for the cluster chart, the only difference was that I
put all properties under zeebe-cluster.
Like:
zeebe-cluster:
  image:
    repository: camunda/zeebe
    tag: SNAPSHOT
    pullPolicy: IfNotPresent

  # ZEEBE CFG

  clusterSize: 3
  partitionCount: 3
  replicationFactor: 3
  cpuThreadCount: 4
  ioThreadCount: 4

  ... etc.

I expected that this was the way to go since the README in this repo says the same https://github.com/zeebe-io/zeebe-full-helm. Furthermore I expected that this works that way because the chart is called liked that.
Luckily I found this conversation, which shows the usage of zeebe instead of zeebe-cluster.
This fixes also my benchmark setup and worked now as expected:
zeebe:
  image:
    repository: camunda/zeebe
    tag: SNAPSHOT
    pullPolicy: IfNotPresent

  # ZEEBE CFG

  clusterSize: 3
  partitionCount: 3
  replicationFactor: 3
  cpuThreadCount: 4
  ioThreadCount: 4

  ... etc.

We probably should add an example configuration or something like that how to configure this or we change the name to zeebe-cluster, this would things probably more clear.

We might rename the charts at some point so we can tackle that then


Hi, I want to know what 'integer sample identifier' means in the FASTQ formatting tips.

Hi, I want to know what 'integer sample identifier' means in the following:

Just adding '-1'for all fastq file is needed?
Thx.

Hello @dmsalsgh97 !!! Tell me please : were you able to run properly athena_meta ?

Hello @dmsalsgh97 !!! Tell me please : were you able to run properly athena_meta ?

Hello @dmsalsgh97 !!! Tell me please : were you able to run properly athena_meta ?

Yes. Is there any problem?
It worked well

Hello @dmsalsgh97 !!! Tell me please : were you able to run properly athena_meta ?

Yes. Is there any problem?
It worked well

Yes !! There is a problem.
Its not working well for me
Here is my error
============================== check_reads ==============================
1 chunks to run. Starting...
2021-01-23 19:03:57 - INFO - index fastq /mnt/c/Users/blado/Desktop/workTeam1/firststep/reads.fq
2021-01-23 19:03:57 - INFO - get seed contigs from input assembly
2021-01-23 19:03:57 - INFO - computing seed coverages (required pass thru *bam)
2021-01-23 19:03:58 - INFO -   52 total inputs seeds covering 67751 bases
2021-01-23 19:03:58 - INFO -   3 input seed contigs >= 400bp and >= 10.0x coverage covering 39301 bases
2021-01-23 19:03:58 - INFO - created 4 bins from seeds
2021-01-23 19:03:58 - INFO - done
--> check_reads completed.
============================== subassemble_reads ==============================
4 chunks to run. Starting...
2021-01-23 19:03:58 - INFO - finished subassembly bin.3
2021-01-23 19:03:58 - INFO - finished subassembly bin.1
2021-01-23 19:04:19 - INFO - finished subassembly bin.2
2021-01-23 19:04:23 - INFO - finished subassembly bin.0
--> subassemble_reads completed.
============================== assemble_olc ==============================
1 chunks to run. Starting...
2021-01-23 19:04:24 - INFO - merge input contigs
2021-01-23 19:04:24 - INFO - filter short subassembled contigs and merge with seeds
2021-01-23 19:04:24 - INFO -   - 5 filtered of 8 original contigs remaining
2021-01-23 19:04:24 - INFO - launching Flye OLC assembly
2021-01-23 19:04:24 - INFO -   - cmd:flye --subassemblies ./results/olc/flye-input-contigs.fa --out-dir ./results/olc/flye-asm-1 --genome-size 39301 --threads 4 --min-overlap 1000
[2021-01-23 19:04:26] INFO: Running Flye 2.3.1-release
[2021-01-23 19:04:26] INFO: Assembling reads
[2021-01-23 19:04:26] INFO: Reading sequences
[2021-01-23 19:04:26] INFO: Generating solid k-mer index
[2021-01-23 19:04:59] INFO: Counting kmers (1/2):
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
[2021-01-23 19:04:59] INFO: Counting kmers (2/2):
0% % 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
[2021-01-23 19:04:59] INFO: Filling index table
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
[2021-01-23 19:05:00] INFO: Extending reads
0% 10% 20% 4030% % 6050% 80% 9070% % 10% % % 0% %
[2021-01-23 19:05:00] INFO: Added 6 singleton reads
[2021-01-23 19:05:00] INFO: Assembled 8 draft contigs
[2021-01-23 19:05:00] INFO: Generating contig sequences
10% 20% 40% 50% 70% 80% 100%
[2021-01-23 19:05:00] INFO: Performing repeat analysis
[2021-01-23 19:05:00] INFO: Reading sequences
[2021-01-23 19:05:00] INFO: Building repeat graph
0% 10% 20% 30% 40% 50% % 60% 70% 80% 90% 100%
[2021-01-23 19:05:34] INFO: Aligning reads to the graph
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
[2021-01-23 19:06:08] ERROR: Segmentation fault! Backtrace:
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x41a0ae]
[2021-01-23 19:06:08] ERROR:    /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f9a89866210]
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x42665d]
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x4242c9]
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x404f8c]
[2021-01-23 19:06:08] ERROR:    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f9a898470b3]
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x405f41]
[2021-01-23 19:06:08] ERROR: Command '['flye-repeat', '-k', '15', '-l', '/mnt/c/Users/blado/Desktop/workTeam1/firststep/results/olc/flye-asm-1/flye.log', '-t', '4', '-v', '1000', '/mnt/c/Users/blado/Desktop/workTeam1/firststep/results/olc/flye-asm-1/0-assembly/draft_assembly.fasta', './results/olc/flye-input-contigs.fa', '/mnt/c/Users/blado/Desktop/workTeam1/firststep/results/olc/flye-asm-1/2-repeat', '/home/chris/miniconda3/envs/myenv2/lib/python2.7/site-packages/flye/resource/asm_corrected_reads.cfg']' returned non-zero exit status 1
2021-01-23 19:06:08 - ERROR - ========== Exception ==========
2021-01-23 19:06:08 - ERROR - Traceback (most recent call last):
2021-01-23 19:06:08 - ERROR -   File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/site-packages/athena/pipeline.py", line 51, in _run_chunk
2021-01-23 19:06:08 - ERROR -     chunk.run()
2021-01-23 19:06:08 - ERROR -   File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/site-packages/athena/stages/assemble_olc.py", line 158, in run
2021-01-23 19:06:08 - ERROR -     subprocess.check_call(cmd, shell=True)
2021-01-23 19:06:08 - ERROR -   File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/subprocess.py", line 190, in check_call
2021-01-23 19:06:08 - ERROR -     raise CalledProcessError(retcode, cmd)
2021-01-23 19:06:08 - ERROR - CalledProcessError: Command 'flye --subassemblies ./results/olc/flye-input-contigs.fa --out-dir ./results/olc/flye-asm-1 --genome-size 39301 --threads 4 --min-overlap 1000' returned non-zero exit status 1
2021-01-23 19:06:08 - ERROR -
2021-01-23 19:06:08 - ERROR - Command 'flye --subassemblies ./results/olc/flye-input-contigs.fa --out-dir ./results/olc/flye-asm-1 --genome-size 39301 --threads 4 --min-overlap 1000' returned non-zero exit status 1
Exception in thread Thread-9:
Traceback (most recent call last):
File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/multiprocessing/pool.py", line 392, in _handle_results
task = get()
TypeError: init() takes at least 3 arguments (1 given)

Yes !! There is a problem.
Its not working well for me
Here is my error
============================== check_reads ==============================
1 chunks to run. Starting...
2021-01-23 19:03:57 - INFO - index fastq /mnt/c/Users/blado/Desktop/workTeam1/firststep/reads.fq
2021-01-23 19:03:57 - INFO - get seed contigs from input assembly
2021-01-23 19:03:57 - INFO - computing seed coverages (required pass thru *bam)
2021-01-23 19:03:58 - INFO -   52 total inputs seeds covering 67751 bases
2021-01-23 19:03:58 - INFO -   3 input seed contigs >= 400bp and >= 10.0x coverage covering 39301 bases
2021-01-23 19:03:58 - INFO - created 4 bins from seeds
2021-01-23 19:03:58 - INFO - done
--> check_reads completed.
============================== subassemble_reads ==============================
4 chunks to run. Starting...
2021-01-23 19:03:58 - INFO - finished subassembly bin.3
2021-01-23 19:03:58 - INFO - finished subassembly bin.1
2021-01-23 19:04:19 - INFO - finished subassembly bin.2
2021-01-23 19:04:23 - INFO - finished subassembly bin.0
--> subassemble_reads completed.
============================== assemble_olc ==============================
1 chunks to run. Starting...
2021-01-23 19:04:24 - INFO - merge input contigs
2021-01-23 19:04:24 - INFO - filter short subassembled contigs and merge with seeds
2021-01-23 19:04:24 - INFO -   - 5 filtered of 8 original contigs remaining
2021-01-23 19:04:24 - INFO - launching Flye OLC assembly
2021-01-23 19:04:24 - INFO -   - cmd:flye --subassemblies ./results/olc/flye-input-contigs.fa --out-dir ./results/olc/flye-asm-1 --genome-size 39301 --threads 4 --min-overlap 1000
[2021-01-23 19:04:26] INFO: Running Flye 2.3.1-release
[2021-01-23 19:04:26] INFO: Assembling reads
[2021-01-23 19:04:26] INFO: Reading sequences
[2021-01-23 19:04:26] INFO: Generating solid k-mer index
[2021-01-23 19:04:59] INFO: Counting kmers (1/2):
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
[2021-01-23 19:04:59] INFO: Counting kmers (2/2):
0% % 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
[2021-01-23 19:04:59] INFO: Filling index table
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
[2021-01-23 19:05:00] INFO: Extending reads
0% 10% 20% 4030% % 6050% 80% 9070% % 10% % % 0% %
[2021-01-23 19:05:00] INFO: Added 6 singleton reads
[2021-01-23 19:05:00] INFO: Assembled 8 draft contigs
[2021-01-23 19:05:00] INFO: Generating contig sequences
10% 20% 40% 50% 70% 80% 100%
[2021-01-23 19:05:00] INFO: Performing repeat analysis
[2021-01-23 19:05:00] INFO: Reading sequences
[2021-01-23 19:05:00] INFO: Building repeat graph
0% 10% 20% 30% 40% 50% % 60% 70% 80% 90% 100%
[2021-01-23 19:05:34] INFO: Aligning reads to the graph
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
[2021-01-23 19:06:08] ERROR: Segmentation fault! Backtrace:
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x41a0ae]
[2021-01-23 19:06:08] ERROR:    /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f9a89866210]
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x42665d]
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x4242c9]
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x404f8c]
[2021-01-23 19:06:08] ERROR:    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f9a898470b3]
[2021-01-23 19:06:08] ERROR:    flye-repeat() [0x405f41]
[2021-01-23 19:06:08] ERROR: Command '['flye-repeat', '-k', '15', '-l', '/mnt/c/Users/blado/Desktop/workTeam1/firststep/results/olc/flye-asm-1/flye.log', '-t', '4', '-v', '1000', '/mnt/c/Users/blado/Desktop/workTeam1/firststep/results/olc/flye-asm-1/0-assembly/draft_assembly.fasta', './results/olc/flye-input-contigs.fa', '/mnt/c/Users/blado/Desktop/workTeam1/firststep/results/olc/flye-asm-1/2-repeat', '/home/chris/miniconda3/envs/myenv2/lib/python2.7/site-packages/flye/resource/asm_corrected_reads.cfg']' returned non-zero exit status 1
2021-01-23 19:06:08 - ERROR - ========== Exception ==========
2021-01-23 19:06:08 - ERROR - Traceback (most recent call last):
2021-01-23 19:06:08 - ERROR -   File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/site-packages/athena/pipeline.py", line 51, in _run_chunk
2021-01-23 19:06:08 - ERROR -     chunk.run()
2021-01-23 19:06:08 - ERROR -   File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/site-packages/athena/stages/assemble_olc.py", line 158, in run
2021-01-23 19:06:08 - ERROR -     subprocess.check_call(cmd, shell=True)
2021-01-23 19:06:08 - ERROR -   File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/subprocess.py", line 190, in check_call
2021-01-23 19:06:08 - ERROR -     raise CalledProcessError(retcode, cmd)
2021-01-23 19:06:08 - ERROR - CalledProcessError: Command 'flye --subassemblies ./results/olc/flye-input-contigs.fa --out-dir ./results/olc/flye-asm-1 --genome-size 39301 --threads 4 --min-overlap 1000' returned non-zero exit status 1
2021-01-23 19:06:08 - ERROR -
2021-01-23 19:06:08 - ERROR - Command 'flye --subassemblies ./results/olc/flye-input-contigs.fa --out-dir ./results/olc/flye-asm-1 --genome-size 39301 --threads 4 --min-overlap 1000' returned non-zero exit status 1
Exception in thread Thread-9:
Traceback (most recent call last):
File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/chris/miniconda3/envs/myenv2/lib/python2.7/multiprocessing/pool.py", line 392, in _handle_results
task = get()
TypeError: init() takes at least 3 arguments (1 given)

I solved this issue by downdrading athena.
I've encountered many errors while trying to assemble my metagenome with athena_meta 1.3 which come with flye 2.3.1.
I solved my issue by downgrading athena_meta from 1.3 to 1.2.
Athena 1.2 comes with flye 2.4.2 which actually works perfectly without throwing error!!
Hope this will help someone

I solved this issue by downdrading athena.
I've encountered many errors while trying to assemble my metagenome with athena_meta 1.3 which come with flye 2.3.1.
I solved my issue by downgrading athena_meta from 1.3 to 1.2.
Athena 1.2 comes with flye 2.4.2 which actually works perfectly without throwing error!!
Hope this will help someone


memory eqz appears and disappears unexpectedly depending on guest code

I've run into an issue where an eqz seems to appear/disappear unexpectedly. Here's an example:
let buf = [0u8; 32];
unsafe { sys_rand(&buf, buf.len()) }

In this code, I have a poorly implemented sys_rand that will cause an eqz and this is expected. My implementation of eqz writes buf.len() bytes of random data to the memory region pointed by buf. When I add code that commits an arbitrary message, it runs to completion without the eqz being thrown...
let buf = [0u8; 32];
unsafe { sys_rand(&buf, buf.len()) }
env::commit(b"hello world") // commit something

This code snippet should continue to fail and generate the eqz. Here is the output for the first example:
out.txt
Here's the output for the second example:
out2.txt
Here's the assembly that I have written:
#[inline(always)]
pub unsafe fn sys_rand(buf: &[u8], buf_len: usize) {
    #[cfg(target_os = "zkvm")]
    {
        let mut buf_ptr = buf.as_ptr();
        asm!(
            "ecall",
            in("t0") ecall::SOFTWARE,
            in("a7") nr::SYS_RAND,
            inout("a0") buf_ptr => _,
            in("a1") buf_len,
        );
    }
    #[cfg(not(target_os = "zkvm"))]
    unimplemented!()
}

Note: this isn't a blocker but we should understand what's causing this...

Here's a branch that exposes this: https://github.com/risc0/risc0/tree/ghost-eqz check the commit message for directions on how to run...

Here are the objdumps with/without the commit that hides the eqz
eqz-error-objdump.txt
no-eqz-objdump.txt

As far as I can tell this is what's happening:
When "commit" isn't called, the improperly-written value in 0x02ffff8c is accessed using the "SW" instruction saving temporary registers in env::finalize:
` 8001e68: 23 20 61 13  	sw	s6, 288(sp)
(It looks like the circuitry for "SW" does a read of the location it's about to overwrite)
When "commit" is called, the sw instruction saves to a different memory location, 0x02ffffcc, and then exits.  So nothing else reads the improperly-written value before the program exits.
So it's purely by chance of stack layout that the "commit" version doesn't trigger an error.

Makes sense. So it doesn't fail because we don't access the memory region. So it makes sense that this one fails:
pub fn main() {
    let buf = [0u8; 32];
    unsafe { sys_rand(buf.as_ptr(), buf.len()) }
    env::commit_slice(&buf);
}

@flaub I think this is a non-issue so I'll close. Feel free to reopen if needed. Continuations should detect this because each memory that was written to will be checked after the chunk of code is done. This code snippet
let buf = [0u8; 32];
unsafe { sys_rand(&buf, buf.len()) }

might be a good failing testcase for continuations!

Thanks for getting to the bottom of this :)


Include library/path to github User-Agent

hey api library devs - can you all include your library/path to github in your User-Agent?  -- React

Hey! Awesome, thanks @gdraynz.  I really appreciate the help.  I've been so lazy this last couple weeks.


Unable to find a function for stop/resume command

I am unable to find a function for stop/resume command.
I have to send a stop/resume command independent of previous state. "Mute" toggles with every command.
This is a problem, if I didn't know the current state.
Within main.cpp I've found:
//**************************************************************************************************
//                                     A N A L Y Z E C M D                                         *
//**************************************************************************************************
// Hand...
//   stop                                   // Stop playing                                        *
//   resume                                 // Resume playing                                      *
... but no corresponding function ... and it doesn't work

In the next release, there will be 2 buttons for the mute function:

I know it's a bit of an old issue here but perhaps still relevant to the original question...
I'd like for the radio to be always on but to not use data (I'm planning on putting inside a massage chair with no display).
I did my best to dig into the code and it looks like mute merely puts the volume to zero.  And perhaps this was the original request... is it possible to add "pause" and "play" to both mqtt and a gpio/IR command?

Actually I do have a workaround for now.
Make a preset that points to nothing (ie preset_199 = .mp3) and that basically stops the radio. This can be activated via MQTT...
and probably a GPIO.
Although it looks like I may be better off just putting in a power switch as the speakers have a bit of a static/hum to them while the radio is on.


Grant Application PolkaCasino Project

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below CHF 30k at the time of submission.
[x] The initial PR contains only one commit (squash if needed before submitting your PR).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Fuming Chang:x: PolkaCasinoLabFuming Chang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the application. Overall I think we are quite interested in this kind of application, since we don’t have something similar in our ecosystem yet. I think it might make sense to initially focus on Kusama for this kind of project. However, I have a few questions/comments related to your application:

Could you in general specify the milestones better (e.g. programming language)?
Could you add things like unit-tests, tutorials etc., see https://github.com/w3f/Open-Grants-Program/blob/master/applications/application-template.md
Could you specify which game you want to implement initially?
Could you remove the whitepaper and focus with the website on the substrate-ui part?

Hello, thanks for your reply and the thoughtful questions/comments. We made changes to our application file with respect to the points you made in the questions/comments. Hope you enjoy reading our application.

Thanks again for the application. We had an internal discussion about your project and we don’t think we should support your application. The Web3 Foundation shouldn’t support projects that focus on gambling or use gambling to generate profits. Therefore I’m closing the application. You are more than welcome to apply again with another project.