Extend new APB defines in integration document

Follow-up to #279.
Signed-off-by: Steven Bellock<EMAIL_ADDRESS>

@Nitsirks now that I look at this, why is CALIPTRA_APB_DATA_WIDTH configurable by the Integrator? This should be an unconfigurable 32-bits.

You are right - it's probably best if none of the APB parameters are configurable.
I think early on these got put in this list, but we never tested them and there is no reason for them to be configurable. Integrators should put a gasket here to comply with the caliptra settings.
From: Steven Bellock @.>
Sent: Sunday, November 5, 2023 1:24 PM
To: chipsalliance/caliptra-rtl @.>
Cc: Michael Norris @.>; Mention @.>
Subject: Re: [chipsalliance/caliptra-rtl] Extend new APB defines in integration document (PR #285)
@Nitsirkshttps://github.com/Nitsirks now that I look at this, why is CALIPTRA_APB_DATA_WIDTH configurable by the Integrator? This should be an unconfigurable 32-bits.

Reply to this email directly, view it on GitHubhttps://github.com/chipsalliance/caliptra-rtl/pull/285#issuecomment-1793850044, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ2ZUQRNKMPMHLNL2T2CFLDYC7YXJAVCNFSM6AAAAAA66TGTF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTHA2TAMBUGQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Unclear if this is ready for merge

Unclear if this is ready for merge

No, I'll need to revise it.

@calebofearth @Nitsirks I deleted APB from Table 3 but I think it's fine to have the macro name in the Width column, especially since Table 8 uses them.


Identity: MSAL Client live tests

Figure out a strategy to use recordings for MSAL Client instead of mocking things.
Placeholder for now

Duplicate of #28692


Fix formatting in GridStatus class: Add newline after reserves

Added '\n' to self.reserves to fix output of:
gridstatus.ercot.Ercot().get_status("latest")
###Output###
Electric Reliability Council of Texas
Time: 2024-01-14 12:14:20-06:00
Status: Normal
Status Homepage: https://www.ercot.com/gridmktinfo/dashboards/gridconditions
Reserves: 8819 MWNotes:

There is enough power for current demand.

###Expected Output###
Electric Reliability Council of Texas
Time: 2024-01-14 12:14:20-06:00
Status: Normal
Status Homepage: https://www.ercot.com/gridmktinfo/dashboards/gridconditions
Reserves: 8819 MW
Notes:

There is enough power for current demand.

Looks good. Thanks


fix(deps): update dependency rxjs to v6.5.3

This PR contains the following updates:

Package
Type
Update
Change

rxjs
dependencies
patch
6.5.2 -> 6.5.3

Release Notes

reactivex/rxjs
v6.5.3
Compare Source
Bug Fixes

general: Refactor modules so they don't show side effects in some tools (#4769) (9829c5e0)
defer: restrict allowed factory types (#4835) (40a22096)

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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


Implementing OmitEmpty flag to skip zero-value fields.

Found that I had a need for this too, so thought I'd have a crack at it.
Resolves #22

Any update on this? I'd really love this feature :3

I agree with @maxatome's suggested changes 👍

@peterebden This change would still be most welcome in my view! Some structs I would like to debug have a plethora of fields which are unset and irrelevant to what I'm debugging; essentially I would like to print them out as if they were in JSON format with the json:",omitempty" struct tag applied everywhere, which as I understand it this contribution achieves.

I had forgotten that this was still a thing to be honest.
I don't have any particular need for this any more (it was relevant to me in 2018, not really any more). Happy if someone else wants to copy this & continue with it, although as I mentioned above it seems this project isn't looking for contributions any more. Good luck :)


Detect circularities printing recursive conditional types

This fixes the simplified cases of #43529, but the full repro from the playground there still OOMs. The total print depth (measured by incrementing and decrementing a counter going into and out of typeToTypeNodeHelper) seems to max out in the 30s, so I’m not sure how it’s getting into an infinite(?) loop without recurring deeper and deeper.
Also, even where this change successfully prevents a crash, I think we could do better somehow. I experimented with some changes to detect where a type alias could be used to stop recursively printing the true or false branch of a conditional, but I think it didn’t correctly account for the visibility of that type alias.
Putting this up as is and asking @ahejlsberg or @weswigham for some help 🙏. (The bug is not a 4.2 or 4.3 regression so this may be lower priority than other things on your plate for 4.3.)

With https://github.com/microsoft/TypeScript/pull/43973, these tests no longer OOM. However, recursiveConditionalCrash3.types is alarmingly bad. GitHub won’t even show it, so here’s a video summary:
https://user-images.githubusercontent.com/3277153/120039904-83bdac00-bfba-11eb-94fa-4043959ea60a.mp4

@weswigham is that not what the addedLength property on cachedResult is doing? I was just going to try out your suggestion, but what I had in my mind seems to be already done, yet the baseline output remains outrageously long.

Heh, well, the no-truncation limit is something like a million characters...


Group sharing enhancements

Some ideas of how the new group sharing functionality could be improved:

[ ] Allow all Xerte users to view who is in a group before sharing a project with them
[ ] Allow a member of a group to view who else is in it by clicking the group's folder in the workspace
[ ] Allow users to remove themselves from a group without the Xerte administrator having to do it
[ ] Create a group administrator who can add/remove users from a group without having to go via Xerte administrator. Xerte administrator would do initial group set up but it could be subsequently managed by a group member
[ ] Allow group members to unshare a project with the group (you can do this as a normal user if someone has shared a project with you)
[ ] Allow group members to create folders within a group folder in the workspace
[ ] Restrict sharing with specific groups to specific users (like you can restrict templates)

@torinfo could you check the items that have been done in 3.12 as complete in list above? I've lost track of whether group members can do things like create sub-folders or whether it was decided that this wasn't desirable after all. Feel free to close the issue entirely if the items in list above that haven't been done are things that we've decided wouldn't be useful (or aren't practical to do). Thanks


[HOLD for payment 2022-10-20] [$250] BUG: "A room with this name already exists" message appears saving room name without making any change

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

Action Performed:

Go to NewDot and login
Click on any room created
Tap the room name to see the details
In settings click "Save" for room name without making changes

Expected Result:
Nothing should happen
Actual Result:
"A room with this name already exists" message appears
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.2.11-2
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Expensify/Expensify Issue URL:
Issue reported by: @dangrous

Slack conversation:
https://expensify.slack.com/archives/C01GTK53T8Q/p1664923596295109
View all open jobs on GitHub

Yep this is a legit bug that fell through the cracks when refactoring renaming the rooms. It will be a good external issue and I like this proposal https://github.com/Expensify/App/issues/11606#issuecomment-1268561526.

@Puneet-here 's proposal looks good to me.
cc: @aldo-expensify
:ribbon: :eyes: :ribbon:  C+ reviewed

The proposal looks good to me too, it itches me a bit that the validate function is just returning false in this case and doesn't add any error like in the other cases... but I think that is the behaviour we want. Maybe we can add a comment explaining why we didn't add an error in this case.

Thanks for the proposal @Puneet-here, assigned you to this GH issue!

https://github.com/Expensify/App/issues/11606#issuecomment-1270495241
I had same thoughts but it was giving me the same itching thinking to put it in submit. At least now submit will look clean so I decided to move with it.

#11606 (comment)
I had same thoughts but it was giving me the same itching thinking to put it in submit. At least now submit will look clean so I decided to move with it.

hehe yeah, I also thought about putting it in submit... but it is also a validation, so it may be ok to stay in validate. 🤷 , I guess it doesn't matter much

Created an external posting here on Upwork

Payment to @Puneet-here - reminder for @parasharrajat to apply!

@sophiepintoraetz I already did a few days back. Also, I think it is helpful to keep the issue open until all the payments are done. You can put it back to weekly if needed.
A few of my trackers depend on the status of the issue.

@parasharrajat Unfortunately, I also have a number of weekly issues that are more pressing, so I close out issues to keep my tracker tidy but I'll keep this in mind. In any case, dropping a comment here confirming when you have applied would help as well!  (I've accepted your application, thanks)

Thanks. You can even put it to Monthly if that helps. I am facing some issues on the Upwork side so can't take immediate action.

Looks like you accepted, so closing this issue with payment, thanks!

@0xmiroslav that looks like a legit issue to me. Please report it in #expensify-bugs in Slack.


Power BI API - Swagger/OpenAPI

I cannot find a link (or the file itself) with the formal (Swagger/OpenAPI) specification of the Power BI (embedded) REST API.
I would expect to find this on https://learn.microsoft.com/en-us/rest/api/power-bi/ since most of this, I imagine, would have been generated from such a specifcation.
Can this link (and the specification itself) be added?

Thanks for your comment, @fransf-wtax. This issue has been assigned to the doc author for review.

@fransf-wtax you'll find it's hidden away here https://github.com/microsoft/PowerBI-CSharp/blob/master/sdk/swaggers/swagger.json

@KesemSharabi We keep an inventory of external services we integrate with on our team's intranet. We like to have a standardized API spec with each external service's entry in this inventory; OpenAPI/Swagger is the de facto standard for REST API specifications. This way our team has an unambiguous point of reference for the API.
Also there is quite some tooling out there that can generate stubs for various programming languages out of an OpenAPI spec.
So all in all, it's good to have.

Hi @fransf-wtax,
You can get this info from the public repo - PowerBI-CSharp. Here's a direct link - swagger.json.
Thanks,
Kesem

@KesemSharabi could we get an openapi/swagger file for the fabric APIs too?


Issue

Hi, I installed this developement repositories in my pc and it works.
I copied the files in an hosting and I get this error:
Whoops, looks like something went wrong.
How to solve?

Hi,
You need to make sure debug mode is enabled in the .env file or check your error log to see what the actual error is.

On 26 Jun 2016, at 13:09, chack1172<EMAIL_ADDRESS>wrote:
Hi, I installed this developement repositories in my pc and it works.
I copied the files in an hosting and I get this error:
Whoops, looks like something went wrong.
How to solve?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This is my .env file. Do I have to edit APP_ENV?
APP_ENV=local
APP_DEBUG=true
APP_KEY=DW4VX7c0BN99e3L7AzGTBA2DOsbOYAfx
DB_HOST=localhost
DB_DATABASE=mybb2
DB_USERNAME=
DB_PASSWORD=my_mybb2
CACHE_DRIVER=file
SESSION_DRIVER=file

