module.hot.accept does not accep dependency in the middle of the update chain

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Console is populated with next messages, accepted callback is not invoked.

Ignored an update to unaccepted module ./modules/ep-auth/components/LoginPage/LoginPage.js -> ./modules/ep-auth/components/LoginPage/index.js -> ./modules/ep-auth/components/index.js -> ./modules/ep-auth/index.js -> ./Root/Root.js -> ./Root/index.js -> ./index.js -> 0
[HMR] The following modules couldn't be hot updated: (They would need a full reload!)
[HMR]  - ./modules/ep-auth/components/LoginPage/LoginPage.js

If the current behavior is a bug, please provide the steps to reproduce.
const components = [
  './modules/ep-auth/components/index.js',
  './modules/ep-core/components/index.js',
  './modules/ep-users/components/index.js',
];

module.hot.accept(components, () => {
  console.log('run');
});

What is the expected behavior?
Dependency is accepted and callback is invoked.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Chrome, Node.js, webpack, OSX - latest stable versions.

module.hot.accept does not accept a dynamic argument. Inline the list of files into the call.

Absolutely same behavior when I pass array directly as first parameter.

Up and request reopen.
This happens to me too, on the server side, when I call it as module.hot.accept("./appjs", callback).
The passed callback simply isn't invoked.


Do not explicitly specify COS where not needed

Starting with GKE node version 1.19, COS image type is deprecated. I suggest to not explicitly specify any parameters where defaults would work.

Thank you @SergeyKanzhelev for your PR. LGTM and will merge.


add: placeholder for TWN population

@ccerv1 Did you get what you need from @GregCTWang?

@ccerv1 @GlenWeyl Population by Age 15-64: 16,299,548 (Latest data of Feb 2024) from Dept. of Household Registration Affairs

You have until noon eastern tomorrow to merge!

Research Lead, Plural Technology Collaboratoryhttps://aka.ms/plural, Research Special Projects

Collaboratehttps://github.com/pluralitybook/plurality with Digital Minister Audrey Tang, myself and dozens around the world to tell the story of Pluralityhttps://www.plurality.net/

From: GregCTWang @.>
Sent: Sunday, March 17, 2024 10:06 PM
To: pluralitybook/plurality @.>
Cc: Glen Weyl @.>; Mention @.>
Subject: Re: [pluralitybook/plurality] add: placeholder for TWN population (PR #639)
@ccerv1https://github.com/ccerv1 @GlenWeylhttps://github.com/GlenWeyl Population by Age 15-64: 16,299,548 (Latest data of Feb 2024) from Dept. of Household Registration Affairs
—
Reply to this email directly, view it on GitHubhttps://github.com/pluralitybook/plurality/pull/639#issuecomment-2002936942, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABIRKSGHKYRO23FRR2UXFTLYYZY5FAVCNFSM6AAAAABE2KCYE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSHEZTMOJUGI.
You are receiving this because you were mentioned.Message ID: @.***>

Interior Stats Report.xls
@ccerv1 we can add this original data file to the read.me later.

By tomorrow I mean today (eastern time)...11 hours.

Research Lead, Plural Technology Collaboratoryhttps://aka.ms/plural, Research Special Projects

Collaboratehttps://github.com/pluralitybook/plurality with Digital Minister Audrey Tang, myself and dozens around the world to tell the story of Pluralityhttps://www.plurality.net/

From: GregCTWang @.>
Sent: Sunday, March 17, 2024 10:06 PM
To: pluralitybook/plurality @.>
Cc: Glen Weyl @.>; Mention @.>
Subject: Re: [pluralitybook/plurality] add: placeholder for TWN population (PR #639)
@ccerv1https://github.com/ccerv1 @GlenWeylhttps://github.com/GlenWeyl Population by Age 15-64: 16,299,548 (Latest data of Feb 2024) from Dept. of Household Registration Affairs
—
Reply to this email directly, view it on GitHubhttps://github.com/pluralitybook/plurality/pull/639#issuecomment-2002936942, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABIRKSGHKYRO23FRR2UXFTLYYZY5FAVCNFSM6AAAAABE2KCYE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSHEZTMOJUGI.
You are receiving this because you were mentioned.Message ID: @.***>

Thanks @GregCTWang! New figure looks much better :)
Will re-run the script and merge it with the new images shortly.


Amazon Captcha Catches My Scraper

I did make Scraping for Amazon Product Titles but Amazon captcha catches my scraper. I tried 10 times with go run main.go(8 times catches me - 2 times I scrapped the product title)
I researched this but I did not find any solution for golang(there is just python) is there any solution for me?
package main

import (
    "fmt"
    "strings"0

    "github.com/gocolly/colly"
)

func main() {

    // Create a Collector specifically for Shopify
    c := colly.NewCollector(
        colly.AllowedDomains("www.amazon.com", "amazon.com"),
    )
    c.OnHTML("div", func(h *colly.HTMLElement) {
        capctha := h.Text
        title := h.ChildText("span#productTitle")
        fmt.Println(strings.TrimSpace(title))
        fmt.Println(strings.TrimSpace(capctha))
    })

    // Start the collector
    c.Visit("https://www.amazon.com/Bluetooth-Over-Ear-Headphones-Foldable-Prolonged/dp/B07K5214NZ")
}

_Output:
Enter the characters you see below Sorry, we just need to make sure you're not a robot. For best results, please make sure your browser is accepting cookies._

Try to setup headers.

Have you tried Headers? If yes, then whats the result now? is it still 8-2?


Add @web/test-runner reporter

Partially resolved by https://github.com/Brightspace/test-reporting-node/pull/72.

Still need to get test start time in some reasonable way and browser information.

Maybe use reportTestFileResults
https://modern-web.dev/docs/test-runner/reporters/write-your-own/


Research Jetpack Compose

There is too much to update + a big learning curve that I don't want to undertake with Trail Sense.

Not going to adopt this as XML is working fine for me, I don't have much experience with compose, and would have way too much to port over.


ZOSVPC - 2871 Implementation of giving an option of creating z/os vsi with a specified profile size for quick start variation.

Give the option of creating a z/OS VSI
with a specified profile size
validate the input profile size to ensure that z/OS VSI will IPL successfully - that is, >= 2 vCPUS and >= 16GB RAM. For example, the following existing IBM Z profiles will NOT work:
bz2-1x4
bz2-2x8
cz2-2x4
cz2-4x8
Support the profile size option for both quick start and standard variations

Readme file got changed from Pketaki from her custom branch and reflecting in this branch, created a new PR link. https://github.com/terraform-ibm-modules/terraform-ibm-zvsi/pull/160


[HUDI-859]: Added section for key generation in writing data docs

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

hi @pratyakshsharma really great docs, should we also point out the hoodie.datasource.write.keygenerator.class config in this section ?

Will add that the property should be set to CustomKeyGenerator.java class.

@pratyakshsharma Thanks for the updates and sorry for late response. For users not using latest master, they still need use NonpartitionedKeyGenerator, so I think it is valuable to mention it.

@pratyakshsharma Thanks for the updates and sorry for late response. For users not using latest master, they still need use NonpartitionedKeyGenerator, so I think it is valuable to mention it.

In that case, we should mention about existing solutions for other key generation cases as well like SimpleKeyGenerator, ComplexKeyGenerator etc. I was thinking once CustomKeyGenerator gets released as part of 0.6.0 release, then we could mention this in docs something like -
"For those using Hudi versions older than 0.6.0, you can use the following key generators -

Simple record key and custom timestamp based partition path - TimestampBasedKeyGenerator
Composite record keys and composite partition paths - ComplexKeyGenerator
Non partitioned table - NonpartitionedKeyGenerator"

Let me know your thoughts on this @leesf

@leesf  please take a pass.

@pratyakshsharma could you please share the documentation that has an example of composite key uses. We are not getting, how to use it, and also does it also support Pyspark?

@pratyakshsharma could you please share the documentation that has an example of composite key uses. We are not getting, how to use it, and also does it also support Pyspark?


Redis error Error: connect ECONNREFUSED <IP_ADDRESS>:6379

Hi everyone,
I am trying to use the redis-commander via Docker.
Locally I am running the Redis instance like this:
docker run --rm -p 6379:6379 --name redis redis
I can connect to this local instance via "redis-cli".
Now I am trying to run redis-commander via:
docker run --rm --name redis-commander --env REDIS_HOSTS=localhost -p 8081:8081 rediscommander/redis-commander:latest
What I get is this:
setUpConnection (R:localhost:6379:0) Redis error Error: connect ECONNREFUSED <IP_ADDRESS>:6379
However, when I start redis-commander directly via NPM:
$ npm install -g redis-commander
$ redis-commander

it's working without any issues.
I have also tried to pass no REDIS_HOSTS or to set <IP_ADDRESS> and even the port, but it doesn't help.
Could anyone please tell why?
Thanks in advance!

AFAIR Mint is starting a firewall - you need to open the port to allow connections to redis server.
As i said - have you tested to access the redis server from you local system with the ip mentioned? Does this work?
redis-cli -h <IP_ADDRESS>

and then send redis command like "keys * or select 1.
if redis-cli command is not known install client tools via apt-get install redis-tools


Jupyter Notebooks: Issue with PyMol.MolViewer on Windows

When trying to use PyMol Server with Jupyter Notebooks on windows (maybe also on linux?) I get following error:
C:\Anaconda3\lib\site-packages\rdkit\Chem\PyMol.py in GetPNG(self, h, w, preDelay)
	235       except IOError:
	236         time.sleep(0.1)
--> 237     os.unlink(fd.name)
	238     fd=None
	239     if h is not None or w is not None:

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Temp\\tmp7vb9hlq9.png'

This problem is very old and I'm pretty sure there is already an issue for this as I found a fix a while back (don't remember exactly where). The issue can be solved by simply removing the offending line.
This then means images are not deleted but they are in temp directory so not a huge issue.

I use the functionality pretty regularly on linux and the Mac and haven't seen this, but it's easy enough to fix generally.
Thanks for the report!


Finalize blog post

Changes based on review:

fixed a few typos
removed screenshot of paper in appendix due to possible copyright issues
added author name and affiliation and acknowledgements

Please let me know if there are any other edits that I should do.

I just saw the instructions for finalizing the blog post. I will close this PR and do as instructed.

Great, thank you!!


Fix incorrect grammar

🦠 What

Change it's to its

👩🔬 Why
Ownership does not require an apostrophe

🧪 Testing
💪 Manual
Read the readme

Thanks @blakedietz! Appreciate any help with keeping the docs up to snuff! 😄


