Allow user to store the current url in the session through options

Some IDPs only support predefined sets of returned URL. We need a way to define a single returnUrl configured on the IDP and then from this page be able to find out what was the address of the local url that was used to initiate the login flow.
This PR allows the user to ask the agent through the options to store the current url in the session for later retrieval once the authentication flow has completed and the user returns to the site.

I've modified the API to make more user friendly. I do not know what is the best way to expose a method to the agent.
Ideally I would like to configure the callback as such in the login options:
let login_options = LoginOptions::new()
        .with_redirect_url(Url::parse("http://localhost:3000/callback").unwrap())
        .with_store_current_url_in_session();
    html!(
        <>
            <OAuth2 {config}
                scopes={vec!["openid".into(),"email".into(),"offline_access".into(),"api:call".into()]}
                audience={"http://localhost:8081/api"}
                options={login_options}>
                <Content/>
            </OAuth2>
        </>
    )

Then use it on the call back from the agent as such:
#[function_component]
pub fn CallbackPage() -> Html {
    let agent = use_auth_agent();
    if let Some(agent) = agent {
        match agent.get_stored_current_url() { //!!! How to expose a method to the agent?
            Some(url) => html!(
{format!("Should redirect the user here :{:?}",url)}
),
            None => html!(
{format!("No stored url in the session")}
),
        }
    } else {
        html!(
{"No agent configured in the context."}
)
    }
}

And this would be the method to expose the stored current URL:
    fn get_stored_current_url(&self) -> Option<Url> {
        SessionStorage::get::<String>(STORAGE_KEY_CURRENT_URL)
            .and_then(|item| {
                Url::parse(item.as_str())
                    .map_err(|_| StorageError::KeyNotFound(STORAGE_KEY_CURRENT_URL.to_string()))
            })
            .ok()
    }