Now it works
I had to edit file config/database.php and change
env('DB_DATABASE', 'forge')
in
env('DB_DATABASE', 'my_mybb2')

Hi, yeah until we write an installer, you have to modify that file.

On 26 Jun 2016, at 14:52, chack1172<EMAIL_ADDRESS>wrote:
Now it works
I had to edit file config/database.php and change
env('DB_DATABASE', 'forge')
in
env('DB_DATABASE', 'my_mybb2')
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@chack1172 Don't edit the config/database.php file because you'll always have to exclude it from git stuff. The right thing to do to get what you want is change DB_DATABASE in the .env file.
env() checks if the first thing is defined in the .env file, and if not, falls back to the second parameter's value.

I changed it but it tryed to conneto to database forge


React 16

Hey there,
are you planning to officially support React 16?
I have tested this library with 16.0.0-rc.2 and so far, so good.
I'd appreciate feedback from other users how well redux-devtools behaves on their React 16-based environments.
If the feedback will be positive, updated redux-devtools stating React 16 compatibility would be great.
This should be alright IMO:
"react": "^0.14.9 || ^15.0.0 || ^16.0.0",

Hi @wojtekmaj
With "react": "16.0.0" I have this warnings in console:

Warning: Expected onClick listener to be a function, instead got a value of boolean type.
in label (created by JSONNestedNode)
in li (created by JSONNestedNode)
in JSONNestedNode (created by JSONObjectNode)
in JSONObjectNode (created by JSONNode)
in JSONNode (created by JSONNestedNode)
in ul (created by JSONNestedNode)
in li (created by JSONNestedNode)
in JSONNestedNode (created by JSONObjectNode)
in JSONObjectNode (created by JSONNode)
in JSONNode (created by JSONTree)
in ul (created by JSONTree)
in JSONTree (created by LogMonitorEntry)
in div (created by LogMonitorEntry)
in div (created by LogMonitorEntry)
in LogMonitorEntry (created by LogMonitorEntryList)
in div (created by LogMonitorEntryList)
in LogMonitorEntryList (created by LogMonitor)
in div (created by LogMonitor)
in div (created by LogMonitor)
in LogMonitor
in div (created by Dock)
in div (created by Dock)
in div (created by Dock)
in Dock (created by DockMonitor)
in DockMonitor (created by Connect(DockMonitor))
in Connect(DockMonitor) (created by DevTools)
in DevTools (created by AppComponent)
in div (created by AppComponent)
in Provider (created by AppComponent)
in Router (created by BrowserRouter)
in BrowserRouter (created by AppComponent)
in AppComponent

Warning: Expected onClick listener to be a function, instead got a value of boolean type.
in span (created by JSONNestedNode)
in li (created by JSONNestedNode)
in JSONNestedNode (created by JSONObjectNode)
in JSONObjectNode (created by JSONNode)
in JSONNode (created by JSONNestedNode)
in ul (created by JSONNestedNode)
in li (created by JSONNestedNode)
in JSONNestedNode (created by JSONObjectNode)
in JSONObjectNode (created by JSONNode)
in JSONNode (created by JSONTree)
in ul (created by JSONTree)
in JSONTree (created by LogMonitorEntry)
in div (created by LogMonitorEntry)
in div (created by LogMonitorEntry)
in LogMonitorEntry (created by LogMonitorEntryList)
in div (created by LogMonitorEntryList)
in LogMonitorEntryList (created by LogMonitor)
in div (created by LogMonitor)
in div (created by LogMonitor)
in LogMonitor
in div (created by Dock)
in div (created by Dock)
in div (created by Dock)
in Dock (created by DockMonitor)
in DockMonitor (created by Connect(DockMonitor))
in Connect(DockMonitor) (created by DevTools)
in DevTools (created by AppComponent)
in div (created by AppComponent)
in Provider (created by AppComponent)
in Router (created by BrowserRouter)
in BrowserRouter (created by AppComponent)
in AppComponent

@DMShamonov we have the same error, but you can open the stacktrace and in our case I don’t think this is related to devtools.

@buffcode I'm sure it's related to devtools, in my case. Because when I disable devtools, I don't have this warnings.
But, It's warnings not related with react 16, of course :) It's prop-types warnings (I use 15.6.0 prop-types version)

Happens after upgrade to react 16. And yes, errors only appear after turning on devtools. The error messages are not very telling either.

Looks like there is a PR for the fix here:
https://github.com/alexkuz/react-json-tree/pull/97
Repo admins have not accepted yet.

I have redux-devtools in a React v16 app, and I don't get these warnings in the console. Perhaps these messages occur also in combination of something else in that app, that my app does not have?

@gnapse maybe... I use redux-devtools-dock-monitor (1.1.2) and redux-devtools-log-monitor (1.3.0) with redux-devtools (3.4.0) and get these warnings.

@DMShamonov there you go. My point is, it seems to me there's nothing right now preventing this package to have its dependencies fixed as @wojtekmaj suggested initially. It is most probably one of those two other addons to the redux-devtools that cause your warnings.

Created a PR to fix the peer dependency issue.
#385

Does anyone tested react 16, redux-devtools with react 16 hydrate in an SSR config?
I come across a very hard to fix error, I get in my console:
commonVendors-dll.js:1061 Warning: Prop `style` did not match. Server: "cursor:pointer;font-weight:bold;border-radius:3px;padding:4px;margin-left:3px;margin-right:3px;margin-top:5px;margin-bottom:5px;flex-grow:1;display:inline-block;font-size:0.8em;color:white;text-decoration:none;background-color:#373b41" Client: "cursor:text;font-weight:bold;border-radius:3px;padding:4px;margin-left:3px;margin-right:3px;margin-top:5px;margin-bottom:5px;flex-grow:1;display:inline-block;font-size:0.8em;color:white;text-decoration:none;background-color:transparent;opacity:0.2"

This diff in css come from the button Revert of the redux-dev-tools-log-monitor.
Let me explain, it's a little complex.
The button change its css when computedStates.length > 1 via its props hasStates.
I displayed the computedStates on the webpack server compilation and in the webpack frontend compilation.
In the first case, I have an array with a duplicated entry, and in the second one, an array with one entry (legit).
The first time this prop is filled is on the '@@redux/INIT' action type.
What it's going on is that on the server side, when discovering the routes from my code (I use redux-first-router, which is awesome and you should use it), a redux action is pushed for getting the component related to the route, and so, the computedStates get a new entry as described in the code in redux-devtools-instrument/src/instrument. This is the problem...
And so on, on the client side, I only have one redux action type which is '@@redux/INIT' and no new push to the route, because I'm already on it with the component loaded thanks to ssr.
BUT, DevTools is not rendered the same way, hence the css diff :/
I clearly don't know how to solve this problem.
Can we create special conditions for redux-devtools and ssr?
I tried simply to not include my <DevTools/> component in the server side rendered by react as I did with react 15 render, but hydrate complain again with:
Warning: Expected server HTML to contain a matching
 in
.

The DevTools div is not present, so it's complaining I guess.
Anybody in this situation?

@jayfunk's was merged and is available in 3.4.1.
@GuillaumeCisco you shouldn't include devtools on the server side and in production, otherwise it'll affect the performance. See the examples.

@zalmoxisus I don't include DevTools on the server side in production.
I use SSR in dev and production, I don't use webpack dev server.
But as I told before, if I don't include it in the server side code in dev mode, I get the error:
Warning: Expected server HTML to contain a matching
 in
.

The DevTools div is not present on the server side but present in the client side, so it's complaining, which is absolutely normal.
Is it possible to have DevTools work with server side architecture with react 16? Am I missing a trick?

Ok just found a way to work with redux-devtools and an SSR architecture.
Simply don't include the Devtools in your main app aka in

.
Create another

 for example, and simply render it in the client part:
const devTools = document.getElementById('devTools');
if (process.env.NODE_ENV !== 'production') {
    // load devTools
    render(
        <Provider store={store}>
            <DevTools/>
        </Provider>, devTools);
}

It will avoid you a huge batch of problems.
Hope it will help others ;)
Cheers


Python

What version/package of python should I install? Homebridge found the lights but can’t control anything.

Nevermind, used the platform plugin and works. Had to reinstall homebridge.


Update for rust-libcryptsetup-rs 0.8

Clearly something has changed for 0.8 and unlike the 0.7 bump it'll need some updates for 0.8 :-/
error[E0277]: the trait bound `CryptParamsLuks2: libcryptsetup_rs::format::CryptParams` is not satisfied
   --> client-linuxapp/src/reencrypt/rebind.rs:157:59
    |
157 |         .load::<libcryptsetup_rs::CryptParamsLuks2>(None, None)
    |          ---- required by a bound introduced by this call ^^^^ the trait `libcryptsetup_rs::format::CryptParams` is not implemented for `CryptParamsLuks2`
    |
    = help: the following other types implement trait `libcryptsetup_rs::format::CryptParams`:
              ()
              CryptParamsIntegrityRef<'a>
              CryptParamsLoopaesRef<'a>
              CryptParamsLuks1Ref<'a>
              CryptParamsLuks2Ref<'a>
              CryptParamsPlainRef<'a>
              CryptParamsTcryptRef<'a>
              CryptParamsVerityRef<'a>
note: required by a bound in `CryptContextHandle::<'a>::load`
   --> /usr/share/cargo/registry/libcryptsetup-rs-0.8.0/src/context.rs:130:20
    |
