Many feed doesn't have source link.

Some feed such as vuejs has a <link>...</link> on xml.
It seems that it depends whether project have their official website or not.
http://weekly.bestofjs.org/rss/trends.xml
I'm using feedly to see weekly feeds.
Blank window will opened when I click no  project on feedly.
Is it possible to add github.com link, npm.org link or bestofjs.org link on feed content?
I think it worked properly before.

Hello @tomothumb thank you for your feedback!
I've just deployed a fix, could you check if it's OK?
https://weekly.bestofjs.org/rss/trends.xml


Remove debug print from TServiceClient

Client: Java

Tracked in THRIFT-4062
@tdavis: next time please have a look at our contrib guidelines. Thank you!


fix: align OSCR pill with the username

Description
Now, the OSCR pill is aligned with the username

Related Tickets & Documents
fixes #4034

Mobile & Desktop Screenshots/Recordings
Before

After
Desktop

Mobile

Steps to QA

Go to the repository insights
see the grid view of contributor's tab

Tier (staff will fill in)

[ ] Tier 1
[ ] Tier 2
[ ] Tier 3
[ ] Tier 4

[optional] What gif best describes this PR or how it makes you feel?

Approved dev build on Netlify, requested engineering review.


fix: Rename notification button with 'Click here for Detailed Vulnerability Report'

Rename notification button with 'Click here for Detailed Vulnerability Report'

[test]

[test]


Нow create command help?

How to implement this hint when you enter the command? http://uploads.im/hFLjW.png

@BotFather /setcommands command accepts this syntax:
command1 - description

Thank you so much


Hey dude. Try to chill out.


Add Graphviz to Topology Maps

I might be missing something, are the topology maps broken in the docker release? What's the thought behind adding the OS packages in addition to the graphiz library we're installing in requirements.txt?

The package isn't included so the system can't generate the map.
After include the map works

Ok, see what you mean now. I get an error saying it couldn't find the executable w/o the graphiz system package. I don't think the python-pygraphviz is needed though. Can you resubmit the PR w/o it?

Yes, I do

So what the steps to have an operational topology ?

My bad, I've just seen "Files changed" tab.


Estimator fails when reused

Environment

Qiskit Terra version: 0.22
Python version: 3.9
Operating system:  Linux

What is happening?
Estimated value can be incorrect when using an Estimator for different observables.
How can we reproduce the issue?
Run this code. Uncomment the Estimator in the loop to see the alternating values it should produce
from qiskit.opflow.primitive_ops import PauliSumOp
from qiskit.primitives import Estimator
from qiskit.circuit import QuantumCircuit

qc = QuantumCircuit(4)
qc.ry(3, 0)
qc.rz(1.1, 0)
qc.cx(0, 1)
qc.h(1)
qc.cx(1, 2)
qc.rx(1.2, 2)
qc.rz(2.1, 3)
qc.cx(3, 0)

num_ops = 2
def get_op(num_op):
  if num_op == 0:
    op = PauliSumOp.from_list(
        [
            ("IXIX", 6.727086146309219),
            ("IXZX", -0.727086146309219),
            ("ZXZX", -1.727086146309219),
            ("ZXIX", 1.727086146309219),
        ]
    )
  else:
    op = PauliSumOp.from_list(
        [
            ("ZXIX", 0.727086146309219),
            ("ZXZX", -0.727086146309219),
            ("IXZX", -0.727086146309219),
            ("IXIX", 0.727086146309219),
        ]
  )
  return op

estimator = Estimator()

for j in range(10):
    # estimator = Estimator()
    num_op = j % num_ops
    job = estimator.run([qc], [get_op(num_op)])
    value = job.result().values[0]
    print(value)

What should happen?
It should give the right values
Any suggestions?
This is related to #8725 which cached and matched circuits by id(). The estimator is still doing this for observables and causes issues if Python reuses an id for different operator content.

Oh yeah. Originally it was supposed to have to be passed as Iterable, but we relaxed that restriction introducing run method, which caused the collision. Thanks.


Phase 01 Implementation

Here what we looking for the implementation up to phase 01 of implementation

[x]  UI finalizing in each component

[x]  CRUD operation for each user

[x]  Authentication module with login, signup, profile access

[x]  Database creation with MySQL

[x]  Initialize the basic MVC architecture, further we upgrade it to industry MVC architecture

great work team

Well done team!

Well done team!


Ballot status display should distinguish whether attention is required

After submitting a ballot, the status display on the left pane is unchanged; that indicator should make it clear whether my attention is still required. It should at least distinguish between no action available (no ballots available to submit / edit), a ballot needs my attention (no version has been submitted), and actions available but not required (I have successfully submitted a ballot, but it can still be re-submitted).

Rolling this into #259.


complete theme injection

@hasparus is this the right approach to adding more scales here?
Note, I haven't added any comments yet, but if this is the right path, then I could do that next.
cc @cmaycumber
PS I have this set to merge into @hasparus's branch, not sure if that's the right move or not. I haven't done a PR pointed at another PR before.

@hasparus is this the right approach to adding more scales here?

If it works for you. Or actually, I could move my branch to theme-ui repo to keep all conversation there.

BTW. All CSS object properties are optional (:?) I noticed in the CI failure.

Or actually, I could move my branch to theme-ui repo to keep all conversation there.

@nandorojo, it's impossible to change base branch of the PR. Let's keep it here, I'll try to merge anything swiftly so we can still be focused on system-ui/theme-ui repo and use this branch just to consolidate the code.

@hasparus Looks like my tests are failing in the css package still. I'm doing this a bit brute-force since I'm not super familiar with the code base, but I believe I've followed your work so far with the colors.
Does anything stand out to you as the reason for the errors here so far?

I think we can merge it with failing tests. I'll take a look at them tonight.

I think we can merge it with failing tests. I'll take a look at them tonight.

Appreciate that, thanks!


Provide Client SDK access to the /.auth/me EasyAuth endpoint

Provide a client SDK routine to retrieve the /.auth/me endpoint to a client application.
PROPOSAL:
var identity = client.CurrentUser.GetIdentityAsync(); // .NET
var identity = client.currentUer.getIdentity(); // JS
Additional Proposal:

Identity is retrieved on "first access"
login, logout and refresh token actions cause a refresh of identity next time it is retrieved
Should be ignored (never stored in persistent storage) when the currentuser is serialized.

We need to make sure the API accepts the provider/IdP for the identity that should be retrieved.

+1

Hi there, please have a look at the Readme section for the future of Azure Mobile Apps. Closing this issue for now. Thanks!


Fix pep8 and minor changes

Review

[ ] Tests
[ ] Delete your branch

nice work! I'd only suggest to add an entry in the changelog, to at least mention the fact that you've added tests for the validators and improved a few modules' syntax.

@brunobord Thank you! I added a few lines to the changelog

@brunobord you are welcome


Large PDF Files not downloaded

Please prefix your issue with one of the following: [BUG] [PROPOSAL] [QUESTION].
Package version, Laravel version
Expected behaviour
Actual behaviour
Exception stack trace
Screenshot of Excel file
Steps to reproduce the behaviour

Please fill in the issue template.


Validator - check empty child within parent

@Rudraksha20
From the roadmap:

When a tile has no content (because it is just used for culling), its boundingVolume must be completely inside its parent tile's boundingVolume.

This should also take a tile's transform (if it has one) into account. You can reference the code here for creating bounding volumes that are transformed: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Cesium3DTile.js#L828-L873


Make number of replicas configurable in the Helm chart

Description

Makes the number of replicas configurable.
Motivation and Context

Handy for HA setups.
How Has This Been Tested?

Tested with helm upgrade.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Docs update
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have followed the guidelines in CONTRIBUTING.md, including the required formatting of the commit message

Hmm, should we switch to
maxSurge: 1
maxUnavailable: 0

for the DB pod as well? :thinking:


fix(display correct identifier after a dispute is created)

After a dispute is created, the page state that the dispute "0" is displayed, but it should be the dispute which just has been created.

It works, it just it was the first created on mainnet.


ITMS-90809: Deprecated API Usage

Hi, I am facing the same issue that others developers have when trying to deploy my flutter app for App Store.
I read the others related issues, but I couldn't find a solution to my particular configuration.
I also run a deep search on my project looking for uiwebview references, but I didn't find anything.
I am running out of ideas, can you please help me to figure it out which package might be causing the problem?
Thanks in advance
This is my
flutter doctor -v :
[✓] Flutter (Channel stable, 2.5.2, on Mac OS X 10.15.7 19H2 darwin-x64, locale es-AR)
    • Flutter version 2.5.2 at /Users/eryxdev/tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3595343e20 (5 weeks ago), 2021-09-30 12:58:18 -0700
    • Engine revision 6ac856380f
    • Dart version 2.14.3

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
    • Android SDK at /Users/eryxdev/Library/Android/sdk
    • Platform android-29, build-tools 32.0.0-rc1
    • ANDROID_HOME = /Users/eryxdev/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.69

This is the content from my
pubspec.yaml:

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  video_player:

  flutter_localizations:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.

Please see flutter.dev/community for links to other resources where you can get help with your own projects; the issue tracker is specifically for bug reports and feature requests in Flutter itself, and can't provide support for project-level issue.


[BUG] Event details cutoff on Mobile

Describe the bug
Parts of the event detail text is cutoff on mobile.
To Reproduce
Steps to reproduce the behavior:

Go to the events page
Click on an event with a long description
Scroll down to the very bottom
See error

Expected behavior
I should be able to see the entire event detail text
Screenshots or Links

Environment

OS: Android 9
Browser: Firefox
Browser Version: 86.1.1

also tested on

Browser: Samsung Internet
Browser Version: <IP_ADDRESS>

Additional context
N/A

oh no

oh no

oh no indeed. Also, maybe a label for mobile bugs...


Update setup.cfg

Adding description to setup.cfg to be picked up in setup.py

Thank you for contributing to stackforge/monasca-notification!
stackforge/monasca-notification uses Gerrit for code review.
Please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


Q: Implementing page prefetching

What I mean to ask is: Is it possible to implement downloading of pages without marking them as visited yet?
A concrete use case for me is that I want to make the crawler more targeted, by checking if crawled pages are in a topic defined by some hand-picked documents.
Unimportant pages generally should not be crawled further, but in the case a relevant page is referenced by a less relevant one, it should not be missed.
The way I want to solve this is by taking all child pages up to a certain depth from the currently crawled document (resulting in a tree with the root the current page).
If none of the pages in the tree are relevant, all of them should be marked as visited and skip them, but if there are enough good items, crawl the whole tree.
How hard would it be to try to implement such a behavior in the crawlers current structure?
[Edit] After some research, found I should add functionality to PageRequester class