@ctron I'm also using yew-nested-router... But I'm not sure I will be able to used this stored currentURL to navigate to it with the router.... It does not seem to expose any way to push a url as String...  :(

Hi @ctron, I finally managed to have the full flow working with Auth0 and the pull request submitted here. This is the implementation of the callback page on my app that I have implemented in order to leverage the url stored in the session when the IDP redirect me after successful login:
#[function_component]
pub fn CallbackPage() -> Html {
    let _ = use_auth_agent().expect("This page must have an Oauth2 Context");

    let local_storage: UseSessionStorageHandle<String> =
        use_session_storage("ctron/oauth2/currentUrl".to_string());

    let router = use_router::<AppRoute>().unwrap();

    let current_url = (*local_storage).clone();
    let target = match current_url {
        Some(current_url) => {
            let url = reqwest::Url::parse(&current_url)
                .expect("The value store in the session 'currentUrl' is not a valid url");
            let segments = url
                .path_segments()
                .expect("The Url path cannot be segmented")
                .collect::<Vec<&str>>();
            AppRoute::parse_path(segments.as_slice())
                .expect("Could not build the target out of the path segments")
        }
        None => AppRoute::Index,
    };

    router.push(target);

    html!(
{"Something went wrong"}
)
}

The part that I do not like is the reading of the session storage. This should be hidden in the agent somehow (using the get_stored_current_url but I do not know how to expose this in the agent.
Let me know what you think.

I'm sorry for intruding with review despite not being a member of project myself, but I also started working on this feature, so just adding some ideas I collected during that :)

Never be sorry because of that. Every constructive feedback is more than welcome! I really appreciate both of your input and help on this!

I think it goes in the right direction. I also think that it might make sense to have yew-oauth2 to handle this automatically during the post-login processing. With the option to opt-out of it. Exposing the post login redirect URL on an API feels a weird. I think it's ok doing this, but there should be a reasonable default (with some way to customize this).
I could imagine one or more of the following things:

An optional post login callback (something like Callback<…> which gets called after the login is complete)
A setting (boolean, enum) which allows one to customize the post-login action (Default, Nothing, …) where the default would be to check if a URL was recorded, and use the History API to navigate to that URL, in case it's different to the current one. Having the alternative to skip this (Nothing).

Having those two options should allow one to have a reasonable default, but also enough freedom to customize the behavior. And feel free to choose different names (am bad with naming things).

So to summerize:

[X] The user set a fixed redirectUrl (LoginOptions)
[X] If the redirectUrl differs from the currentUrl we store the currentUrl as postLoginUrl in the session
[ ] Once the auth process is finished, if there is a postProcessUrl in the session , we redirect to it instead of the returnURL

The third part is missing. @kate-shine Can you do this part?

Yep, I will happily try to tackle that one :)

I'll really appreciate you both taking care of this. I won't have much time to review this until Friday. But I'll promise on Friday I will take a close look and hope to get it merged and released!

I'll really appreciate you both taking care of this. I won't have much time to review this until Friday. But I'll promise on Friday I will take a close look and hope to get it merged and released!

Sent you few question on Matrix, I hope you don't mind :)

@AlexandreRoba I think it's good to be merged, it just needs a rebase, sorry.

@ctron Sorry I spend the last hour trying to "rebase" and can't seem to do it properly with a fork... Simply drop this merge request. Not sure it brings anything to the project. :(

@ctron Sorry I spend the last hour trying to "rebase" and can't seem to do it properly with a fork... Simply drop this merge request. Not sure it brings anything to the project. :(

It was super helpful! Don't worry, I will finish the rebase and finish it in my branch, your commits are already there :)

This PR was pulled in via #29 … many thanks to all of you!


add reward history table.

Then new Design that @boltsr  is implementing:
https://xd.adobe.com/view/bf897ba3-a944-439b-4b9d-c4cfe2ae0179-c9b8/


cannot read property socialsharing of undefined

I am new to PhoneGap/Eclipse, so please bear with my ignorance (have been building apps with Air for Android/iOS exclusively for the past 3 years)
I have just installed PhoneGap and Eclipse and I am modifying the sample HelloWorld project - successfully created some simple-looking testing apps.
But when I tried to use this plug-in, I've run into this error:
"cannot read property socialsharing of undefined"
I have followed the installation instruction for PhoneGap 3.0 - i.e. just added
<gap:plugin name="nl.x-services.plugins.socialsharing" />

from
<button onclick="window.plugins.socialsharing.share('Testing Share', null, null, 'http://www.google.com')">Sharing Link</button>

to the config.xml in the www folder (cordova.js is already included in the index.html)
This is so frustrating as I cannot get this simple test to work even with such excellent documentation you have.  Can you please shine some light onto it?
Eigen

i too have same issue..i.e "phonegap-socialsharing-error-cannot-read-property-socialsharing-of-undefined" what is the solution help me to solve the issue

@gomathyfollowon there are a few more factors here: have you included a reference to cordova.js, do you wait for deviceready to fire before using the (any) plugin?

thanks for your response. yes i referred cordova.js and socialshare.js in my index.html file.

I am having similar issue.  On Android I am receiving socialsharing undefined as well.  Have made sure that I have included everything.  Did CLI install then double checked everything.  iOS is working great.
I am using the $cordovaSocialSharing.share() on a click.  How would I make sure that is wrapped in deviceready when I am setting the click on the ionic tag?

It looks like I was able to get it running...I swear I ran this before, but doing it again and reloading the application on Android worked.
Refresh the ios.json / android.json file (inside the /plugin folder):
$ cordova platform rm [ios/android]
$ cordova platform add [ios/android]
Update your project to the latest version of Cordova:
This command updates the cordova.js and other Cordova-dependent files to the latest version of Cordova.
$ cordova platform update [ios/android]


Add maxdeviant.com to webring

Add maxdeviant.com. Webring icon is located in the header.
Finally got around to doing this :tada:

'bout time!
<3


Add a new top level directory for the jenkins integration

Context
Completion Criteria

Duplicated. This should be done through #311.


Regexp doesn't match if special chars at beginning or end of word

I've noticed that it doesn't highlight the word if there is a special character (é, à, ü) at the beginning or end of a word.

I looked at the code and it does get the word correctly, but it doesn't apply the span with the CSS class to it.
const view = app.workspace.activeLeaf.view
const word = view.editor.cm.state.wordAt(view.editor.cm.state.selection.main.from)
let wordText = word && view.editor.cm.state.doc.sliceString(word.from, word.to)

The issue seems to be the \b in the regular expression:

Not sure how to implement that correctly, but maybe the regexes used by the better word count plugin helps with this issue? 🤔
https://github.com/lukeleppan/better-word-count/blob/master/src/data/stats.ts

Addressed in 0.0.5

It works well now, thank you so much! :heart:


Failed to load lazy-img.component.scss

I've cloned directly from the repo. I've installed the npm dependencies. I run ionic serve and the app loads in Chrome.

Workaround: Change line 13 of lazy-img.component.ts
from
styleUrls: [ './lazy-img.component.scss' ]
for
styleUrls: [ '/global/img-cache/lazy-img.component.scss' ]

thank you @guilhrme , your solution worked for me on browser (ionic serve) . but i get the following error as I try to build the android version:
typescript error
            Couldn't resolve resource /global/img-cache/lazy-img.component.scss relative to
            /home/ghonche/Downloads/Persepolis/Compressed/offline-ionic-master/src/global/img-cache/lazy-img.component.ts

i appreciate any help.


remove init.py from ns package

Codecov Report

Merging #23 (2d58179) into master (238c079) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   97.77%   97.77%   -0.01%
==========================================
  Files          18       18
  Lines        1214     1212       -2
  Branches      192      192
==========================================
- Hits         1187     1185       -2
  Misses         14       14
  Partials       13       13

Impacted Files
Coverage Δ

connect/client/mixins.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Other distribution channel for aurora-prover besides Docker

Hi, is there a way to compile or obtain the aurora-prover binary without using docker?

Sorry, I'm afraid that's not possible at the moment.
That Dockerized Aurora is a closed-sourced fork intended for ZK research & experiments, we later realized that it may not be a good idea to provide it as a proving system of choice for Keelung.
But we are now working on integrating with Snarkjs/Circom, that means we will be able to use provers like Groth16 in the future.

It has to be possible to run binaries without running/ requiring a whole system image.


corrects lineCompare, handles direction flag, covers MultiLineString

I go ahead and merge this.
Do we release a new version with bug fixes?


GEOMESA-916 UniqueProcess should support multi-valued attributes

Signed-off-by: Anthony Fox<EMAIL_ADDRESS>

Merged as commit feed591ce9e436e80baa6d5a2d667cd6255fa494


[#2279] improvement(spark): Trigger the upstream rewrite when the read stage fails

What changes were proposed in this pull request?
If the current Reader fails to obtain Shuffle data, it does not trigger the upstream Stage to rewrite the data. If a Shuffle Server fails, it does not trigger Stage retry.
Why are the changes needed?
Fix: https://github.com/apache/incubator-uniffle/issues/2279
Does this PR introduce any user-facing change?
No.
How was this patch tested?
UT.

Wait a minute. I'm not ready for this.

Wait a minute. I'm not ready for this.

If this is not ready to review, you can mark this as draft.

cc @maobaolong


create one and only one handler instance in GraphqlPathHandler

Previously a new instance of a handler will be created for every request which is not very efficient.

@NicholasAzar Could you please review the change and let me know if you have concerns. I didn't create another branch as we are about to release a new version. Thanks.


Update Xamarin guide for VS 2017

Customer verbatim:  Please provide updated instructions for use with Visual Studio 2017. Much of the   NuGet stuff has now been moved to the Project file which is kind of nice but   there's no way to build multi-platform packages from the project.

This is no longer relevant.


Updating reference link to know the supporting database

Updating reference link to know the supporting database - MySQL

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/38bdf8bed79b43a9fe808f56f0c40936a79d62d0/
Edited pages:

v19.1/migration-overview.md

Closing in favor of https://github.com/cockroachdb/docs/pull/5107.


feat: Extract notice docs from source-code for in-app use and schema export

Summary:
Per discussion in #1324, this PR adds support for extracting documentation from notice source code, to be included as JSON resources bundles in the compiled application.  These will be included in the now-expanded JSON schema export feature, including comments, reference links, and hopefully enough info to generate RULES.md from source.
See https://bit.ly/gtfs-validator-notice-documentation for initial design discussion.

[x] Run the unit tests with gradle test to make sure you didn't break anything
[x] Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
[x] Linked all relevant issues
[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)

@bdferris-v2 let's connect to discuss where the generated documentation can live to make it easily accessible to consumers.


Check tokens

   /* check tokens */
    if (!mem_cmp(response->buf + 4, request->buf + 4, resp_header.tkl)) {
        goto return_err_label;
    }

Here we check the token of the request and the token in the response.
As the spec mentioned, the server must echo the token generated and sent by the client.
So we should check the equality of both tokens!

I think the code should be changed like this :
 /* check tokens */
    if (mem_cmp(response->buf + 4, request->buf + 4, resp_header.tkl)) {
        goto return_err_label;
    }


(#869) Fixed tests with empty response

This PR is for issue/869

@0crat status

@0crat status (here)

@fanifieiev This is what I know about this job in C3FFK3YAY, as in §32:

The job #996 is not in scope
Job footprint (restricted area)

@0crat status

@0crat status (here)

@paulodamaso This is what I know about this job in C3FFK3YAY, as in §32:

The job #996 is not in scope
Job footprint (restricted area)

@paulodamaso I think this PR requires some manual triggering of 0crat as it is stuck.
@g4s8 Can you please help resolving that?

@0crat in

@0crat in (here)

@paulodamaso Job #996 is now in scope, role is REV

This pull request #996 is assigned to @fabriciofx/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @paulodamaso/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

@rultor merge

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@paulodamaso Done! FYI, the full log is here (took me 24min)

@sereshqua/z please review this job completed by @fabriciofx/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

Job was finished in 21 hours, bonus for fast delivery is possible (see §36)

The job #996 is now out of scope

Payment to ARC for a closed pull request, as in §28: +10 point(s) just awarded to @paulodamaso/z

@0crat quality bad

Quality is low, no payment, see §31

Quality review completed: +4 point(s) just awarded to @sereshqua/z


[Suggestion] DST

Addon
Timezones
What happened?
Ability to set a start and end date for DST
What Discord version do you have this issue on?
No response
Logs
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I wanted to suggest this as well...
DST is (unfortunately) still a major thing in a large part of the world.
Most OSs will allow you to pull current local DST state, but DST dates and offsets unfortunately vary across the world. You'd probably need to import the TZDATA file and use the generic naming conventions (ie 'CET', 'EST' and 'America/Chicago' or 'Europe/Amsterdam') instead of just hours and minutes...

This could be part of #20 and do it all at once...

there are only 13 different regions that do dst could just hardcode their times and have a dst dropdown to pick one if its a region that has dst. would be alot simpler yet still get the function across. https://en.wikipedia.org/wiki/Daylight_saving_time_by_country

the Intl API now handles this in 1.1.0, dependent on your discord locale.


AFL capability added to common.sh, corresponding changes to build.sh for LCMS and re2

To build with afl, call:
./build.sh afl
Otherwise, both of these are equivalent:
./build.sh libfuzzer
./build.sh

We now name binaries "(name)_afl" in AFL mode, but maintain the status quo for libfuzzer; this way backward compatibility is maintained.

Pushed some new code regarding "target_files()", @morehouse

I like this better than the previous version -- seems cleaner to call functions defined in common.sh than to require common.sh to be included at a specific point in the code.  Interested in what @kcc thinks of this.

why did you chmod +x common.sh?

and this seems to have broken some becnhamrks, at least re2

Hopefully fixed in 30014fbe1b892f9b61a93dd5ec06f494ffd152e2

Since merge, OpenSSL 1.0.1f is also failing to build for me.

@morehouse do you have details?
The bot is green. http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fuzzer/builds/6521
Note that this version of openssl has a bug in Makefiles that causes the parallel build to be a bit flaky

@kcc That's probably what I ran into.  Just rebuilt and it worked.  Should have looked at the README first.


Calendar won't display events that have confliting dates

Hi i've been struggling with the calendar. It won't display events that have dates in which are already set by other event on the same resourceId. For instace if I have an array of events with the following data:
const events = [{id: 1234, start: "2023-02-01", end: "2023-02-20", resourceId: "rc123"}, { id: 5678, start: "2023-02-06", end: "2023-02-28", resourceId: "rc123"}]
It will only diplay events[0] and totally ingore events[1] . I know there's conflits but i want to still be able to see both of them displaying. Is there any settings I should change to solve this? why is this happening?

Can you show some code?


Implemented timeouts.

I believe timeout functionality would be a useful feature for this library. When interacting with a website, especially in a mobile context where internet connection is not guaranteed, there can be some causes where you can call a handler and never receive a callback.
This PR fixes that problem, allowing the bridge to return a timeout error as the response callback. This ensures that for every call into a webview that expects a callback, it will always get one.

Hi @niothiel, unfortunately I think this shouldn't be baked into the library. It is easily implemented on top of WVJB and doesn't seem to be a feature that anyone else has needed.
Thanks for the PR though!


FinOps Hub Rate Optimization report - Unable to populate visuals for Recommendations (subscription) tab

🐛 Problem
This is in relation to the issue opened for https://github.com/microsoft/finops-toolkit/issues/702.  The same customer has setup the new Rate Optimization report to work with the Cost Management connector with no errors now, so that piece is fixed in the new report.  All of the data is in the tables for RecommendationsSingle and RecommendationsShared with the time set for 1 month as the default.  We had to play with the filters to get the data showing in the Recommendations (shared) tab & got that working.  The Recommendations (subscription) tab we cannot get to populate with visuals, but we have confirmed that the data is in the table.
👣 Repro steps

Configure the cost management connector for the Rate Optimization report
Verify data is in both RecommendationsSingle and RecommendationsShared tables
Check the report tabs for Recommendations (shared) and Recommendations (subscription)

🤔 Expected
Views populating in the report tabs for Recommendations (shared) and Recommendations (subscription)
📷 Screenshots
Working for Recommendations (shared):

Not working for Recommendations (subscription):

🙋♀ Ask for the community

Please vote this issue up (👍) to prioritize it.

Strange... I'm not sure what would cause this off the top of my head. I'd probably need to look at the PBIX file with data to troubleshoot. Feel free to setup some time with me to debug, if you have the file.
As a side note, we have an open PR to replace the connector with exports, so there will be a change in the next release that might resolve this.

This can probably wait until the next release.  I will have them test again once the connector is replaced.


adding technical writing edits on the store clustering example

Hey @pcejrowski ! Could you review this PR and see if my suggested changes make sense? There may be places where my edits could be refined for accuracy. One other question I had too was if we want to add something to the intro at the very beginning about the insights you could get from clustering stores based on product category sales, such as helping you tailor marketing strategies, inventory decisions, or store placement based on regional preferences and sales behavior. We could also put some of this at the end to help drive home the value of the example and explain the benefits of plotting the clusters geographically. Let me know what you think. Thanks!

@kacy-ewing I've added a sentence in the top on how this can be used.
LGTM!


Packages should be published in topological order

Affected Packages
I think @changesets/assemble-release-plan should do the sorting.
Problem
A broken release (for example stopped in the middle) might leave NPM registry in a broken state.
Proposed solution
Packages should be published in topological order - dependencies before dependents.
I'm not sure what should be done about cycles.

This sounds fine to me. @changesets/assemble-release-plan wouldn't do the sorting though since it's not related to publishing, it would happen in @changesets/cli.

My reasoning was that @changesets/assemble-release-plan could output "ready to be published" list - so already presorted with this in mind.

pnpm publish -r actually publishes package in topological order. We have a package for sorting the package: @pnpm/sort-packages.

@zkochan could u look into internalPublish to see if it satisfies pnpm users? it is executed on per-package basis and it seems that maybe this strategy might not be ideal for some reason when using pnpm?

The code looks fine. It will probably work fine with pnpm. But I need it to run in topological order because in the pnpm monorepo, the main package should be published last. When the main package is installed, we actually install all of its dependencies before publish, and pack them (kind of like bundled dependencies work).
Also, I think it would be a good idea to publish all packages with some temporary dist tag and only update all the versions to "latest" when each package has been successfully published.
This is how Lerna does publishing. pnpm recursive publish also works like that.

Actually, even if this will be fixed, I will stick with pnpm for doing the publish. changeset publish is extremely slow due to calling npm info on each package in the monorepo. pnpm also checks each version of each package and whether it was released. But pnpm does it using its own programmatic API, concurrently and fast.

Would you have any direct tips on what you are doing differently to achieve the same result?

We have this library, called @pnpm/npm-resolver. We run it for every package in the monorepo. It is really fast because it also uses a cache in the filesystem. So if you already checked if<EMAIL_ADDRESS>is published to the repository, the check will not be repeated. Also, it happens concurrently (16 requests at a time) and in the same process, npm is not started for each package, separately.
Here's the actual step where we do it

So if you already checked if<EMAIL_ADDRESS>is published to the repository, the check will not be repeated.

I'm not too intimate with the algorithm used here but it seems that this part should be roughly the same as changesets should not need to check if a single package is published multiple times, or does it repeat those calls for some reason?
The note about reusing npm - I took a quick look at your implementation, npm resolver etc. Could you confirm that you call npm APIs directly rather than using their CLI? And thus it is more lightweight?

The note about reusing npm - I took a quick look at your implementation, npm resolver etc. Could you confirm that you call npm APIs directly rather than using their CLI? And thus it is more lightweight?

pnpm has its own API for making requests to the npm registry. That's what we use.

For anybody who is using plain npm, the "workspaces" field can be specified in topological order, and npm publish --workspaces will respect that order. Unfortunately, changesets does not respect it. 😢


Uncaught TypeError: Cannot read property 'null' of undefined

Hey, this error seems to be firing after I installed the Jupyter package and started working another file (.MD, .py, etc.)
It can't seem to identify that it's not an .ipynb notebook, and therefore "Cannot read property 'null' of undefined".
One particularly odd thing is that it fires even when I click outside of atom, like on the menu bar or other windows:

[Enter steps to reproduce below:]

Open atom from command line (atom .)
Click around in a file or anywhere else.
Get a list of errors:

Atom Version: 1.8.0
System: Mac OS X 10.10.5
Thrown From: jupyter-notebook package, v0.0.9
Stack Trace
Uncaught TypeError: Cannot read property 'null' of undefined
At /Users/vivek.menon/.atom/packages/jupyter-notebook/node_modules/react/lib/ReactMount.js:649

TypeError: Cannot read property 'null' of undefined
    at Object.ReactMount.findReactContainerForID (/Users/vivek.menon/.atom/packages/jupyter-notebook/node_modules/react/lib/ReactMount.js:649:50)
    at findParent (/Users/vivek.menon/.atom/packages/jupyter-notebook/node_modules/react/lib/ReactEventListener.js:41:30)
    at handleTopLevelWithoutPath (/Users/vivek.menon/.atom/packages/jupyter-notebook/node_modules/react/lib/ReactEventListener.js:87:16)
    at handleTopLevelImpl (/Users/vivek.menon/.atom/packages/jupyter-notebook/node_modules/react/lib/ReactEventListener.js:73:3)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (/Users/vivek.menon/.atom/packages/jupyter-notebook/node_modules/react/lib/Transaction.js:136:20)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (/Users/vivek.menon/.atom/packages/jupyter-notebook/node_modules/react/lib/ReactDefaultBatchingStrategy.js:62:19)
    at Object.batchedUpdates (/Users/vivek.menon/.atom/packages/jupyter-notebook/node_modules/react/lib/ReactUpdates.js:94:20)
    at ReactEventListener.dispatchEvent (/Users/vivek.menon/.atom/packages/jupyter-notebook/node_modules/react/lib/ReactEventListener.js:204:20)

Commands

Config
{
  "core": {
    "audioBeep": false,
    "openEmptyEditorOnStart": false,
    "projectHome": "~/Dropbox",
    "themes": [
      "seti-ui",
      "dracula-theme"
    ]
  }
}

Installed Packages
# User
atom-beautify, v0.28.19
autocomplete-python, v1.4.3
dracula-theme, v1.2.0
highlight-line, v0.11.0
highlight-selected, v0.11.1
jupyter-notebook, v0.0.9
linter, v1.11.3
linter-flake8, v1.9.3
minimap, v4.19.0
open-recent, v4.0.1
release-notes, v0.53.0
seti-ui, v0.8.1
sync-settings, v0.7.2
terminal-plus, v0.14.5

# Dev
No dev packages

I'm having the same issues here. @Vvkmnn have you had any luck with this?

This repo is not being actively maintained 🙁 In the meantime, I suggest that you look at hydrogen to run code inline in Atom's text editor, nteract (a new Jupyter notebook client built using Electron, React, Redux, RxJS), Jupyter Notebook, and JupyterLab.
Having said that, nteract is currently extracting its many components into separate packages which will allow them to be reused and assembled to create new apps. When I have the time, I would like to use them to completely refactor this project.


Love-196: Create XLR YAML template for the ecommerce microservice EKS usecase

@eltonkevani I made some changes take a look


thcrap_tsa: Support translation of the th06 ending format.

th06 ending format
Description
Prerequisites
None.
Implementation

https://github.com/thpatch/thcrap/compare/cbb237c069aa...021f457a2f7a


Fix QuotaExceededError bug with localStorage in Safari

Failed to execute 'setItem' on 'Storage': Setting the value of 'snowplowOutQueue_s'...

Possibly caused by private mode browsing in Safari?

When Safari (OS X or iOS) is in private browsing mode, it appears as though localStorage is available, but trying to call setItem throws an exception.

http://stackoverflow.com/questions/14555347/html5-localstorage-error-with-safari-quota-exceeded-err-dom-exception-22-an
http://stackoverflow.com/questions/21159301/quotaexceedederror-dom-exception-22-an-attempt-was-made-to-add-something-to-st

Let's also fix in 2.3.0

This is the sequence of events which causes the bug:

A user arrives on the website with private browsing disabled. The JS Tracker believes that localStorage is accessible.
The user turns on private browsing, making localStorage inaccessible, but the JS Tracker does not check this.

Well sleuthed!


[$500] [MEDIUM] IOU - Splitting money (Scan) in the group shows different messages in the user chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

**Version Number:**1.4.29-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/runs/view/19702&group_by=cases:section_id&group_order=asc&group_id=229063
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Log in with User A and open User B's chat
Go to the group chat
Navigate to Split > Scan
Select a receipt and send it
Repeat the Split > Scan process and complete the flow
Log in with User B from another browser and open User A's chat
Observe the chat there are 2 requests with different messages

Expected Result:
Scan requests should be displayed in one message, indicating (2 requests)
Actual Result:
Splitting money (Scan) in the group shows different messages in the user chat
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/24b39575-da8b-4c52-9eba-d25decd812d5
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~010afa9e21239fc269
Upwork Job ID:<PHONE_NUMBER>448118784
Last Price Increase: 2024-02-12

We think that this bug might be related to #wave5.
CC @DylanDylann

@neonbhai Sorry, I'm not sure how your proposal relates to this issue. As I understand it, this issue relates to multiple scan requests not being folded into one. Is that right @lanitochka17?
Also, you've tagged the wrong Dylan, I think you meant @dylanexpensify :smile:

Hehe no worries, it happens more often than you'd think!

No proposals yet!

Moved to wave5!

@lanitochka17 Can you recheck this? I can't reproduce the issue anymore.

I've added the retest label so that this will get picked up to be retested.

@lanitochka17 Friendly bump to retest this, please!

There's no BZ on this issue, so re-assigning Bug label and External

@isabelastisser I'm a bit unsure on the expected behaviour here, are you able to double check if this is definitely incorrect?

@jjcoffee, I agree; I'm pretty sure this is the correct flow and that we expect different views from user A splitting the expense and user B viewing the split in chat. I am closing this.


Project generate DYN files but not EXEC files

i have built caffe-android-lib successfully using "Android-ABI = armeabi" ,and then i want to test caffe on a arm core ,linux machine . i test files include "android_lib/caffe/bin/caffe" and "android_lib/caffe/bin/classification",(the needed *.so have copied to the target machine ),but it didn't work.
I use tool "arm-linux-readelf"to read the files("caffe, classification") and i found that file type are"DYN(Shared
object file)",but not EXEC(Executable file). I want to know how to config the project to generate EXEC files ，thank you！

It's normally DYN as a result of PIE (http://stackoverflow.com/questions/30555248/readelf-reports-program-is-a-shared-library-instead-of-executable). Are you sure that your target machine is android-compatible?

target machine is not android ，but linux and arm. because caffe don't support arm so i found caffe-android-lib（it supports arm and android is based on linux），do you mean it can only be used in an android machine？

Basically, it's built with android-ndk, and I doubt that it support generic arm-based devices.


file-folder demo

Hello,
if I understand correctly file-folder is used to store another file-folder like
<file-folder name="Folder1">
 <file-folder name="Folder2"></file-folder>
</file-folder>

Could you please write a small demo for that, because I couldn't get it working. Iron Page is only for the file-tree component

The file-folder takes in a data object just like the file-tree. The key difference is that the file-tree keeps track of which folder is selected. In normal use it probably doesn't make sense to use the file-folder element on its own, but passing in the same data object to a file-folder element as is passed into the file-tree element like in the demo will render the same hierarchy.


UI Feature: Ability to see pods on a per node basis

What kind of request is this (question/bug/enhancement/feature request):
Enhancement
Desired result:
Customer would like to be able to see a list of pods scheduled to a node from the "view node" page. You can currently see the number of them, but that is it.

duplicate of #11024


How to get a Cache Key (hashsum - MD5, SHA1, SHA256, etc.) for task inputs or outputs?

The Question
How to get a Cache Key (hashsum - MD5, SHA1, SHA256, etc.) for task inputs or outputs?
I've tried to find public API for this without success. I know Gradle uses hashsum for TaskInputs and TaskOutputs under the hood and I'd like to use this to avoid double publication to a repository of binaries.
Vital Example
Assume we have:

Multiproject build with two subprojects: core and web
CI job executed every Git push: ./gradlew publish

Goal: Avoid publication of both modules if one of them is already published.
Actual workaround
I have to use custom function to compute SHA1 of outputs and attach it to artifactory properties. E.g.:
def computeCheckSum = { FileCollection fileCollection ->
  Vector<InputStream> streams = [new FileInputStream(*fileCollection.files.toSorted())]
  SequenceInputStream combinedStream = new SequenceInputStream(streams.elements())
  return DigestUtils.sha1Hex(combinedStream)
}

artifactory {
  publish {
    defaults {
      properties = ['checksum': "${ -> computeCheckSum(generateResources.outputs.files)}"]
    }
  }
}

Desired behaviour
The same, but don't compute twice (use existing hashsum from Gradle). E.g.:
artifactory {
  publish {
    defaults {
      properties = ['checksum': "${ -> generateResources.outputs.cacheKey}"]
    }
  }
}

Thank you @slavashvets for the well-written issue. I don't think this is available, so I think we might consider this a feature request to add a public API.

Gradle's hashes have their own internal format, and thus aren't meant to be used externally.


Added some error handling

#4
-Added timeout when making request http connection
-Added try/except in case a proxy parser fails

Hi,

I have added the configurable timeout on the UrlParser base class
For the try/except I have added ReadTimeout exception for now but there could also be other exceptions in the future and will have to be added
I think the best approach for Class TestProxyProviders is to mock the requests response because, you've said yourself that proxy websites are not reliable

Coverage increased (+3.5%) to 44.785% when pulling f2decd79fb4cbc30f9a829aff22c77fb535be3c3 on gabrielgradinaru:master into 5621d8a6020090213b1828e0509c23f915e6eee0 on pgaref:master.

Coverage increased (+3.5%) to 44.785% when pulling ed18c1d6a561ae47cc7388f1c06b5ccf47b98a5d on gabrielgradinaru:master into 5621d8a6020090213b1828e0509c23f915e6eee0 on pgaref:master.

@gabrielgradinaru great job! Thanks for contributing :)


odb: add support for exceptpgnets on dbObstructions

Adds support for DEF blockages with EXCEPTPGNETS flag

I'm curious if you are building some flow around this that OR might benefit from.

@maliberty eventually it would be nice to update PDN to support this, but this is mainly to ensure the DEFs we have are parse-able.


No error when interface with event is not correctly implemented

Describe the bug
When you implement an interface that contains an event, VS Code will not show an error if the event is just implemented as a function and not marked as an event.
To Reproduce
interface IDemo
{
    trigger OnWhatever();
    begin
    end;
}

codeunit 50000 Demo implements IDemo
{
    procedure OnWhatever()
    begin
    end;
}

Expected behavior
As long as procedure OnWhatever() is not marked as an event, there should be an error that the interface is not correctly implemented.
Screenshots

5. Versions:

AL Language: 5.0.254558

Business Central: n/a

Edit: Maybe I'm going too fast here... Just noticed that it is not even possible (yet?) to subscribe to an event from an interface...
I do really hope that will become possible in the future!

Yep, we had that discussion as well, you also can't define a publisher in an interface, which woudl be very helpful

Being able to use the Trigger keyword in the interface is a bug.

This issue has been fixed in our latest developer preview for AL extensions that are using version 6.0.307310 or higher. An error is now reported on interfaces declaring a trigger.


Enforce correctly go formatted code in CI

Since there's no point making humans review code formatting when we've can trust computers do it for us as far as I'm concerned.

Taking the freedom of merging these trivial changes as I've understood gofmt'ing and vetting to be the norm in go projects.
Please shout after the fact if someone feels differently.


⚠ Bofrost.fr has degraded performance

In 3649f97, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1009 ms

Resolved: Bofrost.fr performance has improved in 0f8e418 after 22 minutes.


TypeError: Cannot read property 'map' of undefined

Hello o/
I'm trying to "module federationize" my Storybook. it uses Style9, which works normally, but I need a webpackFinal object in my config. If I remove that object from the storyBookConfig constant, the storybook app compiles, and the app importing the components is able to find them. But since Style9 is not compiling anything, nothing works. If i keep my webpackFinal object, then the storyapp doesn't compile, and I get this error:
ERR! TypeError: Cannot read property 'map' of undefined ERR!     at Object.webpackFinal (/Users/camila.paschini/Developer/Platform-Phoenix-UI/node_modules/storybook-module-federation/dist/main.js:46:26)
Here's the constants i'm using:
const storybookConfig = {
  core: {
    builder: 'webpack5',
  },
  stories: [
    "../src/main/javascript/**/*.stories.mdx",
    "../src/main/javascript/**/*.stories.@(js|jsx|ts|tsx)"
  ],
  addons: ["@storybook/addon-links", "@storybook/addon-essentials"],

  webpackFinal: async config => {
    config.resolve.modules = [
      ...(config.resolve.modules || []),
      path.resolve(__dirname, "../src/main/javascript"),
      "node_modules"
    ];

    config.module.rules.push({
      test: /\.tsx?$/,
      use: Style9Plugin.loader
    });

    config.plugins.push(new Style9Plugin());

    return config;
  }
};

const moduleFederationConfig = {
  name: "phoenixUI",
  filename: "remoteEntry.tsx",
  exposes: {
    "./Components/Button": path.resolve(
      __dirname,
      "../src/main/javascript/Button.tsx"
    )
  }
};

Style9 is a CSS compiler plugin. The config for Style9 works. As in, if i remove module federation from my .storybook/main.js, it works. I am using Storybook version 6.3.12 though, have not tried downgrading it.
Thx in advance!

webpackFinal could return a promise. That's exactly your case. Remove async and it will work.
But storybook-module-federation should check return type of webpackFinal internally, so it's still a bug.

Can confirm removing async worked for me in very similar scenario.

Also @robdonn , I saw your work on PR to merge this functionality into storybook, and can't thank you enough.

Hey @paschini, sorry for the unforgivably slow response to this issue. Version 0.6.2 has now been published which supports providing an async function to webpackFinal.

Hi,
I am trying to expose the entire storybook, so that it can be imported in to Cockpit app. From the example I could see exporting a component(button) from story book works fine, similarly is it possible to export the storybook as a whole app?


Dicebot offline

Attempting to roll for a tabletop game, no response from the bot when command is input.
Image of the commands

Restarting. Did it help?

Yup, that seemed to fix it!
On Aug 28, 2017 8:37 PM, "Artem"<EMAIL_ADDRESS>wrote:

Restarting. Did it help?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FArtemGr%2FSidekick%2Fissues%2F76%23issuecomment-325520747&data=02|01|mgoosh01%40villanova.edu|8b040a472be24158404908d4ee760d7a|765a8de5cf9444f09cafae5bf8cfa366|0|0|636395638179307990&sdata=IhDjSwa0kExL2irElaWaM6frp2ZtaO7O4N%2BhHWL6Iiw%3D&reserved=0,
or mute the thread
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAd99xU7RcZ33X7XP-C3Kc5yKs5fqN2QNks5sc10ngaJpZM4PFMuL&data=02|01|mgoosh01%40villanova.edu|8b040a472be24158404908d4ee760d7a|765a8de5cf9444f09cafae5bf8cfa366|0|0|636395638179307990&sdata=W1OZBlo6NMSB3xZaDx6Cq2idYnjAdEDNQBpB1gbNk2U%3D&reserved=0
.

All right, thanks for the heads up.


Adding a organization as collaborator should give access to all organization members

Suggestion
Allow owners to add organisations as a collaborator on a repostiry. Adding a organization as collaborator should give access to all organization members.
This would be the other solution suggested by #857.

Hi, based on #857 , you can't add organization as collaborator. And likely not going to be implemented i near future.


Moving code that draws the log levels to its own class

This allows other scripts to use the same code to draw the log levels
REQUIRES: https://github.com/vis2k/Mirror/pull/1790
Only changes in 06f3628fb4135183b18f93ed0eb09b955f2e8c18 need to be reviewed for this PR

The 1 code smells:

Rename class 'LogLevelsGUI' to match pascal case naming rules, consider using 'LogLevelsGUI'

following Unity's naming "GUI"


Pre-commit hook doesn't work with custom dart/flutter executable locations

At the moment, the pre-commit hook definition expects dart/flutter executables to be accessible in the search path.
However, it is a common practice to install several channels on the same machine and use different executable names for them. i.e. flutter-stable, dart-beta, etc.
It is possible to implement a hook that takes an executable name/path as an argument in the args parameter, see https://pre-commit.com/#passing-arguments-to-hooks. However, this requires transforming the definition in the script type and using an additional script that would construct the corresponding command to execute. The problem is we cannot just use bash for this as Windows users won't be able to use it.

Another option is to use python hook type as a wrapper. From the pre-commit docs: Support: python hooks work without any system-level dependencies. It has been tested on linux, macOS, windows, and cygwin. https://pre-commit.com/#python
A simple python script will work on any platform and it is easy enough to parse arguments and invoke the proper command from it.

Well, according to the docs the entire repo must be installable as a python package. This will require some additional files in the repo root. Seems a bit inconvenient.

See #63


Update buildx version; deprecate k8s-sidecar

Description
Updating buildx github actions to use v3 with latest stability and testing.
Deprecating k8s-sidecar due to upstream support.
Type Of Change
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Docs
[x] Installation
[x] Performance and Scalability
[ ] Security
[ ] Test and/or Release
[ ] User Experience

Issue Ref (Optional)
Which issue(s) this PR fixes (optional, using fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged): Fixes #150
Notes
Add special notes for your reviewer here.

Did you want to deprecate ghostunnel as well? Otherwise looks good.

@onedr0p I was looking into ghostunnel, I didn't see their new image that is multi-arch though, only saw the PR was merged, not sure if it has been released with a new version as of yet.

@easimon I've noticed that kustomize is having issues, it looks like it's failing on the amd64 variant to build, did you test this architecture? Alternatively, we could disable it here, but if you could PTAL that would be awesome 🙏

Hm... The logs say it did not find kustomize/v3.3.1.
kustomize switched their tag naming at some point, since the same repo is hosting other artifacts (kyaml e.g.).
So the build failed because it was trying to check out an old version (v.3.3.1) with the new naming scheme (like kustomize/v3.8.2).
Not sure where the build picks this version number from.


error with custom resources

ISSUE TYPE

[x] Bug Report
[ ] Feature Idea

BUG REPORT
SUMMARY
we use statefulservice which is a custom resource and kubeaudit throughs an error instead of a warning since it's not supported
ENVIRONMENT

Kubeaudit version: 0.0.0
Kubeaudit install method: DIY-BUILD

STEPS TO REPRODUCE
kubeaudit autofix -f config/deploy/staging/kafka.yml
https://github.com/Shopify/kafka-infrastructure/blob/master/config/deploy/staging/kafka.yml
EXPECTED RESULTS
WARN Skipping unsupported resource type Statefulservice
ACTUAL RESULTS
kubeaudit autofix -f config/deploy/staging/kafka.yml
WARN[0000] Skipping unsupported resource type /v1, Kind=Service
WARN[0000] Skipping unsupported resource type /v1, Kind=Service
WARN[0000] Skipping unsupported resource type policy/v1beta1, Kind=PodDisruptionBudget
ERRO[0000] File is not a valid Kubernetes manifest: no kind "Statefulservice" is registered for version "stable.shopify.io/v1" in scheme "pkg/runtime/scheme.go:101"

ADDITIONAL INFORMATION

FEATURE IDEA

[ ] If the maintainers agree with the feature as described here, I intend to submit a Pull Request myself.1

Proposal:
1 This is the quickest way to get a new feature! We reserve the right to close feature requests, even ones we like, if the proposer does not intend to contribute to the feature and it doesn't fit in our current roadmap.

This should be fixed by #243. Please re-open if the problem remains


Update distribution pipeline

This PR started out small, but I added some improvements to several parts of the distribution pipeline.

To ensure eitprocessing keeps working on newer versions of Python, I added the test and build action for Python 3.11-3.13.
The image containing the data (ghcr.io/eit-alive/eittestdata:latest) only has Python 3.10 with pip installed. Instead of editing that image, I edited the GitHub action to mount the data from the image, and run the test and build on python:3.x-bookworm instead. This makes it easier to adapt to new Python versions and replace the data image in the future, if necessary.
The coveralls action was not working. I removed it from the test action and created a new action. Coveralls does not report well when run on pull requests (and they don't really make sense), so I restricted it to running on pushes to main and develop.
I updated the linting action to install the ruff version from pyproject.toml. I already forgot to update the version in the action once, not planning on doing it again.
I updated the classifiers in the pyproject.toml file to better represent the (current status of) the project.
I added a py.typed file to the root of the package. This enables linters to use the source code for type checking when installing eitprocessing from package. (See https://peps.python.org/pep-0561/#packaging-type-information and https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages.)

This looks fine to me at first glance, but I am not very fluent at docker, so asked @wbaccinelli to review it instead. Also, things will change again soon in #303

This looks fine to me at first glance, but I am not very fluent at docker, so asked @wbaccinelli to review it instead. Also, things will change again soon in #303

I wasn't aware of #303. Maybe it's best to do that in this PR, instead of changing it twice? I think we can already remove the container requirement by extracting the data files from the container (https://github.com/marketplace/actions/docker-extract). This can then later be replaced, e.g. by downloading from Zenodo (although downloading from Zenodo seems to be quite slow).
I'll look into this tomorrow.

Since yesterday, I have changed a number of things:

I renamed 'Build' to 'Test and build' to more aptly describe the action.
I de-containerized the test and build action. It still uses the old container, but extracts the data from it for testing. The actual testing and building is done outside of a container (technically still inside one, but not in a container within a container).
I removed python 3.11-3.13 from the normal test and build action again. This reduces resource usage.
I added a test job to the GitHub release action. This tests the package for python 3.10-3.13. This ensures we don't release anything that breaks the package, but is only run once per release instead of multiple times for every PR.
I cleaned up the linting action, by splitting installing ruff, the linting and the formatting
I updated the artifacts action to v4 (v3 will be deprecated soon)
I updated all checkout actions to v4

The actions that run when a PR is updated (Test and build, Linting) work.
The actions that run with a GitHub release can't be tested without creating a release. Since the tests have to succeed before the release is created, I dare to test them by making a release. If something is not right, the release will just fail.

This PR closes #303.

I now also updated the Coveralls action to de-containerize it.


add annotation to westeros baseline tutorial initial creation of scenario

add annotation to the creation of the new scenario in the westeros tutorial to make it run
How to review

Confirm that making the annotation a required argument is the desired behavior of the message_ix.Scenario() function.

PR checklist

[ ] Add or expand tests.

[ ] Add, expand, or update documentation.

[x] Update release notes.
<!-- Add a single line at the top of the “Next release” section of
     RELEASE_NOTES.rst, where '999' is the GitHub pull request number:
<ul>
:pull:999: Title or single-sentence description from above.
-->

iiasa/ixmp#364 changed the log message that appears here from the WARNING level to the INFO level, so users should not see this message anymore.
Per https://github.com/iiasa/message_ix/issues/383#issuecomment-673431074, we don't want to burden new users going through the tutorials with the concept of this annotation, especially since there is no way to ever retrieve it. So, I'll close this PR without merging.
Thanks @ClaraLuisa for raising this issue!


[KBFS-2893] Reset Folder Banner

This enables the reset panel for Files. The "add them back in" and "open a folder without them" links don't work yet; they are blocked on getting some more info from the favorites/list RPC. The reset banner also only shows up for folders with corresponding chats, and for badged team folders. Once we have the new RPC it'll show up in all the correct scenarios.

Maybe your missing the two incorrectly. Collapse is just for components.
Stylehseetecreate is for defining static styles
On Fri, Jun 8, 2018 at 6:45 PM John Zila<EMAIL_ADDRESS>wrote:

@jzila commented on this pull request.
In shared/common-adapters/usernames.js
https://github.com/keybase/client/pull/12204#discussion_r194197633:

@@ -25,6 +25,23 @@ function usernameText({
inlineGrammar = false,
showAnd = false,
}: Props) {

const andStyle = collapseStyles([

I can't figure out a way to get Flow to be happy with using
styleSheetCreate:
Cannot call styleSheetCreate with object literal bound to map because:
• property textDecoration is missing in _StylesCrossPlatform [1] but exists in object literal [2] in property
andStyle.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/pull/12204#discussion_r194197633, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAfhUwS5aD2v2VHYh3uWm-DJcBDTz0F5ks5t6v5ugaJpZM4UbLHT
.

@chrisnojima nope, it yells at me at the style declaration level. I think it's because I'm using style properties that only exist on desktop and filtering them via isMobile.

@chrisnojima ready for another review.

I'd like to get this in before the end of sprint.

@chrisnojima ping

@chrisnojima ok got your feedback in, styleSheetCreate and all.


[ja] Translate content/en/docs/tasks/debug/debug-cluster/kubectl-node-debug.md into Japanese

This is a Feature Request
What would you like to be added
Translate content/en/docs/tasks/debug/debug-cluster/kubectl-node-debug.md into Japanese
Why is this needed
There is no Japanese translation for this page
Comments

File to translate:

https://github.com/kubernetes/website/blob/main/content/en/docs/tasks/debug/debug-cluster/kubectl-node-debug.md

Original:

https://kubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug/

ref. Japanese Localization document: https://kubernetes.io/ja/docs/contribute/localization/
/area localization
/language ja
/help

/triage accepted

/assign

/remove-help


Date question

Story
As a poll applicant, I want to answer to a question with a date value.
Date syntax
A date value can be provided using this syntax:
dd/mm/yyyy-hh:mm:ss-wt
dd
Day of the month. From 1 to 31.
mm
Month of the year. From 1 to 12.
yyyy
Year.
hh
Hour in a 24h format (from 0 to 23).
mm
Minute.
ss
Seconds.
wt
World time using the UTC reference.

UTC+1, UTC+2, UTC-1, etc.

If not provided, the default value is the one provided by the applicant's device.
Invalid date
When an invalid date is provided, a warning notification is shown and the question is asked a seconde time.

Complexity:👍👍👍👍👍👍👍👍
Duration in days:👍👍👍👍👍

c'est un 13 et peut être livrer sur 21 jours

complexity: 21
duration in days: 11

complexité : 21
durée en jours : 14

duration in days: 11


Fixed syntax in JSON_MODIFY example

The path parameter needs to be in single quotes instead of double quotes.  This was correct in all of the examples except for the last one.

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

@ncsmikewoods Thanks for the fix! Sorry for the delayed response.


M365 Defender Data connector CompromisedEntity incorrect value

Describe the bug
The CompromisedEntity column is most of the time filled in with the wrong value for alerts coming from MDI
To Reproduce
Steps to reproduce the behavior:

Go to 'Sentinel'
Click on 'Data conectors'
Scroll down to 'M365 Data Connector'
Enable ingestion
Investigate Alert
See error

Expected behavior
For the compromised entity to be an actual user/device/entity
Screenshots

This is a first party connector, hence forwarding to Shay from Data Collection and Processing team... Thanks!!

@Lodewyk-Git : Could you please submit a ticket with Azure Support Team and provide the required details..... If possible please select the owning Team as Azure Sentinel --> Data Collection and Processing
Thanks!!

Closing this Issue.. as asked customer to raise the ticket... Thanks!!!


Connection closed

Hi,
I am getting the following error when I try and connect. Below is what I have set for the variables
Set-ZDHeader -Email 'MyEmail' -Token 'API Token'
Set-ZDDomain -Domain 'https://ourdomain.zendesk.com'
I have also tried Set-ZDDomain -Domain 'ourdomain'  but it returns the same error.
Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send.
At D:\Powershell\Modules\PoshZD-master\PoshZD\Public\Tickets\Get-ZDTicket.ps1:43 char:33
+         $ReturnObject.ticket = (Invoke-RestMethod @params).ticket
+                                 ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

@tbasten Can you try and run the following and tell me the output?  Of course you don't have to provide the actual domain or header/token but just tell me if you get an error:
$Domain
$Headers

I am looking into this, but I don't have access to a ZenDesk instance at this time so looking through documentation to see if ZD changed their API.

Hi,
I get the following.
$Domain -> Contoso
$Headers -> Authorization                  Basic  [followed by a long string].

@tbasten I just got a “sponsored” account from ZenDesk support to continue development! With that said, I plan on looking at this sometime either this weekend or next week. Sorry for the issues but I’ll get it fixed soon.

@tbasten This should be fixed now.  Please let me know if you have any additional issues.  Sorry for the delay.


[ROCm] Switch rocm build to use ROCm 3.7

This PR has the changes required to switch the --config=rocm build to use ROCm 3.7

/cc @chsigg @cheshire @nvining-work

@chsigg gentle ping

@chsigg gentle ping

@chsigg gentle ping

@chsigg gentle ping

gentle ping

@chsigg gentle ping

@deven-amd Can you please resolve conflicts? Thanks!

@gbaned rebased the PR to remove the merge conflict

@cheshire please re-approve..thanks


E: Version '9.4.4-1.pgdg80+1' for 'postgresql-server-dev-9.4' was not found

A new PostgreSQL version has been released.
Perhaps the line:
ENV PG_VERSION 9.4.4-1.pgdg80+1

should be synced with the Debian repo?
Thanks.

Thanks for the prod!


Use -stdlib=libc++ on macOS

Forum thread
https://en.sfml-dev.org/forums/index.php?topic=22786.msg159283#msg159283
Rationale
The standard library "stdc++" causes warnings when linking on macOS:
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
Build logs in SFML CI show this too. Also current downloads for macOS are built with libc++, so the CI doesn't build with what's currently shipped.
Regarding any possible compatibility issue, note that libc++ is available since macOS 10.7.
@mantognini Should CMAKE_OSX_DEPLOYMENT_TARGET also be changed from 10.7 to 10.9 as suggested by the deprecation warning?

I ran into this problem again today and it cost me about half an hour before I figured out it was this again...
Can I haz merge plz?

Merged in 511c16329e5864c5bce3379e04b435f7e4ede1e4

@mantognini @ Ceylo This is wrong to hardcode runtime library and it breaks builds with GCC. A correct fix would be to use Clang library only with Clang, obviously.

GCC fails for other reasons on macOS currently. If you find out how to fix the generated errors, then we're more than happy to merge a fix.

GCC fails for other reasons on macOS currently. If you find out how to fix the generated errors, then we're more than happy to merge a fix.

@eXpl0it3r ObjC garbage fails, I suspect. I am not sure Cocoa will be fixable on my system (it should be possible to rewrite it in normal C/C++, but I can’t), but it should work on a modern macOS. Can you refer to the issue, what fails with GCC build?

Related issues: #1229 #2582 #2584

@eXpl0it3r Thank you. I think I saw that sign conversion error referred to in #2582
gcc-4.9 issues may not be relevant, it is an archaic version, no reason to even consider using it. The latest gcc support macOS back to 10.5, including PowerPC.
For ObjC, it might be needed to switch to generic Unix build on older macOS.

FYI, this breaks with clang too:
[ 58%] Building C object src/SFML/Window/CMakeFiles/sfml-window.dir/OSX/SFApplication.m.o
cd /Users/eijkhout/Installation/sfml/build-2.6.0-macbookair-clang16/src/SFML/Window && /opt/local/bin/clang-mp-16 -DSFML_WINDOW_EXPORTS -I/Users/eijkhout/Installation/sfml/sfml-2.6.0/include -I/Us
ers/eijkhout/Installation/sfml/sfml-2.6.0/src -I/Users/eijkhout/Installation/sfml/sfml-2.6.0/extlibs/headers/vulkan -isystem /Users/eijkhout/Installation/sfml/sfml-2.6.0/extlibs/headers/glad/inclu
de -iframework /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx
-version-min=11.6 -fPIC -fvisibility=hidden -stdlib=libc++  -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wconversion -Wsign-conversion -Wdouble-promotion -
Wformat=2 -Wnull-dereference -Wold-style-cast -Wpedantic -Werror -Wno-unknown-warning-option -MD -MT src/SFML/Window/CMakeFiles/sfml-window.dir/OSX/SFApplication.m.o -MF CMakeFiles/sfml-window.dir
/OSX/SFApplication.m.o.d -o CMakeFiles/sfml-window.dir/OSX/SFApplication.m.o -c /Users/eijkhout/Installation/sfml/sfml-2.6.0/src/SFML/Window/OSX/SFApplication.m
clang: error: argument unused during compilation: '-stdlib=libc++' [-Werror,-Wunused-command-line-argument]
make[3]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/OSX/SFApplication.m.o] Error 1
make[2]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2

Note that it breaks late in the build process. Also: I don't like Wno-error because that make the build system dependent, namely through what the particular compiler considers worth warning about.

https://github.com/SFML/SFML/pull/2625
That warning has already been fixed

Confirm. Clang build succeeds cleanly with latest git pull.

Duplicates #2790


Feedback - Getting started - Hello world

Where to add dependencies
It's a tiny feedback but I think it would be nice to add in which file to add the dependencies:
Something like:

Next, add the necessary dependencies in Cargo.toml:
[dependencies]
tokio = "0.1"

Add a section at the end to run the example:

Start a tcp server: nc -p 6142
Run: cargo run
What to expect

About to create the stream and write to it...
created stream
wrote to stream; success=true
Stream has been created and written to.

Looks good to me!
cc @rylev I think this would be applied to your section.

Running the following command per current docs gives me Connection refused error
nc -l 6142
I needed to run the following for the example to succeed
nc -l -p 6142
I would be happy to update once someone confirms that current docs are innacurate

PR in for requested change above: https://github.com/tokio-rs/website/pull/283

Closed PR. Looks like my issue was with the version of netcat I was using. What are people's thoughts on adding an info or warning section about possible version issues. I originally discovered this because I got an error about the connection being refused, which might put off users.

Right, we probably should move away from using netcat here given how there are differences across platforms.
Does anyone have ideas on an alternative?


404 links in perl6.html

They seem to be of two different types:

[x] Linking HTML entities:

https://docs.perl6.org/(<=)

[x] "spans" linked

https://docs.perl6.org/%3Cspan%20class=%22code%22%3Eunique%3C/span%3E

Related to #561

No linking of HTML entities, either. I'm checking for other 404 (there will probably some, re: #561) but if there's nothing outstanding, I'm closing it.

Actually, those links are not in the source, but generated for some reason.

In fact, those 404 are due to these errors

It was fixed for first-level headings, but they are still there for other levels...

@JJ for  pattern, it is generated by https://github.com/perl6/perl6-pod-to-bigpage/blob/c3410958c5ccc778dd9f62f6af5f62df5092863e/lib/Pod/To/BigPage.pm6#L454-L458
for, emm..., useless X<> tag. Maybe we can just safely remove those logic.

will track in https://github.com/Raku/doc-website/issues/72 on new site.


Bring create-stream docs up to date

The create-stream doc is quite out of date:
https://zulipchat.com/api/create-stream
Complete text:

You can create a stream using Zulip's REST API by submitting a subscribe request with a stream name that doesn't yet exist. You can specify the initial configuration of the stream using the invite_only and announce arguments to that request.

In particular it doesn't mention stream_post_policy. I noticed this while reviewing zulip/zulip-mobile#3140, which starts using that from the mobile app.
Probably the right strategy, rather than trying to keep that paragraph up to date, is to have it not mention specific parameters and just say you can configure it with some optional parameters.
Then actually the add-subscription doc isn't entirely up to date either:
https://zulipchat.com/api/add-subscriptions
The intro prose says:

If any of the specified streams do not exist, they are automatically created, and configured using the invite_only setting specified in the arguments (see below).

Probably that should also not try to list the relevant parameters, and just say something like "configured using the optional arguments specified below."

@orientor this is probably a good issue to work on next.  Much of the problems with the stream endpoints documentation were fixed by our recent work to better validate responses, but this issue is not.
One of the challenges with this is that I'd ideally like the handful of parameters which only apply during stream creation to have a sentence mentioning that fact in their documentation, even though we're recording them in the zulip.yaml file as reusable components: #/components/parameters/StreamPostPolicy.
What I'd like is to figure out a way to declare an additional sentence that only gets appended to the description in this reference point.  It feels like OpenAPI probably needs to have a solution to this problem; we should research what it is and ideally use it.
@eeshangarg @Hypro999 @akashaviator FYI in case any of you have ideas on how to do this cleanly in the OpenAPI format.

I suppose if OpenAPI doesn't have something suitable, we could define our own extension for this, but it'd be nice to use something standard here.


v1.13.0 changed supported generic types for Option and driver.Valuer interface

It looks like the change to mo.Option Value() [Driver.Valuer interface] supports fewer types than it used to, by now calling DefaultParameterConverter.ConvertValue.
I had some code that was using the output of Value to workaround issues with a validation library, but calling Value() on a mo.Option[[]int] type now fails for any slice types other than []byte.
ref: https://cs.opensource.google/go/go/+/refs/tags/go1.22.5:src/database/sql/driver/types.go;l=286
I have a workaround in place, but dropping this here in case this was not intended, or to help anyone in the future trying to track this down.

Please suggest some changes!


BeforeValidator sometimes ignored for Annotated types

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
I have defined a validation function for a custom flavor of bool that can be
True or "true" or 1 or "1"

or -
False or "false" or 0 or "0"

I have an annotated type with a before validator that either accepts one of those inputs and coerces it into the appropriate bool or raises a Value Error. See the code listing below for a minimal example.
It only seems to work if I pass in a False (python bool) or 0. Every other value comes back as "true" even if the value is not any of the acceptable options for true or false. If I pass the same value directly to the validation function, it works as expected.
Example Code
from pydantic import BeforeValidator

from typing import Annotated, Any

def validate_bool(v: Any) -> bool:
    if isinstance(v, str):
        if v == "true" or v == "1":
            return True
        elif v == "false" or v == "0":
            return False
        else:
            raise ValueError
    elif isinstance(v, int):
        if v == 1:
            return True
        elif v == 0:
            return False
        else:
            raise ValueError
    elif isinstance(v, bool):
        return v
    else:
        raise ValueError

CustomBool = Annotated[bool, BeforeValidator(validate_bool)]

print(validate_bool(0))  # False
print(CustomBool(0))  # False

print(validate_bool(1))  # True
print(CustomBool(1))  # True

print(validate_bool(False))  # False
print(CustomBool(False))  # False

print(validate_bool(True))  # True
print(CustomBool(True))  # True

print(validate_bool("false"))  # False
print(CustomBool("false"))  # True

print(validate_bool("0"))  # False
print(CustomBool("0"))  # True

print(validate_bool(3))  # Raises ValueError
print(CustomBool(3))  # True

Python, Pydantic & OS Version
pydantic version: 2.5.2
        pydantic-core version: 2.14.5
          pydantic-core build: profile=release pgo=false
                 install path: /home/vscode/.local/lib/python3.11/site-packages/pydantic
               python version: 3.11.4 (main, Jun  7 2023, 19:03:45) [GCC 10.2.1 20210110]
                     platform: Linux-6.4.16-linuxkit-aarch64-with-glibc2.31
             related packages: email-validator-2.1.0.post1 typing_extensions-4.8.0

You have to use Pydantic BaseModel or TypeAdapter at some point. At runtime, CustomBool = Annotated[bool, BeforeValidator(validate_bool)] is just bool (see Annotated). In other words, Annotated[type, metatadata] has no effect unless a library (such as Pydantic) inspects the type hints to perform the validation. In your case:
from typing import Annotated

from pydantic import BeforeValidator, TypeAdapter

def validate_bool(...): ...

CustomBool = Annotated[bool, BeforeValidator(validate_bool)]

TypeAdapter(CustomBool).validate_python(...))

That was it. Thanks for the tip! I usually use the annotated types in the context of a model, but for unit testing, I wanted to create the naked instances. I will use TypeAdapter or create a simple testing model for my unit tests.


to fix issue 2397

to fix issue 2397 issue 2397

Codecov Report

Merging #2742 into master will increase coverage by 0.01%.
The diff coverage is 84.9%.

@@             Coverage Diff              @@
##             master    #2742      +/-   ##
============================================
+ Coverage     80.11%   80.12%   +0.01%
- Complexity     7068     7082      +14
============================================
  Files           145      145
  Lines         26704    26744      +40
  Branches       6372     6384      +12
============================================
+ Hits          21393    21428      +35
- Misses         3476     3482       +6
+ Partials       1835     1834       -1

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com/alibaba/fastjson/util/FieldInfo.java
85.51% <79.41%> (-1.43%)
88 <8> (+9)

...n/java/com/alibaba/fastjson/util/JavaBeanInfo.java
88.26% <94.73%> (+0.2%)
204 <23> (+6)
:arrow_up:

...ava/com/alibaba/fastjson/parser/JSONLexerBase.java
71.28% <0%> (-0.07%)
824% <0%> (-2%)

...ava/com/alibaba/fastjson/serializer/DateCodec.java
89.54% <0%> (+1.96%)
38% <0%> (+1%)
:arrow_up:

...com/alibaba/fastjson/serializer/SerialContext.java
77.08% <0%> (+4.16%)
19% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


HG-0 - make sure homepage timeline dates are formatted correctly and fixed [cancelled] showing up on all non-cancelled events

This fix is live https://hackgreenville.com
Thanks

@zach2825 actually, it might still be goofy?  Are the minutes swapped with something? Or, is there any view cache that needs to be cleared?
https://hackgreenville.com/

Yeah, I think 'm' might be "month" and not 'minutes'

I just patched it to 'i' and that seems to fix it. I'll do another PR for that, so don't worry about it.


MetaMask Flask cannot connect to Demo app

Hi, I have a problem with connecting to Filsnap demo app.
Steps to reproduce

Install MetaMask Flask from https://chrome.google.com/webstore/detail/metamask-flask-developmen/ljfoeinjpaedjfecbmggjgodbgkmjkjk/related
Visit https://filsnap.chainsafe.io/
Push "CONNECT TO METAMASK"
Pop-up came up to connect, but it failed. See the attached screenshots.

I even tried https://www.glif.io/, but got the same result.

See #258.


Update for 0.24

Closes #16
Closes #17

Thanks for making this and also the fix, @amaanq !
I just tried it in my demo and it works 🎉


Why not to use DataLayer?

Hey there,
I've try to access the data layer but it's under "digitalData".
How you recomend to access the product id?
I've tried:
digitalData.product[0].productInfo.productID
As Javascript Variable on Tag Manager but didn't work.
Any tips?
Thanks!

Hi Cbox,
I'm wondering the same thing with Google Tag manager. How do I make the W3C DIGITAL DATA LAYER Magento extension talk to Google tag manager? Doesn't Google tag manager use 'dataLayer'
If you find anything out please share I've been struggling with this for weeks and I'm just stuck!
Thanks,
Zach

Hi,
I've changed it to this code:

Then in the tag manager added any variables I wanted to.
The change is on the file: digital_data_layer.phtml
Good luck!

Hi There,
Thanks so much for the response. I'm so happy there's a solution! Sorry to
be a pain but I'm really very new to this where would I access the
digital_data_layer.phtml file?
Thanks in advance you're a life saver!
-Zach
On Wed, Jul 19, 2017 at 5:54 PM, Rafael Mor<EMAIL_ADDRESS>wrote:

Hi,
I've changed it to this code:

Then in the tag manager added any variables I wanted to.
The change is on the file: digital_data_layer.phtml
Good luck!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/TriggeredMessaging/digitalDataMagentoExtension/issues/19#issuecomment-316529752,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ac31BoOz8ZbAi5qE-TYBdCaN12PfFCfuks5sPnspgaJpZM4OZd2A
.


Cherry-pick: Expose new SignedXml members that were added in .NET 4.6.2.

This should enable reuse of the last file from the System.Security.Cryptography.Xml namespace.


[TW#15766] Bluetooth Controller: HCI Set Connection Encryption fails unexpectedly

Hi there. I got a BTstack user that fails to connect via Classic to a SEPURA STP-9000 TETRA NETWORK. Although pairing succeeds and link keys are generated/provided, the Set Connection Encryption fails.
Here's my log analysis of https://github.com/bluekitchen/btstack/issues/81#issuecomment-334219796
While the Remote Supported Features indicate support for Secure Simple Pairing, legacy pairing with PIN is used successfully. In the single log, the connection stops at this point.
On reconnection attempts, the ESP32 Controller asks for the link key before the Connection Complete event is received. Later, when BTstack sends HCI Authentication Requested, the Controller asks again for the link key, which is a bit suspicious, but we get a Authentication Complete (Success) event. The next HCI Set Connection Encryption command however fails with "Invalid HCI Command Parameters". Interestingly, there's also a Command Status Event for "Refresh Encryption Key" although no HCI Refresh Encryption Key Command was sent before.
Why is there a second link key request for the same connection? Could this be a problem?
Is the Link Key Request before the Connection Complete Event causing issues?
A shortened & commented log here:
..
[00:02:24.265] EVT <= 04 0A 4F 65 01 96 1E 00 08 02 00 01
[00:02:24.265] LOG -- hci.c.1859: Connection_incoming: 00:1E:96:01:65:4F, type 1
[00:02:24.266] LOG -- hci.c.181: create_connection_for_addr 00:1E:96:01:65:4F, type ff
[00:02:24.274] LOG -- hci.c.3103: sending hci_accept_connection_request, remote eSCO 0
[00:02:24.281] CMD => 09 04 07 4F 65 01 96 1E 00 01
[00:02:24.286] EVT <= 0F 04 00 05 09 04
[00:02:24.290] EVT <= 6E 00
[00:02:24.324] EVT <= 17 06 4F 65 01 96 1E 00
First Link Key Request
[00:02:24.325] LOG -- hci.c.1969: HCI_EVENT_LINK_KEY_REQUEST
[00:02:24.325] LOG -- hci.c.3131: responding to link key request
[00:02:24.480] CMD => 0B 04 16 4F 65 01 96 1E 00 5B B3 5E 0B CD 8B 84 14 2C 9E F4 8C 2B 9C 84 0A
[00:02:24.489] EVT <= 0E 0A 05 0B 04 00 4F 65 01 96 1E 00
[00:02:24.493] EVT <= 6E 00
[00:02:24.546] EVT <= 03 0B 00 80 00 4F 65 01 96 1E 00 01 01
Connection Complete
[00:02:24.546] LOG -- hci.c.1883: Connection_complete (status=0) 00:1E:96:01:65:4F
[00:02:24.548] LOG -- hci.c.1896: New connection: handle 128, 00:1E:96:01:65:4F
[00:02:24.555] LOG -- hci.c.3719: BTSTACK_EVENT_NR_CONNECTIONS_CHANGED 1
[00:02:24.561] EVT <= 61 01 01
[00:02:24.564] CMD => 1B 04 02 80 00
[00:02:24.568] EVT <= 1B 03 80 00 05
[00:02:24.571] EVT <= 0F 04 00 05 1B 04
[00:02:24.575] EVT <= 0B 0B 00 80 00 FF FE 8F F8 1B 18 00 80
[00:02:24.580] LOG -- hci.c.1962: HCI_EVENT_READ_REMOTE_SUPPORTED_FEATURES_COMPLETE, bonding flags 2, eSCO 1
..
[00:02:25.139] LOG -- hci.c.3852: gap_request_security_level 2, current level 0
[00:02:25.141] CMD => 11 04 02 80 00
Authentication Requested
[00:02:25.144] EVT <= 0F 04 00 05 11 04
Second Link Key Request
[00:02:25.148] EVT <= 17 06 4F 65 01 96 1E 00
[00:02:25.152] LOG -- hci.c.1969: HCI_EVENT_LINK_KEY_REQUEST
[00:02:25.157] EVT <= 6E 00
[00:02:25.160] ACL => 80 00 10 00 0C 00 01 00 03 04 08 00 41 00 60 00 01 00 00 00
[00:02:25.167] EVT <= 6E 00
[00:02:25.170] LOG -- hci.c.3131: responding to link key request
[00:02:25.326] CMD => 0B 04 16 4F 65 01 96 1E 00 5B B3 5E 0B CD 8B 84 14 2C 9E F4 8C 2B 9C 84 0A
[00:02:25.335] EVT <= 13 05 01 80 00 01 00
[00:02:25.339] EVT <= 0E 0A 05 0B 04 00 4F 65 01 96 1E 00
[00:02:25.344] EVT <= 6E 00
[00:02:25.350] EVT <= 06 03 00 80 00
Authentication Complete (Success)
[00:02:25.350] CMD => 13 04 03 80 00 01
Set Connection Encryption = 1
[00:02:25.354] EVT <= 0F 04 0C 05 53 0C
Command Status Refresh Encryption Key (Command Disallowed)
[00:02:25.357] EVT <= 0F 04 12 05 13 04
Command Status Set Connection Encyrption (Invalid HCI parameters)

How can i deactivate the "EVT , LOG, ACL and CMD" messages on the Serial port?

How can i deactivate the "EVT , LOG, ACL and CMD" messages on the Serial port?
Hi, open main.c file in esp/esp-idf/components/btstack folder and find function called hci_dump_open and comment it. That is all.

This issue may have been fixed, refer to commit e7f85f1987aa9479c2dbab638ca83bcaef99be00

Added a comment here: https://github.com/bluekitchen/btstack/issues/81
If we get a positive response, or none at all in the next days, I guess we can close it here (as I wasn't able to reproduce it).

Closing it for now as I was never able to reproduce it.


[TeX] support for \hdotsfor (from amsmath)

We had a first use case for this recently. It would be great to have this in MathJax's amsmath implementation.

I think that would require the rowspan/columnspan support, which we don't yet have.  I'm also not sure what MathML structure might correspond to a variable number of dots, as there is nothing like TeX's "leaders" that I am aware of.
A by-hand work-around might be to use \rlap{\text{. . . . . . . . . .}} in the first column and pick the right number of dots by hand.  A hack, but could be used in a pinch.


yaxis: crosschairs could not be stuck with  point data. See screenshots

Could you please, help to solve the issue where yaxis: crosschairs cannot be stuck with point data?
So if I move the mouse up/down, yaxis: crosschairs is moving as well, but I'd like to stuck it with data (blue ball-> see screenshot below)
Please, check annotation here:

This is how it might be.

Does apexcharts.js library do it right now? Is there option for it? I didn't find anything to make it .
This is what I found, but ...
yaxis: {
crosshairs: {
show: true,
position: "back",
stroke: {
color: "#b6b6b6",
width: 5,
dashArray: 0,
},
},
tooltip: {
enabled: true,
offsetY: 200,
width: 10,
},
},

/


Use of LinterCop.json in pipeline

Hi Stefan,
I'm having issues with getting the LinterCop.json to work in my pipelines...
Where should the file be placed to work with Compile-AppInBcContainer?
It seems to be ignored if it's in the root folder (same folder as app.json) of the app being compiled. I've tried a few other places as well (as same folder as BusinessCentral.LinterCop.dll), but no luck...

Ok, it seems as it works when i run alc.exe manually in the container if the LinterCop.json is in the same folder as alc.exe...
But I just cannot get that to work in my pipeline (using Compile-AppInBcContainer), even if i put LinterCop.json in C:\build\vsix\extension\bin inside the container.
@rvanbekkum, I know you are using LC in your pipelines - Are you also using LinterCop.json in the pipelines? If so, where do you put that file in the container?

@rvanbekkum, I know you are using LC in your pipelines - Are you also using LinterCop.json in the pipelines? If so, where do you put that file in the container?

Hi @jwikman,
Yes, we are using it in our pipelines, but no, we do not have a LinterCop.json, so unfortunately I don't have a reference for you, sorry. 😅
My initial thoughts would be that it needs to be placed in the root directory of your app folder (where you also have your app.json), or that it needs to be in the agent/PowerShell work directory, but like I said, I have not tried it, so I am not sure.
Would be a good addition to the README.md if you find out :).
Off-topic: What might also be a good addition to the README.md with regards to this is the information in this blog: https://stefanmaron.com/2022/01/11/business-central-lintercop-with-older-versions-of-bc/

Thanks @rvanbekkum,
Too bad you didn't use that...
I've tested

in the app root (same as app.json)
same folder as alc.exe (C:\build\vsix\extension\bin)
same folder as BusinessCentral.LinterCop.dll, which I've tried in different places as well:

same folder as alc.exe (C:\build\vsix\extension\bin)
the Analyzer folder (C:\build\vsix\extension\bin\Analyzer)
Any other folder shared with the container
The PowerShell script folder

As seen at https://github.com/StefanMaron/BusinessCentral.LinterCop/blob/954ce9407f1865865f4feed1023283cc5ab1dc17/Helpers/LinterSettings.cs#L19, LinterCop.json is opened without path. And fromt the docs  this means that it is opened from "the current working" directory.   And I probably "just" need to figure out which folder that is when running the pipeline. I'll see if I can add some debugging info in the pipeline.
I'll get back and update this issue and the README.me if I figure this out.


EXTENSION : ANIME SUGE

Source name and language
https://ANIMESUGE.TO
Describe your suggested feature
ANIME NOW IS A VERY GOOD SITE PLEASE ADD THIS EXTENSION
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version 0.13.5.
[X] I will fill out all of the requested information in this form.

This site is a 9anime mirror, closing as there is already an extension for the original.


Row callback function

This is a feature request.
Would be useful to have a callback function we can hook into each time a row in the CSV is being processed. For example in my case I have a CSV that:

has empty rows which would be good to be able to skip instead of getting DB insert errors
some data that has to be changed before being inserted

In this case you should just be able to override the readRow method like so:
use Flynsarmy\CsvSeeder\CsvSeeder;

class StopsTableSeeder extends CsvSeeder {

    public function __construct()
    {
        $this->table = 'your_table';
        $this->filename = base_path().'/database/seeds/csvs/your_csv.csv';
    }

    public function run()
    {
        // Recommended when importing larger CSVs
        DB::disableQueryLog();

        // Uncomment the below to wipe the table clean before populating
        DB::table($this->table)->truncate();

        parent::run();
    }

    /**
     * Read a CSV row into a DB insertable array
     *
     * @param array $row        A row of data to read
     * @param array $mapping    Array of csvCol => dbCol
     * @return array
     */
    public function readRow(array $row, array $mapping): array
    {
        $row = parent::readRow($row, $mapping);

        // Manipulate row data here

        return $row;
    }
}

Remember, returning an empty row will result in the row being skipped and no insert attempted on that row.

In this case you should just be able to override the readRow method like so:
use Flynsarmy\CsvSeeder\CsvSeeder;

class StopsTableSeeder extends CsvSeeder {

    public function __construct()
    {
        $this->table = 'your_table';
        $this->filename = base_path().'/database/seeds/csvs/your_csv.csv';
    }

    public function run()
    {
        // Recommended when importing larger CSVs
        DB::disableQueryLog();

        // Uncomment the below to wipe the table clean before populating
        DB::table($this->table)->truncate();

        parent::run();
    }

    /**
     * Read a CSV row into a DB insertable array
     *
     * @param array $row        A row of data to read
     * @param array $mapping    Array of csvCol => dbCol
     * @return array
     */
    public function readRow(array $row, array $mapping): array
    {
        $row = parent::readRow($row, $mapping);

        // Manipulate row data here

        return $row;
    }
}

Remember, returning an empty row will result in the row being skipped and no insert attempted on that row.


Dynamic lib loading

Hello,
I started working on using libloading with bindgen dynamic lib support.
So far it seems to work but the dynamic lib loading is not handle as it should be. I am not familiar with Rust so I am not sure how it should be done.
I added a new() method to the NVML struct (in lib.rs). This new() method will take care of loading the .so file through libloading and use it for every call to NVML method.
the tricky part is for other struct. For example with the Device struct (in device.rs) I reload the library every time a call is made to one of the Device's methods.
I can either implement the same new() method for every struct or maybe you have a better idea (Singleton ?).

Hi, thanks so much for getting this started! I really appreciate it :smile:
Everything worked great on my machine :tada: so it looks like dynamically loading NVML at runtime isn't far off.
I've done some work on top of your branch over here; do you mind if I push to your branch so we can work together on this?
Here's an overview of what I've done:

I grabbed a more up-to-date copy of the nvml.h header and re-genned the bindings with that

Also updated the copy you've added to the repo; in the past I've tried to avoid adding the header to the repo, but looking around the internet I see that everyone else tosses it in their repos, so I guess we can too?

I changed the name of the libloading wrapper struct that bindgen generates from nvml to NvmlLib, to be more idiomatic
Returned to just having init and init_with_flags as the constructors for the NVML struct. Splitting it up into new and init means it's possible for a library user to obtain an NVML instance and call functions without initializing NVML properly, which isn't what we want
Started changing the way we call the dynamically loaded function symbols. Bindgen generates convenience accessors for them, making it quick and easy to call them, but the tradeoff is they'll cause the library to  panic if an error occurred loading the symbol for whatever reason. Instead, we need to check and properly handle the Result types that are loaded into the fields of the NvmlLib struct, allowing us to return an error to the caller if we're unable to access the symbol

I also cleaned up the issue you mentioned:

I added a new() method to the NVML struct (in lib.rs). This new() method will take care of loading the .so file through libloading and use it for every call to NVML method.
the tricky part is for other struct. For example with the Device struct (in device.rs) I reload the library every time a call is made to one of the Device's methods.

So, you were off to the right start: NVML is the entry point to the crate and the first thing the user will construct. As a result, it's the place we'll need to load and store the NvmlLib wrapper type.
We don't need to load the wrapper type again for the other structs, though, or create a singleton; we just need to make sure that all of the other structs have a reference to an NVML instance through which they can get access to the NvmlLib stored inside.
As an example, previously the Device struct was defined like this:
pub struct Device<'nvml> {
    device: nvmlDevice_t,
    _phantom: PhantomData<&'nvml NVML>,
}

I had no need for a reference to an NVML instance in this struct prior to now, so I was using PhantomData instead. The PhantomData type allowed us to "store" the 'nvml lifetime in the Device struct, ensuring that the Device can't outlive the NVML instance it was created from.
Now that we need access to stuff the NVML instance holds onto, though, we can change the definition of Device to the following:
pub struct Device<'nvml> {
    device: nvmlDevice_t,
    pub nvml: &'nvml NVML,
}

This removes the usage of PhantomData in favor of simply storing an actual reference to an NVML instance, giving us access to the NvmlLib type contained within and resolving the issue. (I made similar changes for all the other structs that needed this.)
As far as the next steps that need to be taken care of here:

Finish converting all of the code that accesses function symbols to access them in a way that doesn't panic if they failed to load
Get this working on Windows
Double-check the newly generated bindings and make sure they're all good (I know off the top of my head there are some other manual modifications I needed to make in the past to the bindings; I should probably document those)

I'll chip away at it all over the course of the next few days!

Also, I have no idea why CI failed to run here; maybe restarting it will help?

Hello Jarek,
Thanks a lot for all the modification! I have push them to my dynamic branch.
I will take a look at the function symbols error handling for other struct based on what you did for the lib.rs file.
I don't have access to a Windows system with a NVIDIA GPU unfortunately, neither macOS.

Works great on Windows as well (other than that ^ small issue).


[Bug] 文档有误

分支
1.x 分支 (1.0.0rc2 或其他 1.x 版本)
描述该错误

环境信息

其他信息
No response

@bobo0810  Welcome to create a PR and fix this typo refer to contribution_guide.

We recommend using English or English & Chinese for issues so that we could have broader discussion.

OK👌🏻

@bobo0810 Welcome to create a PR and fix this typo refer to contribution_guide.

👌🏻


MWPW-109893 - Onboard Blog to Milo Libs

Removed use-credentials in head
Non-blocking call to milo blocks list
Ability to safely override if not on prod (libstore=my-cool-feature)
Libstore also supports local dev
Libstore uses blog.adobe.com/libs on prod
Block loader and LCP should be minimally impacted

Resolves: MWPW-109893
Test URLs:

Before: https://main--blog--adobe.hlx.page/en/publish/2021/12/13/introducing-creative-cloud-express
After: https://libs-support--blog--adobe.hlx.page/en/publish/2021/12/13/introducing-creative-cloud-express

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[X] I have signed the Adobe Open Source CLA.
[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 read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

FYI: Blog has pretty low LH numbers... See: https://github.com/adobe/blog/pull/170#issuecomment-1099493957


Remove login improve ux

remove login related ui and js
move about to html meta data element
change input event type to update button status instantly without extra mouse/user operation

refs #95


[Swift] Support

Hi,
Will you be so kind to implement samples of using Connect Open API in Swift? Or just renew current protobuf messages to proto3? I can't generate swift structs using swift-protobuf.
Thanks.

protobuf v3 is basically worse in our opinion compared to protobuf v2, see how much of functionality got removed there: https://cloud.google.com/apis/design/proto3


[[FIX]] Allow empty export and trailing comma

Fixes #2567

@lukeapage Still Needs work?

Rebased

Thanks for this, @nicolo-ribaudo! I've rebased your work to account for improvements we recently made to the test harness and to update the (relatively) new whitelist for Test262 (this patch fixed six failures in that suite). I've merged the result to master at the following commits:

aed66d7 [[DOCS]] Make Empty {a}. message more useful
631327e [[FIX]] Allow empty export and trailing comma

I've also submitted a follow-up to further improve the warning message, since import {} from 'module.js'; is not completely superfluous. See gh-3185.


Snackbar doesn't work in Safari 8.0.3

Snackbar component doesn't shows in Safari 8.0.3 on a Mac (but works in Chrome).
When I click on "show snackbar" button nothing happens.

Dup of #192