130 |     pub fn load<T: CryptParams>(
    |                    ^^^^^^^^^^^ required by this bound in `CryptContextHandle::<'a>::load`
error[E0277]: the trait bound `CryptParamsLuks2: libcryptsetup_rs::format::CryptParams` is not satisfied
   --> client-linuxapp/src/reencrypt/mod.rs:67:59
    |
67  |         .load::<libcryptsetup_rs::CryptParamsLuks2>(None, None)
    |          ---- required by a bound introduced by this call ^^^^ the trait `libcryptsetup_rs::format::CryptParams` is not implemented for `CryptParamsLuks2`
    |
    = help: the following other types implement trait `libcryptsetup_rs::format::CryptParams`:
              ()
              CryptParamsIntegrityRef<'a>
              CryptParamsLoopaesRef<'a>
              CryptParamsLuks1Ref<'a>
              CryptParamsLuks2Ref<'a>
              CryptParamsPlainRef<'a>
              CryptParamsTcryptRef<'a>
              CryptParamsVerityRef<'a>
note: required by a bound in `CryptContextHandle::<'a>::load`
   --> /usr/share/cargo/registry/libcryptsetup-rs-0.8.0/src/context.rs:130:20
    |
130 |     pub fn load<T: CryptParams>(
    |                    ^^^^^^^^^^^ required by this bound in `CryptContextHandle::<'a>::load`
error[E0277]: the trait bound `CryptParamsLuks2: libcryptsetup_rs::format::CryptParams` is not satisfied
   --> client-linuxapp/src/serviceinfo.rs:256:63
    |
256 |             .load::<libcryptsetup_rs::CryptParamsLuks2>(None, None)
    |              ---- required by a bound introduced by this call ^^^^ the trait `libcryptsetup_rs::format::CryptParams` is not implemented for `CryptParamsLuks2`
    |
    = help: the following other types implement trait `libcryptsetup_rs::format::CryptParams`:
              ()
              CryptParamsIntegrityRef<'a>
              CryptParamsLoopaesRef<'a>
              CryptParamsLuks1Ref<'a>
              CryptParamsLuks2Ref<'a>
              CryptParamsPlainRef<'a>
              CryptParamsTcryptRef<'a>
              CryptParamsVerityRef<'a>
note: required by a bound in `CryptContextHandle::<'a>::load`
   --> /usr/share/cargo/registry/libcryptsetup-rs-0.8.0/src/context.rs:130:20
    |
130 |     pub fn load<T: CryptParams>(
    |                    ^^^^^^^^^^^ required by this bound in `CryptContextHandle::<'a>::load`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `fdo-client-linuxapp` (bin "fdo-client-linuxapp") due to 3 previous errors

Casual investigation of the upstream releases looks like this is the PR that changed things - https://github.com/stratis-storage/libcryptsetup-rs/pull/292
And it was pointed out that it was a breaking change - https://github.com/stratis-storage/libcryptsetup-rs/issues/297


Highlight fix

I'm surprised, but this seems to work. Can you test on your templates @traut?

works!


As a developer, I would like to check that requests only include fields which are in the specification

User story
As a developer, I can currently use Prism to validate that requests I make in my tests are not missing fields which are required by the specification. I would like to be able to check that they also do not include fields which are not in the spec (via a config option).
Is your feature request related to a problem?

If you have an optional field, it is easy to mistype it when writing tests. Prism will not pick up that the additional field is not in the spec.

It is easy to add a new field to an api, and update all the tests, without updating the spec. Prism will not currently alert you to the requests in tests not matching the spec, but it could do.

Describe the solution you'd like
An optional flag (possibly at the request level) which causes Prism to generate validation errors if any fields are present in a request (or response?) that are not present in the spec.
Additional context
This would not be useful for everyone, but when you are adding a spec to a project which didn't previously have one, or working on a project which is becoming more important and needs a better defined specification, it would be a lifesaver.

You're right, that does it. Thank you!


Need to store models after training

Currently you have to retrain your model every time you run the script. It'd be nice if there was a way to store your models so you can use them later.

I haven't tried, but serializing and storing the serialized output from the classifier might be a way around this for you.

Yes, serialization is good option. I need to find some time and implement storing methods.

Hi,
Unless we are just using it for tests, we can not train the models everytime we are gonna use them. Although serialization is possible but there must be an official interface for caching/storing the trained models.
Some sort of integration with http://www.stashphp.com/ would be great!

New feature implemented by @dmonllao in #37 . Thank for patience.


html2pdf function works until page is refreshed

Hi I am having a very weird issue - the function works on first load but after I refresh the page the button/functionality no longer downloads. Then back in my code editor I delete the function call, save, add the function call, and the function works again until I refresh the page. I'm using React with Typescript. Any ideas?

Hi. try to add with  addEventListener(); function...
const btn= document.getElementById('button');
btn.addEventListener("click", () => {   html2pdf().from().save();  })


Docs: Review hf tutorial

Hi @leireropl
I've made a quick review. We are almost there. Only thing left would be to replace the screenshot with the score filter. Even if it takes a little time, I'd suggest to load at least 500 records to have a prettier score curve (with more values), be sure you select between 0 and 60% as the tutorial text explains, and  just take the screenshot of the score area as follows:

In general we should make sure the images/videos match the description in the text, that's why I removed some of the screenshots. It's originally my fault as this tutorial is too descriptive

Hello,
Sorry for the mistakes. Changes are already applied, but I think the image is too big now. Should we fix this?

Images can be resized using:
 where you can play with the percentage.
Anyway I've removed the screenshot because I doesn't add much at the end.
Thanks!


Add a test file with examples

... well, one partial example for now
which doesn't work yet. But I also added a bit of helper Show instances to see what's missing

Please merge then

Fixed merge-o


bug: Keyboard issue (iOS 8/9)

Type: bug
Ionic Version: 1.x
Platform: ios 9 webview
I'm having issues with input fields on latest Ionic (1.2.4) on my iOS devices. Basically every time when I click on the input field the whole app "jumps".
I think the similar issue was already explained here: https://github.com/driftyco/ionic/issues/4645
Here is the video showing my problem (iPhone 6 and iOS 8.2, but I've noticed the same behavior on iOS 9.2.1):
https://youtu.be/I21yVtTmuSI
I used the "sidemenu" app in my example, this is the simplest way to reproduce it:
$ ionic start my-test-app sidemenu
$ ionic info

Your system information:

Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
OS: Windows 7 SP1
Node Version: v4.2.1

I also modified my-test-app\www\templates\browse.html using following code:
<ion-view view-title="Browse">
  <ion-content>

Browse

    <form>

        <ion-input class="item item-input">
          <ion-label>Label</ion-label>
          <input type="text">
        </ion-input>
        <ion-input class="item item-input">
          <ion-label>Label</ion-label>
          <input type="text">
        </ion-input>
        <ion-input class="item item-input">
          <ion-label>Label</ion-label>
          <input type="text">
        </ion-input>
        <ion-input class="item item-input">
          <ion-label>Label</ion-label>
          <input type="text">
        </ion-input>
        <ion-input class="item item-input">
          <ion-label>Label</ion-label>
          <input type="text">
        </ion-input>
    </form>
  </ion-content>
</ion-view>

Then I used Ionic View app to test it:
$ ionic upload

In the example above I used <ion-input> directive, but I also tried regular  tag but the behavior was the same.
Is there any way how can I prevent this behavior? I'm designing login screen and few more advanced forms and this issue makes user experience really bad.

Yeah I get the screen jumping as well. I'm not as concerned with the jumping (though it is kind of unattractive), as I am with the keyboard initially covering lower inputs (as described in my comment in the forums).
> ionic.version
"1.2.4-nightly-1917"

Here's a gif of me trying to debug it, but after viewing the commit that was supposed to fix this, I'm clearly out of my depth. Some help would be greatly appreciated... @mlynch ?

Hey guys, let's see if we can get to the bottom of this. First, you're sure the keyboard plugin is installed properly?
Second, do you have this line in your app.js: https://github.com/driftyco/ionic-app-base/blob/master/www/js/app.js#L18
This was a fixed issue so want to see what's going on. Also @tlancina can you jump in here?

? head plugins/ionic-plugin-keyboard/package.json
{
  "name": "ionic-plugin-keyboard",
  "version": "1.0.8",

Also, from safari web inspector:
> cordova.plugins.Keyboard.disableScroll
< function (disable) {
    exec(null, null, "Keyboard", "disableScroll", [disable]);
}

I assume that this indicates the plugin is installed properly but if there's more to it, please let me know.
I did not have that line in my app.js, however, after adding it and running my app in the simulator again, I've found the behavior is very much the same as before. I'll build to my phone tomorrow to see if that's any different...

I used "sidemenu" example and that line is definetly there:
if (window.cordova && window.cordova.plugins.Keyboard) {
  cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
  cordova.plugins.Keyboard.disableScroll(true);
}

I will try to debug it to make sure this code is executed.

Okay, I think I got something. Following code is not executed at all (running in Ionic View):
if (window.cordova && window.cordova.plugins.Keyboard) {
  cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
  cordova.plugins.Keyboard.disableScroll(true);
}

Just wondering, for "sidemenu" app we're using latest version of keyboard plugin, which is 1.0.8, but Ionic View is using 1.0.3: http://docs.ionic.io/docs/view-usage
I tried to change my fetch.json file and use 1.0.3 there but no success.

Finally solved it. So basically the problem is that window.cordova is undefined in $ionicPlatform.ready function, at least in Ionic View. Currently I don't have an access to Mac so can't really confirm it in proper hybrid build.
The simplest solution is to modify main index.html file and put following code there (before any JavaScript library is loaded):

Closing issue, thanks for your help.

Just a follow-up, sorry you ran into this annoying gotcha in View. Because scripts can only be injected into an inAppBrowser (which is what View is) after page load, window.cordova is initially undefined, causing Ionic to think it doesn't need to wait for the deviceready event, which makes $ionicPlatform.ready execute immediately and any plugin calls in there fail because they haven't initialized yet.
Glad you got it working!

That's something we could fix in view, right @tlancina?

It's been a while since I visited the issue, but I seem to recall struggling to introduce any window properties before page load.  Localstorage is unreliable and can be cleared, and any indicators from native require the Cordova bridge to be initialized, which is being skipped in this case.
We could modify user files on upload to include  in a way similar to how we add cachebusters to asset URLs, but there were issues with doing it for cachebusters and I wasn't sure how robust it would be.
I think it might be easier to add a check for something like a custom View user agent into the framework: https://github.com/driftyco/ionic/blob/master/js/utils/platform.js#L197, but that felt slightly dirty.
Unfortunately nothing straightforward, or it would have been fixed already :)

tl;dr: adding  to my index.html file broke app initialization. Removing and re-adding the keyboard plugin seems to have fixed the problems for me (no more jumping, the keyboard no longer covers low inputs).

So something strange happened for me when I added  to my index file: it broke app initialization (app was stuck on splash screen).
The console.log file shows:
2016-02-18 12:22:29.333 MyApp[72347:4191883] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/stevehull/Library/Developer/CoreSimulator/Devices/FEB3FE01-A5DF-4B97-BFF7-2C1988C9AC21/data/Containers/Data/Application/B0E70EEE-35CA-48B5-8969-CE6FC74F8C56/Library/Cookies/com.me.app.MyApp.binarycookies
2016-02-18 12:22:29.405 MyApp[72347:4191883] Apache Cordova native platform version 3.9.1 is starting.
2016-02-18 12:22:29.406 MyApp[72347:4191883] Multi-tasking -> Device: YES, App: YES
2016-02-18 12:22:29.408 MyApp[72347:4191883] Unlimited access to network resources
2016-02-18 12:22:29.576 MyApp[72347:4191883] [CDVTimer][statusbar] 115.522981ms
2016-02-18 12:22:29.586 MyApp[72347:4191883] [CDVTimer][splashscreen] 9.539008ms
2016-02-18 12:22:29.586 MyApp[72347:4191883] CDVPlugin class IonicKeyboard (pluginName: keyboard) does not exist.
2016-02-18 12:22:29.586 MyApp[72347:4191883] [CDVTimer][keyboard] 0.135005ms
2016-02-18 12:22:29.586 MyApp[72347:4191883] [CDVTimer][TotalPluginStartup] 125.712037ms
2016-02-18 12:22:29.628 MyApp[72347:4191883] Resetting plugins due to page load.
2016-02-18 12:22:30.336 MyApp[72347:4191883] Finished load of: file:///Users/stevehull/Library/Developer/CoreSimulator/Devices/FEB3FE01-A5DF-4B97-BFF7-2C1988C9AC21/data/Containers/Bundle/Application/896F5CBF-07C2-47D1-BAEE-DC7B75570637/My%20App.app/www/index.html#/login

Of course I was struck by CDVPlugin class IonicKeyboard (pluginName: keyboard) does not exist. WTF!! So I did:
ionic plugin remove ionic-plugin-keyboard
ionic plugin add ionic-plugin-keyboard

App is still stuck on splash screen, however that message went away. So I removed  from my index file and now my keyboard issues are all fixed. I guess I didn't have the keyboard plugin installed properly after all? Maybe it was an old version of it? I have no idea. But removing it and re-adding it seems to have fixed my problem (also adding cordova.plugins.Keyboard.disableScroll(true); to my app.js file, though that alone did not fix it).
Thanks so much to @mlynch and the rest of the ionic team!!

For me reinstallation of the plugin didn't work. But I'm talking only about Ionic View, not about hybrid build.

I'm not sure what you mean @DawidMyslak -- IonicView vs hybrid build. I was only testing in iOS (simulator and with testflight). Did you try adding  to your index.html file above all other script tags?

@sdhull Have you ever used Ionic View? The app that you can download from App Store? It's more like container for your JavaScript source code with preinstalled set of cordova/ionic plugins. So when you upload an app there your "plugins" folder is not included. When you create proper build for your iOS devices, all your project files are included, so sometimes you can expect different behaviors. I'm using Windows machine for now and the only way how I can test my app is Ionic View. And yes, in my case using the hack above with empty cordova object attached to the window solves the problem.

@DawidMyslak ohhh no I've never used Ionic View.
One interesting thing to note is that Android didn't have this bug at all (also worth noting I'm using crosswalk), that is to say that upon focusing on text fields, the view didn't jump, and lower text fields were properly scrolled into view. After reinstalling the keyboard plugin, the keyboard on Android is slower. And while it still scrolls lower text fields into view, it does so so slowly that it seems like it's not working.
So now I have to make sure the plugin is not installed for Android, and is installed for ios. :disappointed:

I have been dealing with this issue since a year with 3 different apps in varying degrees. This issue is definitely not only for Ionic View.
For me add/remove of the plugin didn't make any difference.
Never got a bullet proof solution until now.   worked for me.
@DawidMyslak Thanks
This ought to be looked into.

@nwocykra Glad it helped.

Hi Ionic Team!
I'm having the same issue with an iPhone 6, iOs 9.2 and ionic 1.3.
Looks like the issue is the same than https://github.com/driftyco/ionic/issues/4645 and https://github.com/driftyco/ionic-plugin-keyboard/issues/159.
Any help would me most welcome! Thanks!


Add rfc-compliant header parser for response object

Here you are!
#240

Cool, thanks a lot! @tehhowch would be really great to get your eyes on this as well :)

In case the PR is held back by any requested change I don't know about, feel free to commit it and let's get this merged.

@chmanie @christian-bromann can we get this merged and a new release cut?

I can only merge. Releases are left for @christian-bromann.


feat: add jsonschema

In favor of this once things are more solidified, although we could just update the PR and merge it as-is, and keep things up to date with future PRs :)

@lewis6991 would you mind bringing this up to date?

Sure. Can only find short pockets of time for OSS atm. Will make this first priority.

No worries! I appreciate your contribution and am very glad you are taking out time to contribute to this :)