All that you describe can be done by implementing your own
ICrawlDecisionMaker implementation (CrawlDecisionMaker.cs is the default
impl). It makes all the decisions that would support your use case above. I
do think I should point out that to see what links are on a page or if a
page is defined in some hand picked document, it still needs to be crawled.
Looks like what you need to do is crawl everything but only process the
pages that meet your criteria. Either way the
ICrawlDecisionMaker/CrawlDecisionMaker is where you would do this.
Hope that helps
Steven
On Mon, May 25, 2015 at 12:25 PM, clausavram<EMAIL_ADDRESS>wrote:

What I mean to ask is: Is it possible to implement downloading of pages
without marking them as visited yet?
A concrete use case for me is that I want to make the crawler more
targeted, by checking if crawled pages are in a topic defined by some
hand-picked documents.
Unimportant pages generally should not be crawled further, but in the case
a relevant page is referenced by a less relevant one, it should not be
missed.
The way I want to solve this is by taking all child pages up to a certain
depth from the currently crawled document (resulting in a tree with the
root the current page).
If none of the pages in the tree are relevant, all of them should be
marked as visited and skip them, but if there are enough good items, crawl
the whole tree.
Is it reasonably hard to try to implement such a behavior in the crawlers
current structure?
—
Reply to this email directly or view it on GitHub
https://github.com/sjdirect/abot/issues/73.

I feel this is a very helpful tip and look into it.
Thank you,
Claudiu

Hello,
I have started using you crawler and find it very nice.
I have though a persistent issue when trying to use HtmlAgilityPack in the
solution inside any project except Abot (while trying to use it for ex.
for tag querying inside Html pages).
The problem manifests as a version mismatch by not finding the binaries for
an older library version than the currently installed one.
I have seen that Abot has a functioning reference to HtmlAgilityPack
version 1.4.7 that does not appear in either NuGet or in Refereces Manager.
My presumption is that when I install HtmlAgilityPack into another project,
the old binary is overwritten with a newer version.
I tried installing the earlier version 1.4.7 manually through the console,
so I would use it in the new project as well, but that version sadly is not
available through NuGet.
If I install the newer version of HtmlAgilityPack 1.4.9 into Abot project,
I get compiler errors like:

'HtmlAgilityPack.HtmlDocument' does not contain a definition for
'OptionMaxNestedChildNodes' and no extension method
'OptionMaxNestedChildNodes' accepting a first argument of type
'HtmlAgilityPack.HtmlDocument' could be found (are you missing a using
directive or an assembly reference?)

How can I make the solution work and still use HtmlAgilityPack in projects
other than Abot?
Your help would be greatly appreciated,
Claudiu Avram

Hi,
See if this helps you...
https://github.com/sjdirect/abot/issues/21
If that doesn't work, try uninstalling HAP from your application, then
install Abot, then reinstall your version of HAP. It may be smart enough to
handle the assembly binding redirects for you.
Hope that helps
Steven
On Wed, May 27, 2015 at 2:39 PM, clausavram<EMAIL_ADDRESS>wrote:

Hello,
I have started using you crawler and find it very nice.
I have though a persistent issue when trying to use HtmlAgilityPack in the
solution inside any project except Abot (while trying to use it for ex.
for tag querying inside Html pages).
The problem manifests as a version mismatch by not finding the binaries for
an older library version than the currently installed one.
I have seen that Abot has a functioning reference to HtmlAgilityPack
version 1.4.7 that does not appear in either NuGet or in Refereces Manager.
My presumption is that when I install HtmlAgilityPack into another project,
the old binary is overwritten with a newer version.
I tried installing the earlier version 1.4.7 manually through the console,
so I would use it in the new project as well, but that version sadly is not
available through NuGet.
If I install the newer version of HtmlAgilityPack 1.4.9 into Abot
project,
I get compiler errors like:

'HtmlAgilityPack.HtmlDocument' does not contain a definition for
'OptionMaxNestedChildNodes' and no extension method
'OptionMaxNestedChildNodes' accepting a first argument of type
'HtmlAgilityPack.HtmlDocument' could be found (are you missing a using
directive or an assembly reference?)

How can I make the solution work and still use HtmlAgilityPack in projects
other than Abot?
Your help would be greatly appreciated,
Claudiu Avram
—
Reply to this email directly or view it on GitHub
https://github.com/sjdirect/abot/issues/73#issuecomment-106086841.

I have been trying to do some debugging and so want to look at the source code for HtmlAgilityPack (version 1.4.7).
As it's not an official version, how can I get the sources for version 1.4.7?

Source code here...
https://abot.googlecode.com/issues/attachment?aid=770004000&name=HapStackOverFlowPatch.zip&token=ABZ6GAeSqUptoYfLzcHQELllP68EgNK-TQ%3A1433539498630&id=77&mod_ts_token=ABZ6GAeutITp5b6fdz9wA4Z_izU7r3KbEg%3A1433539498630
On Fri, Jun 5, 2015 at 2:02 PM, clausavram<EMAIL_ADDRESS>wrote:

I have been trying to do some debugging and so want to look at the source
code for HtmlAgilityPack (version 1.4.7).
As it's not an official version, how can I get the sources for version
1.4.7?
—
Reply to this email directly or view it on GitHub
https://github.com/sjdirect/abot/issues/73#issuecomment-109438757.

Thank you very much :)


Dashboard layout change feature

Re-implement board layout change functionality

More work is needed here but the bulk of the work is complete.


added try catch statement from the issue #12

added the try catch statement

Implemented myself due to the massive amount of code style format change that was in your request


Forking and refactoring for compatibility with macOS

I'm thinking about forking this repository and refactoring some parts to make it compatible with Mac for a personal project.
It is clearly stated in README that OS X is not supported; other than dependencies on other iOS-exclusive pods (e.g. libtiff), are there any other major breaking points to be aware of?

The differences in Frameworks between iOS and MacOS?
There is a ticket about porting. Pls, refer to it for more details.
Also why don't you apply your changes in the way that the Tesseract-OCR-iOS becomes a universal Tesseract-OCR-ObjC? :) I mean, why don't you push your changes to this repository so every developer can access the result of your porting efforts and perhaps help you with this?
I'm going to close this ticket as a duplicate.
Let's continue in that ticket.


plot_single_flow raw data interpretation

Hi,
I'm trying to get the raw data behind this plot. I'm getting the data in all polygons in the ax.get_children(), but it's hard to interpret them, is there any documentation or other way to reconstruct this chart using its data?

ax = tmk.plot_single_flow(
    cluster_key="cell_sets",
    time_key="day",
    cluster="MEF/other",
    min_flow=0.1,
    xticks_step_size=4,
    show=False,
    clusters=["MEF/other", "MET", "Stromal"],
)

_ = ax.set_xticklabels(ax.get_xticklabels(), rotation=90)

I appreciate any help in advance!

Sorry, there are no additional docs, so you'll have to check the corresponding code directly.


Expose more meta-data

Currently this library only makes use of the author and title meta-data exposed by Project Gutenberg and does not leverage information such as genre, publication date, etc.
Making this information usable by the library is a pretty straight forward three-step process:

