MINOR: Add Dask SQL to list of projects powered by DataFusion

Which issue does this PR close?

N/A
Rationale for this change

What changes are included in this PR?

Add Dask SQL to list of projects powered by DataFusion
Are there any user-facing changes?

No

Codecov Report

Merging #3581 (e787f79) into master (488be64) will decrease coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Current head e787f79 differs from pull request most recent head 0f5ac47. Consider uploading reports for the commit 0f5ac47 to get more accurate results

@@            Coverage Diff             @@
##           master    #3581      +/-   ##
==========================================
- Coverage   86.03%   86.02%   -0.01%
==========================================
  Files         300      300
  Lines       56253    56253
==========================================
- Hits        48395    48394       -1
- Misses       7858     7859       +1

Impacted Files
Coverage Δ

datafusion/common/src/scalar.rs
85.11% <0.00%> (-0.07%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bugfix/update poetry install process

Updated the Poetry install process to utilize the new Poetry installation method

Any objections to me taking this branch and pushing it up to the opsani org to run the test suite? I'm working on a setup to where that won't be necessary but its up to you what we do in the interim.

Don't care. Just do something. This is the correct set of changes for where Poetry is going


Update contracts

Switch to new, updated version of contracts.


Targeted feature detection for GC-MS

Basic information

My operating system and version: Windows 10
My MZmine version: 3.3.0

What happened
Hello everyone. I contact you because of some issues with the processing of Agilent GC-MS data. My goal is to perform targeted feature detection to detect only some compounds from my analysis. I used first a mass detection step (MS1, noise level 2E3) and I want then to use the targeted feature detection. I read somewhere else that this module is not working for GC-MS data. Is this correct ? Why would it be the case ?
For my data, I created a .csv file with an "mz" column, an "rt" column and a "name" column. I typically listed integer m/z values (top scan of my target compound), with a retention time (two digits). My list contains typically 5-6 rows. After applying this targeted feature detection, some compounds are not detected while clearly present, whereas other compounds are detected even if far from the expected values (typically 5 m/z tolerance, and peak is taken even with >10 m/z difference).
The problem of undetected peak seems to be especially present for close peaks that share similar MS spectra. When the top-scan m/z was the same, I tried to choose the 2nd m/z but still the problem remains.
Do other people have similar issues, even with LC-MS ?
Thanks in advance for your help,
Robin

Please try it with the newest MZmine version and tell us if the issue persists.


Invalid account name and room id issue

If i give invalid account name and room id, then it throws following error
    var instance = new Campfire({
        token: body.campFireApiToken,
        account: body.campFireAccountName
    });

    instance.join(body.campFireRoomId, function(error, room) {

        if (error || !room) {
            return callback(error || new Error('Invalid credentials.'))
        }

        room.speak(message, callback);
    });

TypeError: Cannot read property 'id' of undefined
    at new Room (/Users/me/server/node_modules/campfire/lib/campfire/room.js:4:30)
    at null.<anonymous> (/Users/me/server/node_modules/campfire/lib/campfire.js:74:18)
    at IncomingMessage.<anonymous> (/Users/me/server/node_modules/campfire/lib/campfire.js:145:18)
    at IncomingMessage.emit (events.js:117:20)
    at _stream_readable.js:943:16
    at process._tickCallback (node.js:419:13)

I could not handle this error. Can you please notify error in callback.

Released the fix in version 0.2.1.

Thanks for the quick fix.

@tristandunn It does not work. you miss the bracket  in new Error
 if (error || response.room === undefined) {
   return callback(error || new Error("Invalid account or room.");
 }

It should be
 if (error || (response && !response.room)) {
   return callback(error || new Error("Invalid account or room."));
 }

That's what I get for adding a message to the error after testing it. Pushed a corrected version as 0.2.2.


[bug] Tauri 2.0 window.url() in on_webview_ready returns an empty URL on Windows

Describe the bug
I have a small plugin that navigates to a certain URL hash based on some configuration saved by the user, the plugin roughly look like the following:
/**
 * Set the default view on application load based on user preference
 */
pub fn init<R: Runtime>() -> TauriPlugin<R> {
    Builder::<R>::new("default-view")
        .invoke_handler(tauri::generate_handler![set])
        .on_webview_ready(|mut window| {
            if window.label().eq("main") {
                let config_manager = window.state::<ConfigManager>();
                let mut url = window.url();
                let default_view = config_manager.get().default_view;

                let fragment = match default_view {
                    DefaultView::Library => "/library",
                    DefaultView::Playlists => "/playlists",
                };

                info!("Navigating to '{}'", fragment);
                url.set_fragment(Some(fragment));
                window.navigate(url);
            }
        })
        .build()
}

on macOS, the correct view gets loaded. On Windows, a blank page is displayed when starting the app (I did not test on Linux).

Commenting out this plugin loads the window correctly on Windows.
Calling window.location = "http://localhost:1420" from the webview console loads the app correctly

Digging a bit, and logging the url variable, it appears empty:
[2024-02-28][23:40:06][INFO][museeks::plugins::default_view] 'HERE Url { scheme: "about", cannot_be_a_base: true, username: "", password: None, host: None, port: None, path: "blank", query: None, fragment: None }

So when I mutate it, it of course loads nothing.
Reproduction
cf. code above.
Expected behavior
No response
Full tauri info output
PS C:\Users\pierre\Documents\GitHub\museeks> yarn tauri info
yarn run v1.22.19
$ tauri info

[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 122.0.2365.52
    ✔ MSVC:
        - Visual Studio Build Tools 2019
        - Visual Studio Build Tools 2022
    ✔ rustc: 1.76.0 (07dca489a 2024-02-04)
    ✔ cargo: 1.76.0 (c84b36747 2024-01-18)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.11.1
    - yarn: 1.22.19
    - npm: 10.2.4

[-] Packages
    - tauri [RUST]: 2.0.0-beta.7
    - tauri-build [RUST]: 2.0.0-beta.5
    - wry [RUST]: 0.37.0
    - tao [RUST]: 0.26.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.3
    - @tauri-apps/cli [NPM]: 2.0.0-beta.4

[-] App
    - build-type: bundle
    - CSP: default-src 'none'; img-src 'self' data:; media-src 'self' asset: https://asset.localhost http://asset.localhost; child-src 'self'; object-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; connect-src ipc: http://ipc.localhost 'self' https://api.github.com; font-src 'self' data:
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
Done in 7.99s.

### Stack trace

_No response_

### Additional context

_No response_

It would seem the URL is not actually empty, but definitely wrong, here's a debug of window.url()
[2024-03-31][14:54:33][INFO][...] Url {
    scheme: "about",
    cannot_be_a_base: true,
    username: "",
    password: None,
    host: None,
    port: None,
    path: "blank",
    query: None,
    fragment: None,
}

For people looking for a workaround, I ended up using on_page_load instead
pub fn init<R: Runtime>() -> TauriPlugin<R> {
    Builder::<R>::new("default-view")
        .invoke_handler(tauri::generate_handler![set])
        .on_page_load(|webview, payload| {
            if webview.label().eq("main") && payload.event() == PageLoadEvent::Finished {
                let config_manager = webview.state::<ConfigManager>();
                let mut url = payload.url().clone();
                let default_view = config_manager.get().default_view;

                let fragment = match default_view {
                    DefaultView::Library => "/library",
                    DefaultView::Playlists => "/playlists",
                };

                info!("Navigating to '{}'", fragment);
                url.set_fragment(Some(fragment));

                // For some reasons, it does not seem possible to navigate directly
                // from the webview argument, as we cannot make it &mut
                webview
                    .app_handle()
                    .get_webview_window("main")
                    .unwrap()
                    .navigate(url)
            }
        })
        .build()
}

Yup, on_webview_ready simply triggers too early. It triggers when the webview was started/registered, not when it navigated to the app's "website". Afaik webview2 has no config for an actual init page so it always starts on about:blank before we can navigate to the actual url.
Maybe it makes sense to remove on_webview_ready in its current state completely and also use navigation based hooks like we do outside of plugins (on the app and windows)...


docs: Update .html links pointing to "Upgrade Zulip" or "Modify Zulip".

Follow up to #24089.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Links.

@zulipbot add "integration review"

The failing test is due to links that are pointing to the pages that don't exist in https://zulip.readthedocs.io/en/stable/production/ yet, so the test should pass after #24207 is merged.
@timabbott We should probably also backport this PR to the 6.x branch?

This should pass if rebased I think?

This should pass if rebased I think?

Hm, already rebased, but says Everything is up-to-date; and looks like https://zulip.readthedocs.io/en/stable/production/upgrade-or-modify.html is still there in stable.

It appears the 6.x branch doesn't actually update ReadTheDocs until we do a release. Let me post about this in #documentation.
https://docs.readthedocs.io/en/stable/versions.html#versioned-documentation

Started https://chat.zulip.org/#narrow/stream/19-documentation/topic/readthedocs.20builds.20for.206.2Ex/near/1500236.

Probably the near-term solution for this is to just merge after we release 6.2.

@timabbott I rebased and updated the PR.

Great, merged, thanks @drrosa!

Backported to 7.x as 1ae5194619caa9993c5c6a553d015eb624453142.


update=true grows the box from 409Mb to 630Mb

I made an Ubuntu 16.04.1 box: it was 409Mb.  Then I tried setting "update":"true", and the resulting box was 630Mb.  That seems like a very large difference for just updating the packages that are already installed.  Does this seem right?  Is there something more that can be cleaned up to bring the size back down?

I did some more investigating, and a large part of the difference is having two kernels (the original and the updated):
/boot is 53Mb in the original, 101Mb updated.
/usr/src is 120Mb vs. 240Mb.
The usual advice seems to be to keep an old kernel around in case you need it.  But with update=false, we only have one kernel version, so how bad would it be to only have one after update=true?

This seems like a good way to get rid of all but the most recent kernel:
sudo purge-old-kernels --keep 1

Though it doesn't get all of the /usr/src bits.

There's still a bit of a difference in box sizes (about 30-50Mb), but I don't understand why.  Maybe this is as good as it gets :)

👍 for fixing the removal of old kernel packages
Relatedly: PR #104 which updates to the most recent 16.04.2 iso image


Correction for raw affiliation Department of Medical Biophysics, Schulich School of Medicine and Dentistry, Western University

Correction needed for raw affiliation Department of Medical Biophysics, Schulich School of Medicine and Dentistry, Western University
raw_affiliation_name: Department of Medical Biophysics, Schulich School of Medicine and Dentistry, Western University
new_rors: 02grkyz14
previous_rors: 02agqkc58
works_examples: W4389726444;W4380272571;W4389296200
contact: c708da50b0d70767cd2dae5f2a253818:5dba9b8fd54d0e71 @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


[Feature Request]: Margin issue for sections below hero image

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I have found that there is no margin given in left and right side of sections below hero image. This margin issue is existed in both desktop view and mobile view.
Use Case
By doing this feature improvement, it is enhance the user readability and  make them to focus on content of section more clear.
Benefits
advantages:
1)enhance user experience.
2)Increase the user engagement in the website.
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Trisha-tech Please assign me for this issue.