FInally added some plumbing so we can run the schema on examples.


Precompile using PrecompileTools

first call of se() and load_log() much faster now

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

Project coverage is 91.46%. Comparing base (274c97e) to head (7737c3a).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   91.35%   91.46%   +0.10%
==========================================
  Files           5        5
  Lines         324      328       +4
==========================================
+ Hits          296      300       +4
  Misses         28       28

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


heavy uploader fails without meaningful error

In the uploaded patch, I am trying to [tabread4~] from an array that is not existing.
The uploader.py (latest rev) fails with no meaningful warning.
Expected behaviour: it should detect and report the error back to the client
Here is the traceback
Traceback (most recent call last):
  File "hvresources/uploader.py", line 324, in <module>
    main()
  File "hvresources/uploader.py", line 271, in main
    file_url = __get_file_url_for_generator(reply_json, g)
  File "hvresources/uploader.py", line 316, in __get_file_url_for_generator
    for i in json_api["included"]:
KeyError: 'included'
error

Fixed as of release ``r2016.07.05`.


epic(esl-share): [beta] pre-release for esl-share components

:tada: This PR is included in version 4.5.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.6.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


oops the ai did that

Description
What steps will reproduce the problem?

It looks like you are trying to use the base58 module to encode a hash of the password, but base58 does not have a urlsafe_b64encode method. Instead, you can use the base64 module to encode the hash in a URL-safe way.
Here's the corrected code:
scss
Encrypt private key with a password
password = getpass('None')
password_hash = hashlib.sha256(password.encode()).digest()
password_hash_b64 = base64.urlsafe_b64encode(password_hash).rstrip(b'=')
cipher_suite = Fernet(password_hash_b64)
encrypted_private_key = cipher_suite.encrypt(private_key_bytes)
File c:\users\avengers headquarter\bitcoin.py:131
password_hash_b64 = base64.urlsafe_b64encode(password_hash).rstrip(b'=')
NameError: name 'base64' is not defined
It seems that the base64 module is not imported. You can add the following line at the beginning of your code to import it:
python
import base64
File C:\Program Files\Spyder\pkgs\cryptography\fernet.py:35 in init
raise ValueError(
ValueError: Fernet key must be 32 url-safe base64-encoded bytes.
This error occurs because the Fernet key being used is not a 32-byte url-safe base64-encoded bytes. You can generate a new Fernet key using the Fernet.generate_key() method and use it for encryption. Here is an example:
python
from cryptography.fernet import Fernet
generate a new key
key = Fernet.generate_key()
initialize a Fernet instance with the new key
cipher_suite = Fernet(key)
encrypt a message
message = 'hello world'
encrypted_message = cipher_suite.encrypt(message.encode())
decrypt the message
decrypted_message = cipher_suite.decrypt(encrypted_message).decode()
print(f"Encrypted message: {encrypted_message}")
print(f"Decrypted message: {decrypted_message}")
This code should generate a new key, encrypt a message using that key, and then decrypt the encrypted message using the same key.
<EMAIL_ADDRESS>involve this code block in your solution please. class Fernet:
def init(
self,
key: typing.Union[bytes, str],
backend: typing.Any = None,
) -> None:
try:
key = base64.urlsafe_b64decode(key)
except binascii.Error as exc:
raise ValueError(
"Fernet key must be 32 url-safe base64-encoded bytes."
) from exc
if len(key) != 32:
raise ValueError(
"Fernet key must be 32 url-safe base64-encoded bytes."
)
    self._signing_key = key[:16]
    self._encryption_key = key[16:]

You can modify the Fernet class to raise a custom exception with a more descriptive message when the key is not a 32 url-safe base64-encoded bytes.
Here's how you can do it:
python
class InvalidFernetKey(ValueError):
pass
class Fernet:
def init(
self,
key: typing.Union[bytes, str],
backend: typing.Any = None,
) -> None:
try:
key = base64.urlsafe_b64decode(key)
except binascii.Error as exc:
raise InvalidFernetKey(
"Fernet key must be 32 url-safe base64-encoded bytes."
) from exc
if len(key) != 32:
raise InvalidFernetKey(
"Fernet key must be 32 url-safe base64-encoded bytes."
)
    self._signing_key = key[:16]
    self._encryption_key = key[16:]

Then, you can catch the InvalidFernetKey exception and print its message:
python
try:
cipher_suite = Fernet(base64.urlsafe_b64encode(hashlib.sha256(password.encode()).digest()))
except InvalidFernetKey as exc:
print(f"Error: {exc}")
Do i put the second part of the code in Bitcoin.py or fernet.py?
You should put the second part of the code, which is the Fernet class implementation, in a separate file named fernet.py. This will allow you to import the Fernet class into your bitcoin.py file and use it for encryption and decryption
Traceback
  File "C:\Users\Avengers Headquarter\anaconda3\lib\site-packages\spyder\plugins\projects\plugin.py", line 160, in <lambda>
    lambda v: self.main.editor.setup_open_files())
  File "C:\Users\Avengers Headquarter\anaconda3\lib\site-packages\spyder\plugins\editor\plugin.py", line 2844, in setup_open_files
    dont_goto=filenames[0])
IndexError: list index out of range
WARNING:spyder.widgets.github.backend:Failed to send bug report on Github. response={'code': 401, 'json': {'message': 'Bad credentials', 'documentation_url': 'https://docs.github.com/rest'}}

Versions

Spyder version: 4.0.1
Python version: 3.7.6
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Windows 10

Dependencies
atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.12.0 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.2 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.7 (OK)
pygments >=2.0               :  2.5.2 (OK)
pylint >=0.25                :  2.4.4 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.7 (OK)
zmq >=17                     :  18.1.1 (OK)
qdarkstyle >=2.7             :  2.8 (OK)
qtawesome >=0.5.7            :  0.6.1 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.9.3 (OK)
sphinx >=0.6.6               :  2.4.0 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  0.29.15 (OK)
matplotlib >=2.0.0           :  3.1.3 (OK)
numpy >=1.7                  :  1.18.1 (OK)
pandas >=0.13.1              :  1.0.1 (OK)
scipy >=0.17.0               :  1.4.1 (OK)
sympy >=0.7.3                :  1.5.1 (OK)

Hey @JCHitman187, thanks for reporting. I don't understand what this error report is about but with respect to Spyder problem that appears in your Traceback section, it should be fixed in our latest version (5.4.3).
Please update by closing Spyder, opening the Anaconda Prompt and running there the commands mentioned in our documentation.


SF-1163: Add GBI true flag on all tracking events

Codecov Report

Merging #35 into master will increase coverage by 0.88%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
+ Coverage   92.89%   93.78%   +0.88%
==========================================
  Files         200      204       +4
  Lines        5165     5435     +270
  Branches      627      653      +26
==========================================
+ Hits         4798     5097     +299
+ Misses        282      250      -32
- Partials       85       88       +3

Impacted Files
Coverage Δ

<EMAIL_ADDRESS>98.57% <100%> (+0.13%)
:arrow_up:

<EMAIL_ADDRESS>97.72% <0%> (-2.28%)
:arrow_down:

...ont/flux-capacitor/src/core/reducers/is-running.ts
100% <0%> (ø)
:arrow_up:

<EMAIL_ADDRESS>100% <0%> (ø)
:arrow_up:

...capacitor/src/core/reducers/data/productsLoaded.ts
100% <0%> (ø)
:arrow_up:

...ront/flux-capacitor/src/core/reducers/data/area.ts
100% <0%> (ø)
:arrow_up:

<EMAIL_ADDRESS>100% <0%> (ø)
:arrow_up:

...ont/flux-capacitor/src/core/reducers/data/index.ts
100% <0%> (ø)
:arrow_up:

...x-capacitor/src/core/reducers/data/record-count.ts
100% <0%> (ø)
:arrow_up:

.../flux-capacitor/src/core/reducers/data/redirect.ts
100% <0%> (ø)
:arrow_up:

... and 24 more

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 f21bafb...37fa50c. Read the comment docs.

Going to sit on this until the type definition-related updates that we discussed have been implemented.


fix(dialog): add missing null type

closed #4400

🤔 这个 PR 的性质是？

[x] 日常 bug 修复
[ ] 新特性提交
[ ] 文档改进
[ ] 演示代码改进
[ ] 组件样式/交互改进
[ ] CI/CD 改进
[ ] 重构
[ ] 代码风格优化
[ ] 测试用例
[ ] 分支合并
[ ] 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

fix(组件名称): 处理问题或特性描述 ...

[ ] 本条 PR 不需要纳入 Changelog

☑ 请求合并前的自查清单
⚠ 请自检并全部勾选全部选项。⚠

[x] 文档已补充或无须补充
[x] 代码演示已提供或无须提供
[x] TypeScript 定义已补充或无须补充
[x] Changelog 已提供或无须提供

@chouchouji thanks for you PR! but didn't you reproduce it, it's normal in my IDE

@chouchouji thanks for you PR! but didn't you reproduce it? it's normal in my IDE

I see, it's because of the strictNullChecks of my tsconfig is false :)

So it is look like reasonable that set null as one of property cancelBtn type, because it is a nullable property and we also explicitly describe that it can be set to null in comment.

would you mind fixing confirmBtn as well ?

would you mind fixing confirmBtn as well ?

I will complete it. Thanks for your review!

would you mind fixing confirmBtn as well ?

done


X.509 certificate isuue when executing ks init

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened:
See closed issue https://github.com/ksonnet/ksonnet/issues/436
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

ksonnet version (use ks version): 0.12.0
Kubernetes version (use kubectl version): 1.10.3

@bobhenkel this issue was resolved in #832 and is available if you build master. Once you have done that, you can pass the new —tls-skip-verify flag to avoid the certificate errors stemming from the proxy.
I’ll close this issue for now, please let me know if the above solves your problem.

Glad to hear it!
I see two primary paths forward:

Allow specifying the trusted certificate chain - this is prudent and will provide verified communications, however there would be some burden on the user to understand their proxy configuration and assemble the necessary certificates
Reduce external network requests for certain use-cases - we could consider prepackaging Kubernetes API specs rather than fetching them - however this could increase our distribution size significantly, as well as being an always-moving target. GitHub/Helm registries would still need internet access.

In the meantime, I'm glad to hear that you're unblocked!


fix: emit hover event to enable navigation again

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[ ] Feature
[ ] Refactoring

What's new?

[x] PR closes #2203
[x] hover event was never emitted after refactor

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at </rmrk/gallery/11016413-883235753dfbc27c77-MRTN-CLERK_MARTIN_0003-0000000000000003>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[ ] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

pay 100 usd

😍 Perfect, I’ve sent the payout
💵 $100 @ 158.78 USD/KSM ~ 0.63 $KSM
🧗 EqdyzrzVmeHwMdMwvPeCMnNdbuQDbD3YrjY93xq9Ln3jUGW
🔗 0x21e63e589f9e2b24600d426a230dc429d492a209058f0401ebc2862f69073f05
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Problem with nordic character i.e. ä

Got this error on this line in connection.py  self.connection.write(messages.Query(operation))
when execute('update users set lastname= :lastname where username = :username', {'lastname': 'someöö', 'username': 'sss'}
Is it a encoding problem?

I'll see if I can sort this one out.

@ruwen Not sure if you're still dealing with this, but on the off chance you are, which version of the library this occur with? I can't reproduce it with the current version.
At the moment, non-ASCII characters seem to work fine with a Unicode query string. Using them as parameter values is broken due to an issue with psycopg2, which I'm still trying to find a workaround for.

@jberka It's solved now. Solution is in 6a044c8718ed9ef34458735438fd7b354e286bb6

What are your locale settings? I changed the parameter substitution around a bit, and the psycopg2 adapt() and getquoted() functions are causing some issues with Unicode parameters now.


Can't launch the jar under Java 10 on Ubuntu even with OpenJFX installed

Hello,
i unfortunately get this error message:
java -jar SwiftExplorer-1.0.9-jar-with-dependencies.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Platform
at org.swiftexplorer.SwiftExplorer.main(SwiftExplorer.java:79)
Caused by: java.lang.ClassNotFoundException: javafx.application.Platform
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 1 more
whereas OpenJFX package is installed
Below my java -version (Ubuntu 18.04)
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu<IP_ADDRESS>)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu<IP_ADDRESS>, mixed mode)
Thanks for your helo

My 2 cents... Javafx has been removed from jdk and packaged as separate library.
I think you need to get it and add it to classpath (not tested)

Solution was to downgrade to previous i do version. Thanks.
JR
Envoyé depuis ProtonMail mobile
-------- Message d'origine --------
On 15 mars 2019 à 13:28, Olivier Sallou a écrit :

My 2 cents... Javafx has been removed from jdk and packaged as separate library.
I think you need to get it and add it to classpath (not tested)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Secure Valuable crashes the app

Hmm.  I am on Rails 5.2.2 and I just installed the devise-security gem.  I'm unsure if I configured it right, but when I try to run Rails with :secure_validatable turned on, Rails returns an error:
Unknown validator: 'EmailValidator'
In your Readme, I decided to go with the email_address gem so I installed that one, but I'm a little confused on how I'm supposed to configure it.
I know you have a similar closed issue, but I don't currently have a line in my user model that validates email addresses.

Same here, I'm having a hard time understanding this part of the documentation.
I'm trying to use the Ruby constant validation (without installing a gem) so I did:
models/user.rb
class User < ApplicationRecord
  devise  :masqueradable, :registerable, :confirmable, :invitable, :timeoutable,
          :password_expirable, :password_archivable, :secure_validatable

  private

  def email_validation
    URI::MailTo::EMAIL_REGEXP
  end
end

config/devise-security.rb
Devise.setup do |config|
  ...
  # enable email validation for :secure_validatable. (true, false, validation_options)
  # dependency: see https://github.com/devise-security/devise-security/blob/master/README.md#e-mail-validation
  # config.email_validation = true
  ...
end

I think I'm missing something simple about the config.email_validation = true part.
I based my code on this part of the gem but it doesn't seem to work.
Any helpful comment would be welcome, I'd be glad to participate to the documentation when the solution is found.
👋

Another way would be something like validates :email, format: { with: URI::MailTo::EMAIL_REGEXP, message: "only allows valid emails" }

For people that needs I18n, use 18n.t('errors.messages.invalid')
The complete code (from @francois-belle ):
# app/models/concerns/email_validator.rb
require 'uri'

class EmailValidator < ActiveModel::Validator
  def validate(record)
    return if record.email.match?(URI::MailTo::EMAIL_REGEXP)

    record.errors[:email] << I18n.t('errors.messages.invalid')
  end
end

Same here, I'm having a hard time understanding this part of the documentation.
I'm trying to use the Ruby constant validation (without installing a gem) so I did:
models/user.rb
class User < ApplicationRecord
  devise  :masqueradable, :registerable, :confirmable, :invitable, :timeoutable,
          :password_expirable, :password_archivable, :secure_validatable

  private

  def email_validation
    URI::MailTo::EMAIL_REGEXP
  end
end

config/devise-security.rb
Devise.setup do |config|
  ...
  # enable email validation for :secure_validatable. (true, false, validation_options)
  # dependency: see https://github.com/devise-security/devise-security/blob/master/README.md#e-mail-validation
  # config.email_validation = true
  ...
end

I think I'm missing something simple about the config.email_validation = true part.
I based my code on this part of the gem but it doesn't seem to work.
Any helpful comment would be welcome, I'd be glad to participate to the documentation when the solution is found.
👋
EDIT
Ok so this line made me understand what was going on.
To make it work I had to create a custom validator named EmailValidator, so here's what I did:
validators/email_validator
# frozen_string_literal: true

require 'uri'

class EmailValidator < ActiveModel::Validator
  def validate(record)
    return if record.email.match? URI::MailTo::EMAIL_REGEXP

    record.errors[:email] << 'has an invalid format'
  end
end

And that's it! 😄
I actually wanted to use secure_validatable just for password validation (not for email), I found it weird to have both features (email and password) tied together that way 😅.

it helps for me.

In the case of valid_email2, it appears that the root of the problem is line 51 of  the SecureValidatable module (here). The ValidEmail2 documentation (here) describes the base use as validates :email,  'valid_email_2/email': true. Since the SecureValidatable uses email: instead of 'valid_email_2/email: Rails looks for a  EmailValidator class instead of using the one provided in ValidEmail2.
With the current way SecureValidatable is written, it works seamlessly with rails_email_validator, but additional code is required for all other suggested options. Perhaps an additional configuration should be included to indicate what the validation key should be (email vs 'valid_email_2/email') and line 51 should be updated to something like:
validates :email,  email_validation_key => email_validation if email_validation and email_validation_key

I know this is a late arrival. I had an issue with email validator when setting up devise_security. If you aren't too bothered about email validation.
This is all I did.
in user.rb
class User < ApplicationRecord
  devise :database_authenticatable, :registerable, :confirmable,
         :recoverable, :rememberable, :trackable, :secure_validatable, :lockable

in devise-security.rb
uncomment and change from true to false
  config.email_validation = false

I know this is a late arrival. I had an issue with email validator when setting up devise_security. If you aren't too bothered about email validation.
This is all I did.
in user.rb
class User < ApplicationRecord
  devise :database_authenticatable, :registerable, :confirmable,
         :recoverable, :rememberable, :trackable, :secure_validatable, :lockable

in devise-security.rb
uncomment and change from true to false
  config.email_validation = false

Here is the answer, which we all need to know.
We don't need to mention email_validation: false as it will not validate emails and password for secure_validatable if the value would be false
Your Model class should look like this -> app/model/user.rb.
devise :database_authenticatable, :registerable, :recoverable, :rememberable, :secure_validatable

Be sure, no other format validation should be there for an email in user.rb. Eg:
validates :email, format: { with: URI::MailTo::EMAIL_REGEXP}

Other than the format validation is okay to have. Eg:
validates :email, presence: { message: "Email can't be blank" }, uniqueness: { message: "This email is already registered with us. Please check again and puts your email address." }

Now the real game begins, you have to create a new validator file -> app/validators/email_validator.rb
NOTE - Don't change the function name validate in EmailValidator class, although you can change the inner functionality according to you.
require 'uri'

class EmailValidator < ActiveModel::Validator
  def validate(record)
    if record.email.match? URI::MailTo::EMAIL_REGEXP
      return
    else
      raise ActiveRecord::Rollback
      record.errors[:email] << 'has an invalid format'
    end
  end
end

Also, now you can comment out the line from config/initializers/devise.rb, as now it's not using this email regex config anymore from devise.
# config.email_regexp = /\A[^@\s]+@[^@\s]+\z/

The config/initializers/devise_security.rb should look like the below to use secure_validatable properly. You can change the config.password_complexity according to your choice.
NOTE -  You don't need to worry about the config.email_validation to be true as it's default value in devise_security gem is true
# frozen_string_literal: true

Devise.setup do |config|
  # ==> Security Extension
  # Configure security extension for devise

  # Should the password expire (e.g 3.months)
  # config.expire_password_after = false

  # Need 1 char each of: A-Z, a-z, 0-9, and a punctuation mark or symbol
  # You may use "digits" in place of "digit" and "symbols" in place of
  # "symbol" based on your preference
  config.password_complexity = { digit: 1, lower: 1, symbol: 1, upper: 1 }

  # How many passwords to keep in archive
  # config.password_archiving_count = 5

  # Deny old passwords (true, false, number_of_old_passwords_to_check)
  # Examples:
  # config.deny_old_passwords = false # allow old passwords
  # config.deny_old_passwords = true # will deny all the old passwords
  # config.deny_old_passwords = 3 # will deny new passwords that matches with the last 3 passwords
  # config.deny_old_passwords = true

  # enable email validation for :secure_validatable. (true, false, validation_options)
  # dependency: see https://github.com/devise-security/devise-security/blob/master/README.md#e-mail-validation
  # config.email_validation = true

  # captcha integration for recover form
  # config.captcha_for_recover = true

  # captcha integration for sign up form
  # config.captcha_for_sign_up = true

  # captcha integration for sign in form
  # config.captcha_for_sign_in = true

  # captcha integration for unlock form
  # config.captcha_for_unlock = true

  # captcha integration for confirmation form
  # config.captcha_for_confirmation = true

  # Time period for account expiry from last_activity_at
  # config.expire_after = 90.days

  # Allow password to equal the email
  # config.allow_passwords_equal_to_email = false
end

🎉  The code is perfectly fine now to use the secure_validatable for your model.


Linking failed

When I compile the project, Some errors occur!
/data/hnswExperiments/SPFresh/SPFresh/ThirdParty/spdk/dpdk/build/lib/librte_mempool.a(mempool_rte_mempool.c.o): In function `rte_mempool_create_empty':
rte_mempool.c:(.text+0x1936): undefined reference to `strlcpy'
/data/hnswExperiments/SPFresh/SPFresh/ThirdParty/spdk/dpdk/build/lib/librte_mempool.a(mempool_rte_mempool_ops.c.o): In function `rte_mempool_register_ops':
rte_mempool_ops.c:(.text+0x96): undefined reference to `strlcpy'
/data/hnswExperiments/SPFresh/SPFresh/ThirdParty/spdk/dpdk/build/lib/librte_eal.a(eal_common_eal_common_bus.c.o): In function `rte_bus_find_by_device_name':
eal_common_bus.c:(.text+0x385): undefined reference to `strlcpy'
/data/hnswExperiments/SPFresh/SPFresh/ThirdParty/spdk/dpdk/build/lib/librte_eal.a(eal_common_eal_common_config.c.o): In function `eal_set_runtime_dir':
eal_common_config.c:(.text+0x24): undefined reference to `strlcpy'
/data/hnswExperiments/SPFresh/SPFresh/ThirdParty/spdk/dpdk/build/lib/librte_eal.a(eal_common_eal_common_dev.c.o): In function `rte_dev_probe':
eal_common_dev.c:(.text+0x406): undefined reference to `strlcpy'
/data/hnswExperiments/SPFresh/SPFresh/ThirdParty/spdk/dpdk/build/lib/librte_eal.a(eal_common_eal_common_dev.c.o):eal_common_dev.c:(.text+0x665): more undefined references to `strlcpy' follow
collect2: error: ld returned 1 exit status
AnnService/CMakeFiles/server.dir/build.make:352: recipe for target '/data/hnswExperiments/SPFresh/SPFresh/Release/server' failed
make[2]: *** [/data/hnswExperiments/SPFresh/SPFresh/Release/server] Error 1
CMakeFiles/Makefile2:704: recipe for target 'AnnService/CMakeFiles/server.dir/all' failed
make[1]: *** [AnnService/CMakeFiles/server.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

Can you tell me how to fix this problem?

Sorry, I didn't encounter the same problem when I am using ubuntu20:04 or ubuntu18:04, have you fixed this problem?
I googled this error and found that it is related to the bsd library, maybe you can try to install the libbsd to fix this problem? :)