The TextSource.textinfo_converter method needs to be extended to parse the new meta-data attributes.
The new attributes need to be wired through to the TextInfo class.
A new method leveraging the new meta-data source should be added to the Corpus class (such as texts_for_genre or texts_for_year

Can I get a few more pointers about getting this set up?  I'd like to try adding SPARQL to grab the licensing terms:
        ebook = next(iter(rdf_graph.query('''
            SELECT
                ?ebook
                ?author
                ?title
                ?rights
            WHERE {
                ?ebook a pgterms:ebook.
                OPTIONAL { ?ebook dcterms:creator [ pgterms:name ?author ]. }
                OPTIONAL { ?ebook dcterms:title ?title. }
                OPTIONAL { ?ebook dcterms:rights ?rights.}
            }
            LIMIT 1
        ''')))

What is the best way to go about testing this with range of sample RDF files.  Are there structures in place for this?
@rdhyee and I are very interested in extending your library for GITenberg.

@sethwoodworth - I'm currently refactoring the way in which meta-data is extracted and exposed through the library: see #11. The refactor will make it a lot easier to extend the library (more testable, less convoluted, etc.), so I'd recommend you to hold off working on this issue until the refactor is live.
My first implementation of the library wasn't particularly good - classic "works for me in this very particular situation" code, not particularly fit for general consumption. I was somewhat surprised that this library is actually useful to people. This refactor will hopefully fix the initial design flaws and enable people such as yourself to be productive with the library.
The bulk of the refactor is done - I expect the changes to go live towards the end of the week.

Fantastic.  I will keep my eyes open for those changes.  In the meantime, @rdhyee make a gist with the SPARQL needed for more metadata properties
Preview:
    qres = g.query('''
                SELECT
                    ?ebook
                    ?author
                    ?author_webpage
                    ?title
                    ?friendlytitle
                    ?language
                    ?description
                    ?rights
                    ?type
                    ?issued
                    ?downloads
                WHERE {
                    ?ebook a pgterms:ebook.
                    OPTIONAL { ?ebook dcterms:creator [ pgterms:name ?author ]. }
                    OPTIONAL { ?ebook dcterms:creator [ pgterms:webpage ?author_webpage]. }
                    OPTIONAL { ?ebook dcterms:title ?title. }
                    OPTIONAL { ?ebook dcterms:friendlytitle ?friendlytitle. }
                    OPTIONAL { ?ebook dcterms:language [rdf:value ?language] .}
                    OPTIONAL { ?ebook dcterms:description ?description.}
                    OPTIONAL { ?ebook dcterms:rights ?rights.}
                    OPTIONAL { ?ebook dcterms:type [ rdf:value ?type].}
                    OPTIONAL { ?ebook dcterms:issued ?issued.}
                    OPTIONAL { ?ebook pgterms:downloads ?downloads.}
                }
                LIMIT 1
    ''')


Editing Channel Post's Caption

Hi, I was trying to use this library to edit the caption of a media when posted in some telegram channel but am not able to find any way to do so
I tried using the context.EditCaption() function but it gives an error that:
context does not contain message
Even the context.Edit() function is not useful in this case.
Is it possible to do so with this library ?

how did you solve it?

https://github.com/tucnak/telebot/blob/v2.5.0/bot.go#L971

https://github.com/tucnak/telebot/blob/v2.5.0/bot.go#L971

what should i see there? i've tried bot.edit(ctx.message(), "edited"), but it didn't sense


[SPARK-39437][FOLLOWUP][SQL][TESTS] Update q83.sf100.ansi result

What changes were proposed in this pull request?
This is a follow-up of https://github.com/apache/spark/pull/36827 to update q83.sf100.ansi result.
Why are the changes needed?
ANSI mode unit tests are not covered on GitHub Action on PRs.

https://github.com/apache/spark/commits/master

Does this PR introduce any user-facing change?
No.
How was this patch tested?
This should be tested manually because GitHub Action doesn't test this.
$ SPARK_ANSI_SQL_MODE=true build/sbt "sql/testOnly *PlanStabilityWithStatsSuite"

Thank you again, @gengliangwang .

Thank you, @huaxingao .

This is also not tested by GitHub Action on PR.
According to the master branch status, this is the last failure and I also verified with the wildcard at this time.
SPARK_ANSI_SQL_MODE=true SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "sql/testOnly *PlanStability*Suite"

I'm going to merge.


[BUG] Version 0.0.10 causes wrangler publish failure

Is there an existing issue for this?

[X] I have searched the existing issues

What version of workers-rs are you using?
0.0.10
Describe the bug
With workers-rs 0.0.10, deploying u32i64/signalupdates-bot (e.g. at this revision) fails with the following error:
 ⛅ wrangler 2.0.15
--------------------
Running custom build: cargo install worker-build && worker-build --release
    Updating crates.io index
     Ignored package `worker-build v0.0.6` is already installed, use --force to override
[INFO]: 🎯  Checking for the Wasm target...
[INFO]: 🌀  Compiling to Wasm...
    Finished release [optimized] target(s) in 0.07s
[INFO]: ⬇  Installing wasm-bindgen...
[INFO]: Optimizing wasm binaries with `wasm-opt`...
[INFO]: Optional fields missing from Cargo.toml: 'description', 'repository', and 'license'. These are not necessary, but recommended
[INFO]: ✨   Done in 1.24s
[INFO]: 📦   Your wasm pkg is ready to publish at [redacted path]/signalupdates-bot/build.
Your worker has access to the following bindings:
- KV Namespaces:
  - STATE: [redacted namespace id]

✘ [ERROR] A request to the Cloudflare API (/accounts/[redacted account id]/workers/scripts/signalupdates-bot) failed.

  Uncaught TypeError: Cannot read properties of undefined (reading
  'memory')
    at line 0
   [code: 10021]

  If you think this is a bug, please open an issue at:
  https://github.com/cloudflare/wrangler2/issues/new/choose

Deploying the same worker with workers-rs 0.0.9 (e.g. at this revision) is successful (hence I'm reporting this here instead of cloudflare/wrangler2 as the error suggests).
The wrangler.toml file is identical to wrangler.example.toml, except the account and KV namespace IDs are specified instead of ....
Steps To Reproduce
No response

I've identified a fix but it's currently blocked on https://github.com/swc-project/swc/issues/4864. This puts us in a weird place where we ideally want to keep using SWC, but it looks like it'll be a while until it's fixed. Whereas esbuild doesn't suffer from this behavior but would require either esbuild or npm on the user's path.
I also identified a hacky fix that would fix this issue, but another one similar to this could pop up later whenever wasm-bindgen makes changes to the generated JS. I think that's what we'll have to go with for now.

Whereas esbuild doesn't suffer from this behavior but would require either esbuild or npm on the user's path.

If this SWC doesn't fix this in the future, we could actually just download the esbuild binary from the npm package and store it in the user's cache dir if it isn't already on the user's path.

I created a branch that uses (or downloads) esbuild for the bundling step to hopefully solve this issue. I'm not sure this is the path we want to go down yet, so for now replace your the TOML below if you'd like to try it out. This did allow me to public your worker.
[build]
command = "cargo install -q --git https://github.com/cloudflare/workers-rs --branch zeb/esbuild && worker-build"

I have the same issue when running wrangler dev as well

@zebp Thanks for working on this!
There appears to be a typo in darwin that prevents esbuild from being downloaded on Apple silicon:
https://github.com/cloudflare/workers-rs/blob/3fae93d1387b6e0694f82d73059ffae3de49524b/worker-build/src/install.rs#L127
I've chosen to install esbuild manually using yarn global add esbuild, then the worker deploys and works successfully using your branch.

@zebp Thanks for working on this!
There appears to be a typo in darwin that prevents esbuild from being downloaded on Apple silicon:
https://github.com/cloudflare/workers-rs/blob/3fae93d1387b6e0694f82d73059ffae3de49524b/worker-build/src/install.rs#L127
I've chosen to install esbuild manually using yarn global add esbuild, then the worker deploys and works successfully using your branch with workers-rs 0.0.10.

Fixed the typo, glad that it works for you!

On Windows, the esbuild branch fails to install with this error:
error[E0433]: failed to resolve: could not find `unix` in `os`
  --> worker-build\src\install.rs:74:22
   |
74 |         use std::os::unix::prelude::OpenOptionsExt;
   |                      ^^^^ could not find `unix` in `os`

error[E0599]: no method named `mode` found for mutable reference `&mut OpenOptions` in the current scope
  --> worker-build\src\install.rs:75:27
   |
75 |         options = options.mode(0o770);
   |                           ^^^^ method not found in `&mut OpenOptions`

On Windows, the esbuild branch fails to install with this error:
error[E0433]: failed to resolve: could not find `unix` in `os`
  --> worker-build\src\install.rs:74:22
   |
74 |         use std::os::unix::prelude::OpenOptionsExt;
   |                      ^^^^ could not find `unix` in `os`

error[E0599]: no method named `mode` found for mutable reference `&mut OpenOptions` in the current scope
  --> worker-build\src\install.rs:75:27
   |
75 |         options = options.mode(0o770);
   |                           ^^^^ method not found in `&mut OpenOptions`

Whoops! The branch has been updated with a fix.

esbuild doesn't seem to like the way I structured my workspace. When I apply @zebp's workaround I get
$ miniflare
    Updating git repository `https://github.com/cloudflare/workers-rs`
     Ignored package `worker-build v0.0.6 (https://github.com/cloudflare/workers-rs?branch=zeb/esbuild#ec5546ec)` is already installed, use --force to override
[INFO]: 🎯  Checking for the Wasm target...
[INFO]: 🌀  Compiling to Wasm...
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   /Users/chris/repos/github.com/cloudflare/daphne/daphne_worker_test/Cargo.toml
workspace: /Users/chris/repos/github.com/cloudflare/daphne/Cargo.toml
    Finished release [optimized] target(s) in 0.18s
[INFO]: License key is set in Cargo.toml but no LICENSE file(s) were found; Please add the LICENSE file(s) to your project directory
[INFO]: ⬇  Installing wasm-bindgen...
[INFO]: Optimizing wasm binaries with `wasm-opt`...
[INFO]: Optional fields missing from Cargo.toml: 'description', 'repository'. These are not necessary, but recommended
[INFO]: ✨   Done in 2.24s
[INFO]: 📦   Your wasm pkg is ready to publish at /Users/chris/repos/github.com/cloudflare/daphne/daphne_worker_test/build.

  shim.mjs  43.9kb

⚡ Done in 8ms
[mf:inf] Build succeeded
[mf:err] DurableObjectError [ERR_CLASS_NOT_FOUND]: Class "ReportStore" for Durable Object "DAP_REPORT_STORE" not found
    at DurableObjectsPlugin.reload (/Users/chris/.nvm/versions/node/v17.1.0/lib/node_modules/miniflare/node_modules/@miniflare/durable-objects/src/plugin.ts:255:15)
    at EventTarget.#runAllReloads (/Users/chris/.nvm/versions/node/v17.1.0/lib/node_modules/miniflare/node_modules/@miniflare/core/src/index.ts:656:24)
    at EventTarget.#reload (/Users/chris/.nvm/versions/node/v17.1.0/lib/node_modules/miniflare/node_modules/@miniflare/core/src/index.ts:797:13)
    at EventTarget.getPlugins (/Users/chris/.nvm/versions/node/v17.1.0/lib/node_modules/miniflare/node_modules/@miniflare/core/src/index.ts:970:5)
    at createServer (/Users/chris/.nvm/versions/node/v17.1.0/lib/node_modules/miniflare/node_modules/@miniflare/http-server/src/index.ts:350:19)
    at startServer (/Users/chris/.nvm/versions/node/v17.1.0/lib/node_modules/miniflare/node_modules/@miniflare/http-server/src/index.ts:436:18)
    at main (/Users/chris/.nvm/versions/node/v17.1.0/lib/node_modules/miniflare/src/cli.ts:96:5)

I'm using miniflare version 2.5.1. I get the same error with wrangler publish.
The worker is in a crate daphne_worker_test. The class that's missing, ReportStore, is in a crate daphne_worker in the same workspace. It appears this is a problem for esbuild, but not SWC. Any ideas for working around this?
Here's my repo: https://github.com/cloudflare/daphne/compare/cjpatton/wrangler-build

Looks like the blocking issue may have been resolved? https://github.com/swc-project/swc/issues/4864

Seems that upgrading didn't immediately help, sadly :(

After a bit of fiddling, I don't think the current workaround is working for durable objects at all. Has anyone gotten this to work with durable objects?

@zebp pushed a change to the workaround branch that fixed my DO issue 👍

@zebp after switching to using worker-build from this repo's main branch, we now see a different error:
✘ [ERROR] A request to the Cloudflare API (/accounts/d267a8ab95268b272f5147e8939c9d38/workers/scripts/graphql-upgrade-worker-2-preview) failed.

  Uncaught Error: LinkError: WebAssembly.Instance(): Import #47 module="./index_bg.js" function="__wbg_clearTimeout_65417660fe82f08d" error: function import requires a callable
    at line 0
   [code: 10021]

  If you think this is a bug, please open an issue at: https://github.com/cloudflare/wrangler2/issues/new/choose

Are we doing something wrong? It looks like the binding to the clearTimeout() implementation is somehow missing from the final shim.mjs.

@zebp after switching to using worker-build from this repo's main branch, we now see a different error:
✘ [ERROR] A request to the Cloudflare API (…) failed.

  Uncaught Error: LinkError: WebAssembly.Instance(): Import #47 module="./index_bg.js" function="__wbg_clearTimeout_65417660fe82f08d" error: function import requires a callable
    at line 0
   [code: 10021]

  If you think this is a bug, please open an issue at: https://github.com/cloudflare/wrangler2/issues/new/choose

Are we doing something wrong? It looks like the binding to the clearTimeout() implementation is somehow missing from the final shim.mjs.

@zebp after switching to using worker-build from this repo's main branch, we now see a different error:
✘ [ERROR] A request to the Cloudflare API (…) failed.

  Uncaught Error: LinkError: WebAssembly.Instance(): Import #47 module="./index_bg.js" function="__wbg_clearTimeout_65417660fe82f08d" error: function import requires a callable
    at line 0
   [code: 10021]

  If you think this is a bug, please open an issue at: https://github.com/cloudflare/wrangler2/issues/new/choose

Are we doing something wrong? It looks like the binding to the clearTimeout() implementation is somehow missing from the final shim.mjs.

Guess some new bugs emerged switching to esbuild, I'm trying to reproduce using Delay but I haven't gotten that issue. I also haven't been able to reproduce your issue with manual calls to clear_timeout.
Are you able to reduce it down to a small reproducable worker you can share?

@zebp pardon, I was not able to reduce it down easily, but somehow it went through at another attempt. We're now using workers 0.0.10 just fine.

@zebp pardon, I was not able to reduce it down easily, but somehow it went through at another attempt. We're now using workers 0.0.10 just fine.

Good, although it just working a second time is a bit concerning. I think I'm going to close this issue, if any issues come up with the new bundler then a new issue would probably be better.


Properly communicate that a package doesn't support a preferred programming language

If users run a search for "EKS" in Python, we may still retrieve packages for EKS that don't support Python yet. We should add a text on the cards of these packages that explains that "This package doesn't support Python yet"
If a user's preferred language is Python and they try to open a package that doesn't support Python yet, we should display documentation of one of the supported languages and display a text saying that Python is not supported yet for this package.

We already filter out packages that do not support the filtered language. There's currently no way for the front-end to filter out packages which support a language but do not have docs for them


Fix issue with snippets and custom user model related to django-filter

The introduction of filters on the SnippetHistoryView in Wagtail 4.1 seems to cause issues in cases where:

A custom User model is being used
@register_snippet is used in models.py to register a snippet

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/django_filters/utils.py", line 174, in get_field_parts
    opts = field.remote_field.model._meta
AttributeError: 'str' object has no attribute '_meta'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.10/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/runserver.py", line 125, in inner_run
    autoreload.raise_last_exception()
  File "/usr/local/lib/python3.10/site-packages/django/utils/autoreload.py", line 87, in raise_last_exception
    raise _exception[1]
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 398, in execute
    autoreload.check_errors(django.setup)()
  File "/usr/local/lib/python3.10/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python3.10/site-packages/django/apps/registry.py", line 116, in populate
    app_config.import_models()
  File "/usr/local/lib/python3.10/site-packages/django/apps/config.py", line 269, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/pwd/testerror/home/models.py", line 13, in <module>
    class SnippetA(models.Model):
  File "/usr/local/lib/python3.10/site-packages/wagtail/snippets/models.py", line 47, in register_snippet
    from wagtail.snippets.views.snippets import SnippetViewSet
  File "/usr/local/lib/python3.10/site-packages/wagtail/snippets/views/snippets.py", line 628, in <module>
    class SnippetHistoryReportFilterSet(WagtailFilterSet):
  File "/usr/local/lib/python3.10/site-packages/django_filters/filterset.py", line 62, in __new__
    new_class.base_filters = new_class.get_filters()
  File "/usr/local/lib/python3.10/site-packages/django_filters/filterset.py", line 325, in get_filters
    field = get_model_field(cls._meta.model, field_name)
  File "/usr/local/lib/python3.10/site-packages/django_filters/utils.py", line 144, in get_model_field
    fields = get_field_parts(model, field_name)
  File "/usr/local/lib/python3.10/site-packages/django_filters/utils.py", line 179, in get_field_parts
    raise RuntimeError(
RuntimeError: Unable to resolve relationship `user` for `wagtailcore.ModelLogEntry`. Django is most likely not initialized, and its apps registry not populated. Ensure Django has finished setup before loading `FilterSet`s.```

This change resolves the problem although I expect it is addressing the symptom rather than the cause, so this may warrant some further investigation/untangling of imports.

Looks like this doesn't work quite as well as it did in my testing. Back to the drawing board.

Thanks for looking into this @tomusher!
#9586 seems to be another instance of this error. it would be good to identify some steps that consistently replicate this - by the sound of things it happens when a snippet model and a custom user model exist in the same models file (or model files that have a dependency between them).

I have also encountered this - an 'Author' class that referenced a custom user model as a foreign key. The Author class was also registered as a snippet. Moving the custom users app earlier in the Django app registry list seemed to solve it.
Error trace from Wagtail if it helps:
  File "/home/xxxx/.local/lib/python3.8/site-packages/wagtail/snippets/views/snippets.py", line 628, in <module>
    class SnippetHistoryReportFilterSet(WagtailFilterSet):
  File "/home/xxx/.local/lib/python3.8/site-packages/django_filters/filterset.py", line 62, in __new__
    new_class.base_filters = new_class.get_filters()
  File "/home/xxx/.local/lib/python3.8/site-packages/django_filters/filterset.py", line 325, in get_filters
    field = get_model_field(cls._meta.model, field_name)
  File "/home/xxx/.local/lib/python3.8/site-packages/django_filters/utils.py", line 144, in get_model_field
    fields = get_field_parts(model, field_name)
  File "/home/xxx/.local/lib/python3.8/site-packages/django_filters/utils.py", line 179, in get_field_parts
    raise RuntimeError(
RuntimeError: Unable to resolve relationship `user` for `wagtailcore.ModelLogEntry`. Django is most likely not initialized, and its apps registry not populated. Ensure Django has finished setup before loading `FilterSet`s.

This has now been fixed by #9605, and will be released soon as part of Wagtail 4.1.1.

I am still encountering this in Wagtail 4.2.0 when trying to import a snippet viewset
2023-02-08T10:47:01.813285094Z     from wagtail.snippets.views.snippets import SnippetViewSet
2023-02-08T10:47:01.813296302Z   File "/usr/local/lib/python3.10/dist-packages/wagtail/snippets/views/snippets.py", line 549, in <module>
2023-02-08T10:47:01.813448761Z     class SnippetHistoryReportFilterSet(WagtailFilterSet):
2023-02-08T10:47:01.813458636Z   File "/usr/local/lib/python3.10/dist-packages/django_filters/filterset.py", line 62, in __new__
2023-02-08T10:47:01.813461719Z     new_class.base_filters = new_class.get_filters()
2023-02-08T10:47:01.813463719Z   File "/usr/local/lib/python3.10/dist-packages/django_filters/filterset.py", line 325, in get_filters
2023-02-08T10:47:01.813469136Z     field = get_model_field(cls._meta.model, field_name)
2023-02-08T10:47:01.813471552Z   File "/usr/local/lib/python3.10/dist-packages/django_filters/utils.py", line 144, in get_model_field
2023-02-08T10:47:01.813475969Z     fields = get_field_parts(model, field_name)
2023-02-08T10:47:01.813651594Z   File "/usr/local/lib/python3.10/dist-packages/django_filters/utils.py", line 179, in get_field_parts
2023-02-08T10:47:01.813663719Z     raise RuntimeError(
2023-02-08T10:47:01.813666844Z RuntimeError: Unable to resolve relationship `user` for `wagtailcore.ModelLogEntry`. Django is most likely not initialized, and its apps registry not populated. Ensure Django has finished setup before loading `FilterSet`s.

Thanks for reporting, @mcosti! I've just confirmed that the test case at https://github.com/wagtail/wagtail/issues/9586#issuecomment-1302425868 does work successfully on Wagtail 4.2, so it's likely that your setup is a different one that we haven't encountered, and we'd need more details to investigate further.
If you're able to identify the setup that causes this, and can replicate it on a fresh Wagtail instance (with a set of steps similar to https://github.com/wagtail/wagtail/issues/9586#issuecomment-1302425868), you're welcome to open a new issue.

Same error, trying to implement custom user / auth model trigger seems to be no _meta in django_filters/utils.py
Wagtail version 4.2.1 Django 4.1.3  & custom user module at the top of  INSTALLED_APPS in base.py
2023-03-19 17:20:44 Traceback (most recent call last):
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/django_filters/utils.py", line 174, in get_field_parts
2023-03-19 17:20:44     opts = field.remote_field.model._meta
2023-03-19 17:20:44 AttributeError: 'str' object has no attribute '_meta'
2023-03-19 17:20:44
2023-03-19 17:20:44 During handling of the above exception, another exception occurred:
2023-03-19 17:20:44
2023-03-19 17:20:44 Traceback (most recent call last):
2023-03-19 17:20:44   File "/app/manage.py", line 10, in
2023-03-19 17:20:44     execute_from_command_line(sys.argv)
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 446, in execute_from_command_line
2023-03-19 17:20:44     utility.execute()
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/django/core/management/init.py", line 420, in execute
2023-03-19 17:20:44     django.setup()
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/django/init.py", line 24, in setup
2023-03-19 17:20:44     apps.populate(settings.INSTALLED_APPS)
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/django/apps/registry.py", line 124, in populate
2023-03-19 17:20:44     app_config.ready()
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/wagtail/snippets/apps.py", line 17, in ready
2023-03-19 17:20:44     register_deferred_snippets()
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/wagtail/snippets/models.py", line 163, in register_deferred_snippets
2023-03-19 17:20:44     _register_snippet_immediately(model, viewset)
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/wagtail/snippets/models.py", line 95, in _register_snippet_immediately
2023-03-19 17:20:44     from wagtail.snippets.views.snippets import SnippetViewSet
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/wagtail/snippets/views/snippets.py", line 549, in
2023-03-19 17:20:44     class SnippetHistoryReportFilterSet(WagtailFilterSet):
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/django_filters/filterset.py", line 62, in new
2023-03-19 17:20:44     new_class.base_filters = new_class.get_filters()
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/django_filters/filterset.py", line 325, in get_filters
2023-03-19 17:20:44     field = get_model_field(cls._meta.model, field_name)
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/django_filters/utils.py", line 144, in get_model_field
2023-03-19 17:20:44     fields = get_field_parts(model, field_name)
2023-03-19 17:20:44   File "/usr/local/lib/python3.10/site-packages/django_filters/utils.py", line 179, in get_field_parts
2023-03-19 17:20:44     raise RuntimeError(
2023-03-19 17:20:44 RuntimeError: Unable to resolve relationship user for wagtailcore.ModelLogEntry. Django is most likely not initialized, and its apps registry not populated. Ensure Django has finished setup before loading FilterSets.


Run pachd as non-root user by default and make local deploy use PSP

Under normal circumstances pachd doesn't need to run as root. This PR makes the pachd docker image rootless by setting the UID to 1000.
pachctl deploy local is a special case, because we use a host path mounted at /pach to store the data. We can't trust that the path will exist (with the right permissions) on the host machine, so we need to run as root in that specific case. However, all our testing is done with local deploys, and we want to run most of our tests as a non-root user.
The solution I'm proposing here is:

the dockerfile runs as UID 1000 by default
pachctl deploy local uses a pod security context to run as root by default, with a --rootless option to not use the PSC.
in local development we'll use the PSC
in CI we'll use the --rootless flag to make sure the entire test suite works when we don't have root (which should be the typical case in 99% of deployments - nobody should be using a hostpath in production!). This requires a little extra work to set up the directory on the host with the right permissions.

We'll need to add the PSC to the helm chart to maintain parity for local deploys as well.

Looks good! We could also maybe build in setting up that directory to reset.py
Interesting failure in the object bucket it's trying to write to/pach/chunk We might want to check in with cust team to find out how they changed the various directories pach writes to for rootless envs

Interesting failure in the object bucket it's trying to write to/pach/chunk We might want to check in with cust team to find out how they changed the various directories pach writes to for rootless envs

That was my mistake, that's just test that does a pachctl deploy local into a separate namespace and tries to make RPCs to it. I used UID 1 instead of 0 which works on my machine but isn't actually root :/ Should be fixed now.


How to fine tune xlnet large model with new text using XLnet-gen?

Hi:
Thanks for this repo. Text generation is my main interest and I was wondering how the xlnet large model can be fine tuned with new text then used as a model in XLnet-gen using language_generation.py
I can create a small base model from scratch using your repo but I don't have the gpu power to generate a large one.
Since the gpt-2 fine tuning  repo by nshepperd using the OpenAi  345M model is very easy to use is it possible to use a similar process in XLnet-gen?
The fine tuning examples given in the original XLnet repo don't seem applicable or easy to edit for text generation.
Any suggestions or new scripts are welcome.
Thanks

Thanks for your suggestion and having a quick fine-tuning code is a good idea. However, I am currently investigating why XLNet is not able to generate more coherent sentences and it will take a few days before I finalize the investigations and release a model/script better suited for text generation using XLNet.
Any pull requests are welcome on the fine-tuning part (or any other part really). But if there isn't any implementation on this (for me to pull) by the time I finish my investigation, I will implement it myself.
Until then, you can use data_utils.py of the original repo to process your data and train_gpu.py to fine tune using Colab GPU which is free.

I, too, would be interested in having quick fine-tuning code. :)
If you're still contributing to this project, I'd be glad if you wrote one.

Moved on from this to larger gpt2 models. Seems this was abandoned by the
coder.
On Sat, Dec 12, 2020 at 5:52 AM iamanai-1<EMAIL_ADDRESS>wrote:

I, too, would be interested in having quick fine-tuning code. :)
If you're still contributing to this project, I'd be glad if you wrote one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rusiaaman/XLnet-gen/issues/4#issuecomment-743738322,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFMAWPNGVYMQPEYPPHPR3KLSUNDO7ANCNFSM4IEWOU3A
.


Swith to run folder tarball

Associated with validation 24_15. /CW

@alneberg @ssjunnebo Hi, it seems that I don't have permission to request a review in this repo...

@alneberg @ssjunnebo Hi, it seems that I don't have permission to request a review in this repo...

@chuan-wang Sorry, my bad! You should be able to do it now.

@alneberg @ssjunnebo Hi, it seems that I don't have permission to request a review in this repo...

@chuan-wang Sorry, my bad! You should be able to do it now.

Thanks Anand!


Update charts/gateway with new gateway 10.1

Description of the change
update version number and image for gateway 10.1

there is another PR regarding updating the version number. https://github.com/CAAPIM/apim-charts/pull/84/
closing this one.


I trained the color deblur model according to the method in the article,

I trained the color deblur model according to the method in the article,
the psnr_ave = 29.8877 on gopro dataset,
psnr_ave = 26.8082 on kohler dataset.
and i test color model,the value are psnr_ave = 30.2456 and psnr_ave = 27.0550，is this normal?

I think maybe you need train longer time and pick a best model from last few checkpoints.

the loss is 0.004 after 4000 epoch.
i want to kown the loss of the network at steps=523000 ，What is the approximate value of loss?

I trained the color deblur model according to the method in the article,
the psnr_ave = 29.8877 on gopro dataset,
psnr_ave = 26.8082 on kohler dataset.
and i test color model,the value are psnr_ave = 30.2456 and psnr_ave = 27.0550，is this normal?

Hello, could you tell me how to download the kohler datasets? Or could you send it to me? Thank you a lot~

I trained the color deblur model according to the method in the article, the psnr_ave = 29.8877 on gopro dataset, psnr_ave = 26.8082 on kohler dataset. and i test color model,the value are psnr_ave = 30.2456 and psnr_ave = 27.0550，is this normal?

hello , i had an error while training
could you help me ?
/tensorflow-1.15.2/python3.7/tensorflow_core/python/ops/variable_scope.py in _get_single_variable(self, name, shape, dtype, initializer, regularizer, partition_info, reuse, trainable, collections, caching_device, validate_shape, use_resource, constraint, synchronization, aggregation)
866         tb = [x for x in tb if "tensorflow/python" not in x[0]][:5]
867         raise ValueError("%s Originally defined at:\n\n%s" %
--> 868                          (err_msg, "".join(traceback.format_list(tb))))
869       found_var = self._vars[name]
870       if not shape.is_compatible_with(found_var.get_shape()):
ValueError: Variable g_net/enc1_1/weights/Adam/ already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at


Sema/IRGen: Add clang decl support to #_hasSymbol

Update if #_hasSymbol diagnostics and codegen to support clang functions and Obj-C class declarations. Support for global variables requires more infrastructural changes and will be handled in a follow up. Support for direct Obj-C methods/properties will also be implemented in the future.
Resolves rdar://103408651

@swift-ci please test

@swift-ci please test

Cool! Can these clang decls also be handled via respondsToSelector?

Selectors represent Obj-C methods so they can't be used to represent C functions or globals.

Cool! Can these clang decls also be handled via respondsToSelector?

Selectors represent Obj-C methods so they can't be used to represent C functions or globals.

Makes sense.

@swift-ci please smoke test and merge


use Django 1.7 migrations instead of south

Still using south for migration :/

@renlinx007 what version of Django do you use in your project?

Its 1.8 & why still use south for migration ?

Version 1.0 and 1.1 both have Django 1.7+ migrations. 1.0 also included south migrations since Django 1.6 was supported, these were removed in oscar 1.1


[FLINK-16945][checkpointing] Execute CheckpointFailureManager.FailJob…

…Callback directly in main thread executor
What is the purpose of the change

This PR is used to resolve the race condition described in FLINK-13497
After finishing FLINK-13698 , now the operation of failing execution graph should be executed directly in main thread. There will be no unexpected message handled CheckpointCoordinator before failing execution graph

Brief change log

Invoking ExecutionGraph#failGlobal directly in CheckpointFailureManager

Verifying this change

This change added unit test case

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Yes, I think FLINK-13497 is fully resolved after this PR merged.

Thanks! Merging.


Fixed some issues and made the control disposable

Fix card flickering for one frame when deck is reset
TopItem is now set to null when the last card has been swiped (previously it left the last card's value, making it impossible to distinguish between last card being visible and having been swiped)
SwipeCardView is now disposable, and clean up happens when the control is disposed of
Animations get cancelled when deck is reset

Thanks @Tommigun1980! Awesome contribution!


DWA - Total number of days since start

Project
Days Without Alcohol
Description
A feature request to count the total number of days since the start date and show it on screen.
Expected result/usage

In which __ is replaced by the total number of days since the start date.

Fixed by this commit.


Merge features into master

2023-07-29
Features

Added factory prompts. Everyone receives the factory prompts. They are automatically updated when you start. If you
edit them, they become 'user prompts'. If you wish tp get the factory one back, just delete it and reload the page.
Sorted prompt list.

Bug fixes

Source code cleanup.
Fixed bug when importing would trigger wrong onChange handler and the handler would not always be called.


chore(txpool): deny additional lints

deny

missing debug impls
broken_intra_doc_links
unreachable_pub

Codecov Report

Merging #379 (bd8b422) into main (e014eaa) will decrease coverage by 0.13%.
The diff coverage is 11.76%.

@@            Coverage Diff             @@
##             main     #379      +/-   ##
==========================================
- Coverage   73.87%   73.73%   -0.14%
==========================================
  Files         235      235
  Lines       22031    22041      +10
==========================================
- Hits        16275    16253      -22
- Misses       5756     5788      +32

Impacted Files
Coverage Δ

crates/transaction-pool/src/lib.rs
0.99% <0.00%> (-0.01%)
:arrow_down:

crates/transaction-pool/src/pool/best.rs
89.70% <ø> (ø)

crates/transaction-pool/src/pool/listener.rs
0.00% <0.00%> (ø)

crates/transaction-pool/src/pool/mod.rs
0.00% <0.00%> (ø)

crates/transaction-pool/src/pool/parked.rs
11.34% <0.00%> (-0.24%)
:arrow_down:

crates/transaction-pool/src/test_util/mock.rs
53.70% <ø> (-6.67%)
:arrow_down:

crates/transaction-pool/src/traits.rs
10.00% <0.00%> (ø)

crates/transaction-pool/src/validate.rs
70.83% <0.00%> (-1.51%)
:arrow_down:

crates/transaction-pool/src/pool/txpool.rs
58.67% <20.00%> (-0.77%)
:arrow_down:

crates/transaction-pool/src/identifier.rs
90.14% <50.00%> (ø)

... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


listMultipartUploads does not respect bucketName

it returns uploads for other buckets as well.
It doesn't seem to filter uploads with bucketName.
https://github.com/adobe/S3Mock/blob/26cce47a8612b6951007f65b00fe132ffb5705eb/server/src/main/java/com/adobe/testing/s3mock/FileStoreController.java#L421

@jerry-cherry thx, this was actually an easy fix, implemented right away. :)

Released 2.2.3 today fixing this issue.
Thanks for using our mock! :)


Main Host application memory error

If you try to send a command to the Main Host application via its Labview GUI before it has been connected with the command connectHost, it starts sending a slew of "out of memory" errors.  It'd be nice to have a better way of handling this if a user forgets to run the 'connectHost' command, like a single error message reminding them.

To replicate this error, start G4 Host.exe, then issue the command Set Pattern ID = 1. This leads to a quick increase of memory usage and the application crashes with an out of memory error within a few seconds.
The pattern can either be set via the GUI (see below) or via the TCP command [0x03 0x03 0x01 0x00].

Sending a Set Pattern and Position Function with any number (eg [1 1]) also creates a similar memory issue.

This is what G4 Host.exe reports:

This problem is fixed in v240


Update dotnet-alloc-tool.md (Typo correction)

Finalizable Serv (MB) --> Finalizable Surv (MB)

@Mikejo5000
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Asterisk 13 changes rtt to a float in manager

When running against asterisk 13 and chan_sip instead of chan_pjsip I start getting failures to parse rtt.  It looks like the manager events now have a float value for rtt.  I updated the secStringToLong to parse things with a . as a double and then downcast them.
I made and tested the changes against the 1.1 branch and that is what I am running on my system now.  They should be equally valid against master.

Thanks


(pre-0.8) add-ons, cilium should have retries configuration

The addons fail once in a while when I'm testing cluster creation, and land in a state where they can only be recovered by an admin (eg. with flux reconcile hr -n tenant-root kubernetes-cluster-cilium --force) and that is undesirable.
interval: 1m
install:
  remediation:
    retries: -1
upgrade:
  remediation:
    retries: -1

This configuration I found in the system packages should solve it. I can try to submit a PR for this, I don't think we need the CRD bits for the addons, (or if they are needed I'm sure they are already in use - we could check)
I'd also like to suggest that a setting of interval: 1m is quite aggressive for 30 HelmReleases, it works OK, but it is putting a lot of load on the cluster's control plane for little benefit to run so often. A setting of interval: 10m across the board, with perhaps timeout: 5m is very reasonable.
This would enable us to dial the concurrency down for HelmReleases too (we're using --concurrent=20 now.) A concurrency setting of 10 or even less would be fine with these changes - there's nothing wrong with setting 20, but with 30 helmreleases on the cluster, and 1m interval, the Helm controller is going to be reconciling a HelmRelease on average once every 2s.
That's way too often! Once every 20s is way more reasonable. I bet if we look at the average dry-run time when there are no changes it's close to 2s (I haven't checked to be sure). So it's reconciling helmreleases literally continuously. I can tell from the way CPU fans are spinning 😵💫
The fact is Helm uses a lot of memory and is quite slow for what it does, fortunately there is not a long history in our index.yaml so the legacy HelmRepository is not gonna cost much, (plus later versions of Flux have resolved a lot of the performance issue)
I think on larger clusters you may not notice this at all, but my home lab cluster is a couple of potatoes strapped with 64GB RAM so I feel it.

The only downside that I can see of setting interval: 10m is that helmrelease which times out will wait until 10m to retry, instead of retrying at timeout: 5m (the default timeout for HelmReleases)
So I propose setting interval: 5m as that will not wait the extra 5m to retry - I'm creating a PR for this now.

I've just tested the fix proposed in #196 from end to end locally (manual test)
It's A-OK. The ingress-nginx addon fails until cert-manager is ready to handle this:
  Warning  FailedMount  49s (x4 over 53s)  kubelet            MountVolume.SetUp failed for volume "webhook-cert" : secret "ingress-nginx-admission" not found

It retries a few times on my cluster, (where the nodes are potatoes and most connections go out to the internet over Wi-Fi)
Then it succeeds, and no errors are shown any time.
If you think that retries: -1 is too much for cluster addons, I'd suggest at least retries: 5 maybe more - because ingress-nginx is clearly able to try and fail a couple of times before cert-manager is ready, it doesn't wait for timeout to fail. It terminates immediately upon the FailedMount warning from above.
But with the changes in #196 it seems to go smoothly! 🚀 for 0.8 hopefully

I think we can solve the ingress-nginx addon errors with a conditional dependency. If cert-manager is enabled then ingress-nginx should depend on cert-manager so the failure conditions are avoided. This way we could set a lower (finite) number of retries, I have mixed feelings about indefinite retries, (but the failure remediation should be forgiving, per the docs)


Automator: update<EMAIL_ADDRESS>dependency in<EMAIL_ADDRESS>

Generated by Automator - 2023-05-23T22:32:27+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio_release-1.17
22e7b1e4455e257d62f1218003b46e2d18f7db67
link
unknown
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


/mode-clickhouse.js request

For some reason, when panel with ClickHouse datasource is loading, there is a request to:
https://<SERVER_ROOT>/mode-clickhouse.js
Which returns nothing.
Grafana 6.7.1

yep. confirmed, but I don't know why this happens inside grafana app in public/build/brace*.js
this URL return HTML instead of Javascript


Better example app + AndroidX migration

New example allows to try-and-test it easier, because it uses file_picker to get image, so you can quickly see what results will you get from different types of images
Also, I migrated to AndroidX because file_picker was conflicting with it, and it's just better
Hope you merge quickly so I can keep working on this

@TheLastGimbus I created a development branch, Can you make a new pull request to development branch, so that I can test and merge.


Add ApolloGraphQL

Add ApolloGraphQL to the dependencies: https://github.com/apollographql/apollo-android

Thanks for the contribution @martinbonnin!
I need to update the contributing guide (currently WIP) so you get the proper instructions.
I'll do so, notify you when it's published, and I'll review this before the 0.9.7 release (unless I need to publish an important fix before).

I added your change to the issue https://github.com/jmfayard/refreshVersions/issues/238
When we are ready, we will integrate it


Component: Site Footer

Stories

As a reader of a guide, I want to know who created the guide so that I can learn more about who created the guide.
As a reader of a guide, I want to be able to navigate to information about the guide's authoring org, so I can understand what experiences informed the guide's creation.

Notes

See the component doc for more information
This ticket covers both design and development tasks. Change assignee of the ticket based on who has the next action, and remove the person or people that no longer have an action. It's expected that a ticket will get passed back and forth a few times.

Done When

[ ] UX: Component design is drafted and shared for review
[ ] Dev: Component design is reviewed and approved
[ ] Peer UX: Compontent design is reviewed and approved
[ ] Dev: Component style and markup is developed and shared for PR review
[ ] Dev: Documentation on how to use component is drafted
[ ] UX: Component style and markup is reviewed and approved
[ ] Peer Dev: Component style and markup is reviewed and approved
[ ] Component is available for use

Assumptions I'm making
It's OK to assume that only engineers will regularly edit the footer. So we can write it in HTML / YAML instead of Markdown.
Design principles
[As mentioned in Slack:](https://govbloomdigital.slack.com/archives/C01CYR2A21X/p1686248451524929)

Let visitors navigate to other pages without needing to scroll all the way back up
Display the SBA certification at a legible size, so visitors understand what it means
Visually separate multi-color images (e.g. the SBA logo) from monochrome icons for aesthetic reasons
Remove any social media links that are no longer updated

Visual design
Here's what I've come up with:

Here's a responsive screencast.
Status
I've committed an example to the storybook branch. Once #5 and #6 are done, I can open a PR with just the footer for review.

@jrubenoff Great work! I agree that it's okay to have the footer written in HTML since it stays the same except for minimal changes. The way you have it set up looks good to me, the only thing that is a little hard to see is the mail icon. Maybe we fill it in so it's all white or make it a little bigger, thoughts @admoorgit ?

@SMakaiTakori That is definitely a mistake on my end... the mail and LinkedIn icons should be the same size as the Bloom logo. Will fix when I create a branch.

@jrubenoff has a PR up, ready for review by @SMakaiTakori  and @admoorgit


Feature: Templating

Export button should allow user to export code
This code should allow another user to use the analyst view of the tool

JSON changes have now been pushed to Export branch.
Next task: Create a way to import this data into a view for an analyst.
This will use piling.importState()


Remove bidirectional relationships that break schema

Motivation
Remove bidirectional relationships that are not supported at the moment and cause validation issues

We need to remove https://github.com/aerogear/graphback/blob/relations-client/packages/graphback-codegen-schema/src/targetSchemaContext.ts#L141-L166

This is still not mergeable - InputTypes should support relationships so we can actually update the tables.

datamodel.graphql should be updated to reflect relationship change.

type Note {
  id: ID!
  title: String!
  description: String!
}

type Comment {
  id: ID!
  title: String!
  description: String!
  note: Note!
}

How will we query notes and also return related comments?
query getNotes {
  findAllNotes {
    id
    comments {
      id
    }
  }
}

Looks good. With the migrations work the following schema will be represented as expected in the database.
type Note {
  id: ID!
  title: String!
  description: String!
  comments: [Comment]
}

type Comment {
  id: ID!
  title: String!
  description: String!
  note: Note!
}

Tables

note

id
title
description

comment

id
title
description
noteId

But as you said - database queries and mutations will need to be fixed.
The following query is valid according to the generated schema:
query getComments {
  findAllComments {
    id
    description
    note {
      id
      title
      description
    }
  }
}

This throws error select * from \"note\" where \"commentId\" in ($1) - column \"commentId\" does not exist as the underlying database query is wrong.

noteId as field name is assumption that will need to be build into core model or relationships.
Users should be able to change that as well to whatever they feel.
I think this entire comment should be moved out to https://github.com/aerogear/graphback/issues/539 and we should close this PR - to merge it we will need to provide validation for bidirectional stuff.

CC @craicoverflow This got outdated as changes were merged in your PR


Add files via upload

uniagraria.pdf
Uniagraria.edu.co

Please add the uniagraria.edu.co domain. Mechatronics Engineering Students develop controllers for our robots with python

@mzea Pull request merged. Thank you!


Allow facilitator to change role assignments in an existing debate

maybe turn names into drop-down menus in the interface for facilitator

Resolved in 7806a8dc20b280e672bcd842bf805b4500622daa.


How to have a valid password field with secure text ?

Hello,
I just found this library and it works perfectly with Eureka (thanks for your work ^^)
But I have an issue with a password field.
How to manage the password field so that it keeps hidden characters (black spots)?
In my code, I have
<<< PasswordRow("Password"){
     $0.title = "password"
}

and there isn't SVPasswordRow in this library..
How to add it ?
Or maybe we can add a textfield (SvTextRow) and add a parameter to secure the text that is entered ?
Thanks for your help :)
(Sorry for my bad English :/)

I was looking for the same funcionality ... so I have forked the project and developped it.
https://github.com/skrosoft/EurekaSwiftValidatorComponents
You can now use SVPasswordRow.
I'm now looking to do a SVDateRow extending DateRow ... after that, my form will be finished.
@ins0u any idea on how to do the same with the Eureka DateRow field?

Hello @ins0u @skrosoft, just pushed the new version, @skrosoft please note that adding the component is not enough, I had to fix the validate() function in order to consider not only SVTextRow
For the date row I guess it's the same, I will look at it in the next days, in the meantime, I'm happy to review a pull request :)

Hi @demetrio812, wish you are fine. Have you looked at the SVDateRow and the validate() function?

Hi @demetrio812 , wish you are fine. Have you looked at the SVDateRow and the validate() function?


feat(toolbar): add Toolbar, ToolbarButton, and ToolbarGroup components

Affected issues

Contributes to #67
Contributes to #814
Contributes to #815

Proposed change
Add initial Toolbar, ToolbarButton, and ToolbarGroup documentation, logic, tests, styles, and stories.

LGTM. We can discuss the API as we progress toward review, but for a component that needs to hold a variety of different controls by design this looks like a pretty good and straightforward approach to me.


Hide scheduled at row for unscheduled objects

At the moment, we show “Scheduled at” for any blocks that have ever been scheduled, even if they have since been published. Additionally, we show a blank line for blocks that have never been scheduled.
This hides the "Scheduled at" row unless something is currently awaiting publication.
I've also titleized the block's status, which looks a bit nicer
Screenshots
Before

After

@tahb Yeah, I thought we were keeping the views as unintelligent for that PR then coming back to them. I like copying the approach from Whitehall, but I feel like this is a smaller step, and gets rid of potentially misleading / confusing info


CMake error during build in Windows 10 + Visual Studio 2019 + vcpkg

I’m trying to build the library for Windows, according to this documentation, through Visual Studio 2019.
I successfully built Eigen3 and Poco through vcpkg. However, when I try to build libfranka I can’t understand which paths of the builds should be set to Poco_DIR and Eigen3_DIR, since I have no paths matching the suggested ones “[…]/lib/cmake/Poco” or “[…]/lib/cmake/eigen3”.
Still, independently from which paths I set, when I run the generation of the Cmake Cache in Visual Studio, I get the following error:

[CMake] CMake Error at C:/Users/alien/Software/vcpkg/scripts/buildsystems/vcpkg.cmake:686 (set):
1> [CMake] Maximum recursion depth of 1000 exceeded
1> [CMake] Call Stack (most recent call first):
1> [CMake] C:/Users/alien/Software/vcpkg/scripts/buildsystems/vcpkg.cmake:764 (_find_package)

after which the last line is repeated likely for 1000 times, before aborting the process.
Any ideas to catch the reason of this error? Please tell me if I didn’t provide enough information and I’ll eventually report further build output messages.
I apologize in advance if I'm posting this here, but there is not other support anywhere, I also tried on Franka world community without success so far.

Apparently I have been able to localize the source of the build error at least to avoid it to occur.
Specifically, the error above is raised when trying to build the test files in the corresponding subdirectory. In fact, setting
option(BUILD_TESTS "Build tests" OFF)
does not generate any issues and the build is completed successfully. I don't know if this may be of help for you or if it's still due to some mistakes from my side, but I thought it could be worthy to be mentioned.

thank you，your comment has huge help for me

Thankyou buddy , your troubleshooting guide helped to solve the errors in Visual studio during .json generation but what can be done to find path to the poco directory, even after numerous attempts I am unable to find them => "C:\Path\To\Poco-Install\lib\cmake\Poco". Please pass your views on this.

Thankyou buddy , your troubleshooting guide helped to solve the errors in Visual studio during .json generation but what can be done to find path to the poco directory, even after numerous attempts I am unable to find them => "C:\Path\To\Poco-Install\lib\cmake\Poco". Please pass your views on this.

Apparently administrator mode must be turned on before installing vcpkg, eigen3 and poco
(i.e running cmd prompt as an administrator), else these packages wont install properly. This tip is useful to those people who are trying to building using a device of organization like university or an industry where a user account is different and has no admin rights.
In my opinion personal devices won't require admin rights but its better to enable in order to avoid getting stuck on issues.

Hi, I'm currently trying to program Panda with Windows, and I'm stuck on the issue where I'm unable to find the correct path "C:\Path\To\Poco-Install\lib\cmake\Poco" in Visual Studio. I cannot find the right paths in the file system. I also set option(BUILD_TESTS "Build tests" OFF) in the CMakeLists.txt. I installed everything with administrator rights during installation of vcpkg, eigen3 and poco. Did you manage to set the paths correctly? Can you maybe help me with another advice how you could manage to get it running?

If you have visual studio 2015 or later installed, follow these steps.
1.Make sure you have stored libfranka in C: or in C: subsequent folders.
2.You have set the build test flag to off in cmakelist.txt as mentioned above.
3.make a new folder inside libfranka e.g build, open the folder and copy the path from title bar.
4.In search type native and open the x64 prompt of visual studio in admin mode.

go to build directory by command cdpaste copied path.
type command 'vcpkgintegrateinstall' and hit enter.
An output of cmake toolchain file will be shown on screen, copy it.

8.type "cmake" paste the copied toolchain file path as shown, add the necessary flags as shown.

Hit enter which will starts the procedure of making Ninja files.
when the writing build files is completed type ninja and hit enter.

libfranka will be built.

@avadhutmali999 I have followed everything but this isuue still persits. What could be the problem. I am getting following error. "CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Poco (missing: Poco_INCLUDE_DIR Poco_LIBRARIES Net
Foundation)" Same happens with eigen3 also if I just call find_package eigen3 before poco.

@divishadL are you using a personal computer or an organization's device?
Some times many activities are blocked by organization due to security reasons including internet connections to specific sites.
Try using some less secure computer such as a personal laptop or PC.
This step doesn't require connecting robot to the system so you can still check it.


Page->querySelector doesn't work

Describe the bug
The variable $page returned by  $browser->newPage(); (see code below) is not a Page \Nesk\Puphpeteer\Resources\Page but a   Nesk\Rialto\Data\BasicResource. So functions like querySelector doesn't work (like all methods from Page)
Reproducible example
 $options = [
    'args' => [
        '--no-sandbox',
        '--disable-web-security',
        '--disable-setuid-sandbox',
        '--allow-file-access-from-files',
    ],
    'log_browser_console' => true,
    'log_node_console' => false,
    'debug' => false,
];

$puppeteer = new Puppeteer($options);
$browser = $puppeteer->launch([
    'headless' => 'new',
    'defaultViewport' => ['width' => 1920, 'height' => 1080]
]);
$page = $browser->newPage();
$page->goto($url);
$page->emulateMediaType('screen');
// $page->waitForTimeout(2000);
$page->waitForSelector(self::SELECTOR_CHART_ARE_LOADED);
$tableau = $page->querySelector('.position-relative');

Exception returned:   [Nesk\Rialto\Exceptions\Node\FatalException] "CDPPage.querySelector is not a function"
Begin of the dump of $page:

NB: My code was previously writed for nesk/puphpepeteer and I try to switch.

The problem come from a bad install version (1.6.0).

Hey
I am facing the same issue, my install seems fine though, how did you manage to solved this precisely?
Thanks


add blog address only in Chinese

add blog address only in Chinese

Can we get a netlify preview?

This PR only adds the link on the Chinese home page, not the English or French ones.   Should it be listed on all three for consistency?   It looks ok when I use automatic translation to view it in English.

This PR only adds the link on the Chinese home page, not the English or French ones. Should it be listed on all three for consistency? It looks ok when I use automatic translation to view it in English.

This sounds like a very good suggestion, and I will add the relevant links in English and French.

@DavadDi are you happy if this PR is merged or is there anything else you want to add?

@xmulligan Very happy, no more additions for now，thanks


Complete rework all of our error handling to favour explicit error ty…

…pes over printing and Report
This is a bit hacky because it's basically a first pass. After this we can refine the code more piecemeal.

Hmm hallucinating related...


Newsletters: add 91 (2020-04-01)

[x] [LND #4078][] @bitschmidty
[x] [LND #3865][] @dongcarl

Added LND #4078

ACK e70878ba2183a4d022b04e7aca3c4260d7c946fc

Squashed and merged.
Thanks @harding for a greatly informative newsletter!
🙏 for @jnewbery and @jonatack reviewing!


Error message when following default setup

Bug Report

TSLint version: 4.2.0
TypeScript version: 2.0.10
Running TSLint via: (please choose one) CLI

Actual behavior
get error message:
Could not find implementations for the following rules specified in the configuration:
    no-constructor-vars
    no-duplicate-key
    no-unreachable
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.

Expected behavior
No error messages happen
I just follow the default setup: https://palantir.github.io/tslint/
Using windows...
I run tslint -c tslint.json './**/*.ts' --exclude 'node_modules'

My error. Should have used tslint -c tslint.json './**/*.ts' --exclude './node_modules/**'. Closing...


custom markdown headings not working

What version of starlight are you using?
0.10.1
What version of astro are you using?
3.1.2
What package manager are you using?
npm
What operating system are you using?
windows
What browser are you using?
chrome
Describe the Bug
custom headings are not working
https://starlight.astro.build/guides/authoring-content/#other-common-markdown-features
like this
https://www.markdownguide.org/extended-syntax/#heading-ids
Link to Minimal Reproducible Example
No response
Participation

[ ] I am willing to submit a pull request for this issue.

As specified in the Markdown Cheat Sheet from The Markdown Guide linked in the documentation, custom heading IDs are part of the extended syntax which is not supported out of the box by all Markdown applications. This is the case for Starlight but Starlight and Astro supports adding 3rd-party plugins for Markdown & MDX.
In this case, you would need to install a plugin like remark-custom-heading-id and add it to your configuration:
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import { remarkHeadingId } from "remark-custom-heading-id";

export default defineConfig({
  integrations: [starlight({ title: "My Docs" })],
  markdown: {
    remarkPlugins: [remarkHeadingId],
  },
});

After that, a syntax like ## My Title {#custom-id} should work as expected like in this small example I made.
You can also find more details in this guide: https://docs.astro.build/en/guides/markdown-content/#markdown-plugins

Thanks for answering this @HiDeoo! Yes, this is not supported by default, but that solution should work for people who want to add this functionality.


[WIP] Re-insert MiqFileStorage and MiqFTPLib v2

IMPORTANT PR STATUS UPDATE:  See comment below.
With 100% more commit grafting!
This is a re-working of https://github.com/ManageIQ/manageiq/pull/19547 with the base commit being "grafted" to the commit that removed these files originally:
https://github.com/NickLaMuro/manageiq/commit/250a0b46fb05ad5891d442745b93543c38ee0914
I will leave out most of the description to the previous PR, since this is mostly the same changes, with just a slightly different path of getting there.
Links

Original PR:  https://github.com/ManageIQ/manageiq/pull/19547
Extraction point:  https://github.com/NickLaMuro/manageiq/commit/250a0b46fb05ad5891d442745b93543c38ee0914
Extra grafting steps:  gist
Cross repo tests:  https://github.com/ManageIQ/manageiq-cross_repo-tests/pull/54
manageiq-gems-pending extraction PR:  https://github.com/ManageIQ/manageiq-gems-pending/pull/454

TODO

[ ] Create a ManageIQ/manageiq-smartstate PR
[ ] Re-run the extraction with updated master, since it seems like some updates will be needed

Since this just became unmergeable and https://github.com/ManageIQ/manageiq/pull/19742#issuecomment-576923830 why this most likely won't be used, going to close.  Can always re-open if we change our minds.


Add "info" command.

Feature request:
When checking out a Safe, it would be great to have a command like "info" or so, that just prints out network, mastercopy, owners, balance, nonce.
I know all this is in the footer, but that's cut off.
I also wouldn't mind if all this is printed out once after the Safe was loaded :)

Also the following would be interesting imo.

ETH balance
Link to Safe on etherscan in order to be able to switch  faster to etherscan with all txs.

ah, maybe I should read the open issues before. Some of the things I mention are probably part of #1 ;)

Don't worry, I will keep this issue and close the other one

Done, that's the output of the info command. Feel free to close the issue if you are ok with it @tschubotz
safe-cli ❯ 0x7eA27faE68abbf0f2f0d71c17d21E4F2A3761108 > info
Address=0x7eA27faE68abbf0f2f0d71c17d21E4F2A3761108
Nonce=7
Threshold=1
Owners=['0x5aC255889882aCd3da2aA939679E3f3d4cea221e']
Master_copy=0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F
Fallback_handler=0x0000000000000000000000000000000000000000
Balance_ether=0.199999999999999916
Version=1.1.1
Safe Tx Service=https://safe-transaction.rinkeby.gnosis.io/api/v1/safes/0x7eA27faE68abbf0f2f0d71c17d21E4F2A3761108/transactions/
Etherscan=https://rinkeby.etherscan.io/address/0x7eA27faE68abbf0f2f0d71c17d21E4F2A3761108

Beautiful, thanks! Also nice idea with the tx service link!


Listen to input changes?

Is this listening for input changes? For example, changing size from "normal" to "compact"? Tried to do that dynamically and it didn't work.
   // component view
   <re-captcha
      (captchaResponse)="handleCaptcha($event)"
      size="{{captchaSize}}"
      site_key="{{captchaSiteKey}}"></re-captcha>

  // component class
  @HostListener('window:resize', ['$event'])
  onResize(event) {
    if (event.target.innerWidth < 390) {
      this.captchaSize = 'compact';
    } else {
      this.captchaSize = 'normal';
    }
  }

I don't think this behavior is supported through javascript in core captcha library.
Have you tried css? Perhaps something like this: https://stackoverflow.com/a/43728040/833811

Please reopen if this is still an issue for you.


--screenshot=on does not take screenshot if context is defined in conftest.py

Hi,
I am new to Playwright and I am trying to build a framework using playwright and pytest-bdd. I want to take screenshot when test fails but can't make that work. Below is simplified steps I tried, without the bdd.  I am not sure this is defect or something I should put in conftest.py
environment
playwright           1.27.1
pytest-playwright    0.3.0
pytest               7.2.0
pytest-base-url      2.0.0
pytest-bdd           6.0.1

step1: tests/demo.py
The test will fail
from playwright.sync_api import Page
def test01_login(page: Page):
    page.goto('https://www.google.com/')
    page.wait_for_selector('#usernameForm1', timeout=200)

step2: run test
pytest -sv tests/demo.py --screenshot=on

test-results is created and screenshot is generated.
step3: conftest.py
import pytest
from playwright.sync_api import Browser

@pytest.fixture(scope="session")
def context(browser: Browser):
    context = browser.new_context(ignore_https_errors=True)
    yield context
    context.close()

step4: run test again
test-results won't be created. If it exists it will be removed.
step5: test/demo2.py
using context
from playwright.sync_api import Playwright, sync_playwright

def test01_login(context):
    page = context.new_page()
    page.goto('https://www.google.com/')
    page.wait_for_selector('#usernameForm1', timeout=200)

step6: run demo2
no screenshot is generated.
rm -fr test-results
pytest -sv tests/demo2.py --screenshot=on

Folding into https://github.com/microsoft/playwright-pytest/issues/111

Hello! Is there any progress on this issue? When is it planned to release adding screenshots with new_context?


Error in API response

There is an error in the response:
URL: https://api.corona-zahlen.org/districts/09172
{"error":{"message":"An error occurred.","details":"Cannot read property 'attributes' of undefined","stack":"TypeError: Cannot read property 'attributes' of undefined\n    at Object. (/usr/src/app/src/data-requests/districts.ts:116:43)\n    at Generator.next ()\n    at fulfilled (/usr/src/app/dist/data-requests/districts.js:5:58)\n    at runMicrotasks ()\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"}}

Same for states or other districts.

On germany it's
`
{
"cases": null,
"deaths": null,
"recovered": null,
"weekIncidence": 17.885762008792195,
"casesPer100k": 0,
"casesPerWeek": 14875,
"delta": {
    "cases": null,
    "deaths": null,
    "recovered": null
},
"r": {
    "rValue4Days": {
        "date": "2021-07-30T00:00:00.000Z"
    },
    "rValue7Days": {
        "value": 1.06,
        "date": "2021-07-29T00:00:00.000Z"
    },
    "date": "2021-07-29T00:00:00.000Z"
},
"meta": {
    "source": "Robert Koch-Institut",
    "contact": "Marlon Lueckert (m.lueckert@me.com)",
    "info": "https://github.com/marlon360/rki-covid-api",
    "lastUpdate": "2021-08-02T23:00:00.000Z",
    "lastCheckedForUpdate": "2021-08-03T06:47:36.039Z"
}

}
`
Thx 4 ur help :)

The same here!
Last days RKI had some problems, but this error is different.
Maybe RKI changed complete API after the problems?

The Data is still in updating process!

Disclaimer: I didn't check the code to see when/how data gets fetched/cached, hence my question might seem naive.
I need during the next weeks to be able to rely on some results of the API (for a live demo). Is there any simple 'trick' how to cache them and 'isolate' my demo so I am sure it will work reliably?
Thank you for any idea!

@ThumbGen I guess one thing you could do is:

Clone this repo
Hope, that the data is available in time
save the responses you need to json files
edit this repo to get the dataa from your json files instead of the urls
create a docker image
edit the docker-compose to use your image

This should do the trick in mocking the data

Thanks a lot, was afraid I had to do that :/ I was hoping I could use a Redis 'snapshot' somehow without touching any code, nor recreating the image. Simply backing-up a 'succesfull' Redis snapshot and restoring it if I see that the API has problems :)

@ThumbGen This project uses express-redis-cache. Maybe it is enough to set the expire in src/server.ts line: 45 to something really high. But this is also not a real snapshot.

The parsing of the Excel file for the frozen incidences seems to be broken as well. https://api.corona-zahlen.org/districts/history/frozen-incidence/7 returns
{
  "error": {
    "message": "An error occurred.",
    "details": "Cannot read property 'toString' of undefined",
    "stack": "TypeError: Cannot read property 'toString' of undefined\n    at /usr/src/app/src/data-requests/frozen-incidence.ts:44:34\n    at Array.map (<anonymous>)\n    at Object.<anonymous> (/usr/src/app/src/data-requests/frozen-incidence.ts:42:24)\n    at Generator.next (<anonymous>)\n    at fulfilled (/usr/src/app/dist/data-requests/frozen-incidence.js:5:58)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"
  }
}

for instance

The API seems tto work again.


Errors on egress

What happened?:
Recently starting to see increased number of egress errors leading pipelines to fail.
eg
State: failure
Reason: egress error: read tcp <IP_ADDRESS>:60970-><IP_ADDRESS>:443: read: connection reset by peer

or
State: failure
Reason: egress error: unexpected EOF

So far only seen by pipelines that gets OOM killed by Kube because of leak in storage
What you expected to happen?:
How to reproduce it (as minimally and precisely as possible)?:
Anything else we need to know?:
Environment?:

Kubernetes version (use kubectl version): 1.11.1
Pachyderm CLI version (use pachctl version): 1.7.5
Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s):
OS (e.g. from /etc/os-release):
Others:

@jdoliner Created this to put errors together. Looks like a could of different reasons for fail on egress. My guess is oom kill repercussion

Hey @jdoliner Seeing increased number of error on egress … it seem to be related to AWS SDK … in pachyderm code .. do you explicitly specify region on write to s3?  It seems to fix the issue in most cases .. The rate limited errors as I have seen before presents differently so I think its to do with region may be ? see https://github.com/aws/aws-cli/issues/634 and https://github.com/boto/boto/issues/2207. I know you are probably using go SDK and not boto but it may be same issue ..


on max zoom, marker is moving slowly

I wanted to drag my map around the marker, so I created one fake marker at the centre. Now when I am doing the max zoom, in my android device, the marker is drifting slowly.
<MapView
        provider={PROVIDER_GOOGLE}
        style={{ height: mapHeight }}
        region={this.state.region}
        ref={_map}
        zoomEnabled={true}
        minZoomLevel={9}
        onRegionChangeComplete={(region) => _onRegionChangeComplete(region)}>

 _onRegionChangeComplete (region) {
   this.setState({
     region: region,
    latitude: region.latitude,
    longitude: region.longitude
    })
    console.log(region.latitude, region.longitude);
  };

My _onRegionChangeComplete function is getting called infinitely after achieving max zoom in android. It is working fine in iOS. Help required.

@christopher-18
Only take actions in _onRegionChangeComplete if region change threshold is met.
Something like below:
do this.setState in _onRegionChangeComplete only if below condition is met. Or simply return when reverse of the below condition is met.
if (this.state.region.latitude.toFixed(<threshold_number>) !== region.latitude.toFixed(<threshold_number>)
        || this.state.region.longitude.toFixed(<threshold_number>) !== region.longitude.toFixed(<threshold_number>))

Include latitude/longitude deltas in the condition above as you mentioned about the zoom level in #3523


Add count to peers

adds a count to the connected peers page
tweaks the styles and text
userShort views that are not found on the network are disabled, so their buttons can't be clicked to fire actions that won't work.
fully closes #61

The man, the myth, the legend has said the sub-text message can go away:

Aside from that, this one can be merged as far as I could see.


Added the TAGS_TO_COPY configuration parameter.

Added the possibility to specify a list of tag keys that must be copied
from the instance to the snapshots created.

Hey @rastandy - Nice addition you've created here.
I'm just curious, has it been tested and confirmed as working? I keep getting errors such as the following:

module.ebs_bckup.var.TAGS_TO_COPY: variable TAGS_TO_COPY in module ebs_bckup should be type list, got string

I've tried adding the following to variable definition, but no luck: (type    = "list")
Thanks!

Hi @Mistawes,
Yes, exactly. The TAGS_TO_COPY variable is supposed to be of type "list".
Guess I should make it explicit in the variable description.
Thanks for having tried it.