drivers: CAN: MCP2515: Move oscillator frequency definition to devce-tree

This PR moves the definition of the external oscillator frequency from Kconfig to device-tree.
It makes sense because it is a property of the board.

ping @nixward


Default value in console.vv file

VM Portal version number: 1.6.3/1.6.4
oVirt version number:4.4
Browser and version:nwm
Steps to Reproduce:

Download spice console.vv file

Actual results: not full screen when open
Expected results: full screen when open
Additional info:
It's not a bug or something like that but it's very annoying, searching for a few days and can find anything, plz help, and sorry for this request
How can i change default values in console.vv file? , can you help me change it? When I download this file, inside I see fullscreen=0 but I need fullscreen=1. It's in db or js? Or?? Help please.
I need to change this value global for all vm and users in portal vm. Thanks and sorry for my English

cat  src/sagas/console/vvFileUtils.js
export function adjustVVFile ({ data, options, usbFilter, isSpice }) {
// options can either be a plain JS object or ImmutableJS Map
console.log('adjustVVFile options:', options)
if (options && ((options.get && options.get('fullscreen')) || options.fullscreen)) {
data = data.replace(/^fullscreen=0/mg, 'fullscreen=1')
} else {
data = data.replace(/^fullscreen=0/mg, 'fullscreen=1')
}
const pattern = /^secure-attention=.*$/mg
let text = 'secure-attention=ctrl+alt+del'
if (options && ((options.get && options.get('ctrlAltDelToEnd')) || options.ctrlAltDelToEnd)) {
text = 'secure-attention=ctrl+alt+end'
}
if (data.match(pattern)) {
console.log('secure-attention found, replacing by ', text)
data = data.replace(pattern, text)
} else {
console.log('secure-attention was not found, inserting ', text)
data = data.replace(/^[virt-viewer]$/mg, [virt-viewer]\n${text}) // ending \n is already there
}
if (usbFilter) {
data = data.replace(/^[virt-viewer]$/mg, [virt-viewer]\nusb-filter=${usbFilter})
}
if (options && isSpice) {
const smartcardEnabled = options.get ? options.get('smartcardEnabled') : options.smartcardEnabled
data = data.replace(/^enable-smartcard=[01]$/mg, enable-smartcard=${smartcardEnabled ? 1 : 0})
}
console.log('adjustVVFile data after adjustment:', data)
return data
}


Invoke join correctly

This is python, not javascript 😉

Don't program while drinking I guess? :)  Thanks.


Adding admin dash

Added Admin Dashboard

Table isn't done yet, hope to refactor as component and continue working on it w/ the user page
Bottom of dashboard component cuts off, hoping to use the 'portal' theme to fix that
Everything else is good for review

Solution
What I/we did to solve this problem
*
Change Summary:

Tidy, well formulated commit message
Another great commit message
Something else I/we did

Dev-Ops
If you added an ENV variable, please check off that you've updated the following

[ ] Key & Sample value to .env & sample.env
[ ] GCP Secret Manager (Both development and production)
[ ] Github Secrets (Added a development and production variable)
[ ] Github Workflows .github/workflows/dev.yml & .github/workflows/prod.yml
[ ] webpack-config.js

Images/Important Notes (optional):

Insert any notes/issues, dependencies added or removed, or images

Hey, so I found a fix for the content shifting to the left, but my solution raises a lint error since it requires the !important to be used on the app.scss padding variable. I think this is caused by something weird with mui modal where it shifts the entire app div which causes some of the other components that are centered to also shift. After quite a bit of research this is the only solution I found that works. Could we possibly make an exception to the rule this one time? Nothing else seems to break when the !important is used., or if anyone else has a potential solution I'm down to try that.


[usb] USB diff rx control signals should be in AON power domain

https://github.com/lowRISC/opentitan/blob/17d2866a497d7bb0e891e32eddb99c943e3cbafb/hw/top_earlgrey/rtl/autogen/chip_earlgrey_asic.sv#L731
Currently the control signals are glue logic in top level which is in main pd domain.
it would probably be a good idea to review all other USB control signals as well.

@arnonsha, it looks like this only concerns a few and gates. the pinmux itself (which is driving these signals) is on aon.
Would it make sense to declare the u_prim_usb_diff_rx as AON and move these AND gates into that block?
https://github.com/lowRISC/opentitan/blob/17d2866a497d7bb0e891e32eddb99c943e3cbafb/hw/top_earlgrey/rtl/autogen/chip_earlgrey_asic.sv#L743-L754

we could also alternatively move these functions into the usb wakeup module
declared inside pinmux, and directly wire that output instead of through
dio/mio.
On Wed, Aug 18, 2021 at 12:16 PM Michael Schaffner @.***>
wrote:

@arnonsha https://github.com/arnonsha, it looks like this only concerns
a few and gates. the pinmux itself (which is driving these signals) is on
aon.
Would it make sense to declare the u_prim_usb_diff_rx as AON and move
these AND gates into that block?
https://github.com/lowRISC/opentitan/blob/17d2866a497d7bb0e891e32eddb99c943e3cbafb/hw/top_earlgrey/rtl/autogen/chip_earlgrey_asic.sv#L743-L754
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/7802#issuecomment-901365407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSS7IFRAOBATN246MSTT5QBIFANCNFSM5CLLKSFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

hm yes, that would work as well, but then we would have to make these intermodule signal outputs from the usb module. otherwise this messes with the DIO accounting in the topgen scripts...

yes that's right. Sorry, i should clarify.  The usb aon wake module is
actually inside pinmux, because usbdev itself is not always on.
So we would make an intermodule connection directly from there to the usb
rx differential receive i think.
On Wed, Aug 18, 2021 at 12:22 PM Michael Schaffner @.***>
wrote:

hm yes, that would work as well, but then we would have to make these
intermodule signal outputs from the usb module. otherwise this messes with
the DIO accounting in the topgen scripts...
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/7802#issuecomment-901368964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSUDBRM35XA7B7KZGBDT5QB6FANCNFSM5CLLKSFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