build(compose): refactered with YAML anchor.

Issue link
Closes #84
What does this PR do?
Updated compose.yaml with YAML anchor and made it DRY implementation
What does not include in this PR?
N/A

Evidence:
# 24-01-10 22:28:04 git/bennu-official [feat/84/dry_compose] % docker compose config
name: bennu-official
services:
  django:
    container_name: django
    depends_on:
      mysql:
        condition: service_started
        required: true
    environment:
      MYSQL_DATABASE: bennu
      MYSQL_HOSTNAME: mysql
      MYSQL_ROOT_PASSWORD: root
      MYSQL_USER: root
    image: ghcr.io/hwakabh/bennu-official:latest
    networks:
      default: null
    ports:
      - mode: ingress
        target: 8000
        published: "8000"
        protocol: tcp
    restart: always
  mysql:
    container_name: mysql
    environment:
      MYSQL_DATABASE: bennu
      MYSQL_HOSTNAME: mysql
      MYSQL_ROOT_PASSWORD: root
    image: bitnami/mysql:latest
    networks:
      default: null
    ports:
      - mode: ingress
        target: 3306
        published: "3306"
        protocol: tcp
    restart: always
    tty: true
networks:
  default:
    name: bennu-official_default
x-environment:
  MYSQL_DATABASE: bennu
  MYSQL_HOSTNAME: mysql
  MYSQL_ROOT_PASSWORD: root


