Help with Coordinate Conversion in Rust Geodesy (RG)

Hi,
I’m a beginner in Rust and currently exploring Rust Geodesy (RG). I have some prior experience using PROJ via Pyproj and have worked on Android projects using Dart/Flutter with my compiled PROJ source for ARM architecture. Now, I’m testing a few pieces of Rust code and could use your help.
Here’s my code:
use geodesy::prelude::*;

fn main() -> Result<(), Box<Error>> {
    let mut context = Minimal::new();
    let tm100_7 = context.op("tmerc lon_0=100.7 lat_0=0 k_0=1.0 x_0=500000 y_0=0 ellps=WGS84")?;
    let ne1 = Coor2D::raw(501261.22032610676, 1521088.326792507);
    let ne2 = Coor2D::raw(499315.16759512835, 1685050.54257971);
    let mut coor = [ne1, ne2];
    context.apply(tm100_7, Inv, &mut coor)?;
    println!("{:#?}", coor);
    Ok(())
}

The result will output:
[
    Coor2D(
        [
            1.7577500966210504,
            0.2400462188897853,
        ],
    ),
    Coor2D(
        [
            1.7574352994459437,
            0.26591009639328894,
        ],
    ),
]```
I expected to get the result in degree  but I got it in radians and not like the RG example. What I doing wrong? Please suggest me. Thanks.

Apologies for my previous confusion—I didn’t fully read the documentation. I managed to solve the issue by using the geo:in parameter in the transformation definition. Here’s the working code:
use geodesy::prelude::*;

fn main() -> Result<(), Box<Error>> {
    let mut context = Minimal::new();
    let tm100_7 = context.op("geo:in | tmerc lon_0=100.7 lat_0=0 k_0=1.0 x_0=500000 y_0=0 ellps=WGS84")?;
    let ne1 = Coor2D::raw(501261.22032610676, 1521088.326792507);
    let ne2 = Coor2D::raw(499315.16759512835, 1685050.54257971);
    let mut coor = [ne1, ne2];
    context.apply(tm100_7, Inv, &mut coor)?;
    println!("{:#?}", coor);
    Ok(())
}

The output is now in degrees, as expected:
[
    Coor2D(
        [
            13.753635230458237,
<PHONE_NUMBER>7509885,
        ],
    ),
    Coor2D(
        [
            15.23552625325235,
<PHONE_NUMBER>255626,
        ],
    ),
]

Thanks for providing such a great library for Rust! I’ve also successfully compiled RG for an embedded system on the ESP32.

Hi,
I’m using WSL2 on Windows and followed the instructions from this tutorial. However, I encountered an issue with the crate dirs-sys-0.4.1. Here’s part of the error message I’m seeing:
....
   Compiling futures-util v0.3.30
   Compiling clap_builder v4.5.18
   Compiling nb v0.1.3
   Compiling option-ext v0.2.0
   Compiling const_format v0.2.33
   Compiling void v1.0.2
   Compiling enumset v1.1.5
   Compiling critical-section v1.1.3
   Compiling embedded-hal v0.2.7
   Compiling dirs-sys v0.4.1
   Compiling embedded-hal-nb v1.0.0
error[E0425]: cannot find value `_SC_GETPW_R_SIZE_MAX` in crate `libc`
  --> /home/pbrobo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dirs-sys-0.4.1/src/lib.rs:45:45
   |
45 |         let amt = match libc::sysconf(libc::_SC_GETPW_R_SIZE_MAX) {
   |                                             ^^^^^^^^^^^^^^^^^^^^ not found in `libc`

For more information about this error, try `rustc --explain E0425`.
error: could not compile `dirs-sys` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

I searched for _SC_GETPW_R_SIZE_MAX and found that it’s a "suggested initial value for the size of the password entry buffer" and typically set to 70.
I temporarily replaced the constant with the value 70, and the compilation succeeded:
pub const _SC_GETPW_R_SIZE_MAX: c_int = 70;

I temporary replaced at the stuck constant with this 70 value:
-       let amt = match libc::sysconf(libc::_SC_GETPW_R_SIZE_MAX) {
+       let amt = match libc::sysconf(70) {

The compilation now works. Below is my Rust code that tests Rust Geodesy (RG):
use geodesy::prelude::*;

fn main() -> Result<(), Box<Error>> {
    // It is necessary to call this function once. Otherwise some patches to the runtime
    // implemented by esp-idf-sys might not link properly. See https://github.com/esp-rs/esp-idf-template/issues/71
    esp_idf_svc::sys::link_patches();

    // Bind the log crate to the ESP Logging facilities
    esp_idf_svc::log::EspLogger::initialize_default();

    log::info!("Hello, Rust Geodesy!");
    let mut context = Minimal::new();
    // Test Pipeline of RG
    println!("Test inverse pipeline: ");
    let ne1 = Coor2D::raw(685063.5075, 1521137.2111);
    let ne2 = Coor2D::raw(681899.5402, 1685083.1436);
    let coor1 = [ne1, ne2];
    println!("From grid coordinates of UTM zone 47: ");
    println!("{:#?}", coor1);

    let op = context
    .op("inv tmerc lon_0=100.7 lat_0=0 k_0=1.0 x_0=500000 y_0=0 ellps=WGS84 | utm zone=47 ellips=WGS84 ")?;
    let mut coor2: [Coor2D; 2] = coor1.clone();
    context.apply(op, Inv, &mut coor2)?;
    println!("To grid coordinates of TM @CM=100.7 K0=1.0:");
    println!("{:#?}", coor2);

    println!("Test forward pipeline: ");
    println!("From grid coordinates of TM @CM=100.7 K0=1.0:");
    let coor3: [Coor2D; 2] = coor2.clone();
    println!("{:#?}", coor3);
    let mut coor4: [Coor2D; 2] = coor3.clone();
    context.apply(op, Fwd, &mut coor4)?;
    println!("To grid coordinates of UTM zone 47:");
    println!("{:#?}", coor4);
    Ok(())
}

Here is the result:
pbrobo@pbrworkstation:~/esp/rust-esp/test_geodesy$ cargo run
    Finished `dev` profile [optimized + debuginfo] target(s) in 0.69s
     Running `espflash flash --monitor target/xtensa-esp32-espidf/debug/test_geodesy`
[2024-10-02T11:52:43Z INFO ] Serial port: '/dev/ttyUSB0'
[2024-10-02T11:52:43Z INFO ] Connecting...
[2024-10-02T11:52:44Z INFO ] Using flash stub
Chip type:         esp32 (revision v3.1)
Crystal frequency: 40 MHz
Flash size:        4MB
Features:          WiFi, BT, Dual Core, 240MHz, Coding Scheme None
MAC address:       88:13:bf:07:b8:98
App/part. size:    853,328/4,128,768 bytes, 20.67%
[2024-10-02T11:52:45Z INFO ] Segment at address '0x1000' has not changed, skipping write
[2024-10-02T11:52:45Z INFO ] Segment at address '0x8000' has not changed, skipping write
[00:00:40] [========================================]     435/435     0x10000
[2024-10-02T11:53:30Z INFO ] Flashing has completed!
Commands:
    CTRL+R    Reset chip
    CTRL+C    Exit

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7104
load:0x40078000,len:15576
load:0x40080400,len:4
0x40080400 - _invalid_pc_placeholder
    at ??:??
ho 8 tail 4 room 4
load:0x40080404,len:3876
entry 0x4008064c
I (31) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader
I (31) boot: compile time Jun  7 2023 07:48:23
I (33) boot: Multicore bootloader
I (37) boot: chip revision: v3.1
I (41) boot.esp32: SPI Speed      : 40MHz
I (46) boot.esp32: SPI Mode       : DIO
I (50) boot.esp32: SPI Flash Size : 4MB
I (55) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (64) boot: ## Label            Usage          Type ST Offset   Length
I (71) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (79) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (86) boot:  2 factory          factory app      00 00 00010000 003f0000
I (94) boot: End of partition table
I (98) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=34f90h (216976) map
I (185) esp_image: segment 1: paddr=00044fb8 vaddr=3ffb0000 size=02158h (  8536) load
I (188) esp_image: segment 2: paddr=00047118 vaddr=40080000 size=08f00h ( 36608) load
I (206) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=8d55ch (578908) map
I (415) esp_image: segment 4: paddr=000dd584 vaddr=40088f00 size=02fa4h ( 12196) load
I (426) boot: Loaded app from partition at offset 0x10000
I (426) boot: Disabling RNG early entropy source...
I (438) cpu_start: Multicore app
I (447) cpu_start: Pro cpu start user code
I (447) cpu_start: cpu freq: 160000000 Hz
I (447) cpu_start: Application information:
I (450) cpu_start: Project name:     libespidf
I (455) cpu_start: App version:      1
I (459) cpu_start: Compile time:     Oct  2 2024 18:15:32
I (465) cpu_start: ELF file SHA256:  000000000...
I (471) cpu_start: ESP-IDF:          v5.2.2
I (476) cpu_start: Min chip rev:     v0.0
I (480) cpu_start: Max chip rev:     v3.99
I (485) cpu_start: Chip rev:         v3.1
I (490) heap_init: Initializing. RAM available for dynamic allocation:
I (497) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (503) heap_init: At 3FFB2AC0 len 0002D540 (181 KiB): DRAM
I (509) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (516) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (522) heap_init: At 4008BEA4 len 0001415C (80 KiB): IRAM
I (530) spi_flash: detected chip: generic
I (533) spi_flash: flash io: dio
W (537) pcnt(legacy): legacy driver is deprecated, please migrate to `driver/pulse_cnt.h`
W (546) timer_group: legacy driver is deprecated, please migrate to `driver/gptimer.h`
I (555) main_task: Started on CPU0
I (565) main_task: Calling app_main()
I (565) test_geodesy: Hello, Rust Geodesy!
Test inverse pipeline:
From grid coordinates of UTM zone 47:
[
    Coor2D(
        [
<PHONE_NUMBER>,
            1521137.2111,
        ],
    ),
    Coor2D(
        [
<PHONE_NUMBER>,
            1685083.1436,
        ],
    ),
]
To grid coordinates of TM @CM=100.7 K0=1.0:
[
    Coor2D(
        [
<PHONE_NUMBER>195006,
            1521088.3268045,
        ],
    ),
    Coor2D(
        [
<PHONE_NUMBER>3403936,
            1685050.5426394003,
        ],
    ),
]
Test forward pipeline:
From grid coordinates of TM @CM=100.7 K0=1.0:
[
    Coor2D(
        [
<PHONE_NUMBER>195006,
            1521088.3268045,
        ],
    ),
    Coor2D(
        [
<PHONE_NUMBER>3403936,
            1685050.5426394003,
        ],
    ),
]
To grid coordinates of UTM zone 47:
[
    Coor2D(
        [
<PHONE_NUMBER>000018,
            1521137.2111,
        ],
    ),
    Coor2D(
        [
<PHONE_NUMBER>000027,
            1685083.1436000003,
        ],
    ),
]
I (735) main_task: Returned from app_main()
'''
I also attempted to compile PROJ from [georust/proj](https://github.com/georust/proj), but I was unsuccessful.


Azure Image Builder | CLI issue

We are trying to create an image in Azure Image Builder , and getting the error below :
Command:-
az resource create
--resource-group $imageResourceGroup
--properties @helloImageTemplateWin.json
--is-full-object
--resource-type Microsoft.VirtualMachineImages/imageTemplates
-n helloImageTemplateWin01
Ref:- https://docs.microsoft.com/en-us/azure/virtual-machines/windows/image-builder
Error:-
The command failed with an unexpected error. Here is the traceback:
Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/msrest/serialization.py", line 1428, in _deserialize
found_value = key_extractor(attr, attr_desc, data)
File "/opt/az/lib/python3.6/site-packages/msrest/serialization.py", line 1193, in rest_key_case_insensitive_extractor
return attribute_key_case_insensitive_extractor(key, None, working_data)
File "/opt/az/lib/python3.6/site-packages/msrest/serialization.py", line 1222, in attribute_key_case_insensitive_extractor
return data.get(found_key)
Any insights as to what could be the cause ?

ARM

ARM

@yonzhan Any update on the query ?

@sourp2693 May I ask what version of CLI you are using? Could you add parameter --debug to the executed command and then send the printed debug log to me? My email address is<EMAIL_ADDRESS>

This is a python SDK related issue, code link: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2021_04_01/models/_models_py3.py#L1407
The 'type': '{IdentityUserAssignedIdentitiesValue}' should be 'type': '{IdentityUserAssignedIdentitiesValue}', otherwise an error will occur during deserialization.

@msyyc Could you please help to have a look at this Python SDK issue

@msyyc Any update on the issue ?

Hi @sourp2693 I will investigate it asap. Thank you for your feedback.

@msyyc  Any update /Proceedings ?

Hi @sourp2693, according to swagger definition and the error message, the root cause is that your input parameter is not right. the helloImageTemplateWin.json indicates that {}  should be dict instead of string

@zhoxing-ms shared .json file of yours and userAssignedIdentities should make some change:

Hope it could resolve your problem.

@sourp2693 Could you please let us know if you had a chance to follow the above action plan and see if that fixes your issue ? Awaiting your reply.


Remove 'token' from HIGH_SECRET_HINTS.

'token' matches both this pattern and the 'tok' pattern above in LOW_SECRET_HINTS. This means it gets an instant 'High' classification even if the string contains nothing else.
Removing 'token' from HIGH_SECRET_HINTS means that 'token' alone will get a 'Low' classification. Ideally the secret match should know how to deal with duplicate patterns.

Captured the ideal in #10.

+1


chore: update Kubernetes versions add binary for 1.29.11,1.30.7,1.31.3

What type of PR is this?
/kind feature
Optionally add one or more of the following kinds if applicable:
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

please rebase this against the dev branch, after merge we can then create a cherry-pick PR into the master branch

please rebase this against the dev branch, after merge we can then create a cherry-pick PR into the master branch

DONE


README/Documentation Enhancements

README should document usage of the rc command line tool.
README should also document the various helpers/macros.

rc docs added in # @v0.2.0
helpers are documented in ricardian-spec as of v0.2.0


[FEATURE]: Test request, ignore!

Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@tdawe: Thank you for submitting this issue!
The issue is currently awaiting triage. Please make sure you have given us as much context as possible.
If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.

We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at<EMAIL_ADDRESS>

@tdawe: Thank you for submitting this issue!
The issue is currently awaiting triage. Please make sure you have given us as much context as possible.
If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.

We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at<EMAIL_ADDRESS>


Syntax for annotations in the unittest example are wrong

https://tour.dlang.org/tour/en/gems/unittesting has an example of
unittest @safe @nogc nothrow pure
{
    assert(myAbs() == 1);
}

but this doesn't compile with dmd -unittest.  It looks like the unittest keyword should actually come after the annotations, according to https://dlang.org/spec/unittest.html#attributes_unittest

Thanks! -> https://github.com/dlang-tour/english/pull/243


Package.json has type: module but main still points at commonjs

I just started using this library and it works great! Thanks for your efforts here.
Now I'm writing tests (and running with vitest), but it seems to be picking up the commonjs version of the build. This results in the error "default is not a constructor".
I'm not 100% sure, but it might be that vitest is following closely with the module spec, where the module field of package.json isn't actually used, instead it uses the main field when there isn't an exports field. The module field of package.json isn't standard, so it makes sense that vitest wouldn't use it.
As a sanity check, I changed the main field to point to the .esm.js file and stopped getting that error. I wouldn't recommend that for production though, I think this should be updated to use the exports field and use conditional exports for require and import.

Here's a related discussion in the vitest repo https://github.com/vitest-dev/vitest/discussions/4233

If anyone else runs into this, I worked around this by adding an alias to my vite config:
alias: {
  'a11y-dialog': path.resolve(__dirname, './node_modules/a11y-dialog/dist/a11y-dialog.esm.js'),
},

Hello Brian, and thanks for opening an issue. 👋
I must say this is the part of maintaining a package I am really unexperienced with, and I am always terrified of breaking things by touching the entry points or the bundling system. I recall having to release several hotfixes after v8 to have something that works. 😓
If you are pretty confident with the exports approach, you could consider opening a MR and I’ll happily review it. Otherwise, maybe we can just add your workaround to the docs. What do you think?

Yeah I agree touching exports can be scary!
I'm happy to send a MR when I get a chance. I think the biggest risk is that a user might be reaching into the package to grab some internals, and the exports change makes those internals no longer public. So the safest bet is to make sure that all files that are currently in the dist folder remain accessible. You can always lock that down further in a major version update, but this would be the safest bet to keep it a minor version bump.

Fixed, but it needs to be released.

Done in version 8.1.0. 🎉  Thank you so much for your support! I hope we haven‘t broken anything, but I’m pretty confident. 😅


Add IT-Tools to Electron-Vue

Desc
A programing helper for developers built with Electron & Vue.js
Features

Regex Tool
Timestamp Converter
Color Box
Json Parser

9f8cb4bd86ae6c9ebe1697089f730cc53ac6814a


event.fetch_users() only accepts with_members as a string, not bool

Summary
event.fetch_users() only accepts with_members as a string, not bool
Reproduction Steps
'Will throw an error'
await event.fetch_users(with_members=True)

'Will throw another error, but accepts with_members'
await event.fetch_users(with_members=str(True))

Minimal Reproducible Code
No response
Expected Results
List of users who are interested in an Event
Actual Results
Traceback (most recent call last):
  File "lib\site-packages\disnake\ext\commands\slash_core.py", line 585, in invoke
    await call_param_func(self.callback, inter, self.cog, **kwargs)
  File "lib\site-packages\disnake\ext\commands\params.py", line 678, in call_param_func
    return await maybe_coroutine(safe_call, function, **kwargs)
  File "lib\site-packages\disnake\utils.py", line 555, in maybe_coroutine
    return await value
  File "cogs\getevent.py", line 42, in getevent
    subs = await event.fetch_users(with_members=str(True))
  File "lib\site-packages\disnake\guild_scheduled_event.py", line 427, in fetch_users
    user = Member(data=member_data, guild=self.guild, state=self._state)
  File "lib\site-packages\disnake\member.py", line 314, in __init__
    self._user: User = state.store_user(data["user"])
KeyError: 'user'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "lib\site-packages\disnake\ext\commands\interaction_bot_base.py", line 1346, in process_application_commands
    await app_command.invoke(interaction)
  File "lib\site-packages\disnake\ext\commands\slash_core.py", line 594, in invoke
    raise CommandInvokeError(exc) from exc
disnake.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'user'

Intents
guilds, members, reactions
System Information
- Python v3.10.0-final
- disnake v2.3.0-beta
    - disnake pkg_resources: v2.3.0
- aiohttp v3.7.4.post0
- system info: Windows 10 10.0.22000

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shown the entire traceback, if possible.
[X] I have removed my token from display, if visible.

Additional Context
No response

PS: Pasted the wrong error in.
The error posted comes from:
await event.fetch_users(with_members=str(True))


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: romilbheda sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Update the table of contents with chapter 5 drill downs

Now that chapter 5 is merged, I realize I need to update the drill down in Chapter 1 > In This Book.

@rmcgranaghan can you take a look at how we structured things here and let me know how you'd follow that structure for your chapter, especially for the

ML method(s) and concepts
Data source(s)

I have a start there for your chapter but wasn't able to quickly figure out what the data source drill down would be since I'm not as familiar with this field.

Hi James
Fantastic work putting this together! Thanks for making the effort to have
this chapter included.
Are you interested in restructuring what is currently there? Would you
intent be to better align the text with the notebook evaluations? Just want
to understand what actions you would like me to take.
Thanks,
Ryan
Ryan McGranaghan - Aerospace Engineering Scientist | Principal Data
Scientist
      ASTRA, LLC

      282 Century Place, Suite 1000  |  Louisville, CO  80027
      Contact
      WeWork c/o Ryan McGranaghan, 641 S Street NW, Washington, DC 20001
<PHONE_NUMBER>  |<EMAIL_ADDRESS>/

<EMAIL_ADDRESS>|  astraspace.net
On Wed, Jun 19, 2019 at 3:28 PM James Mason<EMAIL_ADDRESS>wrote:

@rmcgranaghan https://github.com/rmcgranaghan can you take a look at
how we structured things here http://helioml.org/01/2/in_this_book.html
and let me know how you'd follow that structure for your chapter,
especially for the

ML method(s) and concepts
Data source(s)

I have a start there for your chapter but wasn't able to quickly figure
out what the data source drill down would be since I'm not as familiar with
this field.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HelioML/HelioML/issues/15?email_source=notifications&email_token=AIFRBPO234NRMYQS5RYFZRLP3KCDFA5CNFSM4HZMTXW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDBDHQ#issuecomment-503714206,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIFRBPJVXIKHTNTPCZFIO73P3KCDFANCNFSM4HZMTXWQ
.

Are there any other ML method(s) or concepts that should be included for the chapter?
Under data source(s) we currently have: Solar wind, geomagnetic activity, particle precipitation, and ionospheric Global Navigation Satellite System (GNSS) data
But that should really be something like (making educated guesses here):

Solar wind > ion density > ACE/SWEPAM
Geomagnetic activity > average equatorial horizontal component of Earth's magnetic field > Dst from NOAA
etc

Hi James
Thanks for the input and my apologies for the slow response - June was a
heavy travel month. I hope you enjoyed a happy fourth and are in the midst
of an energizing weekend.
Here are my thoughts:

Data: in the paper for this material, we presented a table that
covered the entirety of the data used. I modified it and am attaching a
spreadsheet with a potential table for the HelioML chapter. What do you
think?
ML methods: this work focused on SVM, but subsequent work has examine
other approaches (e.g., random forests and neural networks). I suggest we
could add a small block at the end with the following text and attached
figure. Please let me know what you think.

SVMs have been examined in this chapter, however it is important to note

that a massive space of ML approaches exist through which new scientific
understanding can be created. We organize these methods across a spectrum
of explainability - ranging from easily interpretable and interrogable
(e.g., SVMs) to those that are more difficult to interrogate (e.g., deep
neural networks). The examination of these methods need be accompanied by
robust evaluation of the results using myriad metrics (e.g., Bloomfield
et al., 2012).

Thanks again for your suggestions and hard work. Very excited to have this
chapter in such good shape!
Regards,
Ryan
Bloomfield, D. S., Higgins, P. A., McAteer, R. T. J., & Gallagher, P. T.
(2012). Toward reliable benchmarking of solar flare forecasting methods.
The Astrophysical Journal Letters, 747(2), L41.
Ryan McGranaghan - Aerospace Engineering Scientist | Principal Data
Scientist
      ASTRA, LLC

      282 Century Place, Suite 1000  |  Louisville, CO  80027
      Contact
      WeWork c/o Ryan McGranaghan, 641 S Street NW, Washington, DC 20001
<PHONE_NUMBER>  |<EMAIL_ADDRESS>/

<EMAIL_ADDRESS>|  astraspace.net
On Fri, Jun 21, 2019 at 11:52 AM James Mason<EMAIL_ADDRESS>wrote:

Are there any other ML method(s) or concepts that should be included for
the chapter?
Under data source(s) we currently have: Solar wind, geomagnetic activity,
particle precipitation, and ionospheric Global Navigation Satellite System
(GNSS) data
But that should really be something like (making educated guesses here):

Solar wind > ion density > ACE/SWEPAM
Geomagnetic activity > average equatorial horizontal component of
Earth's magnetic field > Dst from NOAA
etc

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HelioML/HelioML/issues/15?email_source=notifications&email_token=AIFRBPPRCQYV5JP6425E7M3P3T2LZA5CNFSM4HZMTXW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYI3DLY#issuecomment-504476079,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIFRBPMCL43GUCMLKP2DRN3P3T2LZANCNFSM4HZMTXWQ
.

Data: Van you attach the spreadsheet in the GitHub comment box? Because this conversation is mediated through the GitHub issue, I'm not able to get any attachments made directly in email.
ML methods: Your suggested additional text and figure in your chapter is fine by me, but not required. All I need for the table of contents is what's actually being demonstrated in the chapter itself. We have the support vector classifier listed ✅. If you look at the things we have listed for the other chapters in the table of contents, is there anything there or in that spirit that we should include for your chapter (e.g., data cleaning method, method for splitting data)? We'll only include things done in the chapter itself rather than anything that was done outside of it e.g., to prepare the data file that the chapter downloads from figshare.

My apologies, the data spreadsheet is now attached here.
With regard to the table of contents methods, I think perhaps the only other appropriate inclusion is the univariate feature selection algorithm that uses the Fisher ranking score for feature scoring. The reference we use is to Gu et al., [2011] (see below for full reference). It is a standard statistical analysis of variance (ANOVA) univariate F score test.
Gu, Q., Li, Z., & Han, J. (2011). Generalized Fisher score for feature selection. In Proceedings of the Twenty-Seventh Conference on Uncertainty in Artificial Intelligence, UAI 11, AUAI Press, Arlington, Virginia, United States, pp. [266–273.]
McGranaghan_DataTable.xlsx

Perfect! I'll add this info to the table of contents. Thanks!

Alright, I've made some progress -- I'm good on the ML methods but am stuck on the data. The spreadsheet lists the website from which the data were obtained, but not the observatory and instrument. Do you have that information?

Hi James - sorry for my very tardy response (been a bit preoccupied with travel).
I have attempted to capture the relevant information in this updated version of the data table. Please let me know if this is what you are looking for. In general, the observatory/instrument is difficult to specify for these data (the CHAIN network operates specific instruments, information about which have now been provided, but the CDAWeb data are compiled from multiple spacecraft and myriad instruments).
McGranaghan_DataTable.xlsx

Nice, thanks!! I've used that to update the data sources in the table of contents. Check it out and let me know if anythings inaccurate or should be changed. It's chapter 5.
http://helioml.org/table_of_contents.html

Looks fantastic - thank you for the update! My only comment is with regard to - “” Kyoto WDCG
I assume the ` "" ' refers to the fact that this is the same as the line previous, but just wanted to double check. Is it worth writing out again (the other instruments explicitly write it out on each line)
Thanks again