Bug - Stacked Capacitor Banks w/ Wireless Charger

With a Wireless Charger in operation a newly crafted stack of Capacitor Banks fully charge as one (in inventory of course), costing no more power than it would take to charge a single Capacitor Bank.

Which version do you use? This should have been fixed since version 2.2.0

The FTB modpack I'm using still has 2.1.8. So that's probably it.
I looked over this subsection of the forum and didn't notice any mention of it.
All the same, thank you for the reply.


Target build not vuln  (Win10Pro)

target Win10 Pro 1809
mshta is ok
bypass with error why
(koadic: imp/ele/bypassuac_eventvwr)# run
[-] Zombie 0: Job 0 (implant/elevate/bypassuac_eventvwr) failed!
[-] Target build not vuln (100000000): The target may not be vulnerable to this implant. Set IGNOREBUILD to true to run anyway.

Your target may not be vulnerable to this implant. You could set IGNOREBUILD to true to run anyway.
Alternatively, use another bypass implant.

1809 is 17763, try bypassuac_compdefaults or bypassuac_fodhelper.
If they ain't work just the way it is.


[Enhancement] Provide more space below the option to choose welcome tour on Sign Posting page

Summary
Equal padding above and below "Not sure where to start? Take the welcome tour" on Sign posting page

@ramsaptami Can you test this in below DP
https://appsmith-git-chore-7422-sign-posting-equal-f1884b-get-appsmith.vercel.app/

This looks good @albinAppsmith, we can merge this. A small change on this - can we move the comma before the space in the last step of signposting please?

@ramsaptami  made that change also


"obp_well" notebook - error when trying to view the fitted density trend

Hi Yu Hao,
I've tried running your "obp_well" notebook and keep getting the following error when trying to view
the fitted density trend:
"RuntimeWarning: invalid value encountered in power
return 1.70 + a * z**b"

Warnings are not errors. If np.nan is inputted to the calculation, warnings will raised. But nothing is going wrong, it's just informing us, the output will be np.nan as expected.


[Bug report] authorizations:authorization-ranger:test FAILED (Cron Integration Test 20241013)

Version
main branch
Describe what's wrong
RangerHiveE2EIT > testAllowUseSchemaPrivilege() FAILED

Error message and/or stacktrace
> Task :authorizations:authorization-ranger:test

RangerHiveE2EIT > testAllowUseSchemaPrivilege() FAILED
    java.lang.RuntimeException: org.apache.ranger.RangerServiceException: Ranger API org.apache.ranger.RangerClient$API@41018b17 failed: statusCode=400, status=Bad Request, response:{"statusCode":1,"msgDesc":"(0) Validation failure: error code[3006], reason[Another policy already exists for this name: policy-id=[15], service=[hiveDev]], field[policy name], subfield[null], type[semantically incorrect] (1) Validation failure: error code[3010], reason[Another policy already exists for matching resource: policy-name=[rangerhivee2eit_catalog_5d6abec7.rangerhivee2eit_schema_1509b955], service=[hiveDev]], field[resources], subfield[null], type[semantically incorrect] "}
        at org.apache.gravitino.authorization.ranger.RangerAuthorizationPlugin.doAddSecurableObject(RangerAuthorizationPlugin.java:455)
        at org.apache.gravitino.authorization.ranger.RangerAuthorizationPlugin.onRoleUpdated(RangerAuthorizationPlugin.java:152)
        at org.apache.gravitino.authorization.ranger.RangerAuthorizationPlugin.onRoleCreated(RangerAuthorizationPlugin.java:116)
        at org.apache.gravitino.authorization.ranger.integration.test.RangerHiveE2EIT.testAllowUseSchemaPrivilege(RangerHiveE2EIT.java:236)

        Caused by:
        org.apache.ranger.RangerServiceException: Ranger API org.apache.ranger.RangerClient$API@41018b17 failed: statusCode=400, status=Bad Request, response:{"statusCode":1,"msgDesc":"(0) Validation failure: error code[3006], reason[Another policy already exists for this name: policy-id=[15], service=[hiveDev]], field[policy name], subfield[null], type[semantically incorrect] (1) Validation failure: error code[3010], reason[Another policy already exists for matching resource: policy-name=[rangerhivee2eit_catalog_5d6abec7.rangerhivee2eit_schema_1509b955], service=[hiveDev]], field[resources], subfield[null], type[semantically incorrect] "}
            at app//org.apache.ranger.RangerClient.responseHandler(RangerClient.java:521)
            at app//org.apache.ranger.RangerClient.callAPI(RangerClient.java:563)
            at app//org.apache.ranger.RangerClient.createPolicy(RangerClient.java:256)
            at app//org.apache.gravitino.authorization.ranger.RangerAuthorizationPlugin.doAddSecurableObject(RangerAuthorizationPlugin.java:450)
            ... 3 more

18 tests completed, 1 failed
:authorizations:authorization-ranger:test failure marker

> Task :authorizations:authorization-ranger:test FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
37 actionable tasks: 3 executed, 34 up-to-date
Error: Process completed with exit code 1.

How to reproduce
It can be reproduced by Cron Integration Test 20241013
Additional context
No response

This issue is related to CI environment, not the code bug, we can fix it in the future.


Add a configuration option for the refresh token requests

This pull requests adds a refreshTokenSubmitProp that can be used to change the name of the prop used to send the token for token refresh.

done

Hi, any idea on the release schedule ? Is this feature planned for the next RC ?

i'ts merged, so yes. and should get out this week

Ok perfect !


Commands do not unregister

When the command is defined by [RocketCommand(...)] it is still accessible even if the plugin gets unloaded  (tested when the plugin was unloading itself)

#1007


[develop] Pickles - Runtime table tests

Revamping https://github.com/MinaProtocol/mina/pull/14064
Explain your changes:
*
Explain how you tested your changes:
*
Checklist:

[ ] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closes #0000

Tests are working now, at least locally :partying_face:


correction to stackreference example step 5

File: themes/default/content/registry/packages/aws/how-to-guides/aws-ts-stackreference.md
step 5 copy box should be "department" instead of "company"
cd ../department
npm install

@onching thanks for reporting the issue!! we will take a look as soon as we can.


RTMP support

Can we use this react-flowplayer for RTMP live streaming ?

You cannot use rtmp in html5 video. It's a Flash-only protocol and Adobe stopped Flash support months ago.

Okay, so, does this player support websocket url ?

You need a https url to an MP4 file or HLS/DASH stream.


Content ids for unpublishings and coming soon

Send content IDs for Coming Soon pseudo-format.
Add content IDs to unpublishings.
Add base path to redirects.

Part of https://trello.com/c/pULByuHs/393-fix-invalid-content-store-data

@elliotcm this looks good to merge :+1:


Add support for using a template to render resource output files

Basic templating support, +example, +test.
Provides https://github.com/Innablr/revolver/issues/202

Sample output from the included template

As pointed out by @alutman-innablr this breaks webpack/bundle:
WARNING in ./node_modules/nunjucks/src/node-loaders.js 120:17-38
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/nunjucks/src/loaders.js 5:0-42
 @ ./node_modules/nunjucks/index.js 8:14-38
 @ ./lib/objectLog.ts 13:19-38
 @ ./lib/accountRevolver.ts 11:20-42
 @ ./revolver.ts 8:26-58

1 warning has detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

ERROR in ./node_modules/fsevents/fsevents.node 1:0
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
 @ ./node_modules/fsevents/fsevents.js 13:15-41
 @ ./node_modules/chokidar/lib/fsevents-handler.js 9:13-32
 @ ./node_modules/chokidar/index.js 15:24-57
 @ ./node_modules/nunjucks/src/node-loaders.js 35:19-38 92:19-38
 @ ./node_modules/nunjucks/src/loaders.js 5:0-42
 @ ./node_modules/nunjucks/index.js 8:14-38
 @ ./lib/objectLog.ts 13:19-38
 @ ./lib/accountRevolver.ts 11:20-42
 @ ./revolver.ts 8:26-58

webpack 5.90.3 compiled with 1 error and 1 warning in 51986 ms

I spend an hour playing with node-loader (to fix the fsevents.node):
      {
        test: /.node$/,
        loader: 'node-loader',
      },

and exports-loader to fix the next error after that:
      {
        test: /nunjucks\/browser\/nunjucks\.js$/,
        loader: 'exports-loader',
        options: {
          exports: 'nunjucks',
        },
      },

and simple-nunjucks-loader to load the templates:
      {
        test: /\.njk$/,
        use: [
          {
            loader: 'simple-nunjucks-loader',
            options: {},
          },
        ],
      },

but I couldn't figure out the magic spell to make the template-renderer work (both in non-webpack, and in webpack):
  getOutput(): string {
    const templateFile = path.join(__dirname, 'templates', this.templateName);
    const env = nunjucks_configure({ autoescape: true });
    const s = env.render(templateFile, {
      data: this.data,
      options: this.options,
    });

    return s;
  }

@alutman-innablr any ideas?


Destructuring assignment support

Hi,
I tired to do the following on a component:
let { disabled, ...other } = this.props;