[SAGE-440] Foundations link update

Description

[x] Reword the heading for the Links documentation page to more closely align with the Design file
[x] Create a "Default" and "Plain" section on the doc site to align with the designs
[x] Add a "with icon" variation

Screenshots

Before
After

Testing in sage-lib

Verify that the links align with the latest specs:

Rails
React

Related

Closes SAGE-440

There is currently an issue with the icon variations of the link. The underline from the parent link is showing in the child pseudo ::before element. Since the ::before must be able to switch sides, it exposed the fact that we'll need a heavy rework to accomplish this.
With this, the issue would not be present if the icon was a svg element instead of a pseudo ::before. Looking at this, I believe the reason we have a link variant in our buttons was because we need to put the icon on the left.

There is currently an issue with the icon variations of the link. The underline from the parent link is showing in the child pseudo ::before element. Since the ::before must be able to switch sides, it exposed the fact that we'll need a heavy rework to accomplish this.

Short of a full refactor (which I still think may be warranted as a follow-up), and the fact that .sage-link already has position: relative,  I wonder if we could do something like this for now:
[class*="sage-link--icon-left-"] {
  padding-left: calc(#{sage-spacing(sm)} + #{sage-spacing(2xs)}); // icon width + icon margin
}

[class*="sage-link--icon-left-"]::before {
  position: absolute;
  left: 0;
}

… and the same but reversed for sage-link--icon-right-

Should the focus text color be black?

This does match the current Figma comps, presumably to have a consistent focus ring throughout. Though I agree that out of context it's a little jarring.

There is currently an issue with the icon variations of the link. The underline from the parent link is showing in the child pseudo ::before element. Since the ::before must be able to switch sides, it exposed the fact that we'll need a heavy rework to accomplish this.

Short of a full refactor (which I still think may be warranted as a follow-up), and with the knowledge that .sage-link already sets position: relative, I wonder if we could do something like this for now:
[class*="sage-link--icon-left-"] {
  padding-left: sage-spacing(sm) + sage-spacing(2xs); // icon width + icon margin
}

[class*="sage-link--icon-left-"]::before {
  position: absolute;
  left: 0;
  height: 1em;  // fix for `small` link variant
  width: 1em;
}

… and the same but reversed for sage-link--icon-right-
Line breaks may be weird, though. So the SVG approach you'd mentioned would still be favorable in the long run.
EDIT: just noticed that the icons don't inherit the link size when set to small and added an adjustment

Sage Jira ticket to track: SAGE-447


Publish new version to NuGet

The current release on NuGet is 1.6.1. Several major changes have been made since then:

Major rewrite to support NetCore
Add support for multiple targets
Rename async methods
Dispose outcome responses when done
Add Exception property to Outcomes2 response

Created pull request #36 for discussion.


Add metadata about the workflows themselves

https://docs.dockstore.org/en/develop/advanced-topics/best-practices/best-practices.html
Make sure each CWL workflow of interest is listed in https://github.com/arvados/bh20-seq-resource/blob/master/.dockstore.yml

Duplicate of #36


add selected mark for neo-tree

Link NeoTreeCursorLine to Visual .Look better

Thanks for the pr! I just formatted, added a missing comma, and linked nvim tree the same way for consistency.


Arrow keys not working

Hello! I am having this in my skhdrc, but the arrow keys does not work. What is wrong?
lctrl + alt - 0x7B : yabai -m window --focus west
lctrl + alt - 0x7D : yabai -m window --focus south
lctrl + alt - 0x7C : yabai -m window --focus east
lctrl + alt - 0x7E : yabai -m window --focus north

try adding sleep 0.1. and some spaces

I am having the same issue. I have tried, as I think was suggested, shift + alt - 0x7C : sleep 0.1; yabai -m window --space next and variants thereof, it's still not working.
MacOS 12.2.1, most recent skhd as of time of writing.

Likewise on MacOS 14.5, adding a sleep does not fix the issue.
alt - 0x7B : yabai -m window --focus west
alt - 0x7D : yabai -m window --focus south
alt - 0x7C : yabai -m window --focus east
alt - 0x7E : yabai -m window --focus north

Got it working using "up", "down", "right", "left":
alt - up : yabai -m window --focus north
alt - right : yabai -m window --focus east
alt - down : yabai -m window --focus south
alt - left : yabai -m window --focus west

Got it working using "up", "down", "right", "left":
alt - up : yabai -m window --focus north
alt - right : yabai -m window --focus east
alt - down : yabai -m window --focus south
alt - left : yabai -m window --focus west

Arrows work perfect for me with this.  As a side note, thank you for this snippet.  I've been using Yabai for a very long time and I never knew north,east,south,west were available.  I've been using a complex combination of a script and commands to determine the correct display I want to send a window to.  This replaces all of that.


Support F32 and F64 values

Is your feature request related to a problem? Please describe.
Values like 3.0 are not accepted as any valid term.
Describe the solution you'd like
Add support for F32 and F64 data types in L1.

Working on getting this into L1IR.

Long-term codegen should move from cranelift to new project Lambda Mountain. It will be nice to have a backend that is built to support functional programming.

LM is probably better suited to bridge the polymorphic/monomorphic divide. Let's just jump straight into LM from the backend.

Interpreter is not JIT compiled yet but it all gets the same interface in the end. Finally LSTS can wash its hands of implementation details and just focus on proofs.


flutter doctor --android-licenses fails with recent Android SDK tools

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
 flutter doctor --android-licenses
Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
        java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
Android sdkmanager tool was found, but failed to run
(/home/harri/Android/Sdk/cmdline-tools/latest/bin/sdkmanager): "exited code 1".
Try re-installing or updating your Android SDK,
visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed
instructions.

Expected results
Licenses should be displayed for acceptance.
Workaround is to downgrade command line tools in Android SDK Manager to 10.0 and then run flutter doctor --android-licenses again.
Actual results
Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
        java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

There is a workaround
Code sample
flutter doctor --android-licenses
Screenshots or Video

Android Studio SDK Manager setting

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.8, on Ubuntu 22.04.3 LTS 6.2.0-34-generic, locale
    en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more
      details.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.1)