@niteshkr100 combine some more existing issues along with this and pitch the issue again for getting it assigned to you.

I have raise all the feature improvement issue please assign me the task in new raise issue ticket.


Correct the ObfuscationResult type

Correct the ObfuscationResult type such that it extends the IObfuscatedCode interface, rather than the non-existent IObfuscationResult type
Context can be found at: https://github.com/javascript-obfuscator/javascript-obfuscator/issues/303

I'm not entirely sure why it included files from the dist directory - I specifically didn't commit these. Is there a commit hook that includes them?

Coverage increased (+0.02%) to 98.035% when pulling 1d27b2dc57b29a27f942506b37195945ac3fdbc2 on tyronedougherty:master into 348cd784437190d1505cf759d033e3117448edfc on javascript-obfuscator:master.

Coverage increased (+0.02%) to 98.035% when pulling 1d27b2dc57b29a27f942506b37195945ac3fdbc2 on tyronedougherty:master into 348cd784437190d1505cf759d033e3117448edfc on javascript-obfuscator:master.


Manitoba highway shields

Similar to Alberta:

Trans-Canada Highway routes (Highways 1 and 16, network=CA:transcanada): Maple leaf (PR at #226)
Provincial trunk highways (numbers 1-199, save Highways 1 and 16, network=CA:MB:PTH): squared-off shield (see also #218)
Provincial roads (numbers 200-632, network=CA:MB:PR): oblong.
Winnipeg city routes (network=CA:MB:Winnipeg): trapezoid (see example: Route 105 shield)

Similar with Alberta (see #218), the regular Manitoba provincial highway marker contains the shield within a rectangle with the provincial wordmark on top (see this shield for Highway 10), but the shield itself only (also used in interchange guide signs) has been preferred for simplicity, and also in line with practice by most commercial road maps (GMaps, most print maps). The official Manitoba highway map (see https://www.gov.mb.ca/mit/map/pdf/mapside.pdf ) also does the same, but uses a maple leaf completely filled with green for TCH routes.

@1ec5 It's been a week now. Have a PR made for this.

Sorry, I’ve been busy, but you’re welcome to take a look at CONTRIBUTING.md and contribute these shields, as many others have done. This is a volunteer project after all. 🙂


Add ability to mark chats as unread from chat list in material theme

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @jojejo in #android-bugs.

@jjoelj has said he will pick this up


build: update compatibility of third-party packages

PR descriptionf
optimize compatibility of third-party packages.
Problem description
My project uses poetry as a package management tool, which locks all versions of third-party libraries when running poetry lock. Lock requirements.txt third-party packages version will make users using Poetry very unfriendly, and fixing a certain version can easily lead to version conflicts with third-party libraries that developers are currently using.
The dependencies I have modified are all non breaking versions.

Subsequent operations
It is highly recommended to release a new pypi version after this PR to improve the compatibility of third-party libraries.

@assafelovic Can you review it?

@Undertone0809 I've removed strict versions completely with latest version so it should work better now.


isVoiceInteraction() is always false in voice-interaction-end

When launching the Voice Camera app with the Google App via voice, isVoiceInteraction() on line 41 in the TakePictureActivity always returns false. Not sure if this is an implementation error or just an issue with Android 6.0 preview 3.

Any ideas for resolving. I have the same problem.

I am too facing same problem. If anybody has found any solution please share.


Enhance Auto Completion with Contains-Matching

Dbeaver's auto-completion is very good at listing matches that begin the same way as what has been typed.
However, it would be very useful if it could also match all table-names/field-names that contain what has been typed.
If implemented, I'd still prefer that begin-matches precede contains-matches in the match-listing.
As is, when I'm having difficulty finding a field-name (because I don't know exactly how the field-name begins), I end up having to open a new tab via Dbeaver's "table > edit" feature which offers a contains-search via ctrl-F.
If Dbeaver's auto-completion were enhanced (as proposed above), I'd never have to leave the current tab (I'm working in) to quickly achieve the same goal (of finding field-names for which I only remember an internal segment of their full name).

Agreed, this would be a handy improvement.

I enabled "Search inside names" in DBeaver 5.0.4, but I cannot detect any difference in auto-completion behavior. Here's a video.

Ok, I just tried this again and I noticed something. If you type slowly, it does indeed find inside-string-matches. However, if you type fast it does not.
Actually, after making this video, I see that it does not have to do with the speed I type. Instead, it just seems to alternate between working and not-working each try.

Umm. It works but only if you press ctrl+space.
Need to add this to auto-proposals too.

Yep.
This is because of Eclipse completions caching. There is a bug in already found completions filtering.
Just committed the fix. Thanks for details.

You could check the fix in EA version

In the EA version, I confirm that inside-search is working on each try.
FYI, there is still some reminisce of that caching issue you mentioned on alternating tries in regards to whether keywords are included or not.

I've been loving this feature today!
You know, this is so good, I can't imagine anyone not preferring it as default behavior. I certainly recommend it as the default option; I think people will love it.


drivers: ieee802154_nrf5: Removed csl placeholder window

After introducing new CSL phase calculation method it was used in ieee802154_nrf5.c and the placeholder windows could be deleted.

This needs changes in hal_nordic (with implementation of nrf_802154_csl_writer_anchor_time_set) before it can be merged. It's now in a PoC state, the PR was created so that it is possible to review it.

Also, please remember to sign-off the commit - otherwise compliance check is unhappy.

Superseded by https://github.com/zephyrproject-rtos/zephyr/pull/52192


fixed layer dimensions when not given explicitly

PR Checklist
If you are contributing to Javis.jl, please make sure you are able to check off each item on this list:

[x] Did I update CHANGELOG.md with whatever changes/features I added with this PR?
[x] Did I make sure to only change the part of the file where I introduced a new change/feature?
[x] Did I cover all corner cases to be close to 100% test coverage (if applicable)?
[x] Did I properly add Javis dependencies to the Project.toml + set an upper bound of the dependency (if applicable)?
[x] Did I properly add test dependencies to the test directory (if applicable)?
[x] Did I check relevant tutorials that may be affected by changes in this PR?
[x] Did I clearly articulate why this PR was made the way it was and how it was made?

How did you address these issues with this PR? What methods did you use?
The @JLayer macro was not working when a video wasn't evaluated before the macro as the CURRENT_VIDEO needed to exist to make it work when the user didn't specify the dimensions of @JLayer.
Now it is decided at runtime which fixes that issue.
Additionally I've created a preprocess_frames! function which takes in the video instead of objects and calls it with objects and layers. I've also restructured the testcase for layers as with #338 the CURRENT_VIDEO will be reset after a render and one shouldn't specify a Video outside of a testset.
Do you mind reviewing this pr @Sov-trotter ?
Additionally a comment to this line @test_throws ErrorException Javis.get_layer_frame(vid, l5, 6) in the tests would be great as I don't understand why it should/does fail :smile:

I think rest of the changes are good! Happy to have them merged.


Update rubocop config to use rspec cops

Branched from: https://github.com/Energy-Sparks/energy-sparks/pull/3148/files - which will need reviewing / merging first
First pass. A few things disabled but it doesn't break anything!

If you merge down the other branch I'll review this, its a bit difficult to identify the changes.


JSX code in "Find references" feature is not visible

I tried to search for an existing issue, but didn't find anything.
A screenshot should make it obvious:

The last two lines in actuality are ReactDOM.render(<ScrollContainer ...> and </ScrollContainer>, container) so this seems to be a JSX issue. I'm using the latest version of atom-typescript 8.9.1 with Atom 1.7.3.
Any pointers for this one?

Any pointers for this one?

I've known this for a while but was lazy to fix it as no one reported. Fixed it now https://github.com/TypeStrong/atom-typescript/commit/457f2fbf078c7bd0763952dd0e31dfa812798172
Released : https://github.com/TypeStrong/atom-typescript/releases/tag/v8.10.1 :rose:


Bug/71 clean installation

With these updates it is now possible to register the necessary routes to communicate with controllers and api's of the application.
An additional test optimizely cms 12 solution was added so that I could test the project in a clean installation.
This was also add to the solution to make testing a little bit easier.
Updated the readme to reflect the changes also.

@paulmcgann I think you meant to target the develop branch with this PR as this is adding a lot of noise to your changes.

I've done some testing of the changes and I know what you were missing from your new solution so no changes were needed:

There is also an additional build issue to resolve because the GitHub actions is currently executing with .NET 6.0 and the new project that was added to the robots solution is running .NET 8.0

May have to consider whether we keep the service extension but add ReadMe notes about combinations of MapControllers and the new extension method:

Potentially making this a v3 with breaking changes for best practices of controller mappings.


Nightly builds?

Any thoughts on setting up nightly or automated builds?  This would make it easier to test the latest code base

Done but they're private for commercial supporters.


Improve assign_FEMM_surface for HoleMagnet

There are two things to improve in assign_FEMM_surface regarding the HoleMagnet:

For now the magnet are always set according to hole[0] but in the case of several holes it would require to read the label to select hole[ii]. The convention could be that in build_geometry of LamHole we update the hole label to have RX with X the position of the hole in the hole list of the lamination.
We need to add a method comp_angle_magnetization to compute the angle of the magnet for parallel magnetization. It would take as argument a bool is_north and return a tuple corresponding to the magnetization of each magnet (None if the magnet is not there).

For the second point: is it necessary to add an option to define your own magnetization angle?

Hello,
Regarding the second point the idea is to find a convenient way to get the correct angle for parallel magnetization because it depend on the Hole orientation/geometry. For instance for Hole 50:

it would be the angle to have the magnetization like the H2 arrows. We already compute that in Functions/FEMM/assign_FEMM_surface (line 63 to 92). The idea is to provide a method in the HoleMX classes to get directly the correct angles to replace the:
if type(lam.hole[0]) == HoleM50 .... if type(lam.hole[0]) == HoleM51 ....
by something like:
angle_list = lam.hole[0].comp_angle_magnetization()
Which is more coherent with the object oriented approach and easier to adapt when len(lam.hole)>1.
So for parallel magnetization there is no need to add a new parameter (otherwise the user will have to define this value to set the correct magnetization). However, once we have the comp_angle_magnetization method, it could be interesting to add a parameter in the Magnet object to enforce the returned values. That way it would be possible to enforce easily the magnetization of any magnet in any direction for research purpose.
Best regards,
Pierre

As a side note, I'm only referring to parallel magnetization. So maybe the method name should be comp_angle_parallel_mag(is_north=True).
For now we only have parallel and polar magnetization but there will be some other type and it would also be interesting to adapt assign_FEMM_surface to avoid the
if "Parallel" in label
...
if "Radial" in label
...

Hello all,
I'm digging the issue up because now the fix (if type(hole) is HoleM50) can't work any more. We use now HoleUD that have a dict of magnets defined as SurfLine objects. This new kind of Hole is very handy when importing a topology from a DXF (cf webinar 6th November 2020). So for these kind of slot we can either add a meta-data to indicate the axis (I prefer we don't but it can be a quick fix by waiting). Either we need to find a clever way of finding the orientation of any surface. Maybe we can start by assuming that all magnets are "mostly rectangular" and if not use the user-defined value.
So maybe we can introduce comp_angle_parallel_mag(magnet_id, is_north=True) as a method of Hole. For HoleMX, we can define it to compute the proper value for each Hole. Then for HoleUD we can add a property magnetization_dict to store the proper angle for each magnet.
Does any one knows how we could compute/define this angle for any surface ?
Best regards,
Pierre

Hello all,
To solve this issue here is my proposal: in build_geometry of Hole daughters for the magnet / active surface, we add a label "bottom_line". Then we add a method in Hole get_magnetization_dict(is_north=True) that would return a dictionary ["magnet_X"] = alpha (rad). This method would call build_geometry, then for all active surfaces get the bottom line, get the middle of the line and find the direction of the normal (by looking for the ref point).
If latter we have issue with particular shapes, get_magentization_dict can either be defined in the corresponding Hole daughter or a property magnetization_dict can be directly added.
Finally, for HoleUD one will have to provide the bottom line. In particular we will have to adapt the DXF_Hole GUI to select this line.
What do you think about this solution ?
Best regards,
Pierre

Hello all,
I will now focus on this feature to be able to import a HoleUD from DXF and simulate it in FEMM. At the end, I won't use a label for the lines but directly the method get_magnetization_dict(is_north=True) that would return a dictionary ["magnet_X"] = alpha (rad) and a "magnetization_dict_enforced" property for Hole. Then the labels can be used for something else (like Elmer) and we have the possibility to enforce the magnetization_dict for all Hole (to study mismatching magnetization direction for instance). In the get_magnetization_dict of the HoleMX I will check that magnetization_dict_enforced is not None and compute it. For Hole without magnet the dictionary will just be empty.
I will also take the opportunity to introduce a new method for Li+ne comp_normal(return_type=0) that would return

return_type = 0: (Zbegin+Zend)/2 (even for arc) and the normal point "on top" (begin=O and end on Ox)
return_type = 1: Z2 - Z1 (with Z1 and Z2 the points from return_type 0)
return_type = 2: the angle of the vector of return_type 1 according to Ox

I may also add an arrow on the corresponding plot so I can check the computed angle (with an option to active/deactivate it)
Best regards,
Pierre

This issue was solved in PR #323. Now we use the result from comp_magnetization_dict and the surface label to know which direction to use for each magnet.


Fix mac build

Mac build workflow is failing

This PR fixes it: https://github.com/NeurodataWithoutBorders/nwb-guide/actions/workflows/build_and_deploy_mac.yml


Issue with NfcManager.requestTechnology(NfcTech.Ndef) and Expo

Hi @whitedogg13. I purchased your course yesterday and I am able to follow everything step for step until I reach the following line
await NfcManager.requestTechnology(NfcTech.Ndef)

which throws this error:
at http://<IP_ADDRESS>:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:545956:321 in _createSuperInternal at http://<IP_ADDRESS>:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:545967:25 in NfcErrorBase at http://<IP_ADDRESS>:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:545956:321 in _createSuperInternal at http://<IP_ADDRESS>:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:545997:26 in SecurityViolation at node_modules/react-native-nfc-manager/src/NfcError.js:103:15 in buildNfcExceptionIOS at http://<IP_ADDRESS>:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:546461:38 in handleNativeException$
I am however able to get a read using
NfcManager.setEventListener(NfcEvents.DiscoverTag, (tag: any) => {
    ...
})

However, the eventlistener approach above only allows for reading and not writing. What is causing this issue with the requestTechnology method above?
For context, I am using Expo with the Development Client build with react-native-nfc-manager as a plugin.

Hi @TheKeenestKeen thanks for supporting!
The error you mentioned is an exception from iOS: tagResponseError (which means the actuall error happens in the NFC tag itself, but reported by iOS), and I think using Expo should be just fine.
Please check:

what tag do you use?
has the tag been formatted to NDEF yet?

BTW, the course has its own discord channel nfcs-with-react-native (in newline's discord server), or you're also welcome to send me DM via Twitter, mine handle is @richie13tw, I will be both places to help!

Hi @whitedogg13 glad to support!
I can write into the tag successfully using your NFC App on the Appstore. For instance, this is text payload I just wrote: "hello there world".
This is the response object I got  using event listener approach from my App:
 Tag found, Object {   "ndefMessage": Array [     Object {       "id": Array [],       "payload": Array [         2,         101,         110,         104,         101,         108,         108,         111,         32,         116,         104,         101,         114,         101,         32,         119,         111,         114,         108,         100,       ],       "tnf": 1,       "type": Array [         84,       ],     },   ], }
However, even with this correctly formatted NDEF, the
await NfcManager.requestTechnology(NfcTech.Ndef)

approach still shows the exception detailed in my first post.
As for the tag I am using, here is some info:
ST25TA512B,  ST25TA02KB ST25TA02KB‑D,  ST25TA02KB‑P Datasheet

NFC Forum Type 4 Tag IC with up to 2-Kbit EEPROM
ISO/IEC 14443 Type A
Support NDEF data structure

Hi @TheKeenestKeen you're using the NFC type 4 tags.
NFC type 4 (IsoDep) tags have different behavior from tag 2 (NfcA) tags, which are used in our course as demo.
In order to enable NDEF support for type 4 tags, you will have extra setup to do. You will need to update Info.plist with com.apple.developer.nfc.readersession.iso7816.select-identifiers:
        <key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
	<array>
		<string>D2760000850100</string>
		<string>D2760000850101</string>
	</array>

The full example can be found in our open source app here, then it should work!

Thanks so much @whitedogg13. That did the trick. Thanks for bearing through with my confusion. And thanks for creating react-native-nfc-manager.

@TheKeenestKeen how do you solve this? was the TAG?


Svelte Documentation are Added Under Official Docs  ✨

svelte Documentation are Added in Official Docs in Resources

Fixes Issue
Closes  #1240

Changes proposed

Official Documentation for svelte is added under Offical Docs Section
Screenshots

Note to reviewers

Hey @rupali-codes  Please Review the Pr :)


feat: define custom promisify implementations

This defines properties on each of the exported asynchronous functions which allow them to work with Node's promisify.
The existing callbacks were incompatible by default, because they:

are not given as the last arguments of those functions
do not accept optional "error" as their first arguments

In other words, they are not "Node-style" callbacks.
This implementation chooses to reject promises rather than returning undefined on those errors as the callbacks do: presumably the undefined value is used simply because the existing callback format forgot to allow for an error parameter.
This defines both the modern promisify.custom symbol and the "old" __promisify__ property, since the former isn't actually describable in TypeScript definitions yet, and the latter is still used in Node's definition files (e.g. for child_process functions). See:

https://github.com/microsoft/TypeScript/issues/36813
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/42154

Example usage:
import { promisify } from 'util';
import * as winProcTree from 'windows-process-tree';

const getProcessTree = promisify(winProcTree.getProcessTree);

async function doThings() {
  const myProcesses = await getProcessTree(process.pid);
  // etc.
}

@microsoft-github-policy-service agree


i want to build contact page, our team page, follow us page ,overall i re-design  these pages.

Is your feature request related to a problem? Please describe.
on this website there is no any kinds of contact page ,team details page, follow us pages

Describe the solution you'd like
i want to create these pages with good ui for user experience.
Describe alternatives you've considered
button animation for attractive user experience all across pages
Additional context
Add any other context or screenshots about the feature request here.

Hi, I would love to work on this issue as a GSSOC'24 contributor! Could you please assign it to me? #21


THRIFT-4395: fix rust build on xenial

This will cause all CI builds to fail until resolved.

Well thank goodness for CI builds, I forgot to update the tutorial package file!


lyxal: Watch docktailbar.com

lyxal requests the watch of the watch_keyword docktailbar\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

docktailbar\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Nick in Charcoal HQ


Semantic versioning

Code should support semantic versioning based on conventional commits to simplify the release cycle.

Hey Adam, I have built this project out with poetry, which implemented a semantic versioning scheme to the project. I'm currently working on #16 and this request will be the foundation of our versioning for PyPi

Semantic versioning has been enforced through Poetry, closing out this alongside #16


Is there any update release?

The current cf-abacus release v0.0.5
I wonder when it is next release come out?

We are preparing 0.0.6 release.

Can you share me of cf-abacus 0.0.6 release feature?

@mjsjinsu it's pretty large. See DRAFT release of Euro

@maximilien Thank you I find docs


add documentation and remove useless header import

Current coverage is 23.09%

Merging #9 into develop will not affect coverage as of b1c97fd

@@            develop      #9   diff @@
=======================================
  Files            12      12
  Stmts           368     368
  Branches          0       0
  Methods
=======================================
  Hit              85      85
  Partial           0       0
  Missed          283     283

Review entire Coverage Diff as of b1c97fd

Powered by Codecov. Updated on successful CI builds.


#667 Added Billionares Statistics Analysis Model

🛠 Related Issue

Closes #667

📝 Description

[Provide a concise description of the changes. Include the purpose and any relevant context or details.]
This project was about analysing different parameters of relation to billionares. I was able to make conclusions related to the gender, demographics, age etc of the billionaires.
WHAT I HAD DONE

First I uploaded the dataset as a pandas dataframe and listed the top few rows to get an overview of the data. This overview was extended to getting to know about all the different paramters as well shape of the dataset.

The second thing was data preprocessing, I made suitable fixes for missing values and unwanted parameters like for example the birth day, date, month and year. There were no duplicate values in the dataset.

Then I started with some descriptive statistics like maximum, minimum, mean etc for numerical data and most frequent category, maximum count etc for categorical data.

Next, I visualized the data using specific graphs that I felt could be analysed easily. For example using box plots to spot outliers. I listed down my conclusions for each of these graphs.

🔍 Type of PR

[ ] 🐛 Bug fix
[ ] ✨ Feature enhancement
[ ] 📚 Documentation update
[ ] 🛑 Other (specify): _______________

📸 Screenshots / 🎥 Videos (if applicable)

[Attach screenshots or videos]
✅ Checklist

[X ] I have performed a self-review of my code.
[ X] I have read and followed the Contribution Guidelines.
[X ] I have tested the changes thoroughly before submitting this pull request.
[X ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

ℹ Additional Context

[Include any additional context or information that might assist reviewers in understanding the changes]

@Akshat111111  If there are no changes to be made in this, can you merge this before 31 July please?

@Akshat111111  can you please merge this as tomorrow is the last day of gssoc


test(concatAll): add test against breaking unsubscription chain

Relates to #875.

Merged with 9e56ae8

This was duplicate work.


 inside a node text

Check my fiddle: https://jsfiddle.net/kedfh74x/2/
Is there a way to have a working <select> inside my Tree?
I have a list (ul li) with some options.
I need to link a node from this list in the same level on a existing tree node with a <select> with all previous options linked in this node.
The main idea is to have N options in the same node.
Thanks!

The only way to achieve this would be by creating a plugin and carefully binding and unbinding the default click events. I am afraid I can't help you with this.

@vakata How can I bind/unbind the default click events? I'm trying to figure out why click is "disabled" on nodes. Thanks in advance!

Take a look at the code - it uses jQuery .on() but on the tree container (event delegation). If you want to provide your own event handlers - use .off, all jstree events are in the .jstree "namespace" so you can easily unbind: $('#tree').off('click.jstree').
As for why - well, jstree's nodes are anchor elements, if the click is not handled it will cause a navigation.

Just for information...
I've solved using selectpicker. It works 'cause this plugin creates a new dropdown menu div outside the tree.
https://github.com/silviomoreto/bootstrap-select


Option to build images for rpis without eth0

Hello.
This line seems to rely on the fact that the eth0 exists:
  echo "sed \"s/raspberrypi/\$( sed 's/://g' /sys/class/net/eth0/address )/g\" -i /etc/hostname /etc/hosts" >> "${sdcard_mount}/firstboot.sh"

But there are some models, like the rpizeroW that only have wlan. It will be cool if we can pass a variable or prompt a yes/no question abut using eth0 or the wireless interface, or maybe provide a custom algorithm to generate.
Thanks

Good point. I need to think about that.

Thanks! I'll keep an eye on it

Finally got to fix this. Sorry it took so long.
I moved it to firstboot.sh, based on the interfaces that are UP at a given time. It will use wired first before wifi. If there is none the name will not be changed.


Migrate Docerina maven plugin to gradle

Purpose
Migrate Docerina maven plugin to gradle

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@801d78b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #14319   +/-   ##
=========================================
  Coverage          ?    64.8%
  Complexity        ?      425
=========================================
  Files             ?     2182
  Lines             ?    96326
  Branches          ?    12861
=========================================
  Hits              ?    62428
  Misses            ?    28862
  Partials          ?     5036

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 801d78b...98e954d. Read the comment docs.


ciscobinary.openh264.org - Unable to connect

I have noticed the other issue with the certificate (see other descriptions), but now there is no connection possible at all. With firefox on 'https' it's "unable to connect", with chrome on 'http' (accepting the warning)  it's "The resource could not be found." Also my Suse Linux cannot update anymore (see png), but I don't know if it's a Suse issue (http://codecs.opensuse.org/openh264/openSUSE_Leap/x86_64/) or a ciscobinary.openh264.org issue...

Sorry. It's a Suse issue...


mitmproxy with separated thread

Is there a way to use import threading?.
I've looked for examples, but can't find any.
from mitmproxy import proxy, options
from mitmproxy.tools.dump import DumpMaster

def start():
    opts = options.Options(listen_host='<IP_ADDRESS>', listen_port=8080)
    pconf = proxy.config.ProxyConfig(opts)
    m = DumpMaster(opts)
    m.server = proxy.server.ProxyServer(pconf)
    try:
        m.run()
    except KeyboardInterrupt:
        m.shutdown()
print('hi!')
start()
print('i love mitmproxy')

Hey,
This is somewhat similar to what you are trying to achieve:
https://discourse.mitmproxy.org/t/solved-mitmproxy-in-separated-python-thread/1050
Hope it helps !

Thanks @techathena!


Allow disabling the Sidecar health check.

When the container is labelled as SidecarDiscover: false there is no need for checking the status in Sidecar, this change also allows us to run tasks no integrated with Sidecar.

Looks solid except for minor nits above.


How can I remove default single line spacing between two paragraph?

On pressing Enter I am observing one line space between two paragraph. Please help me to remove it.

Have you found something about this? i am facing same.

To change line spacing override this style

To change line spacing between two paragraph - remove padding in addEditableStyling method in com.github.irshulx.Components.InputExtensions class.


Broken ASCII Logos

Describe the bug
Endeavor OS ASCII logo has some weird gap going on between logo and text.
To Reproduce
Steps to reproduce the behavior:

fetch -A 'Endeavor'
See error

Expected behavior
Correct gap between logo and text all the way down.
Screenshots

Same issue with Mageia.

Same issue with OS Elbrus. I'm wondering if this a character issue on CMDer and I need to test this on my laptop in Fedora.

100% seems an issue with my terminal at this point. Trisquel.


Fix typo

I've spent probably an hour wondering why this example doesn't work, and finally I saw that fields should be field without the s.

thanks ;)


Diagram deployment uses the same BrowserWindow of local nodejs Modeler application

Describe the Bug
When uploading diagrams to a remote Camunda, it's used the same BrowserWindow of local nodejs application.
This will prevent the remote calls initiate cookies session due to cross-site policy.
The current implementation is systematically sending the same headers (Authorization) with every remote request. Even when the login has already been made at the time of the first request with a supposedly cookie session.
Steps to Reproduce

Run Camunda in application server with basic-auth and secure with 'Set-Cookie' Secure Flag
Run Camunda Modeler win DevTools and try to upload a diagram to the remote site.
DevTools will show that 'Set-Cookie' session will be blocked

Expected Behavior
Remote Calls should be decoupled from the local nodejs execution so that cross-site policy can be avoided.
Environment
Camunda Modeler system information

Version: 5.0.0-alpha.1
Operating System: Windows 10 amd64
Plugins:
Execution Platform: BPMN - Camunda Platform

Hi,
Thanks for opening the issue.

The current implementation is systematically sending the same headers (Authorization) with every remote request. Even when the login has already been made at the time of the first request with a supposedly cookie session.

On my local Camunda instance, I don't see any session cookies being set when I deploy a diagram:
* Connected to localhost (::1) port 8080 (#0)
> POST /engine-rest/deployment/create HTTP/1.1
> Host: localhost:8080
> Accept-Encoding: deflate, gzip
> Connection: keep-alive
> accept: application/json
> authorization: Basic ZGVtbzpkZW1v
> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 12_2_1) AppleWebKit/537.36 (KHTML, like Gecko) CamundaModeler/5.0.0-alpha.1 Chrome/89.0.4389.128 Electron/12.1.2 Safari/537.36
> Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryAnCAXrYw9gvLC9oE
> Sec-Fetch-Site: cross-site
> Sec-Fetch-Mode: cors
> Sec-Fetch-Dest: empty
> Accept-Language: en-US
> Content-Length: 8666
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200
< Access-Control-Allow-Origin: *
< Content-Type: application/json
< Content-Length: 445
< Date: Tue, 22 Mar 2022 19:42:11 GMT
< Keep-Alive: timeout=60
< Connection: keep-alive
<
* Connection #0 to host localhost left intact

This makes sense as we use the REST API to deploy the diagram which is per definition stateless. Please explain me if I get something wrong.

I'm using a production environment where the security level is more restricted where authentication can be mixed where it can be started with basic auth and later followed in cookie session based.
After some analysis, it appears that mix solution is not recommended due to some browsers may not support it.
You may close the issue.


update APIs and enums for cl_intel_unified_shared_memory for rev Q

The USM spec may be found here:
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/USM/cl_intel_unified_shared_memory.asciidoc
Specifically, this PR adds the API for clMemBlockingFreeINTEL.

This has an approval and has been open for more than a month.  Merging.


build: Move from AzDO Pipelines to GitHub Workflows

AzDO Pipelines are not visible to the public, and the OSS Team at Microsoft now recommends using GitHub Workflows over Azure Pipelines.
This PR now introduces 11 new Workflows that represent the full internal microsoft.SynapseML Pipeline that we have.
Let's make sure we squash this while merging.


feat/active_connections: Send data_len first then data

Sending data_len first then data.
On receiving side, read size first, then reading data

This change is

r? @vinipsmaker
(maidsafe_highfive has picked a reviewer for you, use r? to override)

Review status: 0 of 4 files reviewed at latest revision, 2 unresolved discussions.

src/connection_states/active_connection.rs, line 102 [r2] (raw file):

    fn read_data(&mut self) {
        if self.read_len == 0 && self.read_buf.len() >= U32_BYTE_LENGTH {
            if let Ok(size) = Cursor::new(&self.read_buf[..]).read_u32::<LittleEndian>() {

Is it not safer to write this as Cursor::new(&self.read_buf[..U32_BYTE_LENGTH]).read_u32::<LittleEndian>()? Or is read_u32 immune to such errors ? Also if this fails, it's probably worth informing routing and closing connection because again the internal state of tracking the payload size and payload will be (probably) irrecoverably damaged. So maybe do a .expect(...) instead of if let Ok(...) here and put a TODO saying inform this to routing and gracefully terminate connection in actual production code

src/connection_states/active_connection.rs, line 112 [r2] (raw file):

            self.read_buf = tail;
            self.read_len = 0;
            self.read_data();

Recursion may potentially leave an attack vector open - it's actually very easy to simulate - the sender can send great many number of small messages, say 20 MB of total data with each message as 20 bytes. This will cause huge number of recursions and it will be easier to get the receiver node panic with Stack-Overflow. Do you think a loop is much better here than recursion ?

Comments from Reviewable

src/connection_states/active_connection.rs, line 102 [r2] (raw file):
Previously, ustulation (Spandan Sharma) wrote…
> Is it not safer to write this as `Cursor::new(&self.read_buf[..U32_BYTE_LENGTH]).read_u32::()`? Or is read_u32 immune to such errors ? Also if this fails, it's probably worth informing routing and closing connection because again the internal state of tracking the payload size and payload will be (probably) irrecoverably damaged. So maybe do a `.expect(...)` instead of `if let Ok(...)` here and put a TODO saying inform this to routing and gracefully terminate connection in actual production code
the simple_demo already shows `read_u32` can parse u32 from large vec.
However, I put in `[..U32_BYTE_LENGTH]` anyway.
I have put in expect and TODO comment as you mentioned. However, don't think it will happen, as u32 use all 4 bytes 0x00 - 0xFF , so as long as their is 4 bytes, there will have a u32.
if the read size is incorrect, if less than real, then it will early return. if larger than real, it will hang.
I think introducing time_out to prevent such hang shall be considered but be in a different PR? so I put a TODO commnet as well.

Comments from Reviewable

Reviewed 3 of 4 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Batch

Hey there!
i was wondering if it would be possible to batch this tool for example a season of tv show
i saw with the other open issue that perhaps it will run out of api calls so perhaps its an idea to look at https://github.com/DeepLcom/deepl-python ?
i really like your tool! thanks!

yeah... that would be really nice


struggling with running Cartographer on my own .bag

I m relatively new to ROS and thank you in advance for your help
just as a reference; as soon as cartographer is working with the point cloud data i d like also to include the odom data an do a few studies about the quality of the generated Maps.
I went through the tutorials from Google Cartographer  (https://google-cartographer-ros.readthedocs.io/en/latest/demos.html). As long as i tried it with the given .bag files everything went well.
Now i am trying to launch it with my own .bag file, which is just a short example and only recorded with a velodyne VLP 16. The important files are located in; https://github.com/goeldisandro/SLAM
The validation of the .bag did not showed some concerns as far as i see.
When i now try to launch it with the command;
roslaunch cartographer_ros offline_my_robot.launch bag_filenames:=${HOME}/bagfiles/2019-01-10-14-37-16.bag
rviz shows up but with the Global Status: Warn
No tf data.  Actual error: Fixed Frame [map] does not exist
I think that the problem might occur, because i do not have a tf transformation.
I already made the tf tutorials from ROS, but i do not know how to adapt it on my Situation.
Is there a place, where i find some similar projects? Or do i just have to make a change in RViz?
everything is launched on a linux laptop with ros kinetic
Thanks for your help and greetings from Switzerland
Sandro

Hi Sandro (@goeldisandro),
I am a newbie to Cartographer as well, but I might be able to help with the transform part. In ROS are you publishing somewhere the transforms between your robot's coordinate frame (typically called base_link) and the sensors' coordinate frames (typically called _link, e.g. imu_link or scan_link)?
There is a bit of information about the transforms (or TFs) required by Cartographer here .  Based on my understanding of that info, you will need to at least provide the robot to sensor transforms.
You might be able to help me with my issue. What rate were you running your VLP-16 at? I'm using a Velodyne 32C but get errors when running the validation tool, mainly that the delta between scans is too large. Did you have to change anything in the velodyne ros driver?
Cheers,
James

Hi @goeldisandro !
I have the same problem. Did you already solved it?
I think we have to change the used topics in the transform part.
When running   it says:
topics:  horizontal_laser_2d    : sensor_msgs/MultiEchoLaserScan
imu                            : sensor_msgs/IMU
vertikal_laser_2d        : sensor_msgs/MultiEchoLaserScan
And when I'm running  is says:
topics: /rosout                       : rosgraph_msgs/Log
/rosout_agg                : rosgraph_msgs/Log
/scan                           : sensor_msgs/LaserScan
And when you run:  while using cartographer you cant print the running transformations. View the created PDF with
But i don't know what and how to change...

Hi yes I was able to launch cartographer on my own .bag and everything went well.
The change, that i had to make were;
-change from tf to an urdf File, which you can find on my repositories
-made up an new workspace and used catkin build in stead of catkin_make
@Colidar i'm not sure if i understood your concerns completely....
Is the problem, that the needed topics from above arent published anymore, when you run the cartographer node?
@jmount1992 until now i only used the default Settings and made no changes, but it might be, that i need to adapt the setting soon. In case i will surely keep you up to date

@goeldisandro
sorry for my unclear answer.. the commands i wrote down suddenly disappeared..
i used rosbag info to compare the published topics from demo bagfile (deutsches museum) and my own bagfile. I'm only using LaserScan (with an RPLidar A2) and not MultiEchoLaserscan (as deutsches museum), so i changed my_robot.lua, demo_my_robot.launch and the urdf file:
LUA FILE:
include "map_builder.lua"
include "trajectory_builder.lua"
options = {
map_builder = MAP_BUILDER,
trajectory_builder = TRAJECTORY_BUILDER,
map_frame = "map",
tracking_frame = "laser_link",
published_frame = "laser_link",
odom_frame = "odom",
provide_odom_frame = false,
publish_frame_projected_to_2d = false,
use_odometry = false,
use_nav_sat = false,
use_landmarks = false,
num_laser_scans = 1,
num_multi_echo_laser_scans = 0,
num_subdivisions_per_laser_scan = 10,
num_point_clouds = 0,
lookup_transform_timeout_sec = 0.2,
submap_publish_period_sec = 0.3,
pose_publish_period_sec = 5e-3,
trajectory_publish_period_sec = 30e-3,
rangefinder_sampling_ratio = 1.,
odometry_sampling_ratio = 1.,
fixed_frame_pose_sampling_ratio = 1.,
imu_sampling_ratio = 1.,
landmarks_sampling_ratio = 1.,
}
MAP_BUILDER.use_trajectory_builder_2d = true
TRAJECTORY_BUILDER_2D.num_accumulated_range_data = 100
return options
LAUNCH FILE:

URDF FILE::

It's still not working..maybe you can find my mistake..
Here is the link to my bagfile:
https://www.dropbox.com/sh/yutejspswzqqk8o/AACX8RzWfwWcmFipI0zXYRRQa?dl=0

Hello everyone!!
When I run cartoggrapher validate command for my rosbag I get some errors. Any idea where I would get some documentation on the error codes and how to solve them ?

Hello everyone!! When I run cartoggrapher validate command for my rosbag I get some errors. Any idea where I would get some documentation on the error codes and how to solve them ?

Kindly put SS or copy the errors you're facing


Ability to use standard controls in 4.0, visual and console bugs.

Hi! Your update has been a great improvement! But I noticed a couple of things!
(I'd rather be honest with you I use the 1.8 version which seems to not be supported so I guess it might be the source of all my problems...)
-As I use an oculus rift, the controls are pretty buggy and I can't move in the editor. As for the flight mode, my yaw and stick works well but the throttle seems a bit buggy. I wondered if you could implement a keyboard setting or mode so we could play as usual and have the ability to wasd on the editor (for now my throttle keyboard controls does not work at all...).
-I also experience sometimes a black sky when reloading or relaunching the flight. When it happens all the blue tint of kerbin seems to go away and the view distance is reaaally low, especially in IVA (with through the eyes mod).
-The console menu is not opening when alt-f12 and it gets me to the desktop, making me select a software to open something, although every option is grayed out. (not closing the game though) so I can't see if any log happens in game...
Thank you so much for doing this it's a great feature I really appreciate your work.

Thanks for the early feedback! I do expect plenty of bugs right now :)

(I'd rather be honest with you I use the 1.8 version which seems to not be supported so I guess it might be the source of all my problems...)

I have not tested KerbalVR 4.0 with KSP 1.8, some bugs might be explained by this further below.

As I use an oculus rift, the controls are pretty buggy

Yea unfortunately I do not have Oculus controls to test with, but I highly recommend tweaking the controls as needed in the SteamVR input bindings configuration, because I definitely needed to modify some things for the Valve Index controllers.
While running KSP, this is accessed through SteamVR Settings > Controllers > Show Old Binding UI. You should see KSP_x64 on this list. Click it, then click Edit on your current bindings.

I can't move in the editor

This is currently disabled, I am going to re-work the movement system in the Editor. So for now, there is no movement inside the Editor.

throttle seems a bit buggy

I highly recommend you look at the SteamVR input bindings config, this is one example of something I needed to tweak quite a bit before it felt "right".

I wondered if you could implement a keyboard setting or mode so we could play as usual and have the ability to wasd on the editor (for now my throttle keyboard controls does not work at all...)

I will definitely add a setting to allow wasd controls instead of VR controls. Right now the throttle control on the VR controller completely overrides the throttle, so that's why you are unable to use keyboard to control the throttle.

I also experience sometimes a black sky when reloading or relaunching the flight. When it happens all the blue tint of kerbin seems to go away and the view distance is reaaally low, especially in IVA (with through the eyes mod).

I'm 90% sure this is due to incompatibility with KSP 1.8. If you are able to, give 1.9 a try. I'll be
💯 honest with you, backwards compatibility is not on my list of priorities...

The console menu is not opening when alt-f12

Hmm... I have not encountered this behavior before... the console window has been working for me, and I definitely use it all the time while I'm testing new code for the mod. As far as I know, the mod shouldn't be interfering with KSP's UI, but we can never know what bugs like this can pop out :)
If you have any more details about that, maybe it might help. Does it never show when you press Alt-F12? Are you in fullscreen mode? Is there a specific scene where it doesn't show (flight, editor, main menu)?

and again, thanks for being an early tester, glad you're enjoying the improvements! (sorry for the new bugs that we have to put up with though)

Hey Vivero, been a while. When I have the mod installed on 1.9.1 and I have a 360 controller in use, I can throttle up completely, but the craft goes nowhere. When I uninstall the mod the craft works fine. Beyond that, the environment is flickering its so so so close! I just updated my vid card so I can test this all a bit better now

Hey @Jatwaa! Yes I remember you did a video with my mod a few years ago :)
About the flickering environment, yes this would occur if your Settings > Graphics > Render Quality was set to Simple or higher. If you set it to Fast or Fastest, the flickering is gone. However, I just managed to make a permanent fix for this, so that you will see no flickering regardless of the Render Quality setting 🎉
This fix will be available on the next pre-release (whenever that may happen).
And about the throttle problem, can you try to uncheck the "Enable Throttle Control" setting in the KerbalVR mod settings? When it is checked, you can only control throttle via VR controllers; if it is unchecked, you can control the throttle via keyboard or other input devices (hopefully your controller?)

Odd, I have the latest Alpha 2 and its missing text and the third option.

Oh that is crazy. Have not seen this bug appear before... Hmm. I'll look into it.
In the meantime, I think you can try this: edit the file \GameData\KerbalVR\Assets\Settings.json in any text editor. Change the "enableThrottleControl" setting to "false" like so:

Save the file and restart KSP.


Anyway to specify mountOptions here?

I'm strugglying to specify mountOptions to customize the uid, gid, dir_mode when using Azure Files - Static. It seems possible when using storageClasses, but not in this method... am I missing something?

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

ID: d634c63a-6194-86a6-b522-3310812c81e8
Version Independent ID: fa86da1e-9c86-88fe-170c-5e6aa9230b5f
Content: Create a static volume for multiple pods in Azure Kubernetes Service (AKS)
Content Source: articles/aks/azure-files-volume.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

https://github.com/MicrosoftDocs/azure-docs/issues/16938

@saykumar You can use Security context in the pod configuration to change the Uid and Gid's.
Example is here.
You can apply those settings to the pod or each containers to the pod also.
I didnt test these settings in Azure files.  Try this and let me know.
I think dir_mode can`t be set via this way.
Again storage class is the preferred way to do this.

Thanks. I used the rather verbose way of defining a PV and PVC. The PV could have mount options. The documentation you linked to applied to the Pod, but not the Volume AFAIK.

I will close this out for now. If you need additional help please let me know and we can reopen and continue.


chore(doc): add development tools section in README.md

add section "Choose development tools"

Thanks!


YARN-10407. Add phantomjsdriver.log to gitignore.

NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ trunk Compile Tests _

+1 :green_heart:
shadedclient
19m  9s
branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
13m 41s
patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
0m 32s
The patch does not generate ASF License warnings.

35m 33s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2244/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2244

Optional Tests
dupname asflicense

uname
Linux bc6712caa10c 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 82a75056463

Max. process+thread count
455 (vs. ulimit of 5500)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2244/1/console

versions
git=2.17.1 maven=3.6.0

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Thanks for your review, @jiwq. But I think I need an approve to merge it.

Rebased the latest trunk.

+1
I'd like to change the log dir to target/, however, it seems that there is no available option to change the log dir via pom.xml.

Thanks for your review, @aajisaka!

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  2s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ trunk Compile Tests _

+1 :green_heart:
shadedclient
21m 52s
branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
15m 44s
patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
asflicense
0m 30s
The patch generated 3 ASF License warnings.

40m 51s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2244/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2244

Optional Tests
dupname asflicense

uname
Linux b6529448df62 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 4ffe26f9b81

asflicense
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2244/2/artifact/out/patch-asflicense-problems.txt

Max. process+thread count
307 (vs. ulimit of 5500)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2244/2/console

versions
git=2.17.1 maven=3.6.0

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


TLS connection for mysql contact db

RainLoop version: all
Expected behavior and actual behavior: secured connection to mysql database
Steps to reproduce the problem: try to connect
Logs or screenshots: SQLSTATE[HY000] [1045] Access denied for user<EMAIL_ADDRESS>(using password: YES)
It seems that there is no implementation of secured mysql connection for contact database.
I think that the connection is initiated here.
I tried to modify the code with:
$sType = $sDsn = $sDbLogin = $sDbPassword = $sDbOptions = '';
$sDbOptions = array(
  PDO::MYSQL_ATTR_SSL_KEY => '/etc/ssl/client-key.pem',
  PDO::MYSQL_ATTR_SSL_CERT => '/etc/ssl/client-cert.pem',
  PDO::MYSQL_ATTR_SSL_CA => '/etc/ssl/ca-cert.pem',
  PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => false,
);
$oPdo = @new \PDO($sDsn, $sDbLogin, $sDbPassword, $sDbOptions);

but nothing happen: no error message, juste the test button switch to red
EDIT:

PDO::MYSQL_ATTR_* seem not recognized
php-mysql installed correctly because I have, on the same machine, an other app that use PDO::MYSQL attributs

solution found: "" was missing
$sDbOptions = array(
\PDO::MYSQL_ATTR_SSL_KEY => '/etc/ssl/client-key.pem',
\PDO::MYSQL_ATTR_SSL_CERT => '/etc/ssl/client-cert.pem',
\PDO::MYSQL_ATTR_SSL_CA => '/etc/ssl/ca-cert.pem',
\PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => false,
);


Attributions to authors

TODO: AUTHORS file and proper attributions for contributors and original author of node-php.

How do you delete this system when someone has installed it on your sysyem illegally without you wanting it

I know this can be unlawful due to my privacey rights at this point i can prove it have him arrested. Or. Delete it from my system.  My brother who is a cop wants this to happen now

@1407brown I am unsure what you are talking about. This is basically a source code example to show a developer how to add PHP compatibility within a NW.js project. It doesn't install or embed itself into the system nor do I even provide binaries to run it.
You likely have this project confused with something else.


#1482 Use AWS CLI profile, binary_bucket_region and binary_bucket_name in hack/latest-binaries.sh

Issue #, if available:
#1482
Description of changes:
Wire in bucket_name, bucket_region, and profile into hack/latest_binaries.sh
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

I'm having trouble navigating the idiosyncrasies of Make, to make this work via the environment or macro expansion. I think the submitted solution is perfectly fine. It's readable, extensible, doesn't clobber any environment variables, and doesn't break any existing workflows.


new card: level  Bloometa

Display the user level in a game.

This card is in Pass category

Size: M

new address for card: https://talao.co/sandbox/op/issuer/zbdbcjptmr

update design


[MOS-005] Add Custom Data Field

As a
user
I want to
add custom data fields to my entries
so that
I can log different kinds of data.


[NOOB] Prevent Direct Public IP access?

Hi there, I fully apologize for my lack of networking knowledge in advance.
I'm curious to know is there a method or implementation in NPM/nginx default configs that prevents direct access over my public IP address and instead only allows traffic routed through my Cloudflare DDNS?
Perhaps being able to globally alter the default config to deny all but whitelist these IP's?
https://www.cloudflare.com/ips/
I figured it might help my poor Virgin Media SuperHub 3.0 router falling over from port scanning/bots DDOSing, but I'm totally naive on this subject to be honest and could be a simple fix staring me in the face!

Well sure you could use the advanced tab in proxy hosts to specify your whitelist options, but if you're using LetsEncrypt certificates with a whitelist, then it's likely not to work and you'll have to obtain a whitelist of LE servers as well.

Cheers for the quick response! No LetsEncrypt certs being used directly on NPM currently (HTTP only). Just the certs on the Cloudflare side although I'm not sure if thats unwise.
If I use a deny all; and allow those individual IP ranges it should work right? I seem to hit a snag were it seems the deny all is taking precedence over the other rules, likely an order or nginx syntax stumbling block.

When I use something like this:
allow <IP_ADDRESS>;
deny all;

it works as expected for me

I was using the same style as above in location /
allow <IP_ADDRESS>/24 deny all
But this was also denying renewing of certs, I fixed by adding an allow all to the letsencrypt-acme-challenge.conf alongside the turning off auth:
^~ /.well-known/acme-challenge/ {     auth_basic off      allow all
Am I doing something wrong or could this be a new default entry without harm?

True I didn't consider the acme challenge, should allow all regardless of custom configuration. If you PR that it would be great. I've been too busy lately :/


How to get link file after upload in Meteor Files

Hi, I am uploading my text editor (Quil Editor) files using React and Meteor-Files.
But I do not know exactly how to get the link after uploading and put it in the editor.
Do I have to subscribe to get the link to that file after upload?
And if so. Is there a way to subscribe to that file right away?
Note that I have to subscribe to this file in such a way that I can get the file link in the same method (UploadImage)
Because if I subscribe to it as a withTracker, this method will not be rendered again so that I can get the link to that file.
I asked here too and sied more :
https://forums.meteor.com/t/how-to-get-link-file-after-upload-in-meteor-files/54432

Hello @Saeed-Bahrami ,

Subscribing is one of the options;
No, it's optional

I updated .link() method documentation, hope now this method usage will be more straightforward.
TL;TR; You have next options:

After upload on server and client hooks you can get fileRef the copy of the file object from MongoDB record; Using this record you can do FilesCollection#link(fileRef)
Not the best option other way is to subscribe and use FilesCollection#find().link()

Feel free to close it in case if the issue is solved on your end.

@dr-dimitru
I'm sorry, but I still did not understand correctly.
As I realized, the following code should work, and without subscribing, I should get the link after uploading.
 const upload = ImgCollection.insert({
           file: Img,
           streams: 'dynamic',
           chunkSize: 'dynamic'
 }, false);

console.log(upload);

upload.start();

const file = ImgCollection.findOne({_id:`${upload.config.fileId}`});
console.log(file.link());

@dr-dimitru
I'm sorry, but I still did not understand correctly.
As I realized, the following code should work, and without subscribing, I should get the link after uploading.
 const upload = ImgCollection.insert({
           file: Img,
           streams: 'dynamic',
           chunkSize: 'dynamic'
 }, false);

console.log(upload);

upload.start();

...........

but i get undefined

As I realized, the following code should work, and without subscribing, I should get the link after uploading.

Yes, on server
No, on client

Listen for end event on the Client as in the example link from my message above. Something like that:
 const upload = ImgCollection.insert({
  file: img
}, false).on('end', function (error, fileObj) {
  // get link in here
  console.log(ImgCollection.link(fileObj))
}).start();
upload.start();

@dr-dimitru
It was great, he answered.
Thank you for your prompt and accurate response

It was great, he answered.
yeah, he answered kk

@Saeed-Bahrami I'm glad this issue was quickly solved
Please support this project with:

Become a sponsor on GitHub and GitHub would double your every contribution in next 12 months!;
Support via PayPal;
Star this package on GitHub;
Like at Facebook;
Follow on Twitter;
Check out our other open source projects on GitHub.

@dr-dimitru Hello again.
I got the image link the same way, and save it in the database so I can display it later.
But after a while (I do not know exactly how many hours) the links expire and error 404 returns.
Do the links expire?
What method should we use to always display images?

@dr-dimitru Hello again.
I got the image link the same way, and save it in the database so I can display it later.
But after a while (I do not know exactly how many hours) the links expire and error 404 returns.
Do the links expire?
What method should we use to always display images?

@dr-dimitru Hello again.
I got the image link the same way, and save it in the database so I can display it later.
But after a while (I do not know exactly how many hours) the links expire and error 404 returns.
Do the links expire?
What method should we use to always display images?

@dr-dimitru Hello again.
I got the image link the same way, and save it in the database so I can display it later.
But after a while (I do not know exactly how many hours) the links expire and error 404 returns.
Do the links expire?
What method should we use to always display images?

@Saeeed-B it sounds to me that you ran into different issue described in our FAQ:

Note: All files will be removed as soon as your application rebuilds or you run meteor reset. To keep your storage persistent during development use an absolute path outside of your project folder, e.g. /data directory.

If it's not the case, I'll request more details

@Saeeed-B it sounds to me that you ran into different issue described in our FAQ:

Note: All files will be removed as soon as your application rebuilds or you run meteor reset. To keep your storage persistent during development use an absolute path outside of your project folder, e.g. /data directory.

If it's not the case, I'll request more details

@Saeeed-B is this one solved o you end? You haven't replied since my comment

@Saeeed-B is this one solved o you end? You haven't replied since my comment

@dr-dimitru Hi, thank you for your help, I have to test Rahel.
I will definitely report if I see a problem
Thanks

@dr-dimitru Hi, thank you for your help, I have to test Rahel.
I will definitely report if I see a problem
Thanks


[4.0] upgrade: Make sure schemas are properly migrated after the upgrade

This used to be one of the tasks of crowbar-init (after it would
set up new database), but because we do not need new database,
we've dropped crowbar-init usage completely.

Looks fine to me, do we need to popd after the migration?


No support for Community Notes in Fx Twitter API

Hi,
Thanks for your work on this API, it really does make using twitter on tg/dc easier.
I have noticed that fxtw api doesn't support community notes on twitter posts. i.fxtwitter.com instant view pages also doesn't show if a post contain a community notes or not. That's why I wanted to report it as a feature request as community notes are very often an important part of the post. I'm sorry if it has been already reported.
Example tweet with community notes: https://twitter.com/GooglePlay/status/1784251162234880165

I've actually been wanting to implement this at some point anyway, I think it's a good idea

👀

Thanks so much. I can confirm it works. Btw is it possible that tweet.community_note.entities.entity.ref.type would be something different than URL (TimelineUrl)?

So for context, an annoying thing is that unfortunately unlike for links in a tweet, the api doesn't provide extended urls for community notes, only the t.co links. For now I've just passed through the entities from the twitter api directly.
But to answer your question... Probably not, but it's possible the Twitter API could pass through different types in the future.
Also ngl I kinda forgot I already published community notes in the public api since I haven't documented it yet.... Oops. I guess that's what I get for staying up until 4 am working on this xdd
Should I leave it as-is so if for whatever reason they add more it'll be instantly available or should I simplify it to a simpler, stable url_entities that validates the type is TimelineUrl (or equivalent) beforehand? I'm kind of leaning towards the latter for consistency with the rest of FixTweet's API but like I said I already published the change to the api without documenting it, oops.


Vagrant is not on PATH

I followed all steps from README on a Windows 10 machine running in virtualbox.
On the final step where I have to run
bash <(curl -s https://raw.githubusercontent.com/blinkreaction/boot2docker-vagrant/master/scripts/setup.sh)

I got the error: vagrant: command not found
So I had to put vagrant on PATH manually with
setx PATH "%PATH%;C:\HashiCorp\Vagrant\bin"

Its possible that I just had to restart babun.


Builder: rehome builder_util

In #1637, we proposed finding a new home for many of the utilities that currently live in builder_util.py.
In this PR have done that, experimentally, for one such helper: insert_eq. It now lives under ComponentBuilder and is called eq_use. I have piped the changes through to all the Python files, though you may want to look specifically at fifo.py since it benefits from the cleanup of #1664.
Note that I'm calling this utility eq_use to differentiate it from the existing method eq that is also declared on ComponentBuilder. The helper eq just returns a StdEq cell, while this new eq_use variant creates a cell, wires up its ports, and then returns the group and the cell that do all this.
Say we have:
prog = cb.Builder()
fifo: cb.ComponentBuilder = prog.component("fifo")

we used to use the utility via:
util.insert_eq(fifo, cmd, 0, 2)
# `cmd == 0`, where `cmd` is 2 bits wide.

and now we can do it more directly via:
fifo.eq_use(cmd, 0, 2)

Please let me know what you think, and I'll propagate these changes all over, for all the other utilities.

Looks like we have some failing tests!

I'll keep this in mind and return to it in a separate PR! I just don't want to gunk up the works and create more merge conflicts than I can handle


ClassNotFound: org.slf4j.LoggerFactory

General Troubleshooting

[x] I have checked for similar issues.
[x] I have updated to the [latest JDA version][download].
[x] I have checked the branches or the maintainers' PRs for upcoming bug fixes.

Bug Report
If you have a reproducible behavior, please provide some details for us.
After compiling, and loading the mod in this case up, it will throw errors, specifically ClassNotFound org.slf4j.LoggerFactory, class is present
Expected Behavior
I expected it to run just fine
Code Example or Reproduction Steps
How to reproduce

Download Forge MDK
extract MDK, gradlew setupDecompWorkspace, gradlew eclipse
open the project in Eclipse, add the gradle lines needed for JDA and shadowJar
gradlew shadowJar
Install a Forge server, copy the mod from /build/libs to server/mods
launch server

Exception or Error
https://pastebin.com/i57QpjpV

This sounds more like an issue with the modloader/runtime than it is with JDA. We don't do anything with class loading.

I figured it out, relocating the packages did the trick


The bsh.Console not working for Mac

I am trying to run the beanshell console on my Mac and came across this error. The interpreter seems to work fine but I just can't render the GUI. Below is the following error message.
$ java bsh.Console
Couldn't start desktop: Sourced file: inline evaluation of: ``desktop();'' : Method Invocation bcm.getClassPath : at Line: 40 : in file: /bsh/commands/makeWorkspace.bsh : bcm .getClassPath ( )
Called from method: desktop : at Line: 1 : in file: inline evaluation of: ``desktop();'' : desktop ( )
Target exception: java.lang.NullPointerException
Looking at line 40, this is what I see.
this.bcm = this.caller.namespace.getClassManager();
if ( bcm != null ) {
classNamesSource = bcm.getClassPath();
nct.add( classNamesSource );
}
Thank you for your support.

You are testing against master right, or using the BeanShell 3.0 SNAPSHOT release?
This error looks familiar and is something that was fixed recently.


Write a C++ program to find surface area of a cone

Description
Write a C++ program to find surface area of a cone
Surface area of cone = π × Radius × (Radius + Slant Height)
Radius       : 2
Slant Height : 3

Surface area : 50.26548245743669

How to contribute

Save the solution in program/FindSurfaceAreaOfACone.cpp file
Add FindSurfaceAreaOfACone.cpp file in find-surface-area-of-a-cone folder

!assign


Add chargeback by tagged pods to ChargebackContainerProject

With this feature, only pods tagged with a specified tag would be considered.

@miq-bot add_label chargeback, ui
@gtanzillo @lpichler Please review (this is copied code from ChargebackVm)
cc @simon3z

@zeari should we extend tests coverage?

Yes. Adding to this PR.

@zeari please also add a screenshot of a report.
@miq-bot assign zeari

@zeari please also add a screenshot of a report.

Added tests and screenshots

Can we get this in before the freeze?

Can we get this in before the freeze?

@mikedahlgren maybe, although at the moment the chargeback based on allocated sizes of the pods is not available (tricky to implement as it involves other subsystems). Refrence here.
We'll have to define better what you mean with that requirement (there are some questions in the referenced link above).
Also remember that if you plan to use this in production, you'd better find commitment from a QE team of your organization to test the feature.

@simon3z Thank you for the quick response.  I believe there are a couple bugs open for this.  Please let me know if this adds clarity?
My understanding is that the size of the pods do not really matter as long as the containers have the correct labels attached and the sum total of their usage(cpu/memory?) are tallied up in a showback report. If so then this use case is satisfied.
If the cpu/memory information is not available, just being able to build a report showing number of containers by project per hour * Rate, may be enough.

@simon3z Thank you for the quick response. I believe there are a couple bugs open for this. Please let me know if this adds clarity?

Maybe, so it seems that we can ignore the request on the allocated sizes.
What we have to check is that we can report in the chargeback a specific tag (that was assigned from the auto-tagging from labels).
@zeari can you check if it's possible to report one or multiple tags in the report? IIRC I don't think you can, which means that this request may have to go back to the core team.

@zeari can you check if it's possible to report one or multiple tags in the report? IIRC I don't think you can, which means that this request may have to go back to the core team.

Just the one.

We can but:

Collecting these tags isnt enabled by default
Needs small UI change to let the user filter by read_only tags which i dont know why isnt enabled:

 # Get chargeback tags
    cats = Classification.categories.collect { |c| c if c.show }.compact  # Get categories, sort by name, remove nils
    cats.delete_if { |c| c.read_only? || c.entries.length == 0 }  # Remove categories that are read only or have no entries
    @edit[:cb_cats] = cats.each_with_object({}) { |c, h| h[c.name] = c.description }

I suggest we merge this PR as is and add further functionality in a subsequent one.

Needs small UI change to let the user filter by read_only tags which i dont know why isnt enabled:

@gtanzillo Any idea?
cc @cben

@zeari I'm not really sure why ready only tags were excluded from selection for the report. The only thing I can think of is that in the early days of the application we were creating tags auto-tagging with all the system data we found during smart state analysis. So there could have been thousands of system generated tags in that selection if they weren't excluded. Since we don't do that anymore, I don't see why it would be a problem to remove the read only filter. @dclarizio what do you think?

can just use c.tag.

Fixed. Thanks @cben !

@zeari I'm not really sure why ready only tags were excluded from selection for the report. The only thing I can think of is that in the early days of the application we were creating tags auto-tagging with all the system data we found during smart state analysis. So there could have been thousands of system generated tags in that selection if they weren't excluded. Since we don't do that anymore, I don't see why it would be a problem to remove the read only filter. @dclarizio what do you think?

This issue aside, I think we can merge this PR.
We will figure out something for those tags later on

@mikedahlgren @zeari IIUC with this implementation you'll have to create multiple reports per-tag value (e.g. location name, etc.).
@mikedahlgren is that what you wanted?

With the current implementation (@zeari correct me if I'm wrong) you will have to define chargebacks for each location:
Report for location: Minneapolis

Project
Cost

Project X
$10.0

Project Y
$20.0

Report for location: San Diego

Project
Cost

Project Z
$30.0

Project W
$40.0

Or did you want a single report based on tags values? As:

Location
Projects Cost

Minneapolis
$30.0

San Diego
$70.0

Or on the other hand if we just give you an extra column is enough for you (and basically you wouldn't even need this PR)?

Project
Location
Cost

Project X
Minneapolis
$10.0

Project Y
Minneapolis
$20.0

Project Z
San Diego
$30.0

Project W
San Diego
$40.0

I wouldn't stop this PR on @mikedahlgren requirements, but I'd like a feedback on this. Thanks.

I don't have a great way to test this, but if this allows us to create a report similar to any of the examples given (with data coming from custom labels in OpenShift) then this would be a huge step forward!

Overall looks OK. Just a couple of comments.
We were targeting this for darga-4 but we may be able to get it in darga-3. cc @chessbyte
We'll make the decision soon whether to get this in darga-3.
@miq-bot add_label darga/yes

Generally LGTM, minor nitpicking because you told me you'd like this reviewed carefully :-)
Only comment I care about is test sets :tag AND :entity_id, unintentionally I believe.

@cben A lot of these changes were made to stay consistent with the pre-existing code from the beginning of time
I tried making gradual changes to chargeback_container_project_spec.rb but what it really needs an overhaul to also cover some more test cases(i.e. provider_id="all", etc.). I fixed some of the comments here but i think the rest (like extracting to helper methods) should come in with a rewrite PR.

LGTM :+1:

@chessbyte we are targeting this for darga-4 (not darga-3). Do you want me to hold this or can I assign it to you now and you'll wait for the backport?

:+1:
@miq-bot assign chessbyte

Darga backport details:
$ git cherry-pick -x -m 1 8bc99c9
[darga 1a60989] Merge pull request #9914 from zeari/chargeback_container_group
 Date: Tue Aug 23 10:51:34 2016 -0400
 3 files changed, 79 insertions(+), 9 deletions(-)

$ git log
commit 1a609893420b93847c598efe15165d45b3600de7
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Tue Aug 23 10:51:34 2016 -0400

    Merge pull request #9914 from zeari/chargeback_container_group

    ChargebackContainerProject - Filter project by tag
    (cherry picked from commit 8bc99c9b30ef95008eddd56ff1f30cc8be969cc0)

https://bugzilla.redhat.com/show_bug.cgi?id=1375322


Added elastic transform in torchvision.transforms.

I've added elastic transformations support as requested in #888.

@fmassa thank you for the suggestions. I'm working on it. Might take some time.

Sure, no worries, thanks for the PR!

@gokriznastic you need some help with it?


Usability and Accessibility Issue

From @siuc-nate
There is no way to tab or shift-tab out of this text box (which means I can't select anything via keyboard, which means the "Done Selection" button never appears):

Resolved


Reuse existing transaction open for reading table columns

This way it won't begin/commit any existing
transaction and re-use existing transaction
that will next copy data statements.
Caught this on 8k+ commits/s. Doesn't
slow down below it

Happy to backport any feedback.


Private files cannot be viewed in Media Builder.

hello, i'm using this plugin and it's all fine but after a file is uploaded, the url to it is 403 and i wonder if its possible for the plugin to pre-sign all urls for the preview in media builder?

Sorry, I don't know if it's possible


Avoid [INFO] statement in logs

Hello,
I have created an application using the Slack/Bolt js library and everything works as intended. However, I have a /health-check endpoint custom route that I needed to create for a health check for my pod in AWS EKS cluster. The pod is healthy and synced but upon looking at the logs in the pod, I see a constant [INFO] An unhandled HTTP request (GET) made to / was ignored log message. I believe it is because my customRoute health-check endpoint always returns a 200 but I have a handler for the same which returns the 200. Please advice on how I can remove this logging from my pod logs as it seems to spam the logs I have added to my application. The INFO message gets added every few minutes when the health-check endpoint gets hit. Below is my application initialization -
const app = new App({       token: props.slackBotToken,       signingSecret: props.slackSigningKey,       socketMode: true,       appToken: props.slackAppToken,       port: props.port,       customRoutes: [         {           path: "/health-check",           method: ["GET"],           handler: (req, res) => {             res.writeHead(200);             res.end("Health check information displayed here!");           },         },       ],     });
[INFO]   An unhandled HTTP request (GET) made to / was ignored [INFO]   An unhandled HTTP request (GET) made to / was ignored [INFO]   An unhandled HTTP request (GET) made to / was ignored [INFO]   An unhandled HTTP request (GET) made to / was ignored [INFO]   An unhandled HTTP request (GET) made to / was ignored

I am trying the logLevel : WARN option while creating the app at the moment. That might solve my problems. Let me know if you can think of something else.

Hi, @jshah04! 🙌  Thanks so much for submitting your issue! My apologies, I thought I had pressed the "Comment" button after drafting up this reply but I hadn't 🤦
My recommendation was going to be to use logLevel in your app config to suppress the amount of logs you get. If you look at this doc, you can see there 4 different levels of logging. logLevel.WARN should give you the ideal behavior. If you wanted to just view errors, then you could use logLevel.DEBUG.
Let me know if you have any additional questions!

Hey @hello-ashleyintech , as we imagined, that did it. Thank you for your assistance!

Excellent @jshah04! 😄 I'm going to close out this issue, but feel free to open a new one if you have any other questions!


Add security schemes and requirements

It adds support for:

Defining security schemes inside the Components object.
Specify security requirements to authorize the connection.

As a result of an investigation about ways to protect your API using MQTT, AMQP and WebSockets, I came up with the following list:

User/Password: That's the most common when the API is private.
API Key (over User/Password): It feels like a hack to me but I've seen it in many places. It consists in sending an API token as the user or as the password when connecting to a system that expects a User/Password. Usually the other field is left empty. For instance:

user: AF89AFDKLK23423NADSFDS89AS79
password: (empty)

X.509 Certificate: That's very common for internal and/or partnership APIs.
End-to-end Encryption: Either symmetric or asymmetric. I'm not sure this should be an auth scheme but another way to protect your API. Comments welcome :blush:
HTTP: It's especially useful for WebSockets although suitable for other type of APIs. That's exactly the same as Open API's http scheme. It can be bearer or non-bearer (i.e. basic).
HTTP API Token: It's especially useful for WebSockets although suitable for other type of APIs. That's exactly the same as Open API's apiKey scheme. You can specify where the token is placed: header, query param or cookie.

Support for a security requirements object inside operations is still pending. It shouldn't be hard to add now, so feel free to make a PR :wink:.

@MikeRalphson @bpedro @ctron your comments are welcome 😉


Updated for current Kafka version, additional configuration

Hi Luke,
Your project really helped me get started with Kafka on Windows for local testing, and I'm sharing this updated versions with my coworkers.
I updated to the current version of Kafka, and added a Constants file with all of the configuration, to make it easy to update to a newer version, and also to put Kafka anywhere on the file system (I ran into path length issues where I was originally using it).
Of course my handle is tdd-coder and I didn't add tests, but if you have any feedback, I'd love to hear it.
I'd also be happy to help in any other capacity.
Thank you!
Jason

Glad you found it useful!  Changes look good to me & are running fine on my end so I'll merge this


Question - What causes ! to show on a button?

I am trying to follow the custom plugin shown in this answer.. I have copied their code exactly.
Seems ok, other than I get an ! for the button. Where should I check to resolve this?

setSubmenu: function (core.. Check out this function.
Here's where you put styles on buttons.

Looking at the original  that I am basing mine from. I can see how the list is populated and I have that working fine. However, which bit creates the actual drop down with the arrow?

what I don't understand is why it is showing a ! though, if the original posters is working fine? The only difference is that I have named the plugin "fontSize2" because if I call it fontSize, then I just get the default list - could that be the issue? If it is, how do i get it to use my "fontSize" button rather than the default?
Sorry to ask potentially basic stuff but I cannot see any explanation how to get/customise a drop-down in the documentation

I'm not sure what you mean exactly, but the name of the plugin is given by the "name" attribute.
var customPlugin = {     // @Required @Unique     name: 'custom_example',     ...

Sorry If I wasnt clear. I am trying to understand why my button is displaying a ! instead of what the previous answer showed.
Basically, how do I make the ! button that is displaying for me, show the font size of the text that I am currently clicked in? Could you post some example code?

thanks, but copying the default drop-down html and putting it into innerHTML I got what I was after. Keep up the good work!