and got the following:
Module build failed: SyntaxError: /xxx.jsx: Unexpected token (26:20)
  24 |   render () {
> 25 |     let { disabled, ...other } = this.props;
     |                     ^

Any ideas would be helpful. I tried adding options to the .eslintrc file with no avail.

Hey @firebait,
.eslintrc is only for the lint settings.
What you are trying to to is to spread rest properties, this is not part of es2015 but is a state 2 proposal, so just install the state 2 presets:
npm install babel-preset-stage-2 --save-dev

and activate them via .babelrc:
{
  "presets": [
    "es2015",
    "react",
    "stage-2"
  ]
}

and you should be good to go.

Thanks @stylesuxx that did it.

This thread solved the problem for me. Since I was also searching the correct eslintrc config to recognize the spread operator, I will leave this here for the ones who will follow me:
// ~/.eslintrc.js
module.exports = {
  'parserOptions': {
    'ecmaFeatures': {
      'experimentalObjectRestSpread': true
    }
  }, …


add configure functionality to the cli, to help the user configure pl…

…atform params

You can merge once the conflict is solved.


Finalizing rules

Here's a summary of our discussion so far.  I think this
In no particular order.

Store data in an open format (ASCII, HDF5)

Store data in multiple locations (Especially if using a local system)

Store data with a linkage to relevant metadata and license files

Consider the use case.  Permanent archive?  Regular usage? API? Personal archive? Storing to share?

Use semantic versioning of data, or at least some versioning system.

Keep raw data raw.  Data should be stored in as raw a format as possible

Privacy concerns need to be considered.  How is data anonymized?  Is it linkable to anonymous personID?  Is it completely anonymized? What are the ethical and institutional concerns?

Data sets need to be uniquely identifiable

Data storage solutions should be tailored to data size considerations.  Is this a few CSV's or terabytes of image data?  This links back to the use case.  Is it personal archiving? Sharing?

??

This is my best effort at summarizing all the issues that people have filed.  I think we should take the next week or so to discuss this list, make any changes we want and then begin hashing out the writing distribution.  If each of us takes on a rule or two the writing should go pretty quickly.

I think a logical way to organize the rule would be for them to follow the usual data analysis workflow. With this approach, rule 1 would be something like "Know what to expect", which would cover both the type and size of the dataset. Then rules 2-10 would be about dealing with the aftermath.

:+1:

I like that idea, @tpoisot. Having any kind of conscious plan at all is a big and important first step.

Good list and suggestions so far. I think it would be good to discuss the
list here, but keep discussions of individual rules in their own
issues/threads, and authors can self-assign issues (?). Do any need to be
combined or dropped?
On Fri, Mar 27, 2015 at 5:42 PM Kara Woo<EMAIL_ADDRESS>wrote:

I like that idea, @tpoisot https://github.com/tpoisot. Having any kind
of conscious plan at all is a big and important first step.
—
Reply to this email directly or view it on GitHub
https://github.com/emhart/10-simple-rules-data-storage/issues/30#issuecomment-87099565
.

One thing that isn't captured here in the list so far (I think) is having data be machine readable (i.e. easily parseable) if possible. ASCII is great but it should also be parseable ASCII (csv, tsv, etc) if possible. Something along the lines of Hadley's tidy data idea.

+1

Good point Naupaka, could be wrapped in with #11, #12,which is roughly
linked to 1 in this list, and also related to Kara's point about having a
plan.
On Sun, Mar 29, 2015 at 6:51 PM Greg Wilson<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/emhart/10-simple-rules-data-storage/issues/30#issuecomment-87498768
.

Yes. We can talk about automated data validation too (like json schemes).
Envoyé depuis mon appareil Samsung
-------- Message d'origine --------
De : Greg Wilson<EMAIL_ADDRESS>Date : 03/29/2015  7:51 PM  (GMT-05:00)
À : emhart/10-simple-rules-data-storage<EMAIL_ADDRESS>Cc : Timothée Poisot<EMAIL_ADDRESS>Objet : Re: [10-simple-rules-data-storage] Finalizing rules (#30)
+1
—
Reply to this email directly or view it on GitHub.

@naupaka I think this issue touches a bit on the fact that this idea has always walked a fine line between best practices for storing vs best practices for publishing. I think we just need to be careful about highlighting how machine readable formats are important for storage, but otherwise :100:

@dlebauer I agree, we should really hash out specifics within the issues themselves.  I'm going to consolidate all the issues and give them #'s where assignment and further discussion can happen.

Ok, I've opened up issues with numbers now based on all the discussion and this thread.  I think we should aim to take about a week to hammer out and people should assign themselves to what they'd like to write.  Also after trying to consolidate our discussion I only came up with 8 issues.  So we have room for two more.  I'll work on coming up with a couple more but please add new ones if you have them in mind.


SLING-2938 - move integration tests here, using invoker plugin

This PR uses maven-invoker-plugin to bring the integration tests in the same repository while keeping them isolated. I'll discuss at https://issues.apache.org/jira/browse/SLING-2938

The build checks have failed due to

[INFO] [ERROR] org.apache.sling.adapter.annotations.AdapterRegistrationIT  Time elapsed: 63.218 s  <<< ERROR!
[INFO] java.util.concurrent.TimeoutException: Call failed to return true in 60000 ms. Last exception was: null

I've seen this sporadically when running tests, it looks like the Sling instance setup does not work every time.

I'm very happy with these changes, @bdelacretaz! Looks very good to me. :) I'm also very glad that the SLING-8080 issue seems to be fixed now; This was worrying me a little bit.
+1 from me to merge these changes and put out a release very soon.

@bdelacretaz Can you create a PR for deprecating the dedicated IT repo: https://sling.apache.org/documentation/development/deprecating-sling-modules.html?

I have already deprecated the https://github.com/apache/sling-org-apache-sling-adapter-annotations-it/ module, hope that works for you @kwin ?
I have merged the PR discussed above and set https://github.com/apache/sling-org-apache-sling-adapter-annotations to build hourly to check if the ITs are stable (not 100% sure of my SLING-8080 workaround).
I'll observe the tests for a bit a plan to make a release tomorrow if that works for others.


Potentially improve HashMap deserialization perf

drive by change, didn't do any benchmarks, but seems like this can't hurt, right?

Looks good to me, every little bit helps!


Added "captivity.ImpregnateBy" Console Command

This console command is a modification of "Impregnant" which takes a second value in order to search for a hero to serve as the "father" for the target hero being impregnated. There is no gender check in this method as the "ImpregnationChance(...)" method contains this check.
If a female hero is entered as the "fromName" input then the method will complete and call the "ImpregnationChance" method however with it's current behavior it will default the father to be a randomly created hero. In order to allow for female-female impregnation then that method must be altered.
NOTE: I have faith it will work with the above caveat, however it is not tested as I cannot deploy this with my device (as far as I am aware of I cannot, I'm still learning linux for my steamdeck)

Thanks will remake this PR to the development branch


Error when writing Haskell files

I get this error when I write a Haskell file.
Error detected while processing BufWritePost Auto commands for "*.hs":
E492: Not an editor command: GhcModCheckAndLintAsync
I do have ghc-mod installed. If I remove the sections of .vimrc around lines 636 and 915 all is well.

how did you add the symbolic link? in mac terminal or in vimrc? I'm having the same issue

On my computer it's $HOME/.cabal/bin which is in my $PATH. There didn't seem to be any benefit to this over just removing those lines. That functionality is handled by another program whose name I can't remember at the moment, AFAIK.

Still an issue.

There is a line setting up ghc-mod, you just search ghcmod in .vimrc file, and it is around line 1036, change the "ghcmod" to "ghc-mod", then it will work well.


Add icepick to the Tap 100 club.

Landed and published, thanks!

Err, did you mean to close, rather than merge?

Yeah, landed out of GH's green button, on eff2da8.

er, 37651c6e769c2dcaa6ee622615564038f02e585e rather.


Update how-to-setup-cmk.md

Added information to create cmk (user assigned identity) account with continuous mode

@kanshiG : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@kanshiG : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @kanshiG - Per the internal contributor guide, only one value can be used in the ms.author metadata attribute. I've reverted that change, and I edited to apply some Microsoft style standards. Merging now. Thanks.


Remove files

Cleaned up the repo of superflus files (they all can be found back in the history if needed)

@remyb2canada Can you please double check the files to be deleted and merge?
Thanks! :grin:


Resolving deltas: 100% (49/49), done.
Checking connectivity... done.
</tmp>
$ cd react-boilerplate/
</tmp/react-boilerplate> (master=)
$ git describe --abbrev=0 --tags
v3.3.1
</tmp/react-boilerplate> (master=)
$ npm run setup

><EMAIL_ADDRESS>presetup /private/tmp/react-boilerplate
> npm i chalk shelljs

<EMAIL_ADDRESS>/private/tmp/react-boilerplate
├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ └──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  ├─┬<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>  │ ├─┬<EMAIL_ADDRESS>  │ │ └──<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>  │ ├─┬<EMAIL_ADDRESS>  │ │ └─┬<EMAIL_ADDRESS>  │ │   ├──<EMAIL_ADDRESS>  │ │   └──<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>

><EMAIL_ADDRESS>setup /private/tmp/react-boilerplate
> node ./internals/scripts/setup.js

Cleaning old repository ✓
Installing dependencies ✓. (This might take a while)Installing dependencies
Initialising new repository ✓
Done!
><EMAIL_ADDRESS>postsetup /private/tmp/react-boilerplate
> npm run build:dll

><EMAIL_ADDRESS>build:dll /private/tmp/react-boilerplate
> node ./internals/scripts/dependencies.js

Building the Webpack DLL...
Hash: 063867de18d261757760
Version: webpack 2.1.0-beta.25
Time: 4589ms
                      Asset     Size  Chunks             Chunk Names
reactBoilerplateDeps.dll.js  3.01 MB       0  [emitted]  reactBoilerplateDeps
chunk    {0} reactBoilerplateDeps.dll.js (reactBoilerplateDeps) 2.52 MB [entry] [rendered]
    [2] dll reactBoilerplateDeps 12 bytes {0} [built]
     + 681 hidden modules
</tmp/react-boilerplate> (master)
$ npm run clean

><EMAIL_ADDRESS>clean /private/tmp/react-boilerplate
> shjs ./internals/scripts/clean.js

Cleanup started... ✓
Cleanup done. Happy Coding!!!
</tmp/react-boilerplate> (master)
$ npm run generate

><EMAIL_ADDRESS>generate /private/tmp/react-boilerplate
> plop --plopfile internals/generators/index.js

/private/tmp/react-boilerplate/internals/generators/component/index.js:35
    let componentTemplate;
    ^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:404:25)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/private/tmp/react-boilerplate/internals/generators/index.js:8:28)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)

npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "generate"
npm ERR! node v5.0.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>generate: `plop --plopfile internals/generators/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>generate script 'plop --plopfile internals/generators/index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the react-boilerplate package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     plop --plopfile internals/generators/index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs react-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls react-boilerplate
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/tmp/react-boilerplate/npm-debug.log
</tmp/react-boilerplate> (master)

I just noticed that running npm run generate on a non cleaned freshly setuped version causes the same issue.

Upgrading node version (to 7.0.0) solved it.

Thank you for reporting the issue, the level of detail is amazing, really appreciated 👌
I've done some investigations myself and I can confirm this issue with node v5.0.0. According to Node Green Node v5 should support the use of let, but it appears that this is not true given the error message:
Block-scoped declarations (let, const, function, class) not yet supported outside strict mode.
I can confirm Node v6+ work fine on macOS with or without yarn.
Now is this a bug? Good question!
According to the FAQs, this boilerplate supports the last three major versions of Node.js, so that would be v5, v6, and v7. Also given that Node v6.9.0 is now (LTS) I would say that Node v4 is no longer supported by this boilerplate, what do you think?
FYI: if we add "use strict" to the top of internals/generators/component/index.js or change the let to a var the command npm run generate does work with Node v5.
Windows issues with yarn!
During my testing with (Windows 10, Node v6.6.0) without yarn the command npm run generate worked perfectly. After installing yarn, it broke when running npm run setup, which looks like it might be a related to this open issue with Yarn! After looking at the yarn-error.log, this was the error message:
Trace:
  Error: https://registry.yarnpkg.com/through/-/through-2.3.8.tgz: invalid tar file
      at Extract.Parse._startEntry (C:\Users\sam\AppData\Roaming\npm\node_modules\yarn\node_modules\tar\lib\parse.js:149:13)
      at Extract.Parse._process (C:\Users\sam\AppData\Roaming\npm\node_modules\yarn\node_modules\tar\lib\parse.js:131:12)
      at BlockStream.<anonymous> (C:\Users\sam\AppData\Roaming\npm\node_modules\yarn\node_modules\tar\lib\parse.js:47:8)
      at emitOne (events.js:96:13)
      at BlockStream.emit (events.js:188:7)
      at BlockStream._emitChunk (C:\Users\sam\AppData\Roaming\npm\node_modules\yarn\node_modules\block-stream\block-stream.js:145:10)
      at BlockStream.flush (C:\Users\sam\AppData\Roaming\npm\node_modules\yarn\node_modules\block-stream\block-stream.js:70:8)
      at BlockStream.end (C:\Users\sam\AppData\Roaming\npm\node_modules\yarn\node_modules\block-stream\block-stream.js:66:8)
      at Extract.Parse.end (C:\Users\sam\AppData\Roaming\npm\node_modules\yarn\node_modules\tar\lib\parse.js:86:23)
      at UnpackStream.onend (_stream_readable.js:511:10)

Interestingly tho, after installing Node v7.0.0 on Windows 10 it worked perfectly and npm run generate worked as intended. So, as much as I dislike handballing issues, this might be better followed up in the open issue with yarn.
Important to know that each time I changed a version of Node or tried with or without yarn on either Windows or macOS, I removed react-boilerplate and cloned it again etc, so yes this took some time :)

Okay, after further testing it seems that the issues with Windows + yarn + react-boilerplate has disappeared. I'm not sure exactly what fixed it but I did run yarn cache clean and I also removed yarn and installed it again (v0.16.1). I've now tried Windows 10 with Node v5.0.0, v6.6.0, v6.8.1, v6.9.1, and v7.0.0 and running npm run setup, 'npm run clean, and npm run generate` all work perfectly with each version of node.


Add flake8

Adds flake8 to check python style.
Execute with python setup.py flake8
https://gitlab.com/pycqa/flake8

I'm already using flakes in VSCode to analyze if needed, and PyCharm to do basic linting. Don't want to add any more dependencies at this point.

Fair enough, if IDE checks are sufficient this has no advantage.
It is a build/dev dependency only (not install or runtime). It could also be run as part of the Travis build.


Images in group cannot load

I just add the CrystalLightboxModule to my project (angular version 11).
I'm doing some trial and i've the following code:

When i click on a single image everything works fine.
Am i doing something wrong?
Thanks!

I found the error, i was using the same file for all images. Using different can make it works properly.
Anyway a talking message will be more accurate.


no such option as --update-max-failure-ratio in docker service create

Description
The documentation for docker service create lists a--update-max-failure-ratiooption, but the docker service create --help does not list any such option.
https://docs.docker.com/engine/reference/commandline/service_create/

Steps to reproduce the issue:

Create a EC2 instance from CoreOS Stable
Create a Docker Swarm cluster with 1 manager and 2 worker nodes
The docker service create --help does not list the --update-max-failure-ratio option

Describe the results you received:
No such option as --update-max-failure-ratio
Describe the results you expected:
The --update-max-failure-ratio option listed
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
core@ip-10-0-0-238 ~ $ docker version
Client:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   d5236f0
 Built:        Tue Jan 31 07:56:17 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   d5236f0
 Built:        Tue Jan 31 07:56:17 2017
 OS/Arch:      linux/amd64

Output of docker info:
(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):
AWS EC2, CoreOS Stable

Did you try 1.13.0?

Yes, this feature was added in https://github.com/docker/docker/pull/26421, which is part of the 1.13 release. Try updating to the latest version, and you should be able to use this feature.
I'm closing this issue because it's not a bug, but feel free to continue the conversation

Thanks. CoreOS has Docker pre-installed and CoreOS AMI on AWS has 1.2.6 installed.

There are no official docker packages for CoreOS, so it's best to report that in their issue tracker

Thanks thaJeztah. The issue may be closed.


Ripping currently not working!

Ripme version:  v.1.7.95
openjdk version "18.0.2-ea" 2022-07-19
OpenJDK Runtime Environment (build 18.0.2-ea+9-Ubuntu-222.04)
OpenJDK 64-Bit Server VM (build 18.0.2-ea+9-Ubuntu-222.04, mixed mode, sharing)
Tested on: Ubuntu & Windows
Ripping from motherless.com not working.
Always outputs: Failed to download.
Even though he does find the URL of the image or video.

can i work on this

See my comment here: https://github.com/RipMeApp/ripme/issues/2009#issuecomment-1455196727


Feature Request: Trigger for redrawing labels

Like border and ticks, it would be nice to have a trigger to redraw the labels if there is a color change.
This is particularly useful if your app has light and dark mode.

I think it have to work in my branch: https://github.com/meequz/garden.graph


fix: Change pkg/status.Conditions from `map[ConditionType]Condition…

Description of the change:
Change status.Conditions from map[ConditionType]Condition  to []Condition to fix issue in CRD valiations when they are generated via controller-tools.
Motivation for the change:
Closes #2658

Let's hold off on this until we discuss https://github.com/kubernetes-sigs/controller-tools/issues/423.

/hold based on @joelanford comment

nit: @camilamacedo86 for the future consider formatting the commit like an email. The first line should be a short commit, then in the body of the commit fill out the details of what you did to fix the situation.
fix issues faced to apply CRD's

Change `status.Conditions` from `map[ConditionType]Condition` to `[]Condition` to fix issue in CRD valiations when they are generated via controller-tools.

This isn't a blocker, just an FYI.

Hi @jmrodri,
Usually, I do that to merge after the reviews and squashes.
But I can start to it before as well.

Closing this one in favor of #2739 (which I actually had in my git history from the original introduction of conditions)


open/close/reset moved to bs2-serialport

For discussion not merging

This should be PRed into my branch, not master.  I am liking how simple the programmer code is becoming but I think this still accepts a "protocol" not a "transport" because there needs to be a level of abstraction between the transport and the programmer.  I am not set on "protocol" as the name, just want there to be some level of abstraction.

merged into most


fix: wrong word when DOM and DOW both present (#272)

As described in #272, when both DOM and DOW present, the default behavior of cron will schedule on both matches.
And this is also commented in the source code as: https://github.com/bradymholt/cRonstrue/blob/main/src/expressionDescriptor.ts#L388
So I changed the language to express the correct meaning.
Since I can only speak zh and en, I only did changes in these files:

en.ts
zh_CN.ts
zh_TW.ts

Thanks!


ima is not a function when i trying to use ima plugin with webpack project

Hi all, a have big problem with using this plugin in my project.
Libs:
video.js: v7.1.0
videojs-ima: v1.5.1

Code:
import videojs from 'videojs';
import 'videojs-ima';

class TestIMA {
     constructor() {}
     test() {
          const player = videojs(document.querySelector('.videojs-test'));
          player.ready(() => {
               player.ima({
                    id: 'video_story_item',
                    adTagUrl: '...'
               });
          });
     }
}

const testIMA = new TestIMA();
testIMA.test();

And i'm getting error
ima is not a function

I have the same problem

I'm seeing the error you mention, but I'm not an expert on integrating with webpack. Perhaps someone here has had some success trying it?

You may also be able to solve the problem by doing this at the top of your webpack entry.js file:
const videojs = require('my-path-to/video.js');
window.videojs = videojs;
You may also need to do this for to deal with external functions in webpack. At the bottom of each module do:
window.myExternalFunc = myExternalFunc;

a small note on @chadladensack solution
You  would have to install exports-loader and imports-loader
npm i exports-loader imports-loader

If by any chance you're using laravel-mix like I am this is how you can bundle it
mix.webpackConfig({
  module: {
    rules: [
      {
        // omg, WHY!?!?!1!
        test: /videojs.ima.js$/,
        use: [
          {
            loader: 'imports-loader',
            options: {
              define: ">false",
              exports: ">false",
              holder: ">{name:null, init:null}",
              this: ">{videojs:{registerPlugin:(name,init) => {holder.name = name; holder.init = init;}}}",
            }
          },
          {loader: 'exports-loader', options: "holder"},
        ]
      },
    ]
  }
});

Hi all,
It looks as though the issue has been resolved. Please see our import guide if you are using webpack for your app.


RTL Support for v2

Dear MDL lovers
I think it's time to think about RTL again (after 9 months from first request)
And I'm working on it for v2 (https://github.com/webrtl)
Could you please allow us / advise us to make it fully RTL Support as  a perfect way
I think CSS auto mirroring is wrong way and we must customize CSS for every components
As I said earlier I'm RTL native with many experience and I love to contribute in this lovely project.
Thank you in advance.

#783
#1518

Could you please share your plan for RTL in v2.

@addyosmani @surma @gauntface
Could you please share your plan for RTL in v2.

Closing this as a duplicate of #783.
We will announce information as we have it available. Currently we haven't discussed RTL support since we have been focusing on re-engineering the underlying architecture. Once we've discussed how to handle this, we will respond on the original issue.
Thank you.


api documentation

i know there are a couple of example implementations using epf but i'd still really like to see some api documentation. i'm quite familiar with ember and it's architecture so i find the hooks and methods in the source but that's not how it should be. i assume you're using NaturalDocs-like comments in your code. if you could just generate the docs from them and upload to some github-pages dummy that would make things much easier. i was trying to clone and build the docs myself but there doesn't seem to exist any directive, also the browser-build file is missing and npm run-script build fails (./node_modules/.bin/broccoli build dist - for those without broccoli globally installed - fails, too). here goes the stack:
$ ./node_modules/.bin/broccoli build dist
Error: Path or pattern "bundle.js" did not match any files
  at Object.multiGlob (/home/matters/dev/repos/pyjama/epf/node_modules/broccoli-concat/node_modules/broccoli-kitchen-sink-helpers/index.js:202:13)
  at /home/matters/dev/repos/pyjama/epf/node_modules/broccoli-concat/index.js:50:30
  at $$$internal$$tryCatch (/home/matters/dev/repos/pyjama/epf/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:470:16)
  at $$$internal$$invokeCallback (/home/matters/dev/repos/pyjama/epf/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:482:17)
  at $$$internal$$publish (/home/matters/dev/repos/pyjama/epf/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:453:11)
  at $$rsvp$asap$$flush (/home/matters/dev/repos/pyjama/epf/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1531:9)
  at process._tickCallback (node.js:419:13)
  at Function.Module.runMain (module.js:499:11)
  at startup (node.js:119:16)
  at node.js:906:3

Build failed

I too was going to try out EPF and ran into same issue with the build failing!


Mention slashtags auth in README

This also makes SLASHTAGS_SECRET optional.
If none is set, random bytes will be generated. This is useful for local development.

Nice!


Navigator warns about BackAndroid

The "else" code path below is running on iOS, triggering a warning:
    if (this.parentNavigator) {
      this.parentNavigator.setHandler(this._handleRequest);
    } else {
      // There is no navigator in our props or context, so this is the
      // top-level navigator. We will handle back button presses here
      BackAndroid.addEventListener('hardwareBackPress', this._handleBackPress);
    }

cc @ericvicenti

Ah, yes. Will fix

This got fixed awhile ago, thanks


cs.prd.msys.playstation.net

Hello! Why is cs.prd.msys.playstation.net blacklisted? It used by Sony Headphones mobile app to get news about new firmware and so on.

@JailSeed it's upstream from someonewhocares.org.
You need to contact Dan Pollock<EMAIL_ADDRESS>for the removal request.

@dnmTX @StevenBlack Dan removed it, thanks.

Thank you everybody!  @JailSeed this will be reflected in the next release, possibly later today.
Closing.


feat: add redis 6.0.0RC1 release

update redis with release 6.0.0RC1

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


[FixIgnore exceptions when getting system information errors]

Proposed changes
[FixIgnore exceptions when getting system information errors](https://github.com/apache/doris/commit/9f749d5d55c59356173e3cebd9bedcce9eaa878a)
Fetching system information often requires compatibility adjustments across various operating systems. As a result, some systems may not be fully compatible, potentially causing errors with the interface. These errors are suppressed here because they typically do not affect normal business.

run buildall

run performance


Add cli arguments to configure the viewport size

Addresses #75

I also would like to add validation for the --height parameter to deny setting it to less than 20, but I couldn't find a sane example in the Clap docs.


fix: nvim-treesitter main branch support after breaking change

nvim-treesitter main had some breaking changes today, and since I was the one that implemented support for the main branch, I think it is my job to stay up to date and fix this since neovim 0.10 isn't release yet, and the main branch isn't stabilized yet😅 I didn't test this on nvim-treesitter master branch, but from what I can se, it should work exactly like before.
I also just removed the filetype from the config table for nvim-treesitter main branch, since they don't use that anymore
Context:
https://github.com/nvim-treesitter/nvim-treesitter/tree/main?tab=readme-ov-file#adding-parsers

Looks good to me!
Thanks for the help, I appreciate it.
I'm happy for you to have push access to this repo.


Allow user to configure multiple local / custom models

Would be cool to allow users to specify multiple custom endpoints (local, hosted, or otherwise) which Window apps could then call separately and potentially chain together.

Easiest way to do this would just be to hardcode more model slots in the configManager. Users could then add localhost:8000, 4545, 9001, etc.
Less elegant way would just be to make a design decision to offload this as a user problem—i.e., have them write backend logic to route models instead. Not sure this is entirely possible unless a model param is also posted to the endpoint.
Probably the best way is to add a button which lets users add arbitrarily many endpoints, and to use local storage to store their preferences.

The second option actually strikes me as a bit simpler, and more consistent with the way external apis (like OpenAI) work. a model param could be sent to the local model (very easy to change), and an api there does the routing to the right model, avoiding the need to clutter your system's ports if you don't want to.
Will post up a starter PR to illustrate this idea, since it makes local more consistent with the rest anyway.

Yeah happy to take direction here, but then the worry is that the user has to do a bunch of bespoke routing themselves / the interface at the API level becomes nonstandard relative to the other endpoints Window developers might expect.
Also happy to make changes to the local hugging face Flask API once you make it possible to get a model param.


perf: interesting results

pandas 0.18.0 / feather a58e3bef81c810091a081eb899961a7475b62dfc
mixed types
In [1]: df = pd.DataFrame({'A' : np.random.randn(1000000)})

In [2]: df['B'] = 'foo'

In [3]: df['C'] = pd.Timestamp('20130101')

In [4]: %timeit df.to_hdf('foo.h5', 'df')
1 loop, best of 3: 803 ms per loop

In [5]: %timeit pd.read_hdf('foo.h5', 'df')
1 loop, best of 3: 319 ms per loop

In [6]: import feather

In [7]: %timeit feather.write_dataframe(df, 'foo.fth')
10 loops, best of 3: 62.2 ms per loop

In [8]: %timeit feather.read_dataframe('foo.fth')
10 loops, best of 3: 56.8 ms per loop

In [9]: !ls -ltr foo*
-rw-rw-r--  1 jreback  staff  72487885 Mar 29 23:49 foo.h5
-rw-rw-r--  1 jreback  staff  23000356 Mar 29 23:50 foo.fth

In [10]: %timeit df.to_msgpack('foo.pak')
10 loops, best of 3: 160 ms per loop

In [12]: %timeit pd.read_msgpack('foo.pak')
10 loops, best of 3: 79.8 ms per loop

In [13]: %timeit df.to_msgpack('foo.pak', compress='blosc')
10 loops, best of 3: 139 ms per loop

In [14]: %timeit pd.read_msgpack('foo.pak')
10 loops, best of 3: 72 ms per loop

Just floats
In [20]: %timeit feather.write_dataframe(df[['A']], 'foo.fth')
100 loops, best of 3: 14.8 ms per loop

In [21]: %timeit feather.read_dataframe('foo.fth')
100 loops, best of 3: 7.47 ms per loop

In [22]: %timeit df[['A']].to_hdf('foo.h5', 'df')
10 loops, best of 3: 34 ms per loop

In [23]: %timeit pd.read_hdf('foo.h5', 'df')
100 loops, best of 3: 9.17 ms per loop

In [24]: %timeit df[['A']].to_msgpack('foo.pak', compress='blosc')
10 loops, best of 3: 37.3 ms per loop

In [25]: %timeit pd.read_msgpack('foo.pak')
100 loops, best of 3: 9.39 ms per loop

In [29]: !ls -ltr foo*
-rw-rw-r--  1 jreback  staff   8000152 Mar 29 23:55 foo.fth
-rw-rw-r--  1 jreback  staff  64487821 Mar 29 23:55 foo.h5
-rw-rw-r--  1 jreback  staff   8000310 Mar 30 00:00 foo.pak

Just some ad-hoc perf tests. floats about similar (but better than HDF5, slightly better than msgpack).
Interesting that feather is WAY faster on fixed length strings in HDF5. (Almost about 1/3 serialized size, which obviously makes writing faster). Note these are the same length strings.
These are slightly non-comparable, as the pandas routines are serializeing the index as well (so doing 2x the work for floats and 1 1/3 more for HDF5/msgpack).

Interesting, thanks for looking through these. For strictly numeric data (and ignoring the indexes), I would expect HDF5 to be faster in general. Especially when there are NaN values -- if you add some NaNs then the performance will change because feather stores nulls in a bitmap per the Arrow spec, and there's some cost to reconstructing the pandas-specific null representation. But a nice part of using a bitmap for nulls is that other systems don't need to know about how pandas or R represent nulls in memory.
For people just using Python, the immediate benefits of using Feather are not that pronounced when you look at all the work that's gone into binary serialization tools. The biggest use case I see value for pandas users is being able to easily switch between Python and R within a particular analysis (for example, Jupyter notebooks with side-by-side Python and R kernels)

How do categorical columns get stored in feather? If I have 10M rows by 100 columns of lower cardinality, will we be storing repeated values or just the codes? For some data domains we have found that dumping to pickle with categorical columns is most efficient.

The code and categories are stored separately. So inside the feather file, the categories just look like any other (though most likely much smaller) array -- so you should get the same kind of perf benefits here


Missing conditional logic in registration endpoint

Brief description:

When teams > 15, we don't return with appropriate message
Combine the logic of the two functions which check whether the member has already been registered -> you should check both collections at the initial stage and cancel the execution if email is find in either one of them
Fix messages in endpoint responses

Fixed


#255: Remove -service prefix in kubernetes files. Generate keyblock k…

…ubernetes.

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/617/
Test PASSed.


Datafari 2.1.4

This new version of Datafari concerns only the Windows version due to some bugs on the Windows installer.


Difficulty climbing ladders sometimes

yapb3.zip

Related issue: https://github.com/yapb/yapb/issues/319

@di57inct also attach all the necessary map files and the map itself to play the demo.
Or just record a video.

Join server <IP_ADDRESS>:27015 it has all the resources and fast dl. Will be running de_nuke2x2 map for a couple of hours.
Can't record video right now because i'm on a low end laptop.

Try the latest build, i'm unable to see that demos on xash3d engine now... so @Vladislav4KZ right, videos a bit better.

Issue persists with latest continuous build(4.5.1004). ~1/10 climb attempts only is successful.
Unfortunately, I can't provide video until i get home on my pc. For now i can only provide demos from the laptop.
yapbladder.zip
yapbladderupsidedowncamera.zip

@di57inct someone discord send me videos with that :)
what's the bots difficulty level on this demos ?

"yb_difficulty" is "1"

one more try...

"yb_version" is "4.5.1007"

Not fixed.
yapb.zip

sadly this doesn't happens for me...

Maybe linux issue?
Running HLDS 8684 with ReHLDS 3378(<IP_ADDRESS>8-dev) on top. No ReGameDLL.

Is this still an issue with latest continuous build ?

will test and let you know.

yup, issue still present. forgot to mention:

meta version
Metamod-r v<IP_ADDRESS>, API (5:13)
Metamod-r build: 11:50:32 Nov 28 2023
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/5179c25
yapbladder.zip

It's definitely a graph issue, a fix is placed under the graph repo.

Seems fixed. Thank you. Closing until proven otherwise.


Use Zb[abcs] instead of B/Bitmanip

We don't have a single B/Bitmanip extension, but several extensions
Zb[abcs], which can be available independent of each other.
Let's fix that in this document.
Given that there was never a ratified Bitmanip extensions,
I don't think that this change causes any real-world problems.
@kito-cheng @jim-wilson @asb

Otherwise, LGTM, thanks!

This LGTM.


esp-idf standalone support

Hi,
will you accept small PR which will add esp-idf standalone support (no arduino as component)? (tested with esp-idf 5.0)
If yes, what is better way to do it:

to replace all digitalWrite with esp-idf API (its cleaner), or
to add this snippet:

#ifdef ARDUINO_ARCH_ESP32
  #include <Arduino.h>
#else
    #include <driver/gpio.h>
    void digitalWrite(uint8_t gpio_num, uint32_t level)
    {
        gpio_set_level((gpio_num_t) gpio_num, level);
    }
#endif

I am just playing around with this library, esp32-S3 and my USB library.
Thanks

Absolutely. Please raise a pull request.

Here is example app:
https://github.com/chegewara/auxiliary-display
Example is prepared for virtual matrix with 2x2 panels, but can be changed in main.cpp.


Type Permission has no type camera

I'm trying to update Permission to swift 3.2 Permission.camera.build() and it fails claiming Type Permission has no type camera. I'm using Cocoapods 1.3.1 and the latest Permission.

Closing because I was pulling it in through pod 'Permission', not pod 'Permission/Camera'


Odd Text Nodes after Tags in XMLParser

Godot version:
3.1
OS/device including version:
Windows 10
Issue description:
I am trying to get data from wikipedia articles and they have xml files for them which I try to convert into a dictionary.
While doing so I came across a weird behaviour which I dont know how to handle.
I made this function:
func xml_to_dic(file_path):
	var parser = XMLParser.new()
	parser.open(file_path)

	while parser.read() != ERR_FILE_EOF:
		var type = parser.get_node_type()

		if type == 1:
			print("NODE_NAME START")
			print(parser.get_node_name())
			print("---------------")

		if type == 2:
			print("NODE_NAME END")
			print(parser.get_node_name())
			print("---------------")

		if type == 3:
			print("NODE_DATA")
			print(parser.get_node_data())
			print("-------------")

That prints:

You can find the xml file I am using in this example here:
https://de.wikipedia.org/wiki/Spezial:Exportieren/Blaise_Pascal
I don't understand why after every tag I get a Text Node even tho there isnt any text data stored in it. For example after the tag 'siteinfo' I get a Text Node with weird contents which I dont know how to differ from Text Nodes with data I actually need.
Is there maybe an example of how to properly use the XMLParser?
Or even better, how to convert a XML file into a .json file/dictionary?

Duplicate of #23895? Those are the line breaks I think, it might be odd but it's intended behavior.

Or even better, how to convert a XML file into a .json file/dictionary?

Wikipedia has an API that can output JSON.


Governance. Wrong empty state if change connection type to the Light client.

Description
If user change connection on light client and open Governance page, wrong empty page will be shown.
Steps to Reproduce

Open Settings
In network for Polkadot select Light client connection
Go to Referenda page

Expected Behavior
Loading state until connection will be established and on-chain date will be received.
Actual Behavior
Two empty page banner:

Environment
https://github.com/novasamatech/nova-spektr/commit/a326b27a5828e9884515bb7740a62fb3630fd886

Status verification: ✅


Error: undefined method `each_value'.. Did you mean? each_slice

I have installed in this using the process set out in the readme.
I have confirmed that I can generate a map directly, using e.g.,
{% google_map latitude="48.8587741" longitude="2.2074741" marker_title="My Location" marker_img="/img.jpg" marker_url="/my-location.html" %}

I'm  now trying to read in files in a yml or JSON file. Using the example in the readme, I create a data file (_data/map.yml) with this content:
- title: Paris
  url: http://google.fr
  location:
    latitude: 48.8587741
    longitude: 2.2074741

- title: Madrid
  url: http://google.es
  location:
    latitude: 40.4378698
    longitude: -3.8196204

I then try to call it from a post, map.md following the example given in the Readme:
    {% google_map src="_data/map.yml" %}

Which unfortunately gives me this error:
Liquid Exception: undefined method `each_value' for [{"title"=>"Paris", "url"=>"http://google.fr", "location"=>{"latitude"=>48.8587741, "longitude"=>2.2074741}}, {"title"=>"Madrid", "url"=>"http://google.es", "location"=>{"latitude"=>40.4378698, "longitude"=>-3.8196204}}]:Array Did you mean? each_slice in /blah/blah/map.md

All suggestions welcome!

Closing because I found the problem.
Instead of
{% google_map src="_data/map.yml" %}

I had
{% google_map src="_data/map" %}

🤦


license file name contains spelling error

this results in license checking tools to fail.  please fix. (merge !31)

Published 4.0.2


in-app purchases

Can it be updated to have free in-app purchases or unlock the content within?(peanut dx date)

This is an idea I explored but have not been able to do because after the game is initialized the BlayFapInventory object which is the class that handles the purchases and rewards has no instances to abuse


Add a view of  kind: IngressClass

What would you like to be added:
Add a visibility for kind: IngressClass
Why is this needed:
Right now we have no UI representation of kind: IngressClass
Environment you are Lens application on:

Kubernetes distribution: EKS 1.18 | EKS 1.19
Desktop OS: Ubuntu 20.04

Futher reading: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class

Please add a check-box or button to toggle 'is-default-class' easily.

:+1: for this feature

It's beta since v1.18+ (networking.k8s.io/v1beta1/IngressClass) and stable since v1.19+ networking.k8s.io/v1/IngressClass.
networking.k8s.io/v1beta1/IngressClass was removed in v1.22.


Adds a link to the Archiving wiki in the default config in order to help new users.

New user here. I had trouble understanding Archiving. Looking at the number of open issues, it looks like I'm not the same.
Found the pretty good Archiving wiki page and updated it.
I believe that adding a link to the Archiving wiki will allow new users like myself and reduce the number of open issues.

@mist0706 not sure what's pending (not very familiar with GitHub pull requests to be honest). It's currently saying there's 1 workflow awaiting approval. Are you able to do that or should this be someone else?

First time contributions require a maintainer approval

Right, I can see that there. I thought you were a maintainer that could do it :)

Thanks for the contribution!  In the future, please try to submit changes based against branch development.  I know this wasn't documented before; I just added https://github.com/ericaltendorf/plotman/wiki/Contributing .  Thanks!


fixed documentation

simple documentation fix

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@bungle @tzssangglass
I think we are good to merge this PR, anything pending that I can help with ?


Add uses for SLF4J

fixes https://github.com/javalin/javalin/issues/2136

Thanks @SentryMan !

@SentryMan is there some way to test for this? I accidentally removed the dependency when I was removing a unused service loader for templating.

could make another test module and run those on the module path

Could you submit a PR for that?


Upgrade Project to Spring Boot 3

Feel free to create a new project from https://start.spring.io to replace this one.

Currently Spring Boot 3 just started its first milestone, I created a branch and PR for it, the current codes is working well with Spring Boot 3.0.0-M1, I only changed the version and add Maven URL for deps and Gradle pluigns.

see: https://github.com/seljabali/todo-list-spring-boot-webflux-kotlin/pull/14


Scripts.Render throws ArgumentNullException

After following this: https://github.com/NancyFx/Nancy/wiki/How-to-use-System.Web.Optimization-Bundling-with-Nancy
And having this in my layout:
@Scripts.Render("~/content")

I'm getting the following exception as YSOD:
Value cannot be null.
Parameter name: httpContext

[ArgumentNullException: Value cannot be null.
Parameter name: httpContext]
   System.Web.HttpContextWrapper..ctor(HttpContext httpContext) +9720154
   System.Web.Optimization.Scripts.get_Context() +59
   System.Web.Optimization.Scripts.RenderFormat(String tagFormat, String[] paths) +86
   RazorOutput.RazorView.Execute() +2268
   Nancy.ViewEngines.Razor.NancyRazorViewBase`1.ExecuteView(String body, IDictionary`2 sectionContents) +111
   CallSite.Target(Closure , CallSite , Object , Object , Object ) +236
   System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3(CallSite site, T0 arg0, T1 arg1, T2 arg2) +468
   Nancy.ViewEngines.Razor.<>c__DisplayClass24.<RenderView>b__23(Stream stream) +2459
   Nancy.Hosting.Aspnet.NancyHandler.SetNancyResponseToHttpResponse(HttpContextBase context, Response response) +132
   Nancy.Hosting.Aspnet.NancyHandler.EndProcessRequest(Task`1 task) +125
   Nancy.Hosting.Aspnet.NancyHttpRequestHandler.EndProcessRequest(IAsyncResult result) +33
   System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +129
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +22
   System.Web.AsyncStepCompletionInfo.ReportError() +16
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9690182
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

Does anyone managed to get system.web.optimization to work on nancy unit testing with xunit?

I had this problem too.  I compared my web.config to the one provided by @synhershko.  I was missing the following under System.Web, and upon adding it I no longer got the YSOD;
<httpRuntime targetFramework="4.5" />

I already set targetFramework in my web.config but when running my tests I'm getting the same stack trace as above unless I remove the line that references the bundle from my template.  This issue still seems to be live?

This is not our package not our content (community contributed wiki page) so I am afraid we are unable to provide any good help on this

@thecodejunkie thanks for the clarification.  For others who might find their way here, my conclusion was that although it works fine with Nancy in a 'production' context (once you have following this wiki page), ASP.NET Optimization/Bundling needs to be disabled/removed in order to make use of Nancy.Testing


how to work with vue-loader

See https://github.com/vuejs/vue-loader/issues/565

It's better to discuss this problem in vuejs/vue-loader#565 :)


Stopping a session from call stack actions view always goes to the active session

Version: 1.45.0-insider (user setup)
Commit: a0fe37870c42e0704a492cdc6b8550b4cf23f63c
Date: 2020-04-30T05:39:08.281Z
Electron: 7.2.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Steps to Reproduce:

Have two launch configs running, A and B
Select launch config A from the call stack view
Click stop/disconnect on config B
Config A exits

Recording: https://memes.peet.io/img/20-04-08083092-2b69-4405-9d53-93cf511622ec.webm

I can not reproduce this with just a simple example. Here are my steps.
Have the following program and have two launch configs which break on it
debugger;
console.log('hello connor')

Click stop on an unfocused one -> the correct one gets stopped.
In case you want to investiate more. Put a breakpoint here and checkout what is the context and on which Session the disconnect gets sent.

Looking into it some more, this seems to happen only with attach. I can easily reproduce it with two launch configs like:
    {
      "type": "pwa-node",
      "request": "attach",
      "trace": true,
      "name": "[Node] Attach to program",
      "port": 9229
    },
    {
      "type": "pwa-node",
      "request": "attach",
      "trace": true,
      "name": "[Node] Attach to program2",
      "port": 9229
    },

@connor4312 thanks for providing more details. Yes the disconnect command was not respecting the context passed properly. I have pushed a fix.


Not able to access LB rules due to incorrect programming on haproxy.

Server version - V0.28.0-rc1
Rancher compose version- V0.2.0
Steps to reproduce the problem:
Create LB service using the files:
root@45b656f59e5b:~/rancher-compose-v0.2.0# cat lb_service-rancher-compose.yml
LB-test408449:
  scale: 1
test129207:
  scale: 2
test-763295:
  scale: 2

root@45b656f59e5b:~/rancher-compose-v0.2.0# cat  lb_service-docker-compose.yml
LB-test408449:
  ports:
  - 7900:80
  image: rancher/load-balancer-service
  links:
  - test129207:test129207
  - test-763295:test-763295
test129207:
  image: sangeetha/testlbsd:latest
test-763295:
  image: sangeetha/testlbsd:latest

root@45b656f59e5b:~/rancher-compose-v0.2.0#

LB service gets created but not able to access LB rules due to incorrect programming on haproxy.

Tested with rancher-compose version v0.2.1.
Creating LB services works as expected.


HOSTEDCP-1709: test/e2e/nodepool: use the eventually construct

/assign @sjenning
/hold
Holding to see the output...

/lgtm

/lgtm

 github.com/openshift/hypershift/test/e2e/util.Conditions({0x8c7a780, 0x0})
	/go/src/github.com/openshift/hypershift/test/e2e/util/eventually.go:427 +0x77b

That's this line...
func Conditions(item client.Object) ([]Condition, error) {
	switch obj := item.(type) {
	case *corev1.Pod:
		conditions := make([]Condition, len(obj.Status.Conditions)) <-- here

How did a nil get into a list of Pods? hm....

/retest

/close
This is subsumed by https://github.com/openshift/hypershift/pull/4263


mrpt2: 2.9.0-2 in 'iron/distribution.yaml' [bloom]

Increasing version of package(s) in repository mrpt2 to 2.9.0-2:

upstream repository: https://github.com/MRPT/mrpt.git
release repository: https://github.com/ros2-gbp/mrpt2-release.git
distro file: iron/distribution.yaml
bloom version: 0.11.2
previous version for package: 2.9.0-1

FYI: This is a debian -2 package to include these changes to reduce the build time in the buildfarm and reduce the probability of timeouts.


Implement splitting and encoding ops, nsInfo as separate OP_MSG sections, implement prose tests

The first four commits are well-organized to allow reviewing them one by one.
This PR depends on https://github.com/mongodb/mongo-java-driver/pull/1486.
The following test runners execute the unified and prose tests added in this PR:

com.mongodb.client.CrudProseTest
com.mongodb.client.AbstractClientSideOperationsTimeoutProseTest

JAVA-5529
JAVA-5610
JAVA-5695

@jyemin I incorporated the [changes|https://github.com/jyemin/mongo-java-driver/commits/JAVA-5529-jeff/] you proposed. See ea0633e1a9d336cc49fdbc0115d7cddfacdae717, 9fe35e4c9d4e44d4c930bc9cbbd03442a3fb99c3.
However, I did not include https://github.com/jyemin/mongo-java-driver/commit/7d7f3eb9c9bb7b44e35890af065ef9c3200c3014, because I understand it. CommandMessage.encodeMessageBodyWithMetadata in the main branch is already concerned with getSettings().getMaxDocumentSize(); BsonWriterHelper.getPayloadMessageSettings is concerned with DOCUMENT_HEADROOM; RequestMessage.addDocument creates a BsonBinaryWriter that checks that the document size is not greater than settings.getMaxDocumentSize() + DOCUMENT_HEADROOM. Given that, what is the purpose of moving similar validation checks to the operation layer specifically when it comes to DualMessageSequences?

Given that, what is the purpose of moving similar validation checks to the operation layer specifically when it comes to DualMessageSequences?

I think the difference is that the checks you enumerated apply equally to all commands: no command document can be larger than maxDocumentSize + DOCUMENT_HEADROOM, period.  Whereas for bulkWrite there is specific "business logic" that applies only to that command.  That's why it seemed more appropriate to consolidate that logic with the operation.  Let me know your thoughts on this.
Also, wanted to check about https://github.com/jyemin/mongo-java-driver/commit/a2805a6bd1041c61299f94e5311dc1f37923dd43, since you didn't mention that commit.

@jyemin
Each time I loot at this, I not only can't see a problem with the current approach, but even fail to convince myself that the proposed change makes things better overall.

for bulkWrite there is specific "business logic" that applies only to that command: the check applies to each document in the array, but only if it's a replace or insert

The logic that is aware of which documents are stored, and which ones are not, is in ClientBulkWriteOperation. Neither CommandMessage nor BsonWriterHelper are aware of it.

and only if write concern is unacknowledged. That's why it seemed more appropriate to consolidate that logic with the operation.

The logic that is aware acknowledged writes and of what an application has requested, is in ClientBulkWriteOperation. CommandMessage knows only whether a response needs be requested from the server or not, and it's a reasonable thing to be aware of at this level of abstraction. CommandMessage treats different MessageSequences differently regardless of the document size validation, and treating them differently when it comes to making a decision on whether size validation should be done at all is no different (if we have no way to learn about exceeded size from the server, we have to validate the size ourselves).
If for some reason we want CommandMessage to not treat different MessageSequences differently when it comes to size validation, we would have to move the logic of encoding the command document into an operation, like we do when encoding extra elements. This way ClientBulkWriteOperation would be able to decide whether to validate the size of the command document, which can exceed the limit, for example, because of a large comment or let.

@vbabanin This PR is ready for your review.


Added back missing toggle action

Toggle seems to have disappeared from newer versions which broke some of my setup that relies on toggles. I've added it back. :)

Yeah I took it out when I realized I needed templates for the action commands. I should be home late Wednesday and will do a merge the end of the week.

Cheers :)


🐛 Draft posts can be accessed from anyone with the slug

By mistake, Zapier publish one of my draft posts on the Facebook page, so I've tried to access all draft posts with the slug and it's accessible, and am sure it's bug draft posts shouldn't access like this from anyone know the slug

Ghost Version: 3.30.2
Node Version: v10.21.0
Database: MySQL

We have a bug report template for a reason! This is not reproducible for me using what I think are obvious steps, and you didn't include reproduction case. Therefore I assume there's something odd about your specific setup - please go to the forum, use the help template there and provide as much detail as you possibly can including a demonstration of the problem.
If it does turn out to be a bug, we can reopen this.


Display the number of structures and task send on the progress updates

Display the number of structures and task send on the progress updates

Context:
On P2P we shall add ability to share tasks and structures
I think the current P2P display the number of events and clients shared, so we need to update that UI to also  display the number of structures and tasks shared between devices.
Need a mockup for this.

Peer to peer is defined in https://github.com/OpenSRP/android-p2p-sync/issues/42#issuecomment-492286036 and https://github.com/OpenSRP/opensrp-client-chw/issues/436#issuecomment-504626695.
Reviewing those, for a v1, I would just remove the word "medical" from https://github.com/OpenSRP/opensrp-client-chw/issues/436#issuecomment-504626695 and anywhere else it shows up. "Record" is vague enough to work. Do you agree @mberg or @craigappl ?


IndexError: list index out of range

I have trained my custom dataset with detectors_cascade_rcnn_r50_1x_coco.py and get checkpoints/latset.pth.
but I test with command "python tools/test.py configs/detectors/detectors_cascade_rcnn_r50_1x_coco.py     chectpoints/latest.pth     --eval bbox"
it occurs the follow error:

can you help me? thank you.

It seems that your model might predict labels that are not in the valid range allowed by your custom dataset. You probably need to change the number of classes somewhere in the config file.

Yes,thank you very much ,I have soved it.

Hello, I have also encountered this problem, but I have modified CLASSES and num_classes, and this problem still appears. Could you please tell me how you modified it? Thank you very much!

Yes,thank you very much ,I have soved it.


Upgrading to Functional Component

Is your feature request related to a problem? Please describe.
Trying to integrate into a project using Functional Components
Describe the solution you'd like
I was hoping there could be an upgrade for this to be compatible with projects that are using Functional Component. From the sample on how to import this tool, I noticed that it was done using Class Components, so I was thinking if we could upgrade it to FC.
Describe alternatives you've considered
Honestly, none.
Additional context
Add any other context or screenshots about the feature request here.

@shegz101 I can add this to the list of improvements.
Pull requests are always welcome. If you would like to put this together and do a PR, I would be more than happy to merge it.

Alright @jameswlane I will doing that and creating a PR for it.

@shegz101 Awesome, thank you.
I will move to fix the pipeline and move it from CircleCI to GitHub Actions to the top of my list for the repo.

@shegz101 I started fixing the build process in this PR
Just need to fix half the test and it should be good to merge to master. It would give you a working app to start with.

Alright, just keep me posted.

@shegz101 Once I get this fixed, I will have everything worked out. Emotion stopped working the way it used to. I have an issue open with them here

@shegz101, a friend (@murillomamud) of mine, came up with an alternative solution and will knock out a pr this weekend to fix the broken test till we figure out why emotion matchers are not working. The code repo should be ready to start working on by the end of the week.

Okay, when everything is up and running I can come in and do the upgrade then you can merge it. Thanks.

@shegz101 You should be good to go for adding functional components. 👍 Thank you for working on this.

Alright, I will look into it right away. Thanks.

@shegz101 You should be good to go for adding functional components. 👍 Thank you for working on this.

Hello James, I will look into this today. My system crashed that's the issue have been facing for a while now. Would get it working hopefully today. Thanks for understanding.

That sound's good. It's not a huge rush; real life happens sometimes.

That sound's good. It's not a huge rush; real life happens sometimes.

Alright.


Roll Flutter Engine from f7561a23fde2 to 384a205ea2ca (1 revision)

https://github.com/flutter/engine/compare/f7561a23fde2...384a205ea2ca
2022-08-29<EMAIL_ADDRESS>[Impeller] Implement 'Picture::ToImage' (flutter/engine#35624)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Add new command /rewards

Add a new command /rewards which lets you pick up a wallet account and shows the last 10 epochs with the rewards received and what was the stake pool at that time.

Feature looks like the following:
📊 Latest rewards for $alessio.dev
⏳ Epoch 521
🏛 [DEV] Development Stake Pool
⤵ 174.46  ₳ (186.62 $)
⏳ Epoch 520
🏛 [DEV] Development Stake Pool
⤵ 171.81  ₳ (183.79 $)
⏳ Epoch 519
🏛 [DEV] Development Stake Pool
⤵ 176.61  ₳ (188.93 $)
⏳ Epoch 518
🏛 [DEV] Development Stake Pool
⤵ 177.64  ₳ (190.03 $)
⏳ Epoch 516
🏛 [DEV] Development Stake Pool
⤵ 187.27  ₳ (200.33 $)


refactor(LinearAlgebra.ProjectiveSpace): localize notation and rename folder

Following https://leanprover.zulipchat.com/#narrow/stream/116395-maths/topic/Projectivization I localize the notation $\mathbb{P}$ to the namespace LinearAlgebra.Projectivization. Following the discussion there, the namespace Projectivization is not optimal, as the notion can refer to different constructions, hence the choice of adding LinearAlgebra. in front of it.
Also, in accordance with the philosophy in the implementation, I replace "Projective Space" by "Projectivization" in the name of the folder, because the idea is that there is no "canonical" choice of the vector space one should start with to construct the projectivization.

Thanks!
bors r+


[incubator/vault-operator] Introducing the Vault Operator chart

What this PR does / why we need it:
Add in a chart for the vault-operator
Which issue this PR fixes:
Fix as PR
Special notes for your reviewer:
Based off of the etcd-operator

/assign @scottrigby

@unguiculus any chance I can get your 👀 on this? 😄

/assign

An official helm chart for this would be very welcome indeed!

@mlaccetti @unguiculus @jody-frankowski Any chance to get this merged soon? I would be willing to put some effort on my side to help out. Would you have time to sort out the open issues?
Thanks
cc @rawlingsj @jstrachan

@ccojocar Ah, just got lost in the shuffle - just need to do the helm-2.7 to helm-2.9 chart tweaks. I'll get this done today.

@mlaccetti Great! Thanks

@unguiculus I've updated to match (as much as possible) the Helm 2.8+ chart style.

@unguiculus Please could you have a look at the latest changes? Are there any open issues? I tested  it myself and it worked fine. It would be great if you could merge it.
cc @scottrigby @tompizmor @viglesiasce @mattfarina

/ok-to-test


forge script --ledger returns "Ledger device not available" error

Component
Forge
Have you ensured that all of these are up to date?
:ballot_box_with_check: Foundry
:ballot_box_with_check: Foundryup
What version of Foundry are you on?
forge 0.2.0 (d896050 2022-10-20T15:10:25.6227974Z)
What command(s) is the bug in?
forge script --ledger
Operating System
Windows 11 Professionnel 22H2
Describe the bug
i'm using the following command :
forge script script/DeployToMumbai.s.sol:DeployToMumbaiScript --ledger --hd-paths "m/44'/60'/0'/0" --rpc-url $ALCHEMY_MUMBAI_RPC_URL --broadcast -vvvv
and get this error :

Error:
Ledger device not available.
Context:

Response too short. Expected at least 2 bytes. Got []

My ledger is seen by my computer.

Ethereum App: 1.9.20
Blind singing: Enabled

hmm, this error is thrown when we get an empty response from the ledge device after exchanging the APDU command.
this could be a windows issue since https://github.com/summa-tx/bitcoins-rs/tree/main/ledger mentions it's not supported.
cc @prestwich

that's possible. an empty response would be an odd manifestation of this
a windows update has been in my todos for a long time 😬

In case it helps, got ledger working for forge script with
forge script script/DeployScript.s.sol --rpc-url $RPC_URL \
--ledger --sender 0x<HW_WALLET_ADDRESS_0> \
--broadcast

This will use the 0-indexed address from your wallet

In case it helps, got ledger working for forge script with
forge script script/DeployScript.s.sol --rpc-url $RPC_URL \
--ledger --sender 0x<HW_WALLET_ADDRESS_0> \
--broadcast

This will use the 0-indexed address from your wallet - make sure the --sender value matches

On Windows? i already tried using --sender, without any success

I had the same problem and forgot i was working in WSL. Maybe it will help someone.

Closing along with https://github.com/foundry-rs/foundry/issues/6516 which was resolved by alloy migration


The location of file $config.dat

Hello! I wonder where the file $config.dat is located? Is the file in Kuka smartpad? I tried to find the correct $config.dat but failed. Can you tell me the location of file $config.dat? Thanks!

Login to the smartpad as a user with elevated rights (i.e. expert). $config.dat is located in R1/System.
Please refer to the manual or contact KUKA support for such questions in the future. Thanks.

Thank you!


Windows conversion back and forth from Windows native platform to 32Feet device

Hi,
I am using this library to simplify a lot of the interaction with the windows BLE layer as I found the windows native layer to be difficult. I have opted to use the windows Windows.Devices.Enumeration.DeviceWatcher class as my device scanner as it gives me event based operation so that I can event based add, remove, and update a list so that I can operate on that list as it changes.
This is requiring me to convert a windows Windows.Devices.Enumeration.DeviceInformation to a InThehand.Bluetooth.BluetoothDevice object. I am able to achieve this with BluetoothDevice.FromIdAsync(id), however I am unable to go back.
// On add we want to check that we don't have this device yet and then add it
            watcher.Added += async (DeviceWatcher sender, DeviceInformation devInfo) =>
            {
                BluetoothDevice dev = null;

                // lock the list while we operate on it
                lock (devices)
                {
                    // Find the device in the list
                    dev = devices.FirstOrDefault(d => d.Id.Equals(devInfo.Id) || d.Name.Equals(devInfo.Name));
                }

                // If the device doesn't exist then add it
                if (dev == null)
                {
                    // Get the ble device for this id
                    BluetoothDevice bleDevice = await BluetoothDevice.FromIdAsync(devInfo.Id);

                    // lock the list while we operate on it
                    lock (devices)
                    {
                        devices.Add(bleDevice);
                    }
                }
            };

// On update we want to check that we have this device and then update it
            watcher.Updated += async (DeviceWatcher sender, DeviceInformationUpdate deviceInfoUpdate) =>
            {
                BluetoothDevice dev = null;

                // lock the list while we operate on it
                lock (devices)
                {
                    // Find the device in the list
                    dev = devices.FirstOrDefault(d => d.Id.Equals(deviceInfoUpdate.Id));
                }

                if (dev != null)
                {
                    DeviceInformation devInfo = await DeviceInformation.CreateFromIdAsync(dev.Id);
                    // Update the device
                    devInfo?.Update(deviceInfoUpdate);

                    // Get the ble device for this id
                    BluetoothDevice updatedBleDevice = await BluetoothDevice.FromIdAsync(devInfo.Id);

                    // lock the list while we operate on it
                    lock (devices)
                    {
                        dev = updatedBleDevice;
                    }
                }
            };

In the provided snippets, I am able to convert from a Windows.Devices.Enumeration.DeviceInformation to a InThehand.Bluetooth.BluetoothDevice, but I am not able to reverse this action by using DeviceInformation devInfo = await DeviceInformation.CreateFromIdAsync(dev.Id); as the BluetoothDevice.Id is no longer the Id that created it.
Eg:
BluetoothDevice.Id = "68E68594A7B8"
DeviceInformation.Id = "BluetoothLE#BluetoothLEe8:48:b8:c8:20:00-68:e6:85:94:a7:b8"

The exception I receive from this is
System.IO.FileNotFoundException
  HResult=0x80070002
  Message=The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
  Source=mscorlib
  StackTrace:
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at consoleTest.Program.<Main>d__0.MoveNext() in Program.cs:line 32

Am I missing something in how to convert back and forth? Is there a solution to this? I was able to retrieve the RSSI and the IsPresent properties from DeviceInformation, but not from the BluetoothDevice. I am trying to expose these properties and thought I could just convert back and forth to retrieve them using the "System.Devices.Aep.SignalStrength" property for example.

There is an implicit cast between BluetoothDevice and the native Windows BluetoothLEDevice. You can do something like this
var btdev = (BluetoothLEDevice)device;
var di = btdev.DeviceInformation;
It's probably worth me adding an implicit operation to the DeviceInformation directly for interop with other APIs.

Thank you @peterfoot , This implicit cast does what I need. I was able to expose RSSI through this method
public int RSSI
        {
            get
            {
                var bleDev = (Windows.Devices.Bluetooth.BluetoothLEDevice)_device;
                DeviceInformation devInfo = Task.Run(() => DeviceInformation.CreateFromIdAsync(bleDev.DeviceInformation.Id, new string[] { "System.Devices.Aep.SignalStrength" }).AsTask()).Result;
                return (int)devInfo.Properties["System.Devices.Aep.SignalStrength"];
            }
        }


Module nltk not found

Can u help with this,am using python3 and whenever i run the .sh script on terminal ,this error shoot out module nltk not found and i have install nltk

Hi @ruohoruotsi @emmadedayo
I wonder whether what Size mean? Is it Layer and rnn_size ?

I don't get,wat do u mean

Hello @emmadedayo, for NLTK please refer to the README.  Please note that NLTK will need some extra efforts if you've installed it for the first time.
you will need to run python3 from your terminal and do:
 >>> import nltk
 >>> nltk.download('punkt')

This will download the necessary NLTK parts ... otherwise you'll have the error below

Resource punkt not found.
Please use the NLTK Downloader to obtain the resource:

Let me know if that helps.

@emmadedayo If it will be helpful, I can upload a video that shows the steps in closer detail. Let me know how you get one with the setup. Cheers.

okay @ruohoruotsi, have done it but still showing error

@emmadedayo this error is not related to NLTK. The error says to "Please check the path of your train src and tgt files". Since the NLTK issue is resolved I will close this issue.
Regarding the most recent error: I will upload a video that shows the expected output starting from cloning the repo and running the build script.

Okay @ruohoruotsi,pls upload video

@emmadedayo
(1) Please study the video https://www.youtube.com/watch?v=Lh7XFc7S_8Y, as I clone 2 repos (having already installed dependencies & NLTK) to get the newest code
(2) then I run the training script.
It is important to check the first errors you encounter, for example above in your error-output, your data preprocessing step is failing. You have to debug why. If you follow the steps on a clean system, tested on Linux/Ubuntu & MacOS, you shouldn't meet any problems.  Let me know how you get on, and we'll work to resolve all issues.

@emmadedayo I have added a Quickstart using a pre-trained model (so you don't have to train your own model). Please try this short Jupyter notebook and see if it can help out. Cheers
https://github.com/Niger-Volta-LTI/yoruba-adr/blob/master/correct_yoruba_diacritics.ipynb


Units

When describing units, should we use italicized in math (option a) or text mode in math (option b)
a. m/s: \\( m / s \\)
b. m/s : \\(\\text{m/s}\\)
@dougoldenburg thoughts?

My vote: Not italicized