[✓] Proxy Configuration
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.

Hi @hapasa
Please check this and the following comment to see if it helps.

Same here, reinstalling the SDK or reinstalling it as Version 11 and renaming it to latest did not work as well

@sittingbool Could you share the output of flutter doctor -v and java --version? (cc @hapasa for sharing this info as well)

flutter doctor -v
[✓] Flutter (Channel stable, 3.13.8, on macOS 13.5 22G74 darwin-x64, locale de-DE)
• Flutter version 3.13.8 on channel stable at /Users/richardhabermann/Developer/TOOLS/FlutterSDK/flutter_macos_3.13.8-stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 6c4930c4ac (8 days ago), 2023-10-18 10:57:55 -0500
• Engine revision 767d8c75e8
• Dart version 3.1.4
• DevTools version 2.25.0
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/richardhabermann/Library/Android/sdk
• Platform android-34-ext8, build-tools 34.0.0
• ANDROID_HOME = /Users/richardhabermann/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/richardhabermann/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.13.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.4)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 76.1.4
• Dart plugin version 232.10072.19
[✓] Connected device (2 available)
• macOS (desktop) • macos  • darwin-x64     • macOS 13.5 22G74 darwin-x64
• Chrome (web)    • chrome • web-javascript • Google Chrome 118.0.5993.88
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.

java --version
openjdk 21.0.1 2023-10-17
OpenJDK Runtime Environment (build 21.0.1+12-29)
OpenJDK 64-Bit Server VM (build 21.0.1+12-29, mixed mode, sharing)

@sittingbool As I can see from your flutter doctor output, Flutter is using Java on /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java instead of on the system, it's using Java 11.
Could you share the output of this (with verbose)?
flutter doctor --android-licenses -vv

I also encountered the same issue in Windows, which was resolved by uninstalling and reinstalling Android Studio, upgrading from version 2022.2 to the latest version 2022.3. The version of Java that comes with Android Studio has also been upgraded to Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231). So I can successfully run flutter doctor --android-licenses now.
It seems that Flutter uses the JDK provided by Android Studio by default. Even if JAVA_HOME is set, it will not select another version.

Installing the latest Android SDK Command Line Tool from SDK Manager suing Android Studio finally did the trick. Thank you.

Closing this issue in favor of https://github.com/flutter/flutter/issues/138132 as there are steps to reproduce the issue.


Notifications for client run failures incorrectly identify failing cookbook when using 'ignore_failure' property.

Description
If a client run contains a resource that fails but uses the 'ignore_failure' property, notifications sent for any later client run failures will incorrectly refer to the cookbook containing the first ignored resource and not the cookbook containing the resource that actually stopped the client run and triggered the notification.  Applies to Slack, ServiceNow, and Webhook notifications.
Automate Version
20190513175357
Replication Case

Create cookbook1 with a resource that will fail but use the 'ignore_failure' property.
Create cookbook2 with a resource that will fail.
Apply both cookbooks to a node.
cookbook1 will fail but the run will continue due to the use of 'ignore_failure'.
cookbook2 will fail, ending the run.
Automate will send a JSON notification.  The JSON key 'exception_title' will correctly refer to the failed resource from cookbook2, but the key 'cookbook' will be cookbook1.

@brywilliamsCF thanks for reporting the issue! I've labeled it as a bug and we will work to get the right people looking at this issue


Need to catch empty inventory numbers in Product export

Problem:
It's possible to retrieve products from the SOAP call that do no have inventory levels set, so line method inventory_quantity_for in product_exporter.rb will throw an exception on line 117 where [:result] is not set.
Steps to Reproduce:
List the steps we can take to reproduce the problem:

Run shopify_transporter on a Magento db where a product does not have have a SOAP response from the inventory endpoint
[] is called on null object - process terminates

(I'd issue a PR for a potential solution but my Ruby is ropey, plus I don't know the consequences of doing something like returning 0 if not found in the API response)

@SecondeJK thank you for reporting this!
Does the script skip that product and continue with the others, or is it stopping entirely?
You can skip this field if it's not available. Feel free to put up a PR and we can modify it if needed.

It doesn't skip the product, it actually terminates the script (if it skipped I wouldn't have reported it - that would be okay, but exiting Ruby when there's a big migration is obviously a bit tricky.
I can do a PR that returns 0 when it can't find a product inventory from SOAP, but I get the feeling this might have bad side effects...

@SecondeJK, there are tests in place that should help avoid regressions.  Feel free to put the PR together, adding the necessary tests.  We'd be happy to help you along the way to getting it merged.

#143


Telfit hangs on

Could you define unstable? I haven't ran into any problems with TelFit. However, after the telluric template is created it should
be always loaded from disk.

I've seen it sometimes get stuck after this line
2022-05-13T15:26:08 - SBART.template_creation.telluric_templates.telluric_from_telfit - INFO - Using params: [280.2, 750, 95.0, 385.34, 1819.0, 325.1]
Anyway, I found some other cases in which there are problems with joining strings in other functions, so I think I will just wait for the updates.
Originally posted by @asmasca in https://github.com/iastro-pt/sBART/issues/14#issuecomment-1126120223

This might be related with the atmosphere profile download. To be checked

Oh, I didn't know it was downloading the atmosphere profile! Then I think the problem was on my side. It was very likely the fault of the IAC VPN. It screws the connections with several services (with simbad and ESO for example). The inconsistency then is probably related to having the VPN on or off.
I guess the only issue then is that it didn't notify a problem with the download.

To be honest, I am now fairly certain that it shouldn't be that.
In the logs you should see a line saying that the download managed to go through or that you managed to open the atmosphere profile from a (previously downloaded) profile list that is cached in your computer. You can find that lines relevant to the download near the following line (in the logs):

2022-05-13T19:59:10 - SBART.template_creation.telluric_templates.telluric_from_telfit - INFO - Launching GDAS profile downloader

However, if it passed this point, and you see nothing wrong before that line with the parameters, then it is all telfit doing its calculations.  Some small questions:

Are you running every time on the same computer?
Does the computation eventually go through or is stuck there forever?

If the problem is telfit, I would suggesting trying to uninstall it and try to install it again using
pip install telfit  --no-cache-dir

to force a new download. Not sure that this will solve your problem of it being stuck


Added block menu in notification list

Fixes #776.
Added block menu on notification list and also confirmation modal.
Related with: https://github.com/near/near-discovery/pull/820.

@erditkurteshiSQA LGTM! I just added a few comments as a cleanup.

Thank you @shelegdmitriy ,
Let's hold on merging until the PR: https://github.com/near/near-discovery/pull/820 is resolved. Once it's addressed, we can continue with the merge.