Good catch. In my head I'd replaced that but apparently that didn't happen in reality! It's updated now. Closing out this issue!


Get year from date if missing

I got some .bib files that have date but not year and also journaltitle instead of journal. Might make sense to have a way to inject a mapping or something.

Maybe… I might be in the camp of "fix your .bib file". A missing year is probably quite problematic, since that enters into the (non-numeric) citation labels. Do you have a specific example (link to the .bib file in question)? I would potentially want to emulate whatever behavior RevTeX has.
Some of these things might also be upstream issues with Bibliography.jl, which definitely has some bugs and doesn't read every possible .bib file correctly. But fundamentally, the goal isn't necessarily to be able to handle every possible .bib file. Rather, it should be possible to write a clean .bib file specifically for DocumenterCitations that produces the desired result (or, at least a sensible result)

Any bib-file I export using zotero looks like this
@article{bhatia_simple_2020,
	title = {Simple sugars shape giant vesicles into multispheres with many membrane necks},
	volume = {16},
	issn = {1744-683X, 1744-6848},
	url = {http://xlink.rsc.org/?DOI=C9SM01890E},
	doi = {10.1039/C9SM01890E},
	abstract = {...},
	pages = {1246--1258},
	number = {5},
	journaltitle = {Soft Matter},
	author = {Bhatia, Tripta and Christ, Simon and Steinkühler, Jan and Dimova, Rumiana and Lipowsky, Reinhard},
	urldate = {2020-04-05},
	date = {2020},
	langid = {english},
}

Sometimes the journaltitle is even missing.
I'd even argue that title, author and doi would be sufficient. In any case, I think that erroring is a bit harsh.

That .bib file has so many issues that it should never be used, in any context. I’m horrified that a tool as widely used as Zotero would export such garbage. But for the good of humanity, I would do anything to actively reject such a .bib, even if it could technically be made to work. It seems better to force people to this clean this up manually, or have a script in their workflow that does it automatically. Or, submit a report to Zotero, and maybe they can fix it.
The same goes for the auto-export from publisher’s websites. Those should never be used without proper cleanup (for this plugin or in LaTeX), and I will not support .bib files that come out of such tools.
I’ll give it a bit more thought, but I’m leaning towards a wontfix. The design philosophy laid out in the docs is deliberate. I would still recommend using or adapting the getbibtex script linked there or a similar tool.

I mean, I'm okay with making some pragmatic concessions while still keeping the "All .bib files must be curated by hand" policy in place. But in this case, Zotero is just exporting completely invalid bibtex. Both the journal and year are officially required for the @article type: https://www.bibtex.com/e/article-entry/
Please submit this as a bug to Zotero

I checked how RevTeX handles this, and it doesn't:

So this is just plain and simple invalid BibTeX code, in any context.

@BeastyBlacksmith are you using Better BibTeX for the export ?

Unfortunately couldn't get that working on the new version. Will try again next time.


data_get does not work when there is a dot in the key

Laravel Version: 7.26.0
PHP Version: 7.4.9
Database Driver & Version: MySQL 5.7

Description:
I am implementing a webhook in Laravel where i receive certain parameters with a dot notation. For example, the city will be send as parameter: "Location.City".
When using the $request->input('Location.City') it will return null.
The issue seems to be in the data_get method, it does not support dotted keys.
There is already a pull request (#33786) for this one, I think with some small improvements (like checking first for multidimensional and if there is no match use the dotted key if available), this could really help people.

Hello,
$request->input('Location_City') should work

Well it doesn't work:
dd($request->input("Location.City"), $request->input("Location_City"));
results in

For me it's working fine :

Well thats strange. I'm not sure, but I don't see where this should happen in the code when using data_get().
Are you using
\Illuminate\Http\Request $request->input()?

First dump is the $request->all()

The first dump is the $request->all()

Yes, i'm using the input method from the request.
it's seems that the behaviour with json is not the same

Dots in keys aren't supported here.

@driesvints is there a specific reason for this as I was about to submit a PR to enable dot notation for the request()->query method, but won't bother if it's already been discussed and unlikely to be accepted? Cheers

Yes, the input method uses dot notation to access keys in array based input.
https://laravel.com/docs/8.x/requests#retrieving-input

@driesvints that's understood, it was more for accessing query string parameters using dot notation as I like to be explicit with where my data is coming from.
Due to the query method not supporting dot notation I'm currently using the input method but this doesn't accurately represent where the data is coming from and I'd like to use the query method in this instance.
I was just curious as to why the query method doesn't support this and if there was a specific reason, otherwise I'd submit the PR for discussion. If there's a legitimate reason that's no problem, I'll just keep using the input method.

does not seems consistent to me, result change depending on the request, if it's application/json or x-www-form-url-encoded


EFI System Partition was not found.

What happens?
EFI System Partition was not found.
How this happens?
Explain exactly the steps you did:

Download HackBGRT-2.5.1.zip and extract all files.
Start setup as administrator.
Selected i
Edited and saved image
Closed paint
Hitted enter as I don't know my EFI Location

P.S.: I have dual boot and 2 drives. The Windows is at my main drive along with Grub Loader and the Linux is at another drive. I also have Secure boot disabled.
Log file
setup.log

Use diskpart to assign a drive letter for your Windows EFI (I am installing HackBGRT for the first time with an ESP for rEFInd and one for Windows). I'll try this if I have the same problem as you

It worked for me...


(Feedback) There are various minor unhandled bugs

UI
UI looks really cool, a suggestion is to make the 'listen' button an actual button not a ghost button (color filled inside the box).
As 'Listen' button is equally important as 'Generate' button.
Functionality flaws

[ ] There is no way to stop the speaker, it only stops when it is done or application(through terminal) is closed.
[x] Automatically .mp3 is appended to the file name while saving, even though User has already added.
(voice becomes voice.mp3 and voice2.mp3 becomes voice2.mp3.mp3)
[x] While Importing text from another file, It does not automatically clears the text box. (Personally I found it annoying)

Some of the issues are fixed.

Not sure how to manage, how to stop the speaker, here is an ideology.
Run the TTS engine on a seperate thread and when stop button is pressed, delete the thread, I have not tested it, may be it would work.


Develop

Alamofire now only needs objects to adhere to Decodable

Current coverage is 100.00%

Merging #57 into master will not affect coverage as of 8ef33ca

@@            master     #57   diff @@
======================================
  Files            4       4
  Stmts          241     241
  Branches         0       0
  Methods          0       0
======================================
  Hit            241     241
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 8ef33ca

Powered by Codecov. Updated on successful CI builds.


Controller stage not right when created with fxml

Whenever I create a new stage and delegate to a new controller with the fxml= method, I'd expect that the newly created stage would be passed to the new controller as it's stage. This doesn't seem to be the case.
I'll use a global to illustrate the issue:
class Application < JRubyFX::Application
  fxml_root 'lib/gui/fxml'

  def start(stage)
    $stage = stage

    with(stage) do
      fxml MainController
      show
    end
  end
end

class MainController
  include JRubyFX::Controller
  fxml 'main.fxml'

  def some_action
    # returns false
    $stage == self.stage

    # returns NaN
    self.stage.x

    # returns 556.0
    $stage.x
  end
end

Is this the intended behavior? Am I going about this wrong?

@stage, not self.stage
self.stage is a dsl call to create a new stage

Of course, that makes sense. Thanks for the help.


[Issue] Unable to run casper-client on Mac M1

Mac M1 users are not able to install casper-client version 1.5.0 installed via cargo install casper-client.
Steps to reproduce
brew update
xcode-select --install
brew install pkg-config
brew install openssl
cargo install casper-client

What should happen:
casper-client CLI tool should be installed by cargo, permitting use of casper-client commands like casper-client -V or casper-client get-state-root-hash
What actually happens:
All casper-client commands result in:
MacBook:/ user$ casper-client -V
Illegal instruction: 4

Debug info
This is broken using rust nightly.
Rustc:
user$ rustc --version
rustc 1.66.0 (69f9c33d7 2022-12-12)

Rustup:
user$ rustup --version
rustup 1.25.1 (bb60b1e89 2022-07-12)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.66.0 (69f9c33d7 2022-12-12)`

Cargo:
user$ cargo --version
cargo 1.66.0 (d65d197ad 2022-11-15)

And non-shallow checkout out brew:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow

same here ((

At the moment, we do not support running a node on Mac.   If/when we revisit the OS support we provide, we may revisit the position.  Closing for now.


Use Formula.sha256 instead problem

I think i have the newest version but still get the "Use Formula.sha256 instead" error msg, pls take a look, thx.

The error message is wrong here; this will be with one of your formulae in your taps. Run brew readall to figure out which.

thx for answer, but with command "readall" i can't get more information. How can i check the next step?

Try to run brew info --installed.

gaok@macC02PH2FJG3QC [13:50:48] [~]
-> % brew info --all
40 kegs, 39,860 files, 1.3GB
gaok@macC02PH2FJG3QC [13:50:52] [~]
-> % brew info --installed
40 kegs, 39,860 files, 1.3GB

Looks like no more useful hints. It's time to delete brew completely in my pc and reinstall it?

@qukankan what's the output of grep -r "sha1 " /usr/local

Thx @ilovezfs
It's almost 3k lines<EMAIL_ADDRESS>Since it's failed when i call "brew services list", is there any other way to check out brew services. I think this can help to locate the problem taps.
result.txt

I'm not seeing any use of sha1 in there. What happens if you
HOMEBREW_DEVELOPER=1 brew services -dv list

yes, fund the reason:
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb   /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /Users/gaok/Library/Caches/Homebrew/Formula/panamax.rb   Error: Calling Formula.sha1 is disabled!   Use Formula.sha256 instead.   /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services/cmd/brew-services.rb:86:in "available_services"  Please report this to the homebrew/services tap!
By loading panamax.rb.
I installed the panamax before, use command from the official page like
$ brew install http://download.panamax.io/installer/brew/panamax.rb
In this script used sha1.
There is another script with sha256, but only in panamax Git repository:
https://raw.githubusercontent.com/pamri/panamax-coreos/896e6d3820c897f208ee58ba4ba2d5825b420504/panamax.rb
omg. Thx support, it's fine now. Maybe add this Formulary name in error message (I mean as my first command try: brew services list)? It will not expose too many details but is useful to figure out the location.

BTW.
For those who has the same problem as me, after uninstall panamax from brew, and try reinstall it with brew but get another error with no permission to create soft link in /usr/local. That's another problem. I have full access rights in this order but still get error. It's strange, i think maybe because something went wrong in my environment after this series of questions.
My workaround is install panamax using MacPorts:
curl http://download.panamax.io/installer/ubuntu.sh | bash

@qukankan you're welcome!


Support unsecure registries through Docker Machine

The Docker machine that is running, by default, cannot launch VMs/Hosts with unsecured registries.  This can be achieved by starting DM with --engine-insecure-registry myregistry:5000.  In the Host Registration page, we should provide means to specify this before starting up GMS+DM.

Done as part of the last upgrade to machine

UI support for  --engine-insecure-registry is not available and this is tracked in #2913

Tested with latest build from master - Dec 8
Had a insecure registry set up in :5000 with few images.
Add a host by passing "engineInsecureRegistry" set to ":5000"  to create_machine api.
Docker machine gets installed on this host with  "--insecure-registry" set in /etc/default/docker.
Able to start containers on this host using images that are hosted in this insecure registry with image as ":5000/".


Improve QualityOfServiceTests

I noticed that Travis is building PR and Push jobs here. Adding:
branches:
  only:
    - master

to the .travis.yml file will prevent the push job from building for anything but the master branch.

The CI failure in test__adding_many_conditions_each_with_single_dependency is addressed by PR #756.


Update Gradle Enterprise Gradle plugin to 3.5.1

CI passed: https://builds.gradle.org/buildConfiguration/Gradle_Check_Stage_ReadyforMerge_Trigger/40507420

@mergifyio rebase

@guylabs can you rebase on master please?

@JLLeitschuh done. Also triggered a new ready for merge.


Thanks for the effort!!!

Thanks for the effort of creating this bindings for TCLTK. There are several reasons why Python people are using Tkinter.  I've being in the search for a retained mode GUI library for Rust for quite some time. All the previous attempts to create TCLTK bindings for Rust ended, what's is sad.
What kind of help do you need in terms of keeping this project up and running ?
And I'm glad I discovered this project one day after the first commit!

I’m glad too that this project may help you. It may evolve with responses from real-world use cases, which I haven’t seen yet. The goal: to make both Rustaceans and Tk-ers happy ^_^

I’m glad too that this project may help you. It may evolve with responses from real-world use cases, which I haven’t seen yet. The goal: to make both Rustaceans and Tk-ers happy ^_^

Worth nothing to mention that people from Deno, which is based on Rust and V8, are looking for a GUI library as well. I'm receiveng notiffications from:   Deno Standard GUI . You could tell them about your job as it could boost your it


Update SQLite Version due to CVE-2020-11656

Please update SQLite version due to CVE-20202-11656.

Already updated.


Issue #134 Real access - working for VPI

Had to merge Issue#17 branch so may as well merge back to that.
Testcase seems to work with VPI, will implement VHPI next but need food!

@chiggs , the changes to sample_module no longer compile on icarus

@stuarthodgson that's annoying.  It works on Icarus 0.10.0, but the 0.9.6 version bundled with distributions is so old...
I'll see if we can ifdef and we can skip the test for older icarus versions or something.

stuart@middave:~/git/pv/cocotb_stu/tests/test_cases/issue_134 > $(which iverilog) -v
Icarus Verilog version 0.10.0 (devel) (s20121218-378-g819770a)

Copyright 1998-2013 Stephen Williams

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License along
  with this program; if not, write to the Free Software Foundation, Inc.,
  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

/tools/icarus-x86_64/bin/iverilog: no source files.

Usage: iverilog [-ESvV] [-B base] [-c cmdfile|-f cmdfile]
                [-g1995|-g2001|-g2005|-g2005-sv|-g2009|-g2012] [-g<feature>]
                [-D macro[=defn]] [-I includedir]
                [-M [mode=]depfile] [-m module]
                [-N file] [-o filename] [-p flag=value]
                [-s topmodule] [-t target] [-T min|typ|max]
                [-W class] [-y dir] [-Y suf] source_file(s)

See the man page for details.
stuart@middave:~/git/pv/cocotb_stu/tests/test_cases/issue_134 > make
make results.xml
make[1]: Entering directory `/home/stuart/git/pv/cocotb_stu/tests/test_cases/issue_134'
iverilog -o sim_build/sim.vvp -D COCOTB_SIM=1   /home/stuart/git/pv/cocotb_stu/tests/test_cases/issue_134/../../../tests/designs/sample_module/sample_module.v
/home/stuart/git/pv/cocotb_stu/tests/test_cases/issue_134/../../../tests/designs/sample_module/sample_module.v:57: error: stream_out_real is not a valid l-value in sample_module.
/home/stuart/git/pv/cocotb_stu/tests/test_cases/issue_134/../../../tests/designs/sample_module/sample_module.v:42:      : stream_out_real is declared here as wire.
Elaboration failed
make[1]: *** [sim_build/sim.vvp] Error 1
make[1]: Leaving directory `/home/stuart/git/pv/cocotb_stu/tests/test_cases/issue_134'
make: *** [sim] Error 2
stuart@middave:~/git/pv/cocotb_stu/tests/test_cases/issue_134 >

Must be pretty recent chage. Upgrading to non devel

I've just pushed a change to my branch to skip on Icarus.
Your version is OK, don't bother upgrading

Cool, will pick up at some point.


hop node config abstractions

moves some hop node config to core
reads as much as possible from core
removes as any

changes should be pretty straightforward, but let me know if you see any logic errors

@shanefontaine good suggestion and agree, will rename 👍


Mock backend server

[x] User apis

[x] Internal apis

[x] Docker file for running it with front end server

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Mock backend server

Why was this change needed? (You can also link to an open issue here)
https://github.com/arc53/DocsGPT/issues/391

Other information:

So close to the finish line @akshay11298
Thank you!

Ill commit it now, even if some parts are missing as I want to escalate it.
Thank you so much @akshay11298
Ill implement streaming on api/answer as needed


update-complianceType-for-mem-limit-range-policy

Signed-off-by: Chunxi Luo<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/23677

/cherry-pick release-2.4


Bridge between pure DP and zCDP

Add the ability to turn a pure-DP mechanism into a zCDP one. This would become useful for example if we were to add the exponential mechanism to pure-DP. The proof for such a translation is in this paper, proposition 3.3, page 14.

Done.


Sceneform plugin:1.15.0 with Android Studio 3.6 not working at all

Android Studio 3.6.3
Build #AI-192.7<IP_ADDRESS>92135, built on April 14, 2020
Android gradle plugin 3.6.3
SceneForm plugin 1.15.0
The plugin installed correctly. But I have faced these errors when using it:

Import Sceneform Asset is not working at all. It is giving Error: java.lang.RuntimeException.
However I used the alternate way to create .sfa and .sfb files.

The Viewer is not showing anything. When I am trying to open the .sfb file in Viewer, it is showing blank screen. I have attached the screenshot for the same.

Is there any way to see the .sfb file?
Thanks

Use Android Studio 3.5 and use this plugin you can see it

Is there any chance to fix this in version 1.16.0 ?

Duplicate of https://github.com/google-ar/sceneform-android-sdk/issues/989
If you need to use the legacy fbx to sfb workflow, best workaround is as suggested
above: use 3.5 solely for using the sceneForm plugin; set up a dummy Android Studio
project just for converting assets.  Copy/move the sfb files to res/raw in your actual
project; the sfb is entirely self-contained so you don't need the .sfa etc at runtime.

Thanks @Consti10 and @tellypresence for the workarounds. But its really frustrating to use two Android Studio with a window system of 8gm RAM because Android Studio utilize too much RAM.
As this issue is same as #989 then they should fix this as almost three months has been completed to filed that issue.
I understand the workarounds and thats completely ok to use them but really this type of things does not suit on such big companies product.


[qt5-local] Build error

I am getting the following error while I build through cmake and I am getting the command successful on cmd.exe normally
Can someone please help me on this issue.
@JackBoosY looking for your comment on this.
Package: qt5-local[core]:x86-windows -> 5.15.0
Host Environment

Host: x64-windows
Compiler: MSVC 19.29.30147.0
vcpkg-tool version: 2022-07-21-a0e87e227afb536c62188c11ad029954f28fdb22
vcpkg-scripts version: 3908a2e18 2022-08-17 (4 months ago)

To Reproduce
vcpkg install
Failure logs
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:96 (message):
    Command failed: az artifacts universal download --organization https://dev.azure.com/hexagonmi/ --project=VTD --scope project --feed Test-VTDFeed --name qt5_windows_10 --version 5.15.0 --path C:/Users/harish.chinthagindhi/CloneRepo/Vcpkg/buildtrees/qt5-local/qt5-local
    Working Directory: C:/Users/harish.chinthagindhi/CloneRepo/Vcpkg/buildtrees/qt5-local
    Error code: The system cannot find the file specified
    See logs for more information:

Call Stack (most recent call first):
  C:/Users/harish.chinthagindhi/AppData/Local/vcpkg/registries/git-trees/5b4f3bfa61e5b6227d709e23fcb2329d9d95e21b/portfile.cmake:41 (vcpkg_execute_required_process)
  scripts/ports.cmake:147 (include)

cc @Neumann-A

@JackBoosY there is no port with that name in vcpkg

Created a new port file and calling from another repo and trying to installing it with cmake and vcpkg

@Neumann-A
while I am running this downloading feed successfully but getting the error only through vcpkg.exe install --x-install-root=./vcpkg_installed on this particular port file on the repo
---->.
az artifacts universal download --organization https://dev.azure.com/hexagonmi/ --project=VTD --scope project --feed Test-VTDFeed --name qt5_windows_10 --version 5.15.0 --path C:/Users/harish.chinthagindhi/CloneRepo/Vcpkg/buildtrees/qt5-local/qt5-local
{
"Description": "QT 5 binaries for windows 10",
"ManifestId": "096133FCD1612639605998F1E030410948C3B9AD5AFE0EF8F8B1C7959BBE135E02",
"PackageSize": 675622961,
"SuperRootId": "34924FA14F72B933B648F1F5B4BB4775201577734D3244F19C3BD2122315036802",
"Version": "5.15.0"
}

Provide the full portfile.cmake may get more helps.

@JackBoosY,
#this is the profile.cmake file
file(REMOVE_RECURSE "${CURRENT_BUILDTREES_DIR}/nuget")
set(NUGET_PACKAGE_VERSION "5.15.0")
#windows setup
set(tool_subdirectory)
set(NUGET_EXE)
set(NUGET_PACKAGE_NAME)
set(SOURCE_FOLDER "${CURRENT_BUILDTREES_DIR}/qt5-local")
if(UNIX)
find_program(LSB_RELEASE_EXEC lsb_release)
execute_process(COMMAND ${LSB_RELEASE_EXEC} -is
OUTPUT_VARIABLE LSB_RELEASE_ID_SHORT
OUTPUT_STRIP_TRAILING_WHITESPACE
)
set(tool_subdirectory "5.11.0-linux")
set(NUGET_EXE "${DOWNLOADS}/tools/nuget-${tool_subdirectory}/nuget.exe")
if (LSB_RELEASE_ID_SHORT STREQUAL "openSUSE")
set(NUGET_PACKAGE_NAME "qt5_opensuse")
elseif(LSB_RELEASE_ID_SHORT STREQUAL "Ubuntu")
execute_process(COMMAND ${LSB_RELEASE_EXEC} -rs
OUTPUT_VARIABLE LSB_RELEASE_VERSION_SHORT
OUTPUT_STRIP_TRAILING_WHITESPACE
)
set(NUGET_PACKAGE_NAME "qt5_ubuntu_${LSB_RELEASE_VERSION_SHORT}")
endif()
vcpkg_execute_required_process(
    COMMAND az artifacts universal download --organization https://dev.azure.com/hexagonmi/ --project=VTD --scope project --feed Test-VTDFeed --name ${NUGET_PACKAGE_NAME} --version ${NUGET_PACKAGE_VERSION} --path ${SOURCE_FOLDER}

    WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}"
    LOGNAME nuget-${TARGET_TRIPLET}
)

elseif(WIN32)
set(tool_subdirectory "5.11.0-windows")
set(NUGET_EXE "${DOWNLOADS}/tools/nuget-${tool_subdirectory}/nuget.exe")
set(NUGET_PACKAGE_NAME "qt5_windows_10")
vcpkg_execute_required_process(
    COMMAND az artifacts universal download --organization https://dev.azure.com/hexagonmi/ --project=VTD --scope project --feed Test-VTDFeed --name ${NUGET_PACKAGE_NAME} --version ${NUGET_PACKAGE_VERSION} --path ${SOURCE_FOLDER}

    WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}"
    LOGNAME nuget-${TARGET_TRIPLET}
)

endif()
Here copy whatever you want from SOURCE_FOLDER (extracted package) into CURRENT_PACKAGES_DIR
file(COPY ${SOURCE_FOLDER}/  DESTINATION "${CURRENT_PACKAGES_DIR}")

You are using
vcpkg_execute_required_process(
    COMMAND az artifacts universal download --organization https://dev.azure.com/hexagonmi/ --project=VTD --scope project --feed Test-VTDFeed --name ${NUGET_PACKAGE_NAME} --version ${NUGET_PACKAGE_VERSION} --path ${SOURCE_FOLDER}

    WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}"
    LOGNAME nuget-${TARGET_TRIPLET}
)

and it complains that the commant az is unknown. You have to fix that on your end.

@autoantwort ,
Please suggest what needs to be added to execute az commands and I am also similar issue on executing nuget command as well
COMMAND ${NUGET_EXE} install ${NUGET_PACKAGE_NAME} -Version ${NUGET_PACKAGE_VERSION} -OutputDirectory ${DIR} -Source Test-VTDFeed -packagesavemode nuspec
Please guide me on further things needed to fix this error.

Can you execute the command on the command line?

yes, both are working fine on command line

Maybe print the path and check if it is correct

validated the path and it is existing, no issue on variables

Then I don't know what the problem could be

PATH gets cleaned on windows. Try to use 'vcpkg env' and execute the command in there.

you mean to set VCPKG_BINARY_SOURCES ?

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


AttributeError: 'DatasetDict' object has no attribute 'features'

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
The model should be fine tuned using my .yml file config.
Current behaviour
I am running this on Colab.
When I run:
!git clone https://github.com/OpenAccess-AI-Collective/axolotl
%cd axolotl

!pip3 install packaging
!pip3 install -e '.[flash-attn,deepspeed]'
!pip3 install -U git+https://github.com/huggingface/peft.git

and then try and train the model using a .yml file which uses a hugging face data set as follows:
!accelerate launch -m axolotl.cli.train sql.yml
I get the following error:
AttributeError: 'DatasetDict' object has no attribute 'features'
Steps to reproduce
On colab run:
!git clone https://github.com/OpenAccess-AI-Collective/axolotl
%cd axolotl

!pip3 install packaging
!pip3 install -e '.[flash-attn,deepspeed]'
!pip3 install -U git+https://github.com/huggingface/peft.git

Create a sql.yml file and upload it.
and then try and train the model using a .yml file using the HF data set (https://huggingface.co/datasets/knowrohit07/know_sql) as follows:
!accelerate launch -m axolotl.cli.train sql.yml
Possible solution
No response
Which Operating Systems are you using?

[X] Linux
[ ] macOS
[ ] Windows

Python Version
3.10
axolotl branch-commit
!git clone https://github.com/OpenAccess-AI-Collective/axolotl
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

@Phasor please see the linked pr that was closed. That should help.


Allow CLI utils to work with dependencies in CSV

Summary
While testing big amounts of dependencies to update, it is bad to store them all in code. Allow for storing these in CSV.
I intentionally didn't add support for properties (which we test in similar way) since those are not simple pairs like dependencies and would require more complex solution.
Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Dependency update
[ ] Refactoring
[ ] Release (follows conventions described in the RELEASE.md)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[ ] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[X] Example scenarios has been updated / added
[X] Methods and classes used in PR scenarios are meaningful
[X] Commits are well encapsulated and follow the best practices

Let's have it closer to the place of usage, ie in the testsuite. In that case we also do not need to do two backports and a separate release

@michalvavrik WDYT? As we already have a lot of update-related stuff in FW. Should we keep it rather in FW or move it to TS?

Let's have it closer to the place of usage, ie in the testsuite. In that case we also do not need to do two backports and a separate release

@michalvavrik WDYT? As we already have a lot of update-related stuff in FW. Should we keep it rather in FW or move it to TS?

I add stuff like this to FW. Truth be told, I when it comes to opinion like these I simply follow what reviewer wants unless I have strong opinion. I don't think there is one right answer and I want to have work done.
For example, I definitely added a lot of stuff related to TLS and CONFIG commands for Quarkus CLI to FW and I doubt they will be used outside of TS tests. But from that resulted some common abstract CLI result test that I find useful and reused.
FWIW I think this PR is ok.

Let's have it closer to the place of usage, ie in the testsuite. In that case we also do not need to do two backports and a separate release

Honestly, I think it would maybe be better to have stuff like this in a TS, but since we already have these support things in FW I don't want to split it. For that reason I would put it in a FW. But thats just my opinion.
BTW: IMHO in it not necessary not backport this, since 3.9 is only quarkus version which has so big renames, that it is worth to use CSV for it.

I'll leave it to @fedinskiy . Had my say.

That's why I would also like to have all of this in TS (including methods with assertions), but alas it is too late for already merged stuff. :-)

OK, you have a point. I'll move this to TS.


Run Prometheus in Docker

[ ] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @swetasharma
This is an excellent article. Can you follow the guidelines and make changes so that the file name is in correct format and is in the correct directory?
You should reachout to the Contributors Chat room for guidance.
Thanks.

LGTM

Congrats @swetasharma on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Part of security tests failed because tests was triggered before proxy setup is ready

integration-test Jenkins job
performance-test Jenkins job

In my local environment, waiting for edgex-kong to be initialized spends around 40 seconds. on Jenkins, it spends around 50 seconds.


Helm chart template for csi-azuredisk-controller causing empty pull policy for azuredisk-csi

What happened:
After having occasions where e2e-bootstrap was not pulling the most recent image, I noticed that the helm template for csi-azuredisk-controller.yaml was using values.images.pullPolicy instead of values.images.azuredisk.pullPolicy.
This was okay until v0.5.0 because pullPolicy was value's direct child field up until v0.4.0 but since v0.5.0, pullPolicys are children of individual images under values.
So this needs to be updated in order to avoid emptyazuredisk-csi's pull policy.
What you expected to happen:
How to reproduce it:
install driver via helm for v0.5.0 and above.
Anything else we need to know?:
Environment:

CSI Driver version:
Kubernetes version (use kubectl version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

It seems like this should affect upstream as well. We should fix it there also.

Done :)
https://github.com/kubernetes-sigs/azuredisk-csi-driver/pull/861


Licensing?

Hello Dirk,
First of all , thanks again for sharing this piece of code. I'm interested in doing some bit of work on your code.
I won't make some bold promises here and maybe nothing will come out of this but at least, to start, i need you to clarify the license you want to apply to this project. If you're missing time for this task, i propose to create a pull request with those changes.
But you still need to state what license you want to apply? I propose you use the BSD 2.0 license like scenebuilder. What do you think?
I also want to introduce maven (sorry i hate gradle) into this project, are you agree?

I normally use the Apache 2 license. However, I can not find the UI anymore on GitHub to actually set this license.
And yes, please use Maven.

License file added. Maven use approved. Closing ticket.


Set Expected Values and Added Language File

The expected values show up in the graphs, and will also be used for the explanation messages.
The locales file is a language message file that includes all of the messages in the app, so it's all in one place and isn't code dependent.
Note that the .mo file appears to be in the .gitignore, so you will need to compile the po to mo before running or you'll end up with a lot of FULL_CAPS message IDs.

looks good so far


Sticky scroll recognizes decorators instead of method names in python

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.70
OS Version: Windows 19044.1826

Steps to Reproduce:

Create a python class with some static methods
Activate sticky scroll
scroll down and see the decorator showed as the current method

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/duplicate and will be fixed in tomorrow's Insiders


fix: an issue caused by Chrome iOS in the iframe.

Chrome iOS will send a built-in message in the iframe with type equal "org.chromium.encryptedMessage", containing an object type variable in the event.data field as below:
{
"type": "org.chromium.encryptedMessage",
"message_payload": {
...
}
...
}
It only happened on Chrome iOS.

Thanks for the update, I will need to check in BrowserStack on iOS how this works.

I've checked BrowserStack and it seems that for iOS (at least in emulator) cross-domain don't work. But I've investigated the issue and there is no need to use try..catch and that will pause the browser if one use pause on exception that is always annoying. You can just check if the type of the data is string.
          if (typeof e.data === 'string') {
              var payload = JSON.parse(e.data);
              if (payload && payload.name === uniq_prefix) {
                  sysend.broadcast(payload.key, payload.data);
              }
          }

This seems to work just fine.
PS: do you have real iOS device? Does scross-domian message work with your fix?

I've checked BrowserStack and it seems that for iOS (at least in emulator) cross-domain don't work. But I've investigated the issue and there is no need to use try..catch and that will pause the browser if one use pause on exception that is always annoying. You can just check if the type of the data is string.
          if (typeof e.data === 'string') {
              var payload = JSON.parse(e.data);
              if (payload && payload.name === uniq_prefix) {
                  sysend.broadcast(payload.key, payload.data);
              }
          }

This seems to work just fine.
PS: do you have real iOS device? Does scross-domian message work with your fix?

Sorry for the delay.
Yes, I have an iPad mini, but I have only tried it in my non-cross-domain environment. Because, in my project I put the page_A.html into an iframe of the page_B.html, but both pages are under the same domain name.
If you need I can take time to create a non-cross-domain environment for it later.
BTW: Another weird phenomenon is that the "org.chromium.encryptedMessage" message is only emitted in production env (with the real domain name), never occurs in the ethernet(with an IP address, such as 192.xxx.xxx.xxx).

If you can please test Cross-domain on iOS that you have. If it don't work I will need to create note that cross domain is not supported on iOS.

We experienced the same issue on one of our pages.
Could you not combine the latest change if (typeof e.data === 'string') with the previous suggestion of safe parsing the string like in the above sample isValidJSON ? Otherwise we end up with plenty errors being logged

@coonmoo does latest version work for you? You don't want to combine the change, I don't plan to merge this PR is that's your concern.

Sorry, if I didn't express that clearly.
Yes we are still getting the exception with the latest version.
We are having scripts communicating with the iframe by posting non-json string messages.
(not related to iOS, the exception is the same though)

@coonmoo I've added two checks one to test if string have sysend magic string and second just in case try..catch. Please test the file and I will release new version.

Thank you very much for the fast changes. Works good!


Average power measured should exclude invalid measurements

During ranging mode we can have invalid values being measured due to wrong ranges being set. These invalid values like "-1" should be excluded while measuring the average power. This issue can be seen happeing in this log and the relevant code that needs fix should be this

This is already done in the code


Suggestion: vis-Style Structural Regular Expressions

Well, I say vis-style, but really it was Sam's idea first. vis is the only modal editor ever to grasp the concept with both hands and not have the snail's pace selection-operator grammar; I wish I could use it but I need more code intelligence than it has. If Flow has it I'll never use anything else.

Can you be a bit more specific? Structural regex seems very vague to me and I don't really want to read the whole vis and sam manuals.
I intend to add regex support to the find command soon, which will also mean regex support for adding cursors and doing multi-cursor edits. I that enough regex support for you? (that's usually more than enough for me)

A structural regular expression is a bit like a (CLI) pipe, except instead of running data through many commands, you’re running a selection through many filters. Like, you select the whole document, then you input a regex and every match of that regex becomes a different selection, then another regex and only the selections that contain that regex are kept, then another and every selection is split into multiple separated by those matches. It’s hard to explain in words; vis has a video demo on their README, and I’m sure there’s a command language section in the man page. It contains cursor-by-regex but goes far beyond it.

I don't see structural regexs as being likely in flow at the moment. So I'm going  to close this now. Perhaps if needs be open a discussion thread to discuss it more.


CI Test for unformity

Thinking probably a mocha/chai script (or just plain ol' javascript really, no need to go crazy):

https://mochajs.org/#getting-started
https://www.chaijs.com/

First could be something simple like
describe("monsters", function() => {
    describe('JSON consistency', function() {
        it('should follow a consistent structure', function() {
           monsters.forEach((monster) => {
              expect(monster.name).to.be.a('string');
              expect(monster.size).to.be.a('string');
              expect(monster.armor_class).to.be.a('number');
              // etc etc.
              // more valuable for complex properties.
           });
      });
  });
});

Just wanted to hop on this thread to say this would make it much easier for folks like me to maintain our API clients for the DnD project. Some sort of consistent schema checking is definitely a bigtime win in my book.

Just wanted to hop on this thread to say this would make it much easier for folks like me to maintain our API clients for the DnD project. Some sort of consistent schema checking is definitely a bigtime win in my book.


MDDatePicker: Can't select some years in select year mode

Description of the Bug
After changing to the year selection mode, clicking on some of the years doesn't do anything. The years affected seem to be around the center of the dialog, so in the default, unscrolled view the range 1920-1925. Sometimes it helps to click slightly to the right of the year.
Code and Logs
Apart from changing the window size, this is the example code straight from the docs.
from kivy.core.window import Window
from kivy.lang import Builder

from kivymd.app import MDApp
from kivymd.uix.pickers import MDDatePicker

KV = '''
MDFloatLayout:

    MDToolbar:
        title: "MDDatePicker"
        pos_hint: {"top": 1}
        elevation: 10

    MDRaisedButton:
        text: "Open time picker"
        pos_hint: {'center_x': .5, 'center_y': .5}
        on_release: app.show_date_picker()
'''

class Test(MDApp):
    def build(self):
        Window.size = (1920, 1280)
        return Builder.load_string(KV)

    def on_save(self, instance, value, date_range):
        '''
        Events called when the "OK" dialog box button is clicked.

        :type instance: <kivymd.uix.picker.MDDatePicker object>;

        :param value: selected date;
        :type value: <class 'datetime.date'>;

        :param date_range: list of 'datetime.date' objects in the selected range;
        :type date_range: <class 'list'>;
        '''

        print(instance, value, date_range)

    def on_cancel(self, instance, value):
        '''Events called when the "CANCEL" dialog box button is clicked.'''

    def show_date_picker(self):
        date_dialog = MDDatePicker()
        date_dialog.bind(on_save=self.on_save, on_cancel=self.on_cancel)
        date_dialog.open()

Test().run()

Versions

OS: elementary 6.1 (based on Ubuntu 20.04.3)
Python: 3.8.10
Kivy: 2.0.0
KivyMD: master (1cb82f7d2437770f71be7c5a4f7de4b8da61f352)

Fix in master branch.


Windows engine does not support a volume with NFS

File: engine/reference/commandline/volume_create.md
"Edit This Page" doesn't allow me to update for some reason, so I will state it here.
Could we change it from:

The built-in local driver on Windows does not support any options.

To something like this:

The built-in local driver on Windows does not support any options; therefore, Windows engine
cannot create a volume mapped to NFS drive.  Use of smb and bind mount is recommended
instead.
For hosts running on Azure or AWS, CloudStor plugin can provide connections to persistent storage.

Reasoning:
Because options are not supported on Windows engine with volume create, it cannot pass url and credential for NFS connection.  Also, NFS client on Windows does not support NFS ver 4 (which makes up majority of installations) too.  We should document this as limitation until feature will be added.
https://github.com/kubernetes/kubernetes/issues/56188
smb is recommended here too
https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-storage#smb-mounts

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


How I can add a new user for proxy?

oh thanks, I so stupid, It is in readme

говори по-русски, все свои


Add Italian Translation

Italian Translation #50

Awesome. Thank you @pmarco0 for adding Italian translation :+1: Happy Hacktoberfest from @php-earth


Refactored genesis config fork logic.

Signed-off-by: Mark Terry<EMAIL_ADDRESS>

PR description
Refactored the default fork block determination logic to exclude unexpected forks that would currently break forkId generation.
Fixed Issue(s)

Fixes #1532
Changelog

[x] I thought about the changelog and included a changelog update if required.

Feel free to merge


Adding k8s_namespaces

/rerun all

Results for scribe_jjb

Module
Pass/Fail

cpuinfo
Pass

cpu_vulnerabilities
Pass

dmidecode
Pass

k8s_namespaces
Pass

yum_repos
Pass


SSL verification failed

i attempted to set this up, but my server requires a secure connection, it appears that your code doesn't ignore ssl (in this case using the private returns a plex.direct ssl cert)
import requests
session = requests.Session()
session.verify = False
pms = PlexServer(url, token, session=session)

Thanks for the bug report, is your server using a self signed SSL cert (e.g. not issued from a known authority)?
I'd prefer not to hard code the bypass of certificate verification, would a container variable be suffice in this scenario? E.g. docker run ... -e BYPASS_SSL_VERIFICATION=1 ...?

its using the standard plex.direct cert supplied by plex.tv. as for the bypassing verification i would prefer you didn't hard code it :) and ENV variable is fine.

@booksarestillbetter the option BYPASS_SSL_VERIFY has been added. Add the following environment variable when running the container to activate it:
-e BYPASS_SSL_VERIFY=1


Do not run glide config tests in parallel

When these tests are run in parallel, the git operations inconsistently fail in confusing ways on Appveyor, such as remote repository at https://github.com/sdboyer/deptest.git does not exist, or is inaccessible .

kicking to incorporate other PR merge

Is there a set of best practices around when it's safe, encouraged/discouraged, to flag a test with t.Parallel()?

Is there a set of best practices around when it's safe/encouraged/discouraged to flag a test with t.Parallel()?

test.Helper assists a bit: https://godoc.org/github.com/golang/dep/internal/test#Helper.Parallel
It will fail the test if you try to parallelize a test depending on global state.

I'm going to merge this as-is because I want the CI failure to go away, but I'd like to see a follow-up to do this differently.
Instead of having the underscore-separated names (which is generally frowned on in Go, something I should've been but haven't), let's rewrite these as subtests of a single test. That'll also let us enable parallelism within the test. It might not solve the problem here (I haven't looked in detail), but at the very least, it's easier to reason about the scope of t.Parallel() when it's limited to subtests, rather than the entire set of tests in a package.


take out embedded target from logging and add fluentd target

take out embedded log target now
comment to let user use catalog as a normal es in release note
test them

rancher/rancher:master 9/14
Validated basic unsecured logging to fluentd
Todo (requires secured forward input plugin):

shared auth key
basic auth
tls

rancher/rancher:v2.1.0-rc4
Requires Secure Forward Input plugin for auth options.
The following all work correctly:

Shared auth key
Basic auth
TLS
Multiple targets


Unable to connect to iGrill 3 device

Hi!
After setting up an ESP32 board I get these log messages:
[II] Call connectMultiWiFi in loop
[WM] ConnectMultiWiFi with :
[WM] * Additional SSID =  XXX , PW =  XXX
[WM] Connecting MultiWifi...
[WM] WiFi not connected
[II] Scanning for iGrill Devices...
[II] WiFi lost.
[II] Call connectMultiWiFi in loop
[WM] ConnectMultiWiFi with :
[WM] * Additional SSID =  XXX , PW =  XXX
[WM] Connecting MultiWifi...
[WM] WiFi not connected
[II] Connecting to iGrill Device: xx:xx:xx:xx:xx:xx
[II] Connection Failed!
[II] Scanning for iGrill Devices...
[II] WiFi lost.
[II] Call connectMultiWiFi in loop
[WM] ConnectMultiWiFi with :
[WM] * Additional SSID =  XXX , PW =  XXX
[WM] Connecting MultiWifi...
Any ideas what's going wrong? My Router shows the device as connected to WiFi although I get timeouts when pinging it.

Weird! Reflashed it and now it's working!


Update sql-server-extended-security-updates.md

Adding Canada Central to supported regions

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

#sign-off

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


Uncaught DOMException: CanvasGradient.addColorStop: Invalid color

If you define in the color stop a non-color value, you get the following message:
Uncaught DOMException: CanvasGradient.addColorStop: Invalid color

Because the plugin is leveraging on @kurle/color, I would suggest to check if the color is valid before adding to the gradient, and, if not valid, skips it.
I'm sorry but I didn't find the error before the last version release.
I'm going to submit a PR to fix it.

Good, the last release did not run the action needed for npm release :)

FINE!! so we have time to fix it. I need some minutes....


Update README.md

Removed not needed link in Configuration Line Paragraph, that was linking to that same paragraph.

can you link to https://cdn.rawgit.com/krzysztofzablocki/Sourcery/master/docs/usage.html ?

done with cc0fe73
Thanks @CezaryBielecki for spotting this


Rule 901410 uses @rx, when an @unconditionalMatch would work the same way

Simple first issue saving a bit of performance (when using the Sampling Mode that is mainly about saving performance).

Would you like me to submit a pull request for this, or leave this as a first issue for someone else?

@53cur3M3 It would be cool if you'll send a PR, thank you!

I intially made this simple change... but then wondered if the sampling mode rules could be made more efficient still, the likelihood of not getting two integers out of a hex-encoded sha1 string is statistically highly improbable, so I came up with the following which reduces the number of regexes. I'm assuming that a length comparison is more efficient than a regex match:
SecRule TX:sampling_percentage "@eq 100" \     "id:901400,\     phase:1,\     pass,\     nolog,\     ver:'OWASP_CRS/3.3.0',\     skipAfter:END-SAMPLING" SecRule UNIQUE_ID "@rx ^[a-f]*(0|([1-9]))[a-f]*([0-9])" \     "id:901410,\     phase:1,\     pass,\     t:sha1,t:hexEncode,\     capture,\     nolog,\     ver:'OWASP_CRS/3.3.0',\     setvar:'TX.sampling_rnd100=%{TX.2}%{TX.3}'" SecRule TX:sampling_rnd100 "!@gt 0" \     "id:901420,\     phase:1,\     pass,\     t:length,\     log,\     msg:'{MATCHED_VAR} Using microseconds from duration as did not get integers from hexEncoded hash',\     ver:'OWASP_CRS/3.3.0',\     chain"         SecRule DURATION "@rx ([1-9]?[0-9])$" \         "capture,\         setvar:'TX.sampling_rnd100=%{TX.1}'"
I functionally tested (but haven't performance tested) the above ( https://github.com/53cur3M3/coreruleset/tree/improveSamplingEfficiency ) in apache modsec2 and it seemed to behave as expected.
I sanity checked this with @dune73 to make sure there wasn't a really glaring problem. He then took it a step further:
"The interesting question is what happens to 901450 when TX:sampling_rnd100 is empty. And I just checked, the rule does not trigger. So in the rare case that we do not get digits out of the hash, we simply execute the rule set which I think is the desired behaviour.
I also checked what happens if we keep the leading 0 in the variable and 901450 executes just fine. So it looks like this could be simplified substantially."
In which case, I think we could potentially reduce this to:
SecRule TX:sampling_percentage "@eq 100" \     "id:901400,\     phase:1,\     pass,\     nolog,\     ver:'OWASP_CRS/3.3.0',\     skipAfter:END-SAMPLING" SecRule UNIQUE_ID "@rx ^[a-f]*([0-9])[a-f]*([0-9])" \     "id:901410,\     phase:1,\     pass,\     t:sha1,t:hexEncode,\     capture,\     nolog,\     ver:'OWASP_CRS/3.3.0',\     setvar:'TX.sampling_rnd100=%{TX.1}%{TX.2}'"
Would be interested in other peoples thoughts, and whether anyone would be willing to test this against modsec3-nginx to check that if it behaves the same?

sorry for above code copy & paste fail - hasn't rendered newlines

Don't worry, i fixed it.

If i understand it correctly, you are replacing rules 901410, 901420, 901430 and 901440 with your 901410, are you?

@azurit , yes that's correct (or replacement of<PHONE_NUMBER>40 with revised 901410 and 901420 - if we did want to keep fallback to duration).

When I did this code year's ago I wanted to make it perfect. I traded simplicity and performance for perfection, while admitting in the comments that the randomness is far from perfect (but good enough for sampling).
With more distance, I think @53cur3M3 is right in favoring simplicity and performance over perfection (that can not be achieved here).
Just to add a bit perspective: The whole duration hack comes into play, when a hexEncoded SHA1 hash consists of a-f alone, thus does not contain any digits. The chance of this happening is 0.375 ** 20 if I am not mistaken. That's a change of 0.000000003024 and I think that is pretty rare. So might just as well skip it.

Closing this in favor of #2094. Thank you @53cur3M3 for taking good care of this and then some more.


Make tournament players use the RoomGamePlayer API

Refs https://github.com/Zarel/Pokemon-Showdown/commit/75e00170b47758071bd949a88722d75db0b793b4
Blocks #1826 (issue, not PR)

Honestly, we can close #1826; this ticket tracks the only thing we have left to do for it.

I don't mind

Done in https://github.com/Zarel/Pokemon-Showdown/commit/f9b5746c5e0842156659ed5f38906bddaeeecd25.

I generally mention the PR if there's a PR: #2498


Cannot connect to host <IP_ADDRESS>:1242

First of all thank you for creating something like this
I am running the program on docker. (WSL)
are some warnings and errors I get
2022-11-12 02:43:05,287 - GamesHub - Processing keylol page...
/usr/local/lib/python3.8/dist-packages/bs4/builder/__init__.py:545: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.
  warnings.warn(

 Cannot connect to host <IP_ADDRESS>:1242 ssl:default [Connect call failed ('<IP_ADDRESS>', 1242)]
Why is the start and end date shown as N/A?

@becauseimnoob Hi, I have not yet find the way to check the start time and end time from keylol, so this us expected behavior. As for the connection error part, you need to change your ip address in ASF plugin or disable it.

@becauseimnoob Hi, I have not yet find the way to check the start time and end time from keylol, so this us expected behavior. As for the connection error part, you need to change your ip address in ASF plugin or disable it.

thank you for responding so fast
Is it enough if I disable it like this?
{
  ipc: "",
  ipc_password: "",
  redeem_type: ["Keep Forever"],
  // leave empty to redeem all types, supported types please refer to games_hub/types.py
  redeem_command: "!addlicense asf {game_ids}",
  // change asf to your bot name if you do not want to redeem on all bots
}

@becauseimnoob No, you should disable it from the config.json in your top level folder.  You are welcom.

i think it is now ?
{
  update: {
    check_update: true,
  },
  plugins: {
    "gameshub.official.scrapper.steamdb": {
      // SteamDB scrapper plugin
      enable: true,
    },
    "gameshub.official.scrapper.keylol": {
      // Keylol scrapper plugin
      enable: true,
    },
    "gameshub.official.notification.apprise": {
      // Apprise notification plugin
      enable: true,
    },
    "gameshub.official.redeem.asf": {
      // ASF redeem plugin
      enable: false,
    },
  },
}

@becauseimnoob This is correct.

@becauseimnoob This is correct.

https://steamdb.info/upcoming/free/
steamdb doesn't seem to work,maybe this library can surpass it https://scrapy.org/

@becauseimnoob Hi, scrapy cannot bypass steamdb's(cloudflare's) anti scrapper. You can try to change the browser engine. Sometimes different engines will help. If you have IPv6, please also disable it.

@becauseimnoob Hi, scrapy cannot bypass steamdb's(cloudflare's) anti scrapper. You can try to change the browser engine. Sometimes different engines will help. If you have IPv6, please also disable it.

i tried this but it gets stuck every time and i disabled it I hope you can find a solution, I couldn't understand why steamdb did this.
Does it not scan free games in epic games?

@becauseimnoob Hi, scrapy cannot bypass steamdb's(cloudflare's) anti scrapper. You can try to change the browser engine. Sometimes different engines will help. If you have IPv6, please also disable it.

i tried this but it gets stuck every time and i disabled it I hope you can find a solution, I couldn't understand why steamdb did this.
Does it not scan free games in epic games?

Because SteamDB doesn't want us to scrap it :D
Change IP by reset router might also help (If your IP address is dynamic)
Currently I only implemented plugins to scrap free games in steam. Feel free to PR new plugins to scan free games in epic games. I will implement epic games and other platform later if no one PR.

Retrying due to ConnectionError(ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))) status: GET https://oauth.reddit.com/r/freegames/new
Also, it sends too many requests to the reddit server, it may cause us to be banned. I made 9000 in settings but it didn't help.
{
  client_id: "xxx",
  client_secret: "xxx",
  loop_delay: 9000,
}

I used 3000 seconds and didn't encounter this issue. I think this might has nothing to do with too many requests, I think  this might due to your internet connection not stable.

Retrying due to ConnectionError(ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))) status: GET https://oauth.reddit.com/r/freegames/new
Also, it sends too many requests to the reddit server, it may cause us to be banned. I made 9000 in settings but it didn't help.
{
  client_id: "xxx",
  client_secret: "xxx",
  loop_delay: 9000,
}

I used 3000 seconds and didn't encounter this issue. I think this might has nothing to do with too many requests, I think this might due to your internet connection not stable.

@becauseimnoob Hi, scrapy cannot bypass steamdb's(cloudflare's) anti scrapper. You can try to change the browser engine. Sometimes different engines will help. If you have IPv6, please also disable it.

i tried this but it gets stuck every time and i disabled it I hope you can find a solution, I couldn't understand why steamdb did this.
Does it not scan free games in epic games?

1. Because SteamDB doesn't want us to scrap it :D
   Change IP by reset router _might_ also help (If your IP address is dynamic)

2. Currently I only implemented plugins to scrap free games in steam. Feel free to PR new plugins to scan free games in epic games. I will implement epic games and other platform later if no one PR.

I'm looking forward to the epic games feature <3 👍

epic games feature in commit b42f001067f8f8ea6740a62137f57aee707728e8

Close issue due to inactive

@becauseimnoob Hi, scrapy cannot bypass steamdb's(cloudflare's) anti scrapper. You can try to change the browser engine. Sometimes different engines will help. If you have IPv6, please also disable it.

i tried this but it gets stuck every time and i disabled it I hope you can find a solution, I couldn't understand why steamdb did this.
Does it not scan free games in epic games?

1. Because SteamDB doesn't want us to scrap it :D
   Change IP by reset router _might_ also help (If your IP address is dynamic)

2. Currently I only implemented plugins to scrap free games in steam. Feel free to PR new plugins to scan free games in epic games. I will implement epic games and other platform later if no one PR.

I'm looking forward to the epic games feature <3 👍

epic games feature in commit b42f001

thank you. I don't know if I want too much. Do you have the opportunity to add it on the GOG platform?

@becauseimnoob Hi, scrapy cannot bypass steamdb's(cloudflare's) anti scrapper. You can try to change the browser engine. Sometimes different engines will help. If you have IPv6, please also disable it.

i tried this but it gets stuck every time and i disabled it I hope you can find a solution, I couldn't understand why steamdb did this.
Does it not scan free games in epic games?

1. Because SteamDB doesn't want us to scrap it :D
   Change IP by reset router _might_ also help (If your IP address is dynamic)

2. Currently I only implemented plugins to scrap free games in steam. Feel free to PR new plugins to scan free games in epic games. I will implement epic games and other platform later if no one PR.

I'm looking forward to the epic games feature <3 👍

epic games feature in commit b42f001

thank you. I don't know if I want too much. Do you have the opportunity to add it on the GOG platform?

Eventually yes. Feel free to PR to speed up development progress. Also, please open a new issue for new request.


Arduino Uno pack

Hi Iam, I am new to Github, so am not sure how to connect with you.  This may not be the correct manner.  Please let me know.
Thank you for this wonderful project and there should be thousands of souls out there who include you in their prayers everyday!
I want to connect my 3s5p 2170 pack to my T540.  This will be in a box along with an Uno, separate from the laptop.  There will be no PCB.  There may be a 2x40 LCD to report on usage, V, Wh, etc.  No need to inform the T540 on the status.  BMS and protection and charging all in the box.  This will be the simplest method to defeat Lenovo's anti-consumer lock.
I need to figure out how to connect the Uno to the Thinkpad.  I am assuming that after the handshake, the Uno can can go to sleep?
If I connect the I2C bus, and the Gnd and Vcc to B+ and B-, download your software, will this do the job?  In which case I only need a female connector, or even could hardwire that.
Before I start this project, I need your blessing and help.  Thank you so much.
Brom
Brom dot Nader at gmail dot com

Hey,
Yes, github is a great way to connect with project owners (: I only check this project occasionally, but I will eventually see issues posted here.
The T540 batteries use a key signing process that can't be defeated without the private keys on the battery, which as far as I know nobody has access to. This means that unfortunately, this project won't work with it. This is the case for anything newer than the **20 series, with the **30 series having a project that lets you rewrite the embedded controller found here
With an older, supported laptop (anything before and including the x220, T420, etc.), the project would be connected to the battery connector. The battery itself uses I2C over the connector pins, like this

When the laptop is on, it's constantly communicating with the battery for information like remaining capacity, voltage level, temperature, etc. and from what I've seen, if these packets aren't received or the checksum is wrong, the laptop will go through the handshake process again.

Thank you for your reply, which I just have seen. As you say, the private key (of laptop or pack?) is in the pack.  So how do the Chinese clone makers manage to make clones?
Also, my female connector leads look different than the image you have.
BTW, a couple years back, for a long time, the W540 refused to recognize legitimate packs.  I kept on ordering new clones, and still they were not recognized.  After spending a lot of time on this, I realized the problem was that the male and female connectors did not line up and mate exactly, as the male leads were bent, so there was no proper contact.  You would think that if this happens, the pack should not click in place and laptop would resist insertion of the pack.  Turns out the female connector on the PCB in the pack has no backing.  You can easily push the female connector in, so no mating was necessary for the pack to click in!  Imagine if I had ordered expensive Lenovo packs, and they would still have this problem.  Very bad design.
I had a 3S3P clone battery, with only 10 minutes of juice remaining for the Lenovo W540.  So I opened it up.  Soldiered 3S to the 4 leads to keep the power on, and then carefully removed the 9 cells.  The cover said 7.8 Ah.  But each cell says 2.2 Ah, so a total of 6.6 Ah.  Quite a scam.  Moreover,the cells were Chinese made, even though the model number was like a Korean cell.  Most of the cells tested at 0.7 Ah, and some as low as 0.12 Ah, even though they could hold a 4V charge.
After building a 3S3P with Panasonic NCR18650B (3.4 Ah), I carefully inserted cells and soldiered the leads.  In this process one of the two balance leads got detached and lost its power for a short while.
Now the W540 recognizes that there is a pack there, but refuses to charge it and Windows shows a black cell icon.  I rebalanced the cells but that made no difference.  When I disconnect power, the laptop remains on for 20 seconds, and then it looks like it is going to sleep with gradual dimming.  But does not awake.  When power is connected, it reboots from scratch.

I'm not sure how the Chinese clones work, but for newer models they must have somehow gotten the key from an authentic battery pack, which isn't possible for us to do.
Recelling packs is definitely a good choice, although I'm not sure what exactly happened to your pack. You could check the laptop on Linux and see if has the same behavior, but my guess is there's an issue with the pack's bms which probably isn't solvable.


Allow specification of the output directory for cargo doc

I'm hosting documentation for multiple crates in the same github.io repository. Rustdoc can only properly setup the crate list, search indices, etc, if it's writing directly into the same folder for each crate. Right now I'm symlinking target/doc to the right folder in each project, but that's pretty fragile. Ideally, I'd be able to specify cargo doc --out-dir=../sfackler.github.io/doc or something.

Closing as a dupe of https://github.com/rust-lang/cargo/issues/482 as it's likely how this will be solved.

I don’t think #482 solves this properly, in the case where crates are built for different targets, for instance:
cargo doc foo --target x86_64-unknown-linux-gnu
cargo doc bar --target x86_64-pc-windows-msvc

The docs for foo and bar are written to target/x86_64-unknown-linux-gnu/doc and target/x86_64-pc-windows-msvc/doc, respectively. With separate crate lists and search indexes, etc.
Having an output directory option specifically for cargo doc (as suggested by OP) would therefore still be useful.