yeah that sounds good. let me take a look at this (I am in the process of getting pinmux D2 ready https://github.com/lowRISC/opentitan/pull/7721 and there are some other assertions that need to be cleaned up).

Actually, I found a simpler solution that does not require a lot of rewiring.
I.e., we can just remove the AND gates in this case - see #7802.

@arnonsha can you double check whether this is now solved?

fixed in #7830. closing this issue


Can i decompile then use DeobfuscatorHelper  to get my string?

Hi,
After use Paranoid, i try to decompile my app and i can know:

Paranoid is obfuscate library
Chunks of obfuscate strings
Method use to deobfuscate string.
So my question is, if i'm decompile person, and i want to know what string you obfuscate, can i use your lib method:
DeobfuscatorHelper
to get string from Chunks i saw from decompiler tool?

Hi,
You can deobfuscate strings if you now their ids. So you have to extract all ids from the bytecode at first.

Hi,
I'm just use 1 simple decompile tool to decompile my android dex file, then all show up like this image bellow, look like it is easy to do.

Yep, but this tool is expected to be used with an obfuscator like ProGuard/R8. And even when obfuscated it's not extremely difficult to deobfuscate strings. If you really need to hide something you shouldn't store it within the app and should use native code to work with sensitive data.

Oh, i got it, at least we can make decompiler have more work to do before he can leak our code.
Thank you!

In the last update the obfuscation was improved and now you cannot easily dump all strings without processing all the bytecode. Unfortunately deobfuscation still is an easy thing to do if one is interested and ready to spend some time. Moreover it can be automated.
I believe string obfuscation should be mixed with some other techniques like decompilation protection and code obfuscation but anyway deobfuscation will be possible.
If you have some ideas how to make obfuscation stronger feel free to share. I'll try and implement them with a great pleasure.


Research PGO/Tracing in JITs

Summary
With it seeming more and more likely that the new runtime will involve some level of JIT compilation, it is important to get an idea of the current cutting-edge of JIT performance.
Value

This section should describe the value of this task.
This value can be for users, to the team, etc.

Specification

Research current and performant methods for performing tracing in JIT compilers.
Research the ability to manually trigger and deny optimisation of given portions of code.

Acceptance Criteria & Test Cases

[ ] The research and findings have been incorporated into the Runtime RFC.

Closed in favour of #319.


Remove dependency on hashie

Coverage increased (+0.1%) to 97.331% when pulling ae42e427f0a0d230f224e1fee8a71607f4719e11 on issues/182-remove-hashie into b1e9b5e245961454fc972ea17d604c5dfb8e56ce on master.


fix bls profiling

The changing of test contract functions to "view" functions is not desired. Working on a emit event approach.


[WIP] Fix grape-demo shaded dependencies issue

What do these changes do?

Related issue number

Fixes #2220

Remember removing "[WIP]" in the PR title before merging.


Speedtest appears to prompt for licence acceptance often!

Speedtest appears to prompt for licence acceptance often!
speedtest    | Command failed with exit code 2: speedtest --accept-license --accept-gdpr -f json
It looks like either my IP address has been blacklisted for excessive requests to speedtest-cli (My broadband is bad so I've been monitoring a lot over the last monitoring a lot lately)
Anyone got a solution for interpreting this JSON response and accepting the prompt?
My short term solution is to have a cron job stopping and starting the containers every 6 hours or so.
Thanks in advance!

This is a duplicate of issue 22 - moved my comments there.


Fix the decimal points

The lht65 ruleset pushes too many decimal points depending on the specific math involved.

Fixed in [main 4f6ae08]


APACHE-KYLIN-2722: Introduce a new measure for dropwizard metrics fra…

…mework, called active reservoir, for actively pushing metrics to reporters

Compile error:
d:\git\kylin-2.x>mvn clean install -DskipTests
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for io.dropwizard.metrics:metrics-core:jar is missing. @ org.apache.kylin:kylin-core-metrics:[unknown-version], D:\git\kylin-2.x\core-metrics\pom.xml, line 41, column 21
[ERROR] 'dependencies.dependency.version' for org.apache.kylin:kylin-core-metrics:jar is missing. @ org.apache.kylin:kylin-metrics-reporter-hive:[unknown-version], D:\git\kylin-2.x\metrics-reporter-hive\pom.xml, line 36, column 21
[ERROR] 'dependencies.dependency.version' for org.apache.kylin:kylin-core-metrics:jar is missing. @ org.apache.kylin:kylin-metrics-reporter-kafka:[unknown-version], D:\git\kylin-2.x\metrics-reporter-kafka\pom.xml, line 35, column 21
 @
[ERROR] The build could not read 3 projects -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.kylin:kylin-core-metrics:2.2.0-SNAPSHOT (D:\git\kylin-2.x\core-metrics\pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for io.dropwizard.metrics:metrics-core:jar is missing. @ org.apache.kylin:kylin-core-metrics:[unknown-version], D:\git\kylin-2.x\core-metrics\pom.xml, line 41, column 21
[ERROR]
[ERROR]   The project org.apache.kylin:kylin-metrics-reporter-hive:2.2.0-SNAPSHOT (D:\git\kylin-2.x\metrics-reporter-hive\pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for org.apache.kylin:kylin-core-metrics:jar is missing. @ org.apache.kylin:kylin-metrics-reporter-hive:[unknown-version], D:\git\kylin-2.x\metrics-reporter-hive\pom.xml, line 36, column 21
[ERROR]
[ERROR]   The project org.apache.kylin:kylin-metrics-reporter-kafka:2.2.0-SNAPSHOT (D:\git\kylin-2.x\metrics-reporter-kafka\pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for org.apache.kylin:kylin-core-metrics:jar is missing. @ org.apache.kylin:kylin-metrics-reporter-kafka:[unknown-version], D:\git\kylin-2.x\metrics-reporter-kafka\pom.xml, line 35, column 21
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


[bug] [v2] Strange behavior with emit_to

Note: This is likely not a bug but rather strange API design
Describe the bug
In v2, the emit_to method is straight up dysfuntional.
The docs describe its functionality as "Emits an event to all [EventTarget]'s matching the given target," however, it seems to completely ignore the EventTarget requirements that are passed.
Reproduction
MRE Repo
Simply build, run and observe that when you press the "Dispatch Event to window w/ label 'main-1'," the event listener is triggered in both windows, not just main-1.
Expected behavior
emit_to is expected to function exactly as its documentation describes, only emitting to EventTargets that have a matching label.
Full tauri info output
[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.81.0-nightly (e9e6e2e44 2024-06-28)
    ✔ cargo: 1.81.0-nightly (4ed7bee47 2024-06-25)
    ✔ rustup: 1.27.1 (2024-04-24)
    ✔ Rust toolchain: nightly-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 22.1.0
    - pnpm: 9.1.0
    - npm: 10.7.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.23
    - tauri-build [RUST]: 2.0.0-beta.18
    - wry [RUST]: 0.41.0
    - tao [RUST]: 0.28.1
    - tauri-cli [RUST]: 2.0.0-beta.17
    - @tauri-apps/api [NPM]: 2.0.0-beta.14
    - @tauri-apps/cli [NPM]: 2.0.0-beta.17

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite

Stack trace
No response
Additional context
No response

Based off @amrbashir's comment here, this seems to be a misunderstanding on my end about how the frontend Tauri events API works.
Apparently using listen will receive all events with the specified name, ignoring the EventTarget that may have been specified when emitting it. The only way to listen to events that target the current window is either getCurrent().listen("<event>", <handler>) or listen("<event>", <handler>, { target: getCurrent().label }).
This is strange.
emit_to's documentation describes itself as "[emitting] an event to all [EventTarget]'s matching the given target," so you would not expect that this matching could be overridden on the frontend simply by using the default listen function.
In my honest opinion, I think the current functionality of listen is flawed. listen, by default, should only receive events targeted at the window/webview it was called in. Ignoring the targeting intended by the backend should be separate, customizable functionality (perhaps listenAny or listenWithFilter functions).
If there is some other reasoning behind the current design of the listening API that I have missed, please let me know.

Closing as won't fix as I think the current behavior of listen is fine, users should be using getCurrentWebviewWindow.listen() or similar method on other window types (Window, Webview or WebViewWindow)


Ability to import likes as list

Describe the problem
Right now, I'm in the process of abandoning X membership in favor of using Squawker. Till now, I've successfully imported my follow list.
This app has a handy feature where you can bookmark (save) tweets, but it does not have any functionality related to X's likes. As @mrhcjones stated in https://github.com/j-fbriere/squawker/issues/108#issuecomment-1813156373 there are no plans to add missing functions, so there's no existing way to import likes from X app into Squawker making me having to manually review every like I gave.
Describe the solution
Add the ability to import liked content as bookmarked tweets. Additionally, if functionality described in https://github.com/j-fbriere/squawker/issues/125 comes to the reality, you might automatically create a category for such imports so they wouldn't mix with content already bookmarked within Squawker.

I feel this might be a great addition to the app, I may try and get it working in Quacker then I'll create an MR for Squawker


@damassi => be forgiving when there is no image

Thanks for bringing it up!

Fixes ^

LGTM, will merge on 🍏


revert forcing debug logging

The LogLevel is global rather than component-wide, so there's no way to turn on debug only for a particular logger.
https://github.com/keybase/client/blob/773a0c3acab154cfa5e2a6f426401f6b32c5b838/go/logger/standard.go#L312

Thanks for the thumb. I don't know! Currently I'm looking at zap and possibilities of swapping that in for the logger.


Entirely Bigless

As issue title states, this would allow the games to run entirely bigless.

Blocked until #4/#5 are done


Odd choices in bicycle routing, perhaps due to 50 km/h limit on some of the involved segments

Hi, as requested by @karussel in the thread after https://twitter.com/SebaLis/status/684729267419234304 I have this to report:
On a local road, Graphhopper makes some strange choices in bicycle routing. This is a large inner-city road, dual carriageway and part of a German “B” road but still a city road that is not grade-separated, intersects with all roads and has a pavement that is partly a cycle lane next to it. In OSM it’s modelled as two ways for the two directions tagged with highway:secondary and oneway:yes, and a maxspeed:50 tag. The pavement and cycle lane is modelled as one and the same sequence of ways having both the foot:designated and bicycle:designated tags.
https://graphhopper.com/maps/?point=52.022785%2C8.528824&point=52.019959%2C8.526238&locale=en&vehicle=bike&weighting=fastest&elevation=true&layer=Omniscale shows that a bicycle routing on the road from one crossing to the third-next one branches off the road at an intermediate crossing using lanes that are actually intended only for turning into a residential road and back from that road into the main one. These are segments marked highway:residential and oneway:yes but with no speed limit (of course the regular 50 km/h speed within German cities still applies, I suppose the limit is there on the main road because in some rare cases a 70 km/h applies to main city roads).
When the start and end positions are moved from the road to the pavement/cycle lane as shown in https://graphhopper.com/maps/?point=52.022844%2C8.528749&point=52.019986%2C8.526099&locale=en&vehicle=bike&weighting=fastest&elevation=true&layer=Omniscale the routing still tries to use these residential segments and ends up with an even more nonsensical path.
@karussell speculated on Twitter that the missing speed limit was what made these segments so popular for Graphhopper’s cycle routing. But that does not make much sense as a) bicycles should not avoid a road with a 50 km/h limit and b) using these two short segments ends up with a longer and non-straight overall route, particularly in the second case, and that extra length and the required turns should outweigh the advantage of hypothetically being faster than 50 km/h on these short segments. Also, the pavement/cycle lane that is used in the second case does not have a speed limit either of course and is also a more direct route than the solution that is returned.

The main problem is that the choosen cycleway segment is tagged as highway=cycleway and the other way as path. For path we assume a lower speed. An additional small thing I noticed is a small tagging problem in relation 2418376: This cycle route does not include any network tag.

@karussell speculated on Twitter that the missing speed limit was what made these segments so popular for Graphhopper’s cycle routing.

Sorry, I wasn't aware of the chosen vehicle (bike). The lack of the maxspeed should definitely not prefer this road when using bike.

the routing still tries to use these residential segments and ends up with an even more nonsensical path.

That is indeed a strange route.

the required turns should outweigh the advantage

we currently do not include turn costs

http://www.openstreetmap.org/relation/2418376#map=18/52.02103/8.52824

@ratrun maybe we should prefer routes without any network tags too?

The main problem is that the choosen cycleway segment is tagged as highway=cycleway and the other way as path.

Which one is tagged as cycleway? And the avoided path http://www.openstreetmap.org/way/181280621 is tagged bicycle=designated so it should get a priority boost (?)

As expected the problem was that for a  highway=path + bicycle=designated the guessed speed was 12km/h, while for a 'highway=cycleway' 18km/h were assumed. Fixed with #635, which also fixes the reported case. Here is the link, because above the link was incorrect: http://<IP_ADDRESS>:8989/?point=52.022844%2C8.528749&point=52.019986%2C8.526099&locale=en&vehicle=bike&weighting=fastest&elevation=true&layer=Omniscale

maybe we should prefer routes without any network tags too?

Maybe we should assume network=lcn in this case. But I found a few cases in the past where the mapper intended to map a 'mtb' relation. Shall I add this change to PR #635? I would prefer a separate PR for this.

I can’t see this yet, can I? (By the way, the query string in the link you gave is identical to my second example. The URL before the query string is obviously from a development installation and inaccessible to me, so I assume that the change in that part is not what you’re referring to when you say the above link was incorrect.)

I can’t see this yet, can I?

No you cannot see this on the official server. This takes least three steps. First the change needs to get reviewed, then merged, then deployed and then the graph needs to get re-build with the active change.

I see. Thanks for your work! By the way, looking back at the OSM data, I have found the cycleway segment with highway=cycleway that you were referring to. But there's another argument against using that segment irrespective of estimated speeds: the old route would use this segment against the normal flow of traffic. Not sure whether you can and want to make this part of your routing decisions, just sayin’ :-)

the old route would use this segment against the normal flow of traffic.

@sebalis is this tagged in OSM too? E.g. via opposite tags etc?

Maybe we should assume network=lcn in this case.

@ratrun Sounds good.

But I found a few cases in the past where the mapper intended to map a 'mtb' relation.

@ratrun What do you mean here?

Shall I add this change to PR #635? I would prefer a separate PR for this.

@ratrun Yes, please always as separate as possible :)

The segment I was writing about does not have be tagged via opposite etc – it’s on the other side of the road, so it’s not supposed to be used in the direction that this route uses it in.

Is this fixed? (if yes thanks @ratrun for the work in #635)

Not sure if that question was directed at me, but I checked: in my example the data seems to have not been significantly changed and the routing has been fixed. Thank you @karussell and @ratrun!

Yes, without '@' I mean the issue creator :)
Perfect - thanks @ratrun !


Command Docs Generator

Add a doc generator that generates (markdown) docs from the commands.
Reasoning
Now that we know arguments and their types we could use this information to generate documentation. There could also be a property for a longer description or longer descriptions, this is just a quick idea I wanted to share.
As I already mentioned, I opened this issue to discuss the idea, if its decided to be added, I'd be happy to submit a pull request.

This seems like something that should be created separately from the project. Not everyone who uses the library may want generated docs, but you could make a separate package making this.


Product price incl. Tax/VAT

Is there a solution to show prices including Tax/VAT on the product detail page?

Hello.
Are you referring to flexi-varaint-specific tax?  If so, the answer is no.
FYI, I'm working on a complete rewrite, and I'm looking at taking into account skus, inventory, on a per-variant level.
So, if tax is one of those items that is important to you, feel free to write up a paragraph or two on how you'd like to see it work, and I'll consider it for version 2.  thanks!

No its just base price, at this moment in _pricing.html.erb
    var base_price=<%= @product.price %>;

this shows the price without VAT, when i change this line to
var base_price=<%= product_price(@product) %>;

it shows the price including VAT but when i select some Ad Hoc Option Values the price update doesn't work anymore.

Oh I see.
the javascript simply applies the bare price when you change the ad hoc options.
You could always write a small amount of code to override this behavior.
hope that helps

Fixed, i added this:
    // 'updatePrice()' takes the base price + current 'configuration' adjustments + 'customization' adjustments
	<%=
		price_btw = @product.price
		price_btw = price_btw / 100
		price_btw = price_btw * 106
	%>
    var base_price=<%= price_btw %>;

    // keep track of ad_hoc adjustments

VAT for the products is 6%, there should be a more elegant method for this by using the VAT Calculator but this works for me atm!


Update retroactive conformances proposal (SE-0364)

This updates the proposal to apply to all modules, not just resilient
libraries. It also updates the warning text to more clearly explain
what the consequences are of such a construct.

The implementation has been updated to reflect this new direction.


The first step of multivendor supported backemd

Summary of changes

Introduce multivendor support capability under src/tape_drivers
Modify the sg tape backend to skip some steps based on product type
Introduce HP tape drive support using the multivendor support capability

Description
We have requests to support multiple vendor's LTO drives multiple times. This is the first step of that. Now we can handle HP drives with a lot of HP guys help.
I would like to support other LTO drives provided from other vendors later.
Fixes #136
Type of change

New feature (non-breaking change which adds functionality)

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have confirmed my fix is effective or that my feature works

@chrism0984
Could you handle this PR? You can just push "Squash and merge" if you can accept this PR.


Fix #75 - Restore original editor settings for soft wrap

Removed the part of code which changed the atom config when activating
Zen. This way we can temporarily set the soft wrapping when the Zen mode
is activate and restore the default value by reading it from the config.

@braver I am not sure if setting the config is needed, but I didn't notice any problems with just using the "temporary" settings.

Just toggling the temporary setting should be fine and indeed preferable. If the fix can be confirmed I'll happily pull this.

I tested this over the last two days and it seems to work as expected now.
The only oddity is that open documents sometimes don't update their soft wrapping setting until they are re-opened - but that's a problem with Atom itself and not the plugin.

:+1: Thanks!


Reporting needs to be enhanced when a user accidentally uses a keyword as variable

Reporting needs to be enhanced when a user accidentally uses a keyword as variable. Currently the exception generated by karate does not give this info.

will be in v0.2.8 release


Add Email to person info

I need Email fairly often and I think it would make sense to add an email to person info where often first and last name is part of the email address.
person := gofakeit.Person()
person.Email

That is currently already in there. Its under contact.
person.Contact.Email


Update SDMM grade threshold

Change from 60% to advance to 90%. We're allowing much faster cycle (12 hours) than were previously expected when we laid out the original threshold (was supposed to be 5 days).

deployed


Change 404 to use the correct URL

Reference the change against https://github.com/Azure/azure-content/blob/master/articles/active-directory/role-based-access-control-powershell.md, which is the other page linked here.

Hi @cbednarski, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@cbednarski - thanks very much for the correction/contribution!
@kgremban - FYI

Thanks!


Name

Sooo... I told my brother I was making something called DragonScript with some other people....
He walked away than stoped and said it would sound better Dragon Code.
What do you think?

I like DragonScript better

OK

@csf30816 I personally like code dragon. What does everyone think? @dragon-drop-scratch/helpers

I'm for it.

@Nanomotion Do you think you could get on gitter?

Sure thing.


Set up GitHub Actions to run tests

@KushalRaj There are no tests? The tests.py files are empty.

Done in #207. Follow-up in #209.


Error when clicking on catalog items

In current ManageIQ master: Services -> Catalogs -> Catalog Items -> [a catalog item]
leads to either of the following errors:
FATAL -- : Error caught: [NoMethodError] undefined method `tag_symbol' for nil:NilClass
app/controllers/application_controller/miq_request_methods.rb:524:in `tag_symbol_for_workflow'
app/controllers/application_controller/miq_request_methods.rb:761:in `prov_set_show_vars'
app/controllers/catalog_controller.rb:1682:in `get_node_info'
app/controllers/catalog_controller.rb:1770:in `replace_right_cell'
app/controllers/catalog_controller.rb:312:in `tree_select'

 FATAL -- : Error caught: [NoMethodError] undefined method `resource_id' for nil:NilClass
app/controllers/catalog_controller.rb:1681:in `get_node_info'
app/controllers/catalog_controller.rb:1770:in `replace_right_cell'
app/controllers/catalog_controller.rb:312:in `tree_select'

@mzazrivec I can get to the Catalog Item summary screens just fine.  Have you done all the latest migrations?  Maybe something special about the one you're clicking on?

@dclarizio Dan, I happen to have the same DB imported and the 'Gemfile Cache Configuration' item
you're showing works fine for me too.
Clicking on 'vFabric App Server' gives me the above ISE. All DB migrations have been done.

@mzazrivec is this related to or same as: https://github.com/ManageIQ/manageiq/pull/3018

@h-kataria Probably not. The errors I posted above look different.


The client has a large CPU usage！

Hey man，when I use your C2 i Find the implant will use  a large CPU usage.
And I don't think it's a good Idea.Like this Picture.

Yeah, that's def no bueno. I did have one memory overflow issue in my testing but nothing about CPU usage, I'll have to look into this later. Is this just being run on idle?

Yes, I tried to simulate how C2 would be placed in a real world and discovered this problem.

I just pushed a commit that should fix this issue, had to do with the implant loop that checked for tasks was running without any pauses. As soon as I gave it a 1 second sleep in between checks, the power usage dropped down to Very low

Great!


Adsk Contrib - Improve GLEW detection

Signed-off-by: Patrick Hodoul<EMAIL_ADDRESS>The GPU CI build investigations raise a GLEW library detection problem coming from a cmake bug. The pull request manages the cmake bug to always correctly detect the GLEWlibrary.
Refer to AcademySoftwareFoundation/aswf-docker#43 for details.
Refer to https://gitlab.kitware.com/cmake/cmake/-/issues/19662 for cmake details.
To correctly test the fix, you have to install a ASWF docker image. And I used: aswf/ci-ocio:2021.

@michdolan Closed PR #1110 to create a new one hoping it unlocks GitHub Action.


[BAP-18992] v4.1.2 UTF8MB4 MySQL/MariaDB index key length overflow

StackOverflow discussion here
During install of 4.1.2, while performing database creation, script fails with
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes

during:
Oro\Bundle\DataAuditBundle\Migrations\Schema\OroDataAuditBundleInstaller
    ERROR: An exception occurred while executing 'CREATE TABLE oro_audit (id INT AUTO_INCREMENT NOT NULL, user_id INT DEFAULT NULL, organization_id INT DEFAULT NULL, impersonation_id INT DEFAULT NULL, action VARCHAR(8) DEFAULT NULL, logged_at DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', object_id VARCHAR(255) DEFAULT NULL, object_class VARCHAR(255) NOT NULL, object_name VARCHAR(255) DEFAULT NULL, version INT DEFAULT NULL, type VARCHAR(255) NOT NULL, transaction_id VARCHAR(255) NOT NULL, owner_description VARCHAR(255) DEFAULT NULL, additional_fields LONGTEXT DEFAULT NULL COMMENT '(DC2Type:array)', INDEX IDX_5FBA427CA76ED395 (user_id), INDEX idx_oro_audit_type (type), UNIQUE INDEX idx_oro_audit_version (object_id, object_class, version, type), UNIQUE INDEX idx_oro_audit_transaction (object_id, object_class, transaction_id, type), INDEX idx_oro_audit_logged_at (logged_at), INDEX idx_oro_audit_object_class (object_class), INDEX idx_oro_audit_obj_by_type (object_id, object_class, type), INDEX idx_oro_audit_owner_descr (owner_description), INDEX idx_oro_audit_organization_id (organization_id), INDEX IDX_5FBA427C26F87DB8 (impersonation_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB':

when Doctrine/DBAL is configured via oroapp/config/config.yml with:
doctrine:
    dbal:
        charset: utf8mb4
        default_table_options:
            charset: utf8mb4
            collate: utf8mb4_unicode_ci

OroCommerce/Platform version: 4.1.2
PHP version: 7.3.16
Database: MySQL 5.7.29 and MariaDB 10.4.12

@chrisleup thank you for the bug report.
It has been fixed in c3ceac23ae747163389b3698ea2ebadd80d2385e and will be included in the next 4.1.x release as well.

What charset are you migrating from?
On Sun, Jun 7, 2020 at 6:12 PM Mauro Chojrin<EMAIL_ADDRESS>wrote:

Hi:
I'm having the same issue migrating from 3.1.17 to 4.1.4.
My setup is:

MySQL 5.7.29
php 7.4.6

I'm running the upgrade on the VM provided with 3.1 as a rehearsal before
going to prod (I manually upgraded php & nodejs).
I just run php bin/console debug:config doctrine -e prod and found I have
no particular configuration for doctrine:
doctrine:
dbal:
config:
driver: pdo_mysql
host: <IP_ADDRESS>
port: null
dbname: oro
user: dbuser
password: DBP@ssword123
options: {  }
charset: utf8
logging: true
profiling: false
mapping_types: {  }
default_table_options: {  }
slaves: {  }
shards: {  }
Any tips? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/oroinc/platform/issues/1013#issuecomment-640293971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMT32GR24S7Y7VP4HHQRI33RVQNEVANCNFSM4MQLKNDA
.

Thanks @chrisleup , I'm not sure...
This is the output from show create table oro_audit:
CREATE TABLE `oro_audit` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `organization_id` int(11) DEFAULT NULL,
  `impersonation_id` int(11) DEFAULT NULL,
  `action` varchar(8) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logged_at` datetime DEFAULT NULL COMMENT '(DC2Type:datetime)',
  `object_id` int(11) DEFAULT NULL,
  `object_class` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `object_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `version` int(11) DEFAULT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transaction_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner_description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `additional_fields` longtext COLLATE utf8mb4_unicode_ci COMMENT '(DC2Type:array)',
  `customer_user_id` int(11) DEFAULT NULL,
  `entity_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `idx_oro_audit_version` (`object_id`,`entity_id`,`object_class`,`version`),
  KEY `IDX_5FBA427CA76ED395` (`user_id`),
  KEY `idx_oro_audit_type` (`type`),
  KEY `idx_oro_audit_logged_at` (`logged_at`),
  KEY `idx_oro_audit_object_class` (`object_class`),
  KEY `idx_oro_audit_obj_by_type` (`object_id`,`object_class`,`type`),
  KEY `idx_oro_audit_owner_descr` (`owner_description`),
  KEY `idx_oro_audit_organization_id` (`organization_id`),
  KEY `IDX_5FBA427C26F87DB8` (`impersonation_id`),
  KEY `IDX_5FBA427CBBB3772B` (`customer_user_id`),
  KEY `idx_oro_audit_ent_by_type` (`entity_id`,`object_class`,`type`),
  CONSTRAINT `fk_oro_audit_customer_user_id` FOREIGN KEY (`customer_user_id`) REFERENCES `oro_customer_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fk_oro_audit_impersonation_id` FOREIGN KEY (`impersonation_id`) REFERENCES `oro_user_impersonation` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fk_oro_audit_organization_id` FOREIGN KEY (`organization_id`) REFERENCES `oro_organization` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fk_oro_audit_user_id` FOREIGN KEY (`user_id`) REFERENCES `oro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=70 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci

I believe it's utf8mb4, rigth?
This is the result of show create database oro;:
CREATE DATABASE oro /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci */

I tried upgrading to MySQL 5.7.30 and I got the same result

@mchojrin,
It looks like you have to enable back utf8mb4 encoding:
https://doc.oroinc.com/backend/setup/system-requirements/database-optimization/#usage-of-the-utf8mb4-character-set-the-full-4-byte-utf-8-unicode-encoding-in-mysql
Don't forget to update the config/config.yml file.

@anyt thanks. I checked those parameters in /etc/my.cnf and they are exactly as pointed in the article.
For the time being I'm going to try to do the upgrade to 4.1.1..

What about the config/config.yml file in an application?
If you shared the full output of php bin/console debug:config doctrine -e prod, it looks like you are missing this config:
doctrine:
    dbal:
        charset: utf8mb4
        default_table_options:
            charset: utf8mb4
            collate: utf8mb4_unicode_ci

I added that but didn't have any luck I'm affraid :(
I'm going to use 4.1.1 for the time being (it's still going to be an advance from my current 3.1.17 anyway) and then go back to 4.1.4.
Right now I'm finding some issues updating my custom bundles...
Thanks


feat(planning_evaluator): add modified goal deviation

Description

Add metrics of deviation from the modified goal pose
Related links

Tests performed

TIER IV internal scenario test
Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

fix and add tests in https://github.com/autowarefoundation/autoware.universe/pull/3053/commits/6d3b9e309ac99445ea494a705cf782c1f778993c.  checked it passed


Unable to switch between in revisions without a downtime.

Description:

When there are multiple revisions, and if you want to change a deployed revision, you first need to undeploy from the Gateway and then select the revision. There is no option to change the Revision directly. This creates a downtime for the API which result in the following error.
{"code":"404","type":"Status report","message":"Not Found","description":"The requested resource is not available."}

Steps to reproduce:

Create multiple revisions.
Try to switch to an older revision.
You only have the option to undeploy and then deploy.

Affected Product Version:

APIM 4.0.0-alpha

Description:
When there are multiple revisions, and if you want to change a deployed revision, you first need to undeploy from the Gateway and then select the revision. There is no option to change the Revision directly. This creates a downtime for the API which result in the following error.

Now there's no redeploy option(Deploy same revision).
If you add a new resource you need to create a new revision and deploy that new revision.
This 404 error occurs if you add a new resource and try to deploy the same revision.

{"code":"404","type":"Status report","message":"Not Found","description":"The requested resource is not available."}

Steps to reproduce:

Create multiple revisions.
Try to switch to an older revision.
You only have the option to undeploy and then deploy.

Affected Product Version:
APIM 4.0.0-alpha

Is there a way to deploy Revision 1 without un-deploying revision 2 first? If so, we can close this issue.

Is there a way to deploy Revision 1 without un-deploying revision 2 first? If so, we can close this issue.

Currently no, there's an ongoing discussion to change the deployment view, will address this as well.
Let's keep this open until we get a proper solution

Increased priority as this will be prominent issue in production setups. We'll need to give support for directly deploying another revision without undeploy using POST /apis/{apiid}/deploy-revision?revisionId= API.

Decide to keep this behavior same ATM, since reducing the priority.

Duplicate: https://github.com/wso2/product-apim/issues/10769
Design discussion currently going with the above issue, hence closing this.


Add validation and conversion info to upload RFC

@Bento007 for upload_status, the status "Uploading" is meant to mean "we are downloading the file from Dropbox". From the user's point of view, it's uploading to the Data Portal.


ADD: Tuya valve random model id

Ref: https://community.home-assistant.io/t/zha-fails-after-custom-quirks-added/317056

Moes TRVs have extended functions that also need being added in ZHA for getting all advanced function to working.
I dont knowing if its 100% compatible with the old Moes TRVs but i think most shall working but no garante.
Then adding the TS061 version (MoesHY368_Type1) i think its best adding the second type 2 than its normally shoeing up very fast and its shall having the string ("_TYST11_b6wax7g0", "6wax7g0"), under MoesHY368_Type2.

I'm just following up on the HA forum post. I don't own the device.
But the signature match perfectly Type1 and not Type2

Codecov Report

Merging #931 (20a8ed3) into dev (b6cbdf1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #931   +/-   ##
=======================================
  Coverage   82.54%   82.54%
=======================================
  Files         186      186
  Lines        4601     4601
=======================================
  Hits         3798     3798
  Misses        803      803

Impacted Files
Coverage Δ

zhaquirks/tuya/valve.py
95.52% <ø> (ø)

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 b6cbdf1...20a8ed3. Read the comment docs.

Pull Request Test Coverage Report for Build 957843810

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.547%

Totals

Change from base Build 952628130:
0.0%

Covered Lines:
3798

Relevant Lines:
4601

💛  - Coveralls

I have adding the new Moes in ZHA so it shall getting the advance function in HA GUI but i dont knowing if its 100% compatible with the old Moes TRVs.
If not some code worrier need taking one lock to fixing it but its better then not having the functionality.


Create faostat explorers step

Create explorers step for FAOSTAT data, to feed the data for the Global food explorer.
Due to changes in FAO naming in the latest version, some renaming was required, to minimize changes in the currently existing explorer.
The only files that need to be reviewed are:

[x] dag/faostat.yml
[ ] docs/data/faostat.md
[ ] etl/scripts/faostat/update_custom_metadata.py
[ ] etl/steps/data/garden/faostat/2023-02-22/faostat_metadata.py

Where the changes are mostly in the documentation and the dag.
There's no need to review:

etl/steps/data/explorers/faostat/2023-02-22/food_explorer.py since it's identical to the previous version.
etl/steps/data/garden/faostat/2023-02-22/custom_items.csv since there are many changes and it would take too long to review.

For now, I'm running etl faostat to see if everything works correctly 👍🏼

Thanks, but buildkite is already checking if the steps run. Given that all tests have passed, you don't have to worry about this, but simply check out the code.

Hi @paarriagadap thanks for the review! In response to your comments:

That link is API URL and in principle it should work, I don't think it's broken.
Thanks for pointing out the issue of the excluded countries file. I've just fixed it.
I wouldn't expect things to work out of the box. Unfortunately there are many issues like the one you just saw for French Guyana. That happens to be the only country for which FAO has two different names (this issue started happening since the new update). There's a patch somewhere in the code, but may need to be adapted on the next update. So I'll look into it if necessary in the next update.


Dynamic column

WIP PR showing the column on the LTS explore and NDCs explore tables related to the indicator

Ready again 😄

There's some weirdness with the colouring of the column and the text, when there's a lot of it: e.g.: http://localhost:3000/lts-explore?category=adaptation_elements&indicator=lts_a_cb

Please tweak theme styles for the table, because the data cells are shifted to the right in comparison to the header titles:

Sorting doesn't work properly for countries and date fields (another PR?)

Ready again

Nice! =D
looking good!


[boost-regex] Build error on x64-windows

Copy issue body from C:/Users/almu_/vcpkg/installed/vcpkg/issue_body.md
.\vcpkg install boost-regex:x64-windows
Computing installation plan...
The following packages will be built and installed:
<EMAIL_ADDRESS>Detecting compiler hash for triplet x64-windows...
Restored 0 package(s) from C:\Users\almu_\AppData\Local\vcpkg\archives in 105 us. Use --debug to see more details.
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Using cached boostorg-regex-boost-1.84.0.tar.gz.
-- Cleaning sources at C:/Users/almu_/vcpkg/buildtrees/boost-regex/src/ost-1.84.0-36fba3ea30.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/almu_/vcpkg/downloads/boostorg-regex-boost-1.84.0.tar.gz
-- Using source at C:/Users/almu_/vcpkg/buildtrees/boost-regex/src/ost-1.84.0-36fba3ea30.clean
-- Including C:/Users/almu_/vcpkg/ports/boost-regex/b2-options.cmake
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: C:/Users/almu_/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j17
Working Directory: C:/Users/almu_/vcpkg/buildtrees/boost-regex/x64-windows-dbg
See logs for more information:
C:\Users\almu_\vcpkg\buildtrees\boost-regex\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
installed/x64-windows/share/boost-build/boost-modular-build.cmake:139 (vcpkg_cmake_install)
ports/boost-regex/portfile.cmake:12 (boost_modular_build)
scripts/ports.cmake:175 (include)
error: building boost-regex:x64-windows failed with: BUILD_FAILED
Elapsed time to handle boost-regex:x64-windows: 4.2 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-regex
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[boost-regex]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2FUsers%2Falmu_%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Please see #30604 for how to report an issue.


[List] Fix scrollview performance on iOS devices

The List scrolls bad on iOS devices, and something it even refreshes the page instead of going up in the list.
It's due the overflow:auto property. https://weblog.west-wind.com/posts/2015/jun/05/ipad-scroll-issues-with-fixed-content

[ ] PR has tests / docs demo, and is linted.
[ ] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[ ] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

I'm wondering why we have overflow: auto in the first place and why you end up with this component scrollable. For instance with the drawer on the documentation, it's the parent component that gets the scroll.

@oliviertassinari I thinks it's because when the Appbar is not fixed it keeps still working when you add appbars to bottom and top with a list component in the center. If we remove the overflow and let the height expand it could interfere with that.
The only disadvantage is that the browser bar at top won't hide when scrolling the list at the moment.


Checksum command fails if remote doesn't support uname operation

When I try to fs.checksum(path) on a server that does not permit a uname command, I get a generic Channel Open Error: Session request failed. Looking through the debug logs, it seems like the issue is caused by the logic in the _get_system:
https://github.com/fsspec/sshfs/blob/3c10c1bfff44f111926d763a54343726832e2d42/sshfs/spec.py#L295:L300
The server I am working with does support the md5sum and sha1sum commands so the _checksum method as written should work but the actual command never triggers because it errors before that.
Potential Solutions:

Provide ability to pass checksum commands to the _checksum() method, this would allow me to specify a known command (so the _get_system() check can be bypassed). Ideally, being able to provide both the remote and the local checksum commands would be even better in the case of a Darwin system speaking with a Linux server.
Include error handling logic for _get_system() to provide a more detailed error message.

If I can get some guidance on the preferred approach, and if contributions are welcome. I'm happy to submit a PR.
Thank you!
Pratheek

Hi @pratheekrebala !
fs.checksum implementation probably has too much influence from our use in dvc and likely shouldn't call commands at all and rather just use the info() result, similar to what localfs does. If you need to run md5sum or sha1sum command, it is probably best to just run it yourself, as running commands is mostly out of scope for sshfs itself. I think we'll need to adjust fs.checksum in the future.


Excellent work of the detailed explanation

Positive Feedback: No action required!
Just wanted to thank you for the effort you took to (it seems) completely explain how EF works. I have used this product from the beginning and have experience with similar ORMs but these days I really enjoy reading the docs.
Thank you!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c9ed2194-60b2-1612-7565-17b663e15acd
Version Independent ID: 377fbb7c-597b-7203-49fa-2a4ca6319c53
Content: Changing Foreign Keys and Navigations - EF Core
Content Source: entity-framework/core/change-tracking/relationship-changes.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @ajcvickers
Microsoft Alias: avickers

Thanks!


Error after upgrading to latest version of the Learning Pathways

I have just upgraded the solution to version <IP_ADDRESS> and when accessing the CustomerLearningViewer.aspx page i receive an error. This is also the same error on the view pages.

This is the information in the Browser Console

Learning Pathways version number <IP_ADDRESS>

You didn't say what version you upgraded from... but you need to start with going to CustomLearningAdmin.aspx page. If you upgraded from version 3.x then by not doing so you skipped the upgrade process... if an earlier version of 4 then the upgrade messed up your cache and by going to the Admin web part you'll reset it.

Hi, it would have been 2.x it's been upgraded from. Can i re trigger the upgrade process?

Ok, yes, then that's your issue you need to do the upgrade... so yes, you can retrigger it.  Use the query string parameter on the CustomLearningAdmin.aspx page of ?forceUpdate=v2.  In this case you want that last bit to reference the version you're upgrading from so since you said v2.x then use v2 (if you had come from version 3 you would have used v3).
So in other words your URL in the browser will look something like:
https://contoso.sharepoint.com/sites/M365LP/SitePages/CustomLearningAdmin.aspx?forceUpdate=v2

Thanks, I am sorted now I actually just reinstalled on the Site Collection 👍


The object has been run. Use the function CLEAR(Page)

we recently started getting error when we try to open any page via action 2nd time. it is working fine first time. is it new design change?

AL Compiler version 0.16.19969
Build 12.1.22475

This turns out to be a bug in the compiler.

StanislawStempin, sorry, I really cannot understand your reply.
what is bug in the compiler? do you mean code issue, or NAV system issue?
thank you,

Ain't sure whether you got a solution to this.
Had a similar challenge but for a report object. For me, the issue was with the Record variable passed to the SetTableView(RecVar).
The variable RecVar needs to be reset every time you especially when running a the report multiple times within a repeat loop


Array.filter with a user-defined type guard predicate (arrow function) resolves to the wrong overload

TypeScript Version:  2.6.1
Code
interface Animal {
}

interface Cat extends Animal {
  meow(): void;
}

interface Dog extends Animal {
  bark(): void;
}

function isCat(animal: Animal): animal is Cat {
  return animal.hasOwnProperty("meow");
}

function isDog(animal: Animal): animal is Dog {
  return animal.hasOwnProperty("bark");
}

let animals: Animal[];

const cats: Cat[] = animals.filter(isCat);            // OK
const cats2: Cat[] = animals.filter(a => isCat(a));   // Type error

Expected behavior:
No errors
Actual behavior:
Error at cats2:
[ts]
Type 'Animal[]' is not assignable to type 'Cat[]'.
  Type 'Animal' is not assignable to type 'Cat'.
    Property 'meow' is missing in type 'Animal'.

The first call to filter on animals resolves to the function
filter<S extends T>(callbackfn: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];

while the second call resolves to:
filter(callbackfn: (value: T, index: number, array: T[]) => any, thisArg?: any): T[];

Duplicate of #5101 -- a => isCat(a) isn't explicitly annotated as being a type predicate, and we don't infer those.

A question: what's the difference between animals.filter(isCat) and animals.filter(a => isCat(a))? I thought the first one is a syntactic sugar for the second one, when there is only argument.

a => isCat(a) is a function literal expression that creates a new function. isCat is an identifier referring to an existing function. isCat has a type annotation declaring it to be a type predicate, but a => isCat(a) has no type annotations and relies on type inference. We will never infer a type predicate type, only boolean (#5101).


-Add unityeditor to the editors

Thank you for your contribution!

Your PR has been pushed to the upm branch.
If you're using it, I recommend you delete the "lock" entry in your packages.json file so that unity will download the latest version.


Showcase Submission for 112-3d-rendering-with-rotation-and-projection

Thank you Vedic Mukherjee for your contribution! A member of the Coding Train team will review it shortly.

3D Rendering Implementation In DOS
Vedic Mukherjee

This is so great!


Incorrect reporting of Smooth Pool Receipient

Getting this error message which i don't understand "Failed to get rewards - Request failed with status code 500 Block reward for slot 8674315 proposed by RP minipool (0xdddf2dff420b4b2f28f300e6b777e94e5cecd8e7 / 852604) did not go to smoothing pool (0xd4e96ef8eee8678dbff4d535e033ed1a4f7605b7) or fee distributor (0x711a2cd0d55dc30c6636726f30bfc33ff0e3b53d) but 0x1f9090aae28b8a3dceadf281b0f12828e676c326!"
If you look at https://beaconcha.in/slot/dc10243b1b2fb974b8466263ac3ae954a65ad6ec7a23a184dc3b282a5c6806de it says the MEV reciepient was the smoothing pool (
"MEV Reward Recipient:
0xd4E96eF8eee8678dBFf4d535E033Ed1a4F7605b7"
??

Looked into this, in this case the block reward processing failed so the error message should have been a little different. I fixed the incorrect error message and also this block's rewards in the database so everything should be working fine again!

Thank you
On Mar 22, 2024 at 4:18 PM -0400, Luca Winter | Serenita @.***>, wrote:

Looked into this, in this case the block reward processing failed so the error message should have been a little different. I fixed the incorrect error message and also this block's rewards in the database so everything should be working fine again!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Calculating the error for other types of joints

I created an example for gazebo_ros2_control based on a prismatic joint but reviewing the code I checked that is only going to work for a prismatic joint smaller than [-3.14, 3.14]. I don't see how the joint type is defined in the code.
In ROS 1 is defined using the UDRF

Coming soon! https://github.com/orgs/ros-controls/projects/4
The issue with prismatic joints exists in ROS1 just the same I think, we haven't yet found anyone with a prismatic joint longer than 3meters so the user-base is relatively small on this one :)


fancybox does not work

Hi,fancybox does not work in this theme,but it worked when I changed another theme.Can you fix this problem , I love this clean and simple theme very much.

Thanks. It works properly in my local tests. Could you provide details and/or your website?

It works after I add the attached file to the  scripts folder.I don't have the experience on front-end development,I add the file by finding the differences between your theme and the other themes.

Sorry,forgot to tell you .It works properly after I add the following script to the scripts folder.
var rUrl = /((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[.\!\/\\w]*))?)/;

/**
* Fancybox tag
*
* Syntax:
*   {% fancybox /path/to/image [/path/to/thumbnail] [title] %}
*/

hexo.extend.tag.register('gallery-img', function(args){
  var original = args.shift(),
    thumbnail = '';

  if (args.length && rUrl.test(args[0])){
    thumbnail = args.shift();
  }

  var title = args.join(' ');

  return '' +
    ''
    '' +
    (title ? '' + title + '' : '');
});


Coding style for markdown files

Our markdown files do not follow a coding style themselves, and look quite messy.

Do we have a newline after each header?
Newline after a line ending ([.?!]), or do we wrap at 80 characters (this is actually happening at places. i approve of this fortran70 inspired behaviour, but would not use it here ;)

Perhaps some short suggestions could be written down, although I'm afraid they won't be adhered to much, and it also doesn't feel completely like our business to say too much on this, since I wouldn't technically call it software (although I admit it's a gray area); MarkDown is primarily a markup language, as well as HTML and LaTeX, and so the rendering is more important than the source and gets the most attention. Should we also give suggestions on how to write those? I'm not completely convinced. Also, there's a big risk that many rules are opinionated.
Like with #54, I would suggest that if someone wants to pick this up, they first do a bit more research into what good practices are out there for markup languages in general (let's not do MarkDown only). Then try to brainstorm about it with a few people (preferably with different opinions) and see if you can get to some agreement.

Maybe interesting to add to precommit https://github.com/executablebooks/mdformat
Perhaps we can also run it automatically after PRs and let it commit to main. Or for security let it make a new branch and open a PR for it.


IPFS api REPL

Is there a secret REPL in IPFS desktop?  I'd love to be able to open a console and start using an ipfs instance that's configured to talk to the background daemon.

I'm rethinking webui as developer tooling for IPFS

I think that makes a lot of sense given we're very much in still in the early-adopter phase and those early-adopters are likely to be devs of some description


testPeriodic() should call "stop" on drive train

swerve-lib calls resets the motor encoder state every 500 loops (10s).
            // Reset the NEO's encoder periodically when the module is not rotating.
            // Sometimes (~5% of the time) when we initialize, the absolute encoder isn't fully set up, and we don't
            // end up getting a good reading. If we reset periodically this won't matter anymore.
            if (motor.getSelectedSensorVelocity() * motorEncoderVelocityCoefficient < ENCODER_RESET_MAX_ANGULAR_VELOCITY) {
                if (++resetIteration >= ENCODER_RESET_ITERATIONS) {
                    resetIteration = 0;
                    double absoluteAngle = absoluteEncoder.getAbsoluteAngle();
                    motor.setSelectedSensorPosition(absoluteAngle / motorEncoderPositionCoefficient);
                    currentAngleRadians = absoluteAngle;
                }
            } else {
                resetIteration = 0;
            }

This only gets called if we actually set the reference angle, which only gets called if we call setStates() with the same angle (i.e. when sitting still). We should make sure this is called in testPeriodic so our swerve modules will "snap" into place.
To do this, I think we can just call drivetrainSubsytem.stop() in testPeriodic.

Fixed by Scott


[DEV] Does not support SSLv3 in the latest Python.

Coding for Support SSLv3

I have completed modifications on this issue. please update to a2sv 1.4.2.
thank you :)
update case 1
#> a2sv -u
update case 2
#> rm -rf a2sv
#> git clone https://github.com/hahwul/a2sv


types: stats: add pids.max to PidsStats

In order to allow nice usage statistics (in terms of percentages and
other such data), add the value of pids.max to the PidsStats struct
returned from the pids cgroup controller.
Signed-off-by: Aleksa Sarai<EMAIL_ADDRESS>

PLEASE DO NOT MERGE YET
I'm still ironing out whether the type of the max should be uint64 (in which case 0 == max) or int64 (in which case <0 == max).

All of the concerns inside runC have been addressed.
/ping @calavera

The containerd side has been merged.
/ping @calavera

LGTM 🐻

LGTM


dds: Ensure the Extent3d for compressed textures represents the physical size

Objective

wgpu 0.13 has validation to ensure that the width and height specified for a texture are both multiples of the respective block width and block height. This means validation fails for compressed textures with say a 4x4 block size, but non-modulo-4 image width/height.

Solution

Using Extent3d's physical_size() method in the dds loader. It takes a TextureFormat argument and ensures the resolution is correct.

Changelog

Fixes: Validation failure for compressed textures stored in dds where the width/height are not a multiple of the block dimensions.

bors r+


No mapping for /backup, so core components cannot access that folder

Hi. I'm trying to use Folder Watcher to monitor the /backup folder, but when I add it to whitelist_external_dirs the config check reports not a directory @ data['whitelist_external_dirs'][0].
Issuing a docker inspect homeassistant I can see there are mounts for /config, /ssl and /share:
   "HostConfig": {
            "Binds": [
                "/usr/share/hassio/homeassistant:/config:rw",
                "/usr/share/hassio/ssl:/ssl:ro",
                "/usr/share/hassio/share:/share:rw"
            ]

...but /backup is missing, so no core components can access that folder. Is this by design? How can I monitor /backup folder then?
Here's my /etc/hassio.json:
{
    "supervisor": "homeassistant/armhf-hassio-supervisor",
    "homeassistant": "homeassistant/raspberrypi3-homeassistant",
    "data": "/usr/share/hassio"
}

and my /usr/share/hassio/updater.json which stands the current versions I'm running:
{
  "channel": "stable",
  "hassio": "140",
  "homeassistant": "0.82.1"
}

Thank you in advance.

Exact same issue here. Running Hass.io 0.88.2, RPi Model 3 B+, HassOS. Adding whitelist into configuration.yaml
whitelist_external_dirs:
- /backup

results in an error during config check.
Configuration invalid
not a directory @ data['whitelist_external_dirs'][1]

whereas adding
whitelist_external_dirs:
- /share

passes configuration successfully and the folder is available for folder_watcher component.

cc @robmarkcole

I guess this is one for @pvizeli

Same problem here. I'm currently on version 0.94.4.


Interactive Indicator Correlation Section

closes
Prerequisites:

[ ] Unless it is a hotfix it should be merged against the dev branch
[ ] Branch is up-to-date with the branch to be merged with, i.e. dev
[ ] Build is successful
[ ] Code is cleaned up and formatted

Summary

What are the numbers (121) and (120)?  Can we delete this?  This information should be in the chart title.
Chart title should be "X Indicator correlated with Y lagged by Z days"
Y-axis indicator should be the context indicator.

Finally we need a mobile layout strategy:

What are the numbers (121) and (120)?  Can we delete this?  This information should be in the chart title.

Leftover from Sam's template.... shows that the data has already been loaded.

Chart title should be "X Indicator correlated with Y lagged by Z days"

OK.

Y-axis indicator should be the context indicator.

OK.

For the correlation table, I think having the snake plot in there is too small to be helpful.  Sam had the idea that we could show a sparkline of the lag vs. r2 plot there.  Thoughts?

For the correlation table, I think having the snake plot in there is too small to be helpful. Sam had the idea that we could show a sparkline of the lag vs. r2 plot there. Thoughts?

Sure, but a sparkline of lag vs r2 for each indicator pair would definitely require precomputation of all those r^2 values, as far as I know.  I was confused by what was intended for the correlation table, so now I'm not sure I can help much more without the precomputed input data.


TypeError in after_parsing()

File "C:\Python34\lib\site-packages\GoogleScraper\core.py", line 358, in main
    scrape_jobs = parse_all_cached_files(scrape_jobs, session, scraper_search)
  File "C:\Python34\lib\site-packages\GoogleScraper\caching.py", line 413, in pa
rse_all_cached_files
    serp = parse_again(fname, job['search_engine'], job['scrape_method'], job['q
uery'])
  File "C:\Python34\lib\site-packages\GoogleScraper\caching.py", line 443, in pa
rse_again
    query=query
  File "C:\Python34\lib\site-packages\GoogleScraper\parsing.py", line 1004, in p
arse_serp
    parser.parse(html)
  File "C:\Python34\lib\site-packages\GoogleScraper\parsing.py", line 126, in pa
rse
    self.after_parsing()
  File "C:\Python34\lib\site-packages\GoogleScraper\parsing.py", line 439, in af
ter_parsing
    if 'No results found for' in self.html or 'did not match any documents' in s
elf.html:
TypeError: 'str' does not support the buffer interface

Issue can be resolved by making the following changes to line 439 in parsing.py:
# Replaced This Code: if 'No results found for' in self.html or 'did not match any documents' in self.html:
if 'No results found for' in str(self.html) or 'did not match any documents' in str(self.html): # Working Code
                self.no_results = True


Support to auto-build nebula-graph through the configuration file to make the same version.

When we release the nebula-graph, the users can through checkout the tag, then build nebula-graph/nebula-common/nebula-storage/ with the same version.
CMake with the tag is no effect when the common has existed
The repo tag name need to print out

Good point


Badge code value is incorrect

In my project, inkwell, I have this badge: https://tokei.rs/b1/github/TheDan64/inkwell which shows 6.2k LoC. However, if I run tokei(v9.1.0) manually on my code base I see this:
-------------------------------------------------------------------------------
 Language            Files        Lines         Code     Comments       Blanks
-------------------------------------------------------------------------------
 Markdown                3          186          186            0            0
 Rust                   60        21523        11930         6267         3326
 TOML                    2           44           39            0            5
-------------------------------------------------------------------------------
 Total                  65        21753        12155         6267         3331
-------------------------------------------------------------------------------

which is nearly twice the LoC at 12.1k. In fact it (maybe coincidentally) seems to be showing the number of comments? I seem to recall this being correct maybe a few weeks ago.

@TheDan64 Thank you for your issue! There was some bugs in the new release. I have since fix them and the badge should show the correct data.


Support for setting actions permissions for a repository

Currently in action_runners.go, there is support for getting and setting actions permissions on the organization level but not on the repository level.
Endpoints to add:
https://docs.github.com/en/rest/reference/actions#get-github-actions-permissions-for-a-repository
https://docs.github.com/en/rest/reference/actions#set-github-actions-permissions-for-a-repository
Additionally for allowed_actions: selected (not required for myself as I'm only setting enabled: false):
https://docs.github.com/en/rest/reference/actions#get-allowed-actions-for-a-repository
https://docs.github.com/en/rest/reference/actions#set-allowed-actions-for-a-repository
Happy to pick up the first part of this issue and additionally the second later on. If I am missing something, please let me know, but I'm pretty sure there isn't support based on my basic searching of the repo and issues.

Thank you, @cfarrend - it looks like you are right.
Yes, that would be great!  Please check out the CONTRIBUTING.md guide for tips on making PRs for this repo.
You will particularly want to know about go generate ./... and try not to use force-push since we squash as many commits as you have all into one upon merge.

I apologize, @cfarrend , as we normally discuss change-of-ownership for open issues before actually switching owners, and I'm sorry if you have already invested time and effort into this issue.
However, @h2floh has submitted a PR for this open issue.  Once @h2floh signs the CLA, I will switch ownership of this issue from you to @h2floh unless you object (in which case we can discuss the situation).

@gmlewis No issues from my side 🙂

👋  Again my apologies!
@gmlewis, I internally requested that I will be added on our company's contributor list, we have an existing CLA. Should be done within a few days.

:wave: Again my apologies!
@gmlewis, I internally requested that I will be added on our company's contributor list, we have an existing CLA. Should be done within a few days.

No problem, @h2floh - please remind me in a couple days if you see that this hasn't moved forward, and I'll check again.
Thank you!


Techdebt: Ensure we only access endpoint services list after creation

The tests have been failing after #6617:
The Vpc Endpoint Service 'com.amazonaws.us-west-1.config' does not exist
I assume that is because the _collect_default_endpoint_services is called by multiple requests in parallel.

request 1: creates DEFAULT_VPC_ENDPOINT_SERVICES for a single backend
request 2: comes in and sees that DEFAULT_VPC_ENDPOINT_SERVICES is not none, so it returns the half-filled list
request 1: continues filling up the list

I couldn't reproduce this locally of course, that would be too easy. But a lock around the creation of the list would ensure that request 2 only has access to the full list:

request 1: creates DEFAULT_VPC_ENDPOINT_SERVICES for a single backend
request 2: comes in, but has to wait
request 1: continues filling up the list
request 2: now has access to the full list

Closing in favor of #6631


chore: add OpenSSF Scorecard GitHub Action

Summary
This Pull Request adds a new GitHub Actions workflow that runs the OpenSSF Scorecard tool on our repository.
Changes

Added a new workflow file openssf-scorecard.yml in the .github/workflows directory.

Motivation
The OpenSSF Scorecard is an automated security tool that performs a series of checks on our codebase and provides a score based on the results. By adding this workflow, we can automate the process of running the Scorecard tool and publishing the results.
The workflow is triggered on the following events:

On a schedule, every Friday at 21:00 UTC.
When a push is made to the main branch.

PR has a significant change: badge in README was removed. Also, PR lacks description.

Description has been added.
Regarding the badge(s). I have removed OpenSSF Scorecard badge from the README.md because the usefulness of having these badges is highly questionable. Please let me know if you believe it/they should be re-added or placed elsewhere. By the way, we have also received the OpenSSF Best Practices badge. It might be beneficial to add this instead of the Scorecard badge. What are your thoughts on this?
@Alexsandruss @ethanglaser @napetrov @syakov-intel

And here are both badges, just in case:

@homksei, I think OpenSSF Best Practices badge is perfect for README and should be added.

@homksei  @ethanglaser  BLAS CIs failures looks a bit strange - ant thoughts?

@homksei @ethanglaser BLAS CIs failures looks a bit strange - ant thoughts?

It's separate issue out of this PR: https://github.com/oneapi-src/oneDAL/issues/2758


Added release notes for Veracruz 22.04

...also updates README.markdown.

@ShaleXIONG can you approve this and then I'll push the tag?

+1 reached, merging.


added MKNumberBadgeView in Badge category

Project URL

Description

Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[ ] Supports iOS 9 / tvOS 10 or later
[ ] Supports Swift 3
[ ] Has a commit from less than 2 years ago
[ ] Has a clear README in English

          1 Error

:no_entry_sign:
Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

2597
301
http://swiftweekly.github.io/ redirects tohttps://swiftweekly.github.io/

  Generated by :no_entry_sign: Danger

you've added PCLBlurEffectAlert here instead of MKNumberBadgeView
can you do this again?


docs: Set bin_name and disable version option for subcommands

bin_name will be displayed in the SYNOPSIS section, with this, the
generated man pages have correct name and synopsis.
Also, remove .title("bootc") to let the subcommands have their own
titles.
Subcommands don't have their own versions, so disable the "version"
option.
Signed-off-by: Yihuang Yu<EMAIL_ADDRESS>

Well, I don't know if I need to generate those markdown files, but let me generate them for preview.


Merge project with actual angular2 project

I'm submitting a ...
[ ] bug report
[x] feature request
[x] question about the decisions made in the repository

Do you want to request a feature or report a bug?
Feature or Question

What is the current behavior?
Any chance to merge template with actual development? I have angular2 project with some code and no template. It's only a few components and services. I wish to use ng2-admin but i don't know how to merge with my actual code.

Angular version: 2.4.6
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Hi @fromcouch, well, this mostly depends on the type of a project you have, the technology it's based on and set of ng2-admin features you want to merge into it.

Hi,
I have a front development with a login page and two tables showing data. I want to add menu and format tables. I will need continue development because i have more work (edit pages etc..).
I want to import sass and individual components to use in my development. Actually don't need entire page components and demo site.
Any chance to do that?
Thanks,

If your project is based on angular, I guess you can try adding just the single nga-module. But if you don't need the module with all the features, then it's completely manual process and it will take some time I presume.


React native upgrade

Mandatory (RN):

[x] Upgrade react native and required libs
[x] Move manually linked libs to auto-link
[x] Migrate uni modules to expo modules
[x] Remove unwanted packages
[x] Fix rn-secure-storage issues on iOS
[ ] Update unsubscription of listeners
[ ] Update ViewProp usage
[ ] Add missing key prop to all mapped components
[ ] Fix unrelated prop values in primary components
[ ] Verify modal behaviour (multiple modals are generally not supported)

Urgent:

[ ] Use a single global store (redux/realm): Realm and Redux. Move everything that needs to be persisted to Realm
[ ] Remove mob-x (LN): ?
[ ] React Navigation migration

Critical:

[ ] Migrate from class-based components
[ ] Configure linter/prettier
[ ] Create standard components

Following changes have been done in recent release:

React Navigation migration.
Updation of listeners.


[component][improve] create ghost button and adjust outline

seeing our layout we have ghost and outline components. Looks there ate two things to do:

adjust our outline component to have a background color (now, it is behaving as a ghost button)
create the ghost button

defined here
https://juntossomosmais.slack.com/archives/CLP6B13J5/p1722428596080779


Xflow如何使用连接桩的tooltip功能呢？

问题描述
看了很多实例，都是x6的玩法，但是xflow中该怎么对连接桩进行tooltip呢？我找到了连接桩的useGraphEvent('node:port:mouseenter'事件，想配合ReactDOM.render去实现，但是还是不能渲染https://x6.antv.vision/zh/examples/node/tool#port-tooltip
重现链接
https://x6.antv.vision/zh/examples/node/tool#port-tooltip
重现步骤
https://x6.antv.vision/zh/examples/node/tool#port-tooltip
预期行为
xflow中对连接桩的鼠标移入事件进行tooltip
平台

操作系统: [macOS, Windows, Linux, React Native ...]
网页浏览器: [Google Chrome, Safari, Firefox]
XFlow 版本: [1.28.2 ... ]

屏幕截图或视频（可选）
No response
补充说明（可选）
No response

至今未解决哦，官网demo使用tooltip功能也报错。。。

Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the AntV community! 💪💯

not-stale


As a member, I want to read FAQs so that I can get answers to general questions.

Acceptance Criteria:

Click on "Frequently Asked Questions" sends user to external website.
(Link to be provided by issue https://github.com/Kukuza/kukuza-interface/issues/98)

Wireframe:
Design:

@Chegemartinx  please add wireframe, then reassign


How to get the conversation ID?

How do I determine the conversation ID which is needed as command line argument? I don't know if I used the correct one. As an example I wanted to scrape the chat with myself. So I used my own username as conversation ID, right? But I only get this error:
INFO:root:Starting scraping of conversation MyFacebookName
INFO:root:Retrieving messages 0-2000
INFO:root:Retrieved in 0.30s
ERROR:root:Response error. Empty data or payload
ERROR:root:{"__ar":1,"error":1545002,"errorSummary":"Internal Error","errorDescription":"An unexpected problem was encountered.  Please try again late
r.","payload":null,"bootloadable":{},"ixData":{},"lid":"6226723760484112554"}
INFO:root:Retrying in 30 seconds

I used this command to execute scraping:
python.exe ..\conversation-analyzer\src\util\conversationScraper.py --conf ..\conversation-analyzer\config.ini --id MyFacebookName --out ..\scrapedChat
Is something else meant with the conversation ID?

Ok, I found it out by myself. As described, use your favourite developer tool in order to investigate the other parameters which must be entered into the config.ini file. The conversation ID ist the user_ids number which can also be seen in your developer tool.


Match run recent command behavior to reverse-i-search

Fixes #154016
Defaults to contiguous and allows toggling temporarily to fuzzy. I think this is how it will end up being used instead of a fixed setting.

@meganrogge terminal review please
@TylerLeonhardt quick pick review please

I'm not the biggest fan of the button. It feels clunky... but since you don't want a title bar, and we don't have toggles in the input box... I don't know what else to suggest and we should get feedback.

Will get some UX feedback before it goes out 👍

Ran OSS and this is what I saw when I initially ran Run Recent Command

Toggled the button and saw this

looks like contiguous is sometimes including fuzzy results or i'm misunderstanding how it should work
https://user-images.githubusercontent.com/29464607/177666924-4a328803-fb23-4db3-9f59-71be26dfa4c4.mov

@meganrogge looks like the issue there is it's not checking the case correctly, all 3 should show for both search types for a single character

I'll check out what's going on with the sorting tomorrow too

The task output in my first screenshot is puzzling and definitely shouldn't be showing up there. I'll investigate

Created https://github.com/microsoft/vscode/issues/154353 for that

@meganrogge I think it's ready now since it's now case insensitive


Separate "Just My Code" options for stepping and Raised Exceptions (Python)

The option to catch Raised Exceptions is very useful for finding issues in your own codebase.
However, if JustMyCode is set to false for the project because you wish to step into library code, this feature becomes useless because it seems to be common practice to use exception-handling all over the standard Python codebase and imported libs (for example, doing try: v = dict[key] except: vs if dict contains key or dict.get(key)) -- this barrage of exceptions makes it impossible to catch the exceptions that your own codebase may be raising.
The requested feature is to add a new "Raised Exceptions (JustMyCode)" option here:

The current one would be changed to "Raised Exceptions (External Code)" if the behavior is split in two, or would be renamed to "Raised Exceptions (All)" if it keeps its current behavior - if this is checked, then the "JustMyCode" checkbox could be disabled, as it subsumes it.
The other option is to have separate launch.json setting for this behavior. (However, I already toggle this enough that I wish it were presented as a checkbox while the debugger was running as well.)

Please file this on the repo for the Python debug extension


Can not write chore back to TM1 by Chore.from_json

Describe the bug
We would like to update chores from one instance  to another one, but a popup error when Chore.from_json

To Reproduce
Export a chore
    with open(make_path(target_path, chore_name, "json"),
              "w",
              encoding="utf-8") as file:
        body = json.loads(chore.body)
        json.dump(body, file, indent=4)

Write it back, then it will popup an error
    with open(make_path(target_path, chore_name, "json"),
              "r",
              encoding="utf-8") as file:
        chore_json = json.loads(file.read())
        chore = Chore.from_json(json.dumps(chore_json))
        chore.name = chore_name
        tm1.chores.update_or_create(chore)

Version
TM1py 1.11

You'll need to look at your json file. It is missing a key, "Step". You can use a python debugger to step through the code to see why.
Just looking at the ChoreTask class it expects every task to have an integer that specifies the order, called Step.
Chances are your export is not unpacking the the tasks completely
Sent from Workspace ONE Boxer
On Aug 2, 2023 8:11 PM, Ronan @.***> wrote:
Describe the bug
We would like to update chores from one instance to another one, but a popup error when Chore.from_json
[image]https://user-images.githubusercontent.com/65941927/257967092-6b8120aa-155a-4fda-86f9-d4383ae087b0.png
To Reproduce
Export a chore
with open(make_path(target_path, chore_name, "json"),
          "w",
          encoding="utf-8") as file:
    body = json.loads(chore.body)
    json.dump(body, file, indent=4)

Write it back, then it will popup an error
with open(make_path(target_path, chore_name, "json"),
          "r",
          encoding="utf-8") as file:
    chore_json = json.loads(file.read())
    chore = Chore.from_json(json.dumps(chore_json))
    chore.name = chore_name
    tm1.chores.update_or_create(chore)

Version
TM1py 1.11
—
Reply to this email directly, view it on GitHubhttps://github.com/cubewise-code/tm1py/issues/948, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEK7GZTGLD2XBE7IMIPFVU3XTLUBBANCNFSM6AAAAAA3B7NFT4.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi @rclapp ,
Thanks for your suggestion.
I fixed the issue by changing my code as below
def encode(target_path, chore_name, tm1):
    with open(make_path(target_path, chore_name, "json"),
              "r",
              encoding="utf-8") as file:
        chore_json = json.loads(file.read())
        for index, task in enumerate(chore_json.get("Tasks", [])):
            task["Step"] = index
            process_name =<EMAIL_ADDRESS>                                    "").replace("Processes('",
                                                "").replace("')", "")
            task["Process"] = {"Name": process_name}

        chore = Chore.from_json(json.dumps(chore_json))
        chore.name = chore_name
        tm1.chores.update_or_create(chore)

The problem is that TM1 returns a slightly different JSON when you read a chore than the JSON that must be posted when creating a chore.
I think we could make the from_dict function in Chore more robust. It could derive the correct value for the step itself and pass it into the ChoreTask.from_dict function.
I will look into this.

@Cubewise-Ronan
I think I manged to resolve this issue. Please upgrade to the feature branch to test it.
pip uninstall tm1py
pip install https://github.com/cubewise-code/tm1py/archive/refs/heads/feature/make-chore-json-parser-more-robust.zip`

Closed with #950


[proposal] [linux] replace "apt-key" with "gpg"

in ubuntu 21.04
following the installation steps for linux in install-using-apt-get
specifically running the command
sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
outputs
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK

with a quick search  I found this article and this askubuntu answer on the topic
maybe is worth considering switching to gpg

/cc @athomas

Thanks for opening the issue!
These docs were updated last year to the non-deprecated gpg mechanism in https://github.com/dart-lang/site-www/commit/71c6326ad3530cabbf7f90da6a4f9d62d051e228 and https://github.com/dart-lang/site-www/commit/2e06f6a07f43e1875f9819f6c9cc63db91b115f0.


Revert "replace mixpanel => hubs"

Reverts CartoDB/cartodb#3448

retest this please

@recena pull request was merged right away, so I don't know if we are passing the tests, indeed

Frontend tests were OK :+1: (details)


winapi crashes on x86 because of conflicting stack alignment assumptions

Debug builds with new rustc versions add an 8 byte alignment check for every 8 byte read/write. MS however says that 8 byte types need to be 4 byte aligned, so those checks will kill your process if the alignment is not 8 (i.e. in approx. 50% of cases).
An example of crashes in downstream projects is https://github.com/GuillaumeGomez/sysinfo/issues/1001.

This should be fixed by https://github.com/rust-lang/rust/pull/112684.

I'm seeing this with x86_64-pc-windows-gnu cross-compiled on linux
thread 'main' panicked at 'misaligned pointer dereference: address must be a multiple of 0x8 but is 0xc06614', /home/lun/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sysinfo-0.29.4/src/windows/system.rs
:258:34
stack backtrace:
0: rust_begin_unwind
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\std\src\panicking.rs:578:5
1: core::panicking::panic_fmt
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\core\src\panicking.rs:67:14
2: core::panicking::panic_misaligned_pointer_dereference
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\core\src\panicking.rs:174:5
3: <sysinfo::windows::system::System as sysinfo::traits::SystemExt>::refresh_processes_specifics
at /home/lun/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sysinfo-0.29.4/src/windows/system.rs:258:34
4: sysinfo::traits::SystemExt::refresh_processes
at /home/lun/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sysinfo-0.29.4/src/traits.rs:837:9

Maybe we need #align(4) on this struct. Or maybe downstream code https://github.com/GuillaumeGomez/sysinfo/blob/3991a4de8a8c39aafdedd82b9cfd465cc385060e/src/windows/system.rs#L257 should be using read_unaligned

@LunNova which struct are you seeing the issue with?

Are you running the program in Wine?

here's the code: https://docs.rs/sysinfo/0.29.4/x86_64-pc-windows-msvc/src/sysinfo/windows/system.rs.html#258
afaict this is the sysinfo crate's fault since it gets a pointer from Vec<u8> and creates a reference to a not necessarily aligned SYSTEM_PROCESS_INFORMATION inside that Vec<u8> -- this is UB because Vec<u8> only guarantees alignment 1.

afaict if you run this code on an old 32-bit arm windows computer it will crash (old enough that it doesn't support misaligned loads), rustc is just exploiting the UB to make it panic more places.

it also manually offsets by an unknown number of bytes (provided by the win32 function), so, because it's crashing, obviously the number of bytes is not a multiple of the alignment -- UB.

created a bug: https://github.com/GuillaumeGomez/sysinfo/issues/1009
@LunNova if you could add a code example that uses sysinfo and reproduces the bug that would be awesome!

it also manually offsets by an unknown number of bytes (provided by the win32 function), so, because it's crashing, obviously the number of bytes is not a multiple of the alignment -- UB.

It should be for any real Windows system. Windows itself will not misalign structures in these buffers (they add padding). Emulators or security software that shims APIs may not properly align structures but that's a bug in them.

Winehq aligns to a multiple of 8:
https://gitlab.winehq.org/wine/wine/-/blob/cb33d402bb7fc44a51cd96adfbe740d4b2d7a134/dlls/ntdll/unix/system.c#L2511

on x86_64-pc-windows-gnu, ntapi v0.4.1:
std::mem::align_of::<SYSTEM_PROCESS_INFORMATION>() = 8 so winehq should be correct...hmm

wine + debug build of x86_64-pc-windows-gnu +
    let mut sys = sysinfo::System::new();
    sys.refresh_processes();

is enough to replicate it.
Patching sysinfo with this works around it:
diff --git a/src/windows/system.rs b/src/windows/system.rs
index 849d783..b2b4b17 100644
--- a/src/windows/system.rs
+++ b/src/windows/system.rs
@@ -254,7 +254,8 @@ impl SystemExt for System {
                             .as_ptr()
                             .offset(process_information_offset)
                             as *const SYSTEM_PROCESS_INFORMATION;
-                        let pi = &*p;
+                        let pi = std::ptr::read_unaligned(p);
+                        let pi = π

                         process_ids.push(Wrap(p));

@@ -278,7 +279,7 @@ impl SystemExt for System {
                     //       able to run it over `process_information` directly!
                     let processes = into_iter(process_ids)
                         .filter_map(|pi| {
-                            let pi = *pi.0;
+                            let pi = std::ptr::read_unaligned(pi.0);
                             let pid = Pid(pi.UniqueProcessId as _);
                             if let Some(proc_) = (*process_list.0.get()).get_mut(&pid) {
                                 if proc_

Wine reports its version as 8.0-staging and was built from
$ nix eval pkgs#lun.wine.src
{ branch = "Proton8-8"; hash = "12mk91smkjlcr7dfjpkdqkql9r98dpxmsl0gmf08avqwppscxljn"; outPath = "/nix/store/2k8hajyi8rm42w9in10msr5p1pjzb0ks-source";
repository = { owner = "GloriousEggroll"; repo = "proton-wine"; type = "GitHub"; }; revision = "d48c657a1364248c1aaed099e5cbee30c1d8c09e"; type = "Git";
url = "https://github.com/GloriousEggroll/proton-wine/archive/d48c657a1364248c1aaed099e5cbee30c1d8c09e.tar.gz"; }

That is mitigated by the fact the default allocator has a minimum alignment of 16 on x64. So unless a custom allocator is used (that doesn't behave like malloc) then it'll still work in practice.

Such a custom allocator would be totally legitimate though, so there clearly is a bug here (which I see has been reported at https://github.com/GuillaumeGomez/sysinfo/issues/1009, so I think this is resolved).

That is mitigated by the fact the default allocator has a minimum alignment of 16 on x64. So unless a custom allocator is used (that doesn't behave like malloc) then it'll still work in practice.

Such a custom allocator would be totally legitimate though, so there clearly is a bug here (which I see has been reported at https://github.com/GuillaumeGomez/sysinfo/issues/1009, so I think this is resolved).

Of course. My point was only that it's unlikely to be the cause of the error in the OP.