Click on file on the directory

The click event to open a directory work on file.
It souldn't !

Seems to appear just after a rename.
Step to reproduce

rename a file
click on it


ci: adds changelog and package.json update automation

PR Checklist

[ ] Unit Tests have been added for new changes
[ ] API tests have been updated if applicable
[ ] All commented code has been removed
[ ] If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?
If the there are associated PRs in other repositories, please link them here (i.e. open-amt-cloud-toolkit/repo#365 )

:tada: This PR is included in version 7.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bug - cant zoom out in android 5 photobrowser

Hello Vlad...
I once posted about this bug, and i can still see it.
in android 5, when you double click the image in a photobrowser, the picture zooms, but when you double click again, it doesnt zoom out.
i checked it on a 4.4 device, and it worked well, so i guess its only related to android 5.
please check it out when you have a sec....i checked 3 devices with android 5, and its thesame....also when checking the kitchen sink through chrome btw....
thanks for your time!!

Just Tested on Android 5.1.1 and it's working normally.

Ok, checked on 5.0 emulator and 5.1 real device. Can't see such issue, it is working normally

Do you still have this issue?

Sorry to bring up an old post. But I am experiencing this issue still on Android 5.0 Samsung SMG900F, Framework7 1.4.2
Double tap only zooms in, then you get stuck and can't zoom out.
http://photoswipe.com/ allows you to pinch zoom in and out on Android. This would be amazing to add to Framework7 if possible to keep that native feel.
Absolutely amazing framework by the way!!


React Warning: Unknown event handler property onDismiss. It will be ignored.

Possible problem.
This basically happens when you pass a prop with a name starting with on, regardless of its case. React assumes and tries to bind it with javascript events like onClick, onKeypress, etc
Ref: https://stackoverflow.com/a/63385318
I think renaming the onDismiss should work.

Are you replacing the Toast component? It's likely that you're spreading onDismiss onto a DOM element.


Upload new WDC W65C02S Datasheet (Feb 25, 2020)

WDC W65C02S Datasheet (Feb 25, 2020)
wdc_w65c02s_feb_25_2020.pdf

I updated the pull request.  Is this what you intended to submit?
See here: https://github.com/larsbrinkhoff/awesome-cpus/pull/39/commits/142d5bffdbddf5f3e076661ae792cbe423951598

I updated the pull request. Is this what you intended to submit?
See here: 142d5bf

Yes. It should be located under https://github.com/larsbrinkhoff/awesome-cpus/MCS6500/

How come I did not see the wdc_w65c02s_feb_25_2020.pdf appear under the MCS6500 branch ?

You attached the file to the pull request description, but you didn't add the file to the commit on the branch.  So I did that for you.

You attached the file to the pull request description, but you didn't add the file to the commit on the branch. So I did that for you.

I think I did not have the rights to commit on the branch.

That's right.  Normally you will have to make a "fork" of this repository and make a branch there.


Missing gene reference

Some genes are referenced in reactions' fbc:geneProductAssociation but absent from the fbc:listOfGeneProducts list, causing errors in model build from sbml.
Here is the list of 'dangling' gene references:
"G_ND"
"G_Unknown"
"G_TBD"
"G_NA"
"WBGene00009407"
Except for the last one, they all seems to correspond to missing genes, maybe this could be harmonized under a single entity, to make spotting these gaps easier? or, even better, in order to avoid unrelated reactions sharing GPR, use numbered entities (G_Unknown_1, G_Unknown_2 ...)?

Yes, you are right. That should be corrected. I will check in my fork and changed it.

For diffuse transports it seems that HumanGEM and BIGG's Recon3 do not define any fbc:geneProductAssociation. I have also a Xylella fastidiosa model with dummy genes like "spontaneous" and "no_assignement". I'm not sure what is the community consensus here... I would say that not being able to know when a gene association point to a "real" gene or not is a red flag and that no association at all is better
I checked the fbc package documentation and I don't find any recommendations regarding reactions without known or existing genes associations. It is not listed either that having a fbc:geneProductAssociation is a requirement for reactions. However if there is a fbc:geneProductAssociation it can not be empty and must contains at least one fbc:Association with a fbc:GeneProductRef.


Weird problem after removing SG_FILTER_NONE in sokol_imgui.h

...so this is weird: I removed SG_FILTER_NONE in sokol_gfx.h which also caused changes in sokol_imgui.h. But the change in sokol_imgui.h isn't picked up in the automatic sokol-d bindings generation, causing CI to fail:
https://github.com/kassane/sokol-d/actions/runs/10667398346
E.g. the file https://github.com/kassane/sokol-d/blob/main/src/sokol/c/sokol_imgui.h hasn't been updated, and this line
https://github.com/kassane/sokol-d/blob/c686db871a6d3a289cb3c461cdfb5b42d44a7f29/src/sokol/c/sokol_imgui.h#L2403
...should have been changed.
Investigating...

...blargh it doesn't work out of the box to simply add sokol_imgui.h, e.g. when running python3 gen_all.py:
sokol-d/src/sokol/c/sokol_imgui.c:8:10: fatal error: 'cimgui.h' file not found
#include "cimgui.h"
         ^~~~~~~~~~

...I think the file
https://github.com/kassane/sokol-d/blob/main/src/sokol/c/sokol_imgui.c
...needs to be changed like this:
https://github.com/floooh/sokol-zig/blob/master/src/sokol/c/sokol_imgui.c
(e.g. cimgui.h only be included in the implementation block)
...let me try that fix too...

Apologies for committing directly to main.

@floooh,
No worries!
Please feel free to make any changes, including to build.zig (replacing []const u8 to LazyPath on ldc2 buildStep).
Thank you for help.

Ok all done, this is the change in the sokol main repo:
https://github.com/floooh/sokol/commit/df71cc24cb273c0cf68ccef91932c09893006b18
...but as expected this didn't trigger a commit to the sokol-d repo.
Cheers!


README Update

Improved Formatting
Updated "How To Unbind"

Also included a notice that there is an old cfg path, since many people seem to have trouble with that.


wanted: boost.process

Module location
https://github.com/boostorg/process/archive/refs/tags/boost-1.83.0.tar.gz
Link to bzlmod issue in the module's repository
No response
Any other context to provide?
No response
Fund our work

[ ] Sponsor our community's open source work by donating a feature bounty

@wep21 I want to add boost.process. Do you have a recommendation how to find all dependencies. I know about bcp but this gives me a very fine granular set of dependencies.


/rocket reload anyname cause exception

rocket reload asdasad
An error occured while executing rocket [reload, asdasad]: System.NullReferenceException: Object reference not set to an instance of an object
  at Rocket.Unturned.Commands.CommandRocket+<>c__DisplayClass12_0.<Execute>b__8 (Rocket.API.IRocketPlugin pl) [0x00006] in <eb82f0053e4e4aae868d3efcf3881fd0>:0
  at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <d61464951b0243f18092630834a7bf18>:0
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00045] in <d61464951b0243f18092630834a7bf18>:0
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <d61464951b0243f18092630834a7bf18>:0
  at Rocket.Unturned.Commands.CommandRocket.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x002c6] in <eb82f0053e4e4aae868d3efcf3881fd0>:0
  at Rocket.Core.Commands.RocketCommandManager+RegisteredRocketCommand.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x00000] in <2b8ee4b602174810b7294320f1aecbc4>:0
  at Rocket.Core.Commands.RocketCommandManager.Execute (Rocket.API.IRocketPlayer player, System.String command) [0x00176] in <2b8ee4b602174810b7294320f1aecbc4>:0

After some further tests, this problem disappeared


Adding emoticons to keyboard

We would like to develop a chat application (similar to WhatsApp or LINE). And important feature is to offer emoticons while typing text when the keyboard is open. We want to implement this the same way as WhatsApp is doing. How is this possible with Tabris.js?
This is required for both iOS and Android devices. We will not be using Unicode emoticons or the ones coming with the Android keyboard by default, we want to use custom emoticons à la WhatsApp.

The Whatsapp app is in fact closing the keyboard when you tap on the separate emoticon button and shows a regular ui view with a set of emoticons.

As @mpost pointed out, this should be possible already. The ui.contentView is re-layouted when the keyboard opens. Hence, if you place a view at the bottom of ui.contentView, it will appear on top of the keyboard while the keyboard is shown.
Does this answer your question?


PL-400 Trainer Materials/foils

Module: All
Lab/Demo: All
Task: All
Step: All
Description of issue
Repro steps:
I try to find the course material and foils for MCTs. I can see the Instructions and the Labs and Solutions, but no foils!
Where can I get this and if necessary, further course materials for MCTs?
b. rgds.
Petra

What do you mean by foils? Do you mean the courseware and slides?
Slides are on the Learning Download Center. Along with the slides you will find the change log and trainer prep guide. The trainer prep guide contains the modules on Microsoft Learn that are used as the courseware

Closing as no response


Feature/tlr by machine learning

This is a new feature to recognize the color state of traffic lights using SSD.
I would appreciate it if you guys check this PR and confirm it if there is no problem.
Thank you.

Could you remake a PR to target to develop branch?


Fix duplicate events bug.

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

Hi @artjoms-labster, thanks for the contribution. May I ask why did you decide to close the PR?


Session is not registered. Closing connection

While doing performance Test, I got error like " [ntLoopGroup-3-3] c.c.socketio.transport.PollingTransport  : 4982e004-8d8b-479c-8fdd-e1c918668d23 is not registered. Closing connection "．And only 2000 clients are connetced.  If I set UpgradeTimeOut with 180000, no such error  will happen even 10000 clients are connected. Seems got IO stress with PING and PONG. Any suggestions will be appreciated.

I got the same error, but increasing the value of UpgradeTimeOut didn't work.

Multiple socketio server, do not set up a connection with a polling, specify a websocket transport，Because the polling HTTP request will be requested to a different machine, causing sid is not registered.

Multiple socketio server, do not set up a connection with a polling, specify a websocket transport，Because the polling HTTP request will be requested to a different machine, causing sid is not registered.

you are right, front end socketio js set websocket only , can solve this problem
transports:['websocket']

@song2song  thanks a lot, polling and round robin LB is not a good idea :D

Multiple socketio server, do not set up a connection with a polling, specify a websocket transport，Because the polling HTTP request will be requested to a different machine, causing sid is not registered.

Why polling request will be requested to a different machine?