Some device extensions are loading (and failing) instance functions via get_device_proc_addr()

Found a couple extensions that are erroneously loading all functions through get_device_proc_addr() despite containing some instance-level functions (i.e. not taking a device or device child as first argument, see also fn function_type() in the generator for fishing this out in a crude way), which cannot be loaded. Concretely found these extensions (by looking for explicit PhysicalDevice argument, and later validated using the generator):

VK_KHR_device_group: #631
VK_EXT_full_screen_exclusive: #399
VK_KHR_swapchain (new get_physical_device_present_rectangles): #629

Quick solution
Unfortunately the fix (a pattern which we apply more rigorously in other extensions) implies a slower path for device-level functions which now imply an extra dispatch table per device, "injected" by the ICD. Worse, it's a breaking change so it might be about time to start thinking about ash 0.38.
Long-term correctness
As for the fix itself, I've said it before and I'll use this issue to track it: I'd rather have the generator distinguish instance-level and device-level extension functions, either in the loader or via separate *Fn structs entirely (anything to force us to load both in a separate way). @oddhack what's the desired way to figure this out if a function operates on device (or childs thereof)? I'm not confident this hardcoded list of "VkDevice" | "VkCommandBuffer" | "VkQueue" for the first-parameter-type will hold, does it need an extra attribute in vk.xml?
https://github.com/ash-rs/ash/blob/a9fbc7147bd2eef124d8b2153e94bbf313885420/generator/src/lib.rs#L561-L566
Random weirdness
VK_KHR_device_group_creation, added in #630, has a function named fn device() that returns vk::Instance :sweat_smile:

For backporting this to 0.37, I intend to temporarily add new_with_instance functions to the function loaders and #[deprecate] the rest.

I guess we could accept Option<Device> instead. Not sure if I like that.

I have mixed feelings about proliferating tons of loader structs, but I think it's specifically needed here as you might want to call these before you have a device at all.

Yup. I was initially thinking about cheating our way out of this by having a match in the affected high-level wrappers to delegate to one of the two function loaders (still need them as arguments), or even have the generator emit the exact same *Fn::load() function with two closures to clearly tell them apart.
I think I'll start by generating into separate DeviceFn and InstanceFn structs first, then see how it looks. On the high-level wrapper side we'll probably end up keeping the original "untagged" structname for most extensions, except if there needs to be both adeviceandinstance struct`.

I just cobbled together the generator code in ed2e5e2 (again, assuming fn function_type() is still accurate [^1]), and found only 10 extensions (in 1.3.246) that have mixed function pointer types:

VK_KHR_swapchain 💥
VK_KHR_video_queue
VK_KHR_device_group 💥
VK_KHR_performance_query 🧹
VK_EXT_debug_utils 🧹
VK_EXT_sample_locations 🧹
VK_EXT_calibrated_timestamps 🧹
VK_KHR_fragment_shading_rate
VK_EXT_full_screen_exclusive 💥
VK_NV_optical_flow

We have high-level wrappers for seven of these (marked 🧹), three of which (marked 💥) load via Device and have instance function(s) that always panic: exactly the three found in the OP!
I'll go ahead and finalize the manual code changes and make a PR for this, then we can decide how to progress - and how to backport this to 0.37 :cold_face: (or decide to call it quits on the backports and release the many nice improvements in 0.38 already).
[^1]: Pinging @oddhack again: is "VkDevice" | "VkCommandBuffer" | "VkQueue" as first argument still accurate to tell instance and device functions apart?

or decide to call it quits on the backports and release the many nice improvements in 0.38 already

I'd be pretty happy to get that stuff out, personally! Judging by the lack of clamor I don't think any existing major users urgently need the fix here.

Definitely! Hope we won't get the same push-back on "ash releasing yet another breaking change" (which is just a year and a week or two ago now), though this release comes with trivial yet cumbersome changes.
However, I did keep the backports branch alive and up-to-date, even made some specific fixes. and to "solve" this issue I'd simply deprecate fn new() explaining the issue and pointing folks to an fn new_from_instance(). Might be annoying though as 99% of the vulkan users would be calling Swapchain::new(), and the affected function has only been added to that extension much later :grimacing:
Will perhaps make a 37.3 release after all and start working towards 0.38 soon-ish, after having this issue fleshed out and existing PR's cleared too.

I'm using a layer VK_LAYER_KHRONOS_shader_object (https://github.com/KhronosGroup/Vulkan-ExtensionLayer) for support for VK_EXT_shader_object. The layer is loaded. But when I call ShaderObject::create_shaders I get:
thread 'main' panicked at 'Unable to load create_shaders_ext'
Any chance this is related or a separate issue?

@codecnotsupported create_shaders_ext() takes vk::Device as first argument so it's definitely a device-level function loaded through get_device_proc_addr(), so it can't be.
Perhaps you did not load the layer, or did not enable the device-level extension provided by this layer?

The layer is inserted, It's explicitly enabled. I checked the loader log which confirms it.
INFO | LAYER:     Inserted device layer "VK_LAYER_KHRONOS_validation" (libVkLayer_khronos_validation.so)
INFO | LAYER:     Inserted device layer "VK_LAYER_KHRONOS_shader_object" (libVkLayer_khronos_shader_object.so)
DRIVER | LAYER:   vkCreateDevice layer callstack setup to:
DRIVER | LAYER:      <Application>
DRIVER | LAYER:        ||
DRIVER | LAYER:      <Loader>
DRIVER | LAYER:        ||
LAYER:               VK_LAYER_KHRONOS_shader_object
LAYER:                       Type: Explicit
LAYER:                       Manifest: /usr/local/share/vulkan/explicit_layer.d/VkLayer_khronos_shader_object.json
LAYER:                       Library:  libVkLayer_khronos_shader_object.so
LAYER:                 ||
LAYER:               VK_LAYER_KHRONOS_validation
LAYER:                       Type: Explicit
LAYER:                       Manifest: ~/Vulkan/<IP_ADDRESS>/x86_64/etc/vulkan/explicit_layer.d/VkLayer_khronos_validation.json
LAYER:                       Library:  libVkLayer_khronos_validation.so
LAYER:                 ||
DRIVER | LAYER:      <Device>
DRIVER | LAYER:          Using "NVIDIA GeForce GTX 1060 3GB" with driver: "libGLX_nvidia.so.0"

I'm using the git main branch of Ash.
My device creation set-up is as follows (Some info omitted for brevity):

fn main() -> Result<()> {
    unsafe {
        let entry = ash::Entry::load()?;
        let application_info = ApplicationInfo::default().api_version(ash::vk::API_VERSION_1_3);

        // Features
        let instance_info = InstanceCreateInfo::default()
            .application_info(&application_info);
        let instance = entry.create_instance(&instance_info, None)?;
        let physical_device = instance
            .enumerate_physical_devices()?
            .into_iter()
            .find(|&device| {
                let mut properties = PhysicalDeviceProperties2::default();
                instance.get_physical_device_properties2(device, &mut properties);
                properties.properties.device_type == PhysicalDeviceType::DISCRETE_GPU
            })
            .expect("Failed to find discrete GPU");

        let queue_priorities = [1.0];
        let queue_create_info = DeviceQueueCreateInfo::default()
            .queue_family_index(0)
            .queue_priorities(&queue_priorities);

        let mut shader_object_features =
            PhysicalDeviceShaderObjectFeaturesEXT::default().shader_object(true);

        let create_info = DeviceCreateInfo::default()
            .queue_create_infos(std::slice::from_ref(&queue_create_info))
            .push_next(&mut shader_object_features);

        let device = instance.create_device(physical_device, &create_info, None)?;
    }
}

@codecnotsupported it's not related here but it's also not an ash issue, as said above inserting the layer isn't enough, you have to enable the extension provided by it. In other words, add ash::extensions::ext::ShaderObject::NAME to enabled_extension_names on DeviceCreateInfo.

@codecnotsupported it's not related here but it's also not an ash issue, as said above inserting the layer isn't enough, you have to enable the extension provided by it. In other words, add ash::extensions::ext::ShaderObject::NAME to enabled_extension_names on DeviceCreateInfo.

Yep, you're right. Sorry for the digression.

A related feature request: I am wondering if it's also possible to introduce ash::vk::<ExtensionName>Fn::load_from_instance_only and ash::vk::<ExtensionName>Fn::load_from_device to only load the instance-level dispatchable command and the device-level dispatchable command respectively?
e.g. ash::vk::KhrSwapchainFn::load_from_instance_only will only try to load get_physical_device_present_rectangles_khr, while ash::vk::KhrSwapchainFn::load_from_device will load the rest entries.
If we don't have enough bandwidth working on that, will the upstream push back a PR that implements these 2 interfaces? Thanks.

@06393993 such a compatibility fix was already merged and published to 0.37.3 for the affected extensions.

Thanks for the reply. I know the fix which adds a new_from_instance for the extension wrappers under the ash::extensions module, but my use case is just using the raw function pointer structs in ash::vk, because I am writing Vulkan layers, and

ash::extensions wrappers don't cover all extensions, while ash::vk's raw wrapper does. e.g. VK_ANDROID_external_memory_android_hardware_buffer doesn't exist in ash::extensions while ash::vk::AndroidExternalMemoryAndroidHardwareBufferFn exists. And this extension is essential to my use case.
It's easy for me to forward the raw parameters with raw function pointers
The naming of the raw structs in ash::vk is easier for my codegen to generate the code to load function pointers.

Therefore, the feature request is about raw function pointer structs like ash::vk::KhrSwapchainFn, instead of extension wrappers in the ash::extensions module.


Make something similar to Acrobat when Underline annotation has no appearance

The Windows-results look reasonable, but given the update on the Linux-bot we'll just have to assume that those are fine too :-)
As mentioned above in https://github.com/mozilla/pdf.js/pull/16397#pullrequestreview-1415809890, please add a short comment explaining where these values are from and then let's land it and run makeref.


chore(main): release 2.0.1

Auto generated release
2.0.1 (2024-03-28)
Build System

deps-dev: bump cssnano from 6.0.5 to 6.1.0 (#101) (8ea0de1)
deps-dev: bump cssnano from 6.1.0 to 6.1.1 (#105) (5db4996)
deps-dev: bump eslint-plugin-solid from 0.13.1 to 0.13.2 (#106) (6272840)
deps: bump @solid-primitives/storage from 2.1.4 to 3.0.0 (#107) (eeb9582)
deps: bump @solidjs/router from 0.13.0 to 0.13.1 (#108) (1cea3f4)
deps: bump @solidjs/start from 0.7.4 to 0.7.7 (#104) (6aa996d)
deps: bump autoprefixer from 10.4.18 to 10.4.19 (#109) (d107d52)
deps: bump follow-redirects from 1.15.5 to 1.15.6 (#98) (2f16533)
deps: bump postcss from 8.4.35 to 8.4.38 (#103) (2ba15fa)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/jobtrek/grades-view-solid/releases/tag/v2.0.1 :sunflower:


RPR Tutorials

BAIKAL_ENABLE_RPR generates RadeonProRender API implemenatiton C-library and couple of RPR tutorials

I can't find those tutorials after building with BAIKAL_ENABLE_RPR . The RPR dll is there, though!

How can i tell rprCreateContext to run on platform 1 as with the Baikal standalone?
CREATION_FLAGS_ENABLE_GPU1 is for multi GPUs and unimplemented, and not for the platform (I have both intel onboard and a discrete gpu, and platform 0, the default it seems, selects the intel one.
Now when I try rprContextCreateFramebufferFromGLTexture2D things segfault, and I suppose that's because it's tries to interop with the intel context, while I create my opengl window on the discrete gpu?

bump :)

bump! This should not be hard to answer, no? Would tremendously help me with making Baikal work for scientific plotting!

Hi @SimonDanisch ,
Sorry for the extremely long delay. I believe RPR API wrapper does not support this at the moment. Unfortunately we are currently a bit busy with other projects, so we will get to that post-Siggraph. Feel free to contribute if you want that sooner though (this should be relatively straightforward to implement since Baikal supports all necessary stuff internally, it is just a matter of using it in RPR wrapper.

@SimonDanisch Did you find those tutorials? I'm still struggling to find them myself and those tutorials would be quite a help...


ci: disable scheduled action for forks

See https://github.com/johelegp/units-1/actions/runs/604611174.

Why do you want to disable this for forks? We need as many checks as possible in CI to confirm the quality of PRs.
If you are referring to the fact that CI broke it is a temporary problem with Conan 1.34.0. I reported this issue to Conan developers and Conan 1.34.1 with the patch conan-io/conan#8568 is coming soon.

Do all forks really need to run this on a schedule? Isn't it enough for the main repository to do it?  The workflow should still run on PRs and pushes.

I think I do not understand what do you mean by "on a schedule". I thought that this one is only run after new commits are pushed to the repo. If nothing is pushed this Action should not fire, right?

It's also set to run on a schedule:
https://github.com/mpusz/units/blob/0d3740cc87cf1917df39b03a8a681d8965c481bd/.github/workflows/codeql-analysis.yml#L24-L25
See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule.

Ohh, my bad. I was not aware of this. It seems that I copy-pasted most of the action code and didn't notice that. I will remove the scheduled task ASAP.

Closed with a22600c8e3d8db57972fbb3748d60a980e62117a


HTML Helpers link is out of date

The Html Helpers link in the The @model directive section on this page links to some seriously out of date documentation here
This is some old documentation for MVC1 and looks like classic ASP syntax to me that doesn't work in a Razor page at all.
Isn't there some more up-to-date documentation that this could link to?

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

ID: 70f6104a-a223-4bb3-4101-f553002b9b26
Version Independent ID: 15e79e80-8d46-7cd5-c883-6cc0f5940a1b
Content: Part 3, scaffolded Razor Pages
Content Source: aspnetcore/tutorials/razor-pages/page.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@model directive section is pointing to 4.x content: Creating Custom HTML Helpers (C#) but it is specifically calling out the  @Html.Dispalyfor HTML Helper.

@Neutrino-Sunset  nope, that's the newest. I'd like to get rid of HTML helpers

Can tag helpers even do all the things the HTML Helpers can do? Discussions like this suggest not.
How in a Razor page do I reuse a trivial bit of UI in which I want to pass a ModelExpression defined by the parent to asp-for in an input tag helper in the partial? The post linked above suggests it's only possible with an obtuse combination of tag helpers and HTML Helpers, but there is no up-to-date documentation for tag helpers anywhere so even this approach is impossible to follow.
It's all very well saying you want to get rid of something, but if it's the only way to perform certain tasks, and you don't have anything else that can completely replace it, saying you want to get rid of it isn't sufficient grounds for it not currently being documented.


Failed to connect to RCON serverrcon: response too long

When I type "docker exec -it palworld-server rcon-cli" into the console, I get this error message.
Error message:
Failed to connect to RCON serverrcon: response too long
May I know what's going on?

I had to enable RCON in my ./Pal/Saved/Config/LinuxServer/PalWorldSettings.ini, maybe as simple as that?

Hi @mynam333 RCON was added in an updated version of my docker image, if you only restart the container, the new image will not be downloaded and thus, you will not be able to use RCON. Please update the image:

docker stop palworld-server
docker rm palworld-server
docker rmi thijsvanloef/palworld-server-docker
docker compose up -d

If you mounted the palworld folder to your system, you should not lose any data. However it is always a good idea to backup your savefiles just to be sure.

@thijsvanloef Hi, I found every time I start a container on a server, it will download some large content(4gb) for quite a long time. Can we optimize to cache the updated stuff to some volumn on the server?

@AntiMoron Please open a different issue, please include as much information as you can: https://github.com/thijsvanloef/palworld-server-docker/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=

@mynam333 are you still experiencing this issue, or can I close the issue?


OCPBUGS-21883: CVE-2023-39325 - Bump golang.org/x/net to v0.17.0 - 4.11

/retest-required

Force merging this since this image is not actually supported (Power VS was introduced as a Tech Preview in 4.13). This will ensure that it doesn't trip security scans.


Ensure small screen Navigation is accessible

In our PrimaryNav component: https://github.com/Rebuild-Black-Business/RBB-Website/blob/master/src/components/PrimaryNav.js
Primarily I believe we need to add a couple of aria roles to the navigation (nav is only toggled on smaller screens).
aria-controls should be added to the <button> within the <Box> component wrapping the Hamburger menu. This should point to the ID of the navigation.
aria-expanded should be added to the <button> within the <Box> and toggled when the button is clicked.
aria-hidden should be applied to the <NavMenu> component. On desktop this will be set to false, but on mobile this should be toggled when the hamburger nav is clicked.

Handled by #58 - closing!


[chip-test, sival] riscv_isa_csrs

Test point name
riscv_isa_csrs
Host side component
None Required
OpenTitanTool infrastructure implemented
Yes
Silicon Validation (SiVal)
Yes
Emulation Targets

[ ] None
[X] CW310
[X] Hyperdebug + CW310

Contact person
matutem
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[ ] Host-side component developed
[ ] HJSON test plan updated with test name (so it shows up in the dashboard)
[ ] Test added to dvsim nightly regression (and passing at time of checking)
[ ] For SiVal test cases, test is running relevant FPGA or silicon regression

estimate 2

Needs the Bazel test point merged in the testplan. @engdoreis

This test was removed in this PR. The reason is also explained in the PR.


Reduce File Duplication in IPFS

We now support IPFS's filestore system to reduce file duplication when adding files to the IPFS store. Right now that means we have to symlink the working directory into the IPFS config location when IPFS needs to access files.

looks good to me!


Fix namespace for conversion

This Pull Request fixes the following error:
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": service "cert-manager-webhook" not found
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": service "cert-manager-webhook" not found

/lgtm


Bonding Curve in Devnet

Overview
Hi again!
You mention here https://github.com/rckprtr/pumpdotfun-sdk/issues/27:

This was 100% built on devnet, so yes. Careful though, bonding curve is params are different.

I have the code below but get this error No bondingCurveAccount exists. I am using devnet Helius RPC. I read your SDK code and the api for getBondingCurveAccount only has two parameters. Could you please help with how to get this to work in devnet? I launched with real Sol on Pumpfun btw
Steps to Reproduce Error

Launch token on Pumpfun. Does Pumpfun have devnet? I launched paying real money
Run code below with correct wallet Keypair's

Error
No bondingCurveAccount exists which I print out
    if (bondingCurveAccount) {
        await buyTokens(sdk, testAccount, mint);
      } else {
        console.log("No bondingCurveAccount exists")
      }

Code
dotenv.config();

const SLIPPAGE_BASIS_POINTS = 100n;

const getProvider = () => {
    if (!process.env.HELIUS_RPC_URL) {
      throw new Error("Please set HELIUS_RPC_URL in .env file");
    }

    const connection = new Connection(process.env.HELIUS_RPC_URL || "");
    const wallet = new NodeWallet(new Keypair());
    return new AnchorProvider(connection, wallet, { commitment: "finalized" });
  };

getProvider()

const buyTokens = async (sdk: PumpFunSDK, testAccount: Keypair, mint: Keypair) => {
    const buyResults = await sdk.buy(
      testAccount,
      mint.publicKey,
      BigInt(0.0001 * LAMPORTS_PER_SOL),
      SLIPPAGE_BASIS_POINTS,
      {
        unitLimit: 250000,
        unitPrice: 250000,
      }
    );

    if (buyResults.success) {
      /printSPLBalance(sdk.connection, mint.publicKey, testAccount.publicKey);
      console.log("Bonding curve after buy", await sdk.getBondingCurveAccount(mint.publicKey));
    } else {
      console.log("Buy failed");
    }
  };

  const main = async () => {
    try {
      const provider = getProvider();
      const sdk = new PumpFunSDK(provider);
      const connection = provider.connection;

      // Hardcoded keypairs for testAccount and mint
      const testAccount = Keypair.fromSecretKey(Uint8Array.from([xxxxxxxx]));

      const mint = Keypair.fromSecretKey(Uint8Array.from([xxxxxxxx]));

      await printSOLBalance(connection, testAccount.publicKey, "Test Account keypair");

      const globalAccount = await sdk.getGlobalAccount();
      console.log(globalAccount);

      const currentSolBalance = await connection.getBalance(testAccount.publicKey);
      if (currentSolBalance === 0) {
        console.log("Please send some SOL to the test-account:", testAccount.publicKey.toBase58());
        return;
      }

      console.log(await sdk.getGlobalAccount());

      let bondingCurveAccount = await sdk.getBondingCurveAccount(mint.publicKey);

      if (bondingCurveAccount) {
        await buyTokens(sdk, testAccount, mint);
      } else {
        console.log("No bondingCurveAccount exists")
      }
    } catch (error) {
      console.error("An error occurred:", error);
    }
  };

  main();

Thanks for the code example, it helps a lot.
Did you create the bonding curve on devnet? If not, devnet and mainnet dont share the same data and you must create it there to use it.

I don't know how to create the bonding curve on devnet. Could you guide on this? I don't see docs for it

https://github.com/rckprtr/pumpdotfun-sdk/blob/main/example/basic/index.ts#L76
This function will create a token, if you pass in 0 to the buy amount it wont buy any of the token.

   const mint = Keypair.fromSecretKey(Uint8Array.from([xxxxxxxx]));
   let tokenMetadata = {
      name: "TST-7",
      symbol: "TST-7",
      description: "TST-7: This is a test token",
      file: await fs.openAsBlob("example/basic/random.png"),
    };

    let createResults = await sdk.createAndBuy(
      testAccount,
      mint,
      tokenMetadata,
      BigInt(0)
    );

LMK if you have any questions.

Please see my original post, I don't want to "create" tokens. I just want to "buy" in devnet

Please see my original post, I don't want to "create" tokens. I just want to "buy" in devnet

Well, you need to know what tokens exist on devnet, which you would need to watch for creation events.  The bonding curve on devnet last I looked only fits like 5 SOL~.
To watch for token creation events use this code:
https://github.com/rckprtr/pumpdotfun-sdk/blob/main/example/events/index.ts
Im not sure of other ways of getting a list of tokens available there.

Interesting, so:

Pump Fun actually supports creating tokens in devent? On their website they don't have option to switch from mainnet to devnet.
Do you have a token in devnet we could use?

Note: You also mentioned "bonding curve is params are different" so thought we needed to change your code

Yes, you can create on devnet via the blockchain as they deployed a test version of their app to it using the same address.
A token on devnet: HRkL9gEx5n1gNm2exhEFJ58faij9ShC2hyRAxEa1o8xd
Its important to know devnet has no value and when the bonding curve is complete it wont move to raydium as its all on devnet.
My code uses the Global account params on create, it pulls these params every time it creates a token.  Those params are stored on the blockchain, so whatever network you are using it will use those params.
When purchasing it pulls the current bonding curve params, so it wont matter what network you are using, it will just use the params of the bonding curve.

Tried running and calling my code above to purchase HRkL9gEx5n1gNm2exhEFJ58faij9ShC2hyRAxEa1o8xd  on devnet causes the failure below.
Note: my wallet in devnet has 2.5 SOL
Error
GlobalAccount {
  discriminator: xxxxx,
  initialized: true,
  authority: PublicKey [PublicKey(xxxxx)] {
    _bn: <BN: xxxxx>
  },
  feeRecipient: PublicKey [PublicKey(xxxxx)] {
    _bn: <BN: xxxxx>
  },
  initialVirtualTokenReserves:<PHONE_NUMBER>000000n,
  initialVirtualSolReserves:<PHONE_NUMBER>0n,
  initialRealTokenReserves:<PHONE_NUMBER>0000n,
  tokenTotalSupply:<PHONE_NUMBER>000000n,
  feeBasisPoints: 100n
}
[
  'Program ComputeBudget111111111111111111111111111111 invoke [1]',
  'Program ComputeBudget111111111111111111111111111111 failed: Computational budget exceeded'
]

Tried running and calling my code above to purchase HRkL9gEx5n1gNm2exhEFJ58faij9ShC2hyRAxEa1o8xd  on devnet causes the failure below.
Note: my wallet in devnet has 2.5 SOL
Error
GlobalAccount {
  discriminator: xxxxx,
  initialized: true,
  authority: PublicKey [PublicKey(xxxxx)] {
    _bn: <BN: xxxxx>
  },
  feeRecipient: PublicKey [PublicKey(xxxxx)] {
    _bn: <BN: xxxxx>
  },
  initialVirtualTokenReserves:<PHONE_NUMBER>000000n,
  initialVirtualSolReserves:<PHONE_NUMBER>0n,
  initialRealTokenReserves:<PHONE_NUMBER>0000n,
  tokenTotalSupply:<PHONE_NUMBER>000000n,
  feeBasisPoints: 100n
}
[
  'Program ComputeBudget111111111111111111111111111111 invoke [1]',
  'Program ComputeBudget111111111111111111111111111111 failed: Computational budget exceeded'
]

I think you need to increase your priorityFees or remove them.

gocha,
 {
        unitLimit: 250000,
        unitPrice: 250000,
      }

setting this made it go through. Honestly still confused with conversions in sol.
though this issue solved, went end to end. Thanks a lot again!


Countdown

When running through the initial commands
git clone
yarn install
update .env
yarn install

I run into an error with the Countdown Timer
'Countdown' cannot be used as a JSX component.
  Its instance type 'Countdown' is not a valid JSX element.
    The types returned by 'render()' are incompatible between these types.
      Type 'React.ReactNode' is not assignable to type 'import("/Users/admin/Documents/candy-machine-v2-responsive-ui/node_modules/@types/react-transition-group/node_modules/@types/react/index").ReactNode'.
        Type '{}' is not assignable to type 'ReactNode'.  TS2786

@adamhfox Could you please try again with the latest master branch commit ? It should fix your issue


Publish Scala 2.10 artifacts?

Maybe it is possible to publish Scala 2.10 artifacts of configs 0.4.4 or any later version? That would be helpful.

I don't think it's possible to support Scala 2.10.


add acceptnonstdtxn flag

This flag (when set to 0) makes testnet and regtest behave like mainnet by rejecting nonstandard transactions.  The flag name and behavior is awkwardly chosen to be compatible with other Satoshi clients.
Also I fixed a small issue in the description of datacarriersize.

Thanks @gandrewstone for this change, and for cash interop!


Make Examples deployable without any changes.

Remove state config from examples

private_cluster
cluster_with_alb

Update Source URLs

private_cluster
cluster_with_alb/eks/

Alternate for Public SSH key or Ignore as the instance is SSM accessible in private_cluster

Update helm and Kubernetes provider config to use exec block. exec block is more recommended as the token remains valid only for a short while where as the exec plugin will fetch the token each time Kubernetes is invoked.


Custom data source does not work with GeoMap component

Hi,
Following several samples we found previously (e.g: http://scn.sap.com/community/businessobjects-design-studio/blog/2015/06/10/creating-custom-geojson-maps-in-design-studio-15--part-2-of-2) we are trying to develop a mockup on DS that includes a GeoMap component based on a BYO Custom Data Source component.
Below screenshot show the geomap component displayed properly using an standard data source and a geojson map of europe we have created (on DS 1.6)

It works fine. Therefore we create a simple custom data source (3.0 release)  with some rows as shown below

and this what we see when creating a geo map component using this data source (left map use custom data source, right map use standard one). below bar chart is using custom data source:

No error appears but clearly the geo map component is not showing anything.
Question is: Is this a bug or a limitation of using SDK custom data sources?
On Design studio developer guide I have found folllwoing statement about restrictions using SDK extensions as data sources:
Restrictions
SDK data sources can be consumed by SDK components and standard components, with the exception of the standard Crosstab component and standard filter components such as Dimension Filter and Filter Panel.
Can be the geo map be considered as an standard component?
Thx

I can confirm this is not working.  I suspect it is a problem with the Geo Maps component, not the custom data source.  Example:


Support for - SLPO48-200 Battery

Hello is it possible to add support to the  Sunstone SLPO48-200 Battery BMS communication ?
https://www.sunstonepower.com/lithium-battery-with-bms.html
I managed to find the following information on the communication protocol :
https://www.vselektro.eu/files/edited/aku/slpo48-200-lifepo4-communication-data-sheet-ap.html
A lot of people are buying these batteries , unfortunately for now they can only comunicate with sunstone inverters .
Really nice work you did so far .

Yes, it looks like it would be possible to add.
Let's see if there are any intrest for people that would want it.

Hello is it possible to add support to the Sunstone SLPO48-100 Battery BMS communication ?

I am interested too. Happy to help as well

Hi Louis,
I would like to contribute getting the Sunstonepower batteries to work with Victron using your driver. The SLPO48 100 and 200 have the same BMS.
Currently I use a Raspi to read some values from a RS Smart Solar and created some scripts to control the system and visualize everything with a munin plugin.
My oversized project is working fine so far, but now I found your repo :)
Maybe we could get in touch to add support for the SLPO batteries.


Draggable items show in drop zone when dropped

Looks like somehow this got one commit behind and you need to deal with the merge conflict.


Replacement relabel to multiple labels

My particular use case is splitting a Kubernetes Docker container name into multiple labels. This works but requires 3 relabels with the same matching regexp but different capture groups. Would be good to do this with a single relabel to multiple labels using a capture group for each label.

I've had this situation before. It's certainly a bit verbose. Relabeling as a concept is not trivial to begin with so I would like to avoid adding more complexity to it. Such a set definitions might be verbose but usually occurs only once or twice per setup.
The goal of relabeling is to provide a very generic approach that fits many different use cases. Naturally, it thus cannot provide minimal explicit solutions for all of them.
Would you have a proposal with a change to the configuration allowing this that is compatible to the current configuration format?

We generally assume that our users have configuration management that can do templating and the like, so we've always chosen repetition in configs if it keeps them simpler to understand and use.
This case has a bit more to it than config though, as metric ingestion is one of the places you can relabel and it's performance sensitive. Do we know how expensive the extra regex matches are?

Is this a config you have in relabel_configs or metric_relabel_configs, @jimmidyson?
@brian-brazil we have not done any profiling for metric_relabel_configs – so I can only give a blind guess: the regexes are compiled on config loading. How much time relabeling per sample takes is thus highly dependant on the used regex and the number of rules. The former makes a general statement really hard.
We have some wiggle room regarding memory allocations in that phase.

metric_relabel_configs - we only have the info we want in the metric labels so need to relabel after scraping, before ingestion.
Can we assume that applying the same regex is O(n)? If so using multiple capture groups & allowing multiple target labels should increase performance?

Can we assume that applying the same regex is O(n)? If so using multiple capture groups & allowing multiple target labels should increase performance?

That'd be my assumption. The question is is the time to run the regex significant compared to everything else going on?

True - but it's a pretty trivial optimisation with no downsides that I can see, not much complexity added, etc - so no danger in implementing I wouldn't say.

It'll make the configuration format more complicated, as I indicated above if repetition of config does the same job then we'll go with the more verbose config.

@jimmidyson so what are we talking about now? Doing an internal optimisation or simplifying the configuration?
For the latter, the point from previously still stands – relabeling attempts to be generic. Addition and changes only with a good backwards-compatible suggestion and reasoning that the special case is large enough compared to other special cases that it deserves special treatment.
For the former, first of all I don't think it is trivial implementation-wise. Also, small complications accumulate and after some time the code becomes hard to maintain.
Are there actual performance issues with the verbose rules you have to declare at the moment. If so we can absolutely think about where and how we can optimize.

We're not running at a scale to really tell whether it causes any issues, my guess is it won't but we'll find out :) I was more interested in reducing duplication in my config but understand your arguments against this. If this does cause any performance issues I'll reopen. Thanks!


Improving documentation

Great works! I edited several parts of the documentation to make it clear.

thanks, merged!


Certain artifact hex icons are incorrect

I expect this has something to do with the fact that we have 15 age 1 cards and 10 cards of all of the other ages. Likely some of our calculations are just messed up with the indexing.

It looks like we are using the relic icons for some of the age 1 artifacts by mistake. Likely a SCSS bug.


Was kicked out from the session while changing files

Before filing a new issue, check that it's not already captured by one in this list
Product and Version [VS/VSCode]:
OS Version [macOS/Windows/Linux]: macOS
Live Share Extension Version:
Target Platform or Language [e.g. Node.js]: React
What were you doing when you encountered the desync?
How often have you encountered desyncs?
Do the host and the guest have the same contents?
If yes, there's no need to answer the following questions
If you are using VS Code, the following will provide helpful information.
On both the host and the guest:

Enable the liveshare.diagnosticMode setting
Open the file that's out of sync
Run the liveshare.getCoeditingInformation command (ctrl+shift+p to open the command palette, then search for "Get co-editing information") and paste the results below

Host co-editing information:
Guest co-editing information:
To check that messages are being sent and received, open the Output view (ctrl+shift+u) and select "Visual Studio Live Share Coediting" from the dropdown. Type a character. On the sending end, you should see output like:
[2020-12-10 23:51:25.351 ] Post message: {"messageType":"textChange","changes":[{"length":0,"newText":"a","start":400}],"changeServerVersion":12,"clientId":24,"fileName":"/src/foo.txt","time":1607644285349,"sendId":16}

On the receiving end, you should see output like:
[2020-12-10 23:51:27.713 ] Receive message: {"context":{"GuestSessionId":"31","IsOwner":"False"},"sourceId":"Coauthoring","eventId":45,"jsonContent":"{"messageType":"textChange","changes":[{"length":0,"newText":"a","start":400}],"changeServerVersion":12,"clientId":24,"fileName":"/src/foo.txt","time":1607644427514,"sendId":25}","time":1607644427713}

Are messages being sent and received?

Sounds like you received this dialog: #4248 , is that right?

Closing this out due to age. Please re-activate if you can provide more info on the issue.


updating files and model for tf2

Summary
I updated the address-net files and model to work with Tensorflow v2.
The benefit of this is that you can now use Python v3.6-3.9 with address-net. Previously, as it was written with Tensorflow v1 in mind, support was only available for Python 3.6-3.7.
Corresponding issue: https://github.com/jasonrig/address-net/issues/11
Changes
The steps taken were to run the files through Tensorflow's automatic conversion script and then make a few manual changes. Finally, I retrained the address-net model using the same GNAF dataset (albeit for the most recent release). One minor change was to add "Place" entry into the lookups.py street abbreviations dictionary because I found it to be missing when I used the original version of address-net.
Further change will need to be made to the setup.py file to show support for the new Tensorflow version range if this pull request is accepted.
Testing
I tested it on Python v3.8 with Tensorflow v2.5 using the provided predict.py script.

Hi @Aretle have you witnessed this issue ?
https://github.com/jasonrig/address-net/issues/17


Import Style Customization

I need to import a few extra tags but I don't see any option to customize import styles. It is either you have all the extra tags or none at all.

The NOMINATIM_IMPORT_STYLE setting in the .env can be a name or a file name. As far as I see the Docker script copies the Docker environment variable IMPORT_STYLE into NOMINATIM_IMPORT_STYLE so it should just work.
You can copy one of the existing styles and add your own rules in a new file. https://nominatim.org/release-docs/4.3/customize/Import-Styles/

Thanks. Let me try that.

Passing the file path worked. However, the tag that I desired to be part of the extra tags didn't show up. In my case am trying to add maxspeed as follows:  extra_keys = {'wikipedia', 'wikipedia:*', 'wikidata', 'capital', 'area', 'maxspeed'} any help will be highly appreciated. Thanks

Will be answered at https://github.com/osm-search/Nominatim/issues/3359


Activating the Transport loop should not change the Transport position

...if the Transport position is already within the loop.
In the fiddle, you can see that I set the Transport position to 7 seconds and activate the loop. The Transport position goes to 7 and then to 5, then all the way to 10. It should instead go from 7 to 10, then loop 5 to 10.
Fiddle: https://jsfiddle.net/e5nrg3qa/8/

Hey @tambien
The commit referenced above states that it fixes this issue, yet I see no difference by using the typescript branch.
Any other modification I need to do other than changing the version to typescript? Looking at the changed code from the commit does not make it clearer for me.
Thanks again.

Is this the expected behavior: https://jsfiddle.net/yotammann/ac3s4y0w/

I'm confused. Why is Tone.Transport.seconds not incremented each second? The only values displayed are "0", "15" and "6.9". The transport is started and the value is being refreshed every 0.1 second, so there should definitely be other values being shown. Am I missing something?


Implement Literal Expression Operator dsl

https://www.mongodb.com/docs/manual/reference/operator/aggregation/#literal-expression-operator

I'd like to work on it :)


Is "instances.ml.azure.us" in Step 3 and Step 4 correct?

I am noticing in the following sections:
Example: Custom DNS Server hosted in VNet
Example: Custom DNS Server hosted on-premises
Step 3
3. Create conditional forwarder in DNS Server to forward to Azure DNS:
....
Azure Public regions:
api.azureml.ms
notebooks.azure.net
instances.ml.azure.us
instances.ml.azure.us does not appear to be correct;

previous references in the document refer to : instances.azureml.ms
the host file example also include a sample configuration like this :
<IP_ADDRESS>    mycomputeinstance.eastus.instances.azureml.ms

Would you be able to check if my observation is correct?
Thank you
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8d191732-6439-c964-5202-f4842afde847
Version Independent ID: 0d96f3dc-dbfe-fa87-81e6-87a8e82a8e90
Content: Use custom DNS server - Azure Machine Learning
Content Source: articles/machine-learning/how-to-custom-dns.md
Service: machine-learning
Sub-service: core
GitHub Login: @jhirono
Microsoft Alias: jhirono

Sorry for my delay, It was our documentation bug and we have fixed this in early Nov. Thanks for your feedback.

#please-close


[ENH] interface XGBoostLSS et al by StatMixedML

It would be great to interface the various probabilistic supervised regressors of StatMixedML, so they can then immediately used for forecasting in sktime via skpro!

[ ] XGBoostLSS https://github.com/StatMixedML/XGBoostLSS
[ ] LightGBMLSS https://github.com/StatMixedML/LightGBMLSS
[ ] CatBoostLSS https://github.com/StatMixedML/CatBoostLSS
[ ] pyboostLSS https://github.com/StatMixedML/Py-BoostLSS

FYI @statmixedML
Many thanks to @KiwiAthlete for the suggestion!

PS @statmixedML, I notice that you are interested in probabilistic forecasting, yet the estimators provided are, strictly speaking, probabilistic tabular regressors. That's not a big problem, as skpro is integrated with the most common reduction compositors in sktime, so any skpro regressor can be directly used in make_reduction etc.
What would be nice, with your expertise, is some thinking around uncertainty estimates in recursive regression, that seems non-obvious. Let us know if you are interested in some methology research around that - or if you already have some solutions 😄

@fkiraly Thanks for suggesting the skpro integration. Integrating the LSS-models into both skpro and sktime would be a fantastic extension! For now I suggest we focus on the XGBoostLSS/LightGBMLSS integrations, since the other two LSS frameworks are currently not maintained.

PS @StatMixedML, I notice that you are interested in probabilistic forecasting, yet the estimators provided are, strictly speaking, probabilistic tabular regressors.

That is correct. General purpose tree models are, without using parametric models in the leaf-nodes, not designed for forecasting, since they lack the ability to extrapolate beyond the training data. However, using the linear_tree option in LightGBMLSS, gets us around this problem.

What would be nice, with your expertise, is some thinking around uncertainty estimates in recursive regression, that seems non-obvious. Let us know if you are interested in some methology research around that - or if you already have some solutions.

That sounds like an interesting problem. Can you maybe sketch the problem in more detail. We can also have the discussion via email if you want.

That sounds like an interesting problem. Can you maybe sketch the problem in more detail.

Sure! Done in this discussion thread:
https://github.com/sktime/skpro/discussions/185
Let me know if it makes sense, or if not, or if you would simply like more explanation.

We can also have the discussion via email if you want.

I know how academics are, so thanks for being considerate in this respect.
I think though, it's hard to argue precedence with public GitHub history. Of course, this could be disregarded or not mentioned (I have seen that a couple times), but the same can happen to any paper.
Hence I do not mind the discussion in public, even if novel methodological content comes out of it.

Integrating the LSS-models into both skpro and sktime would be a fantastic extension! For now I suggest we focus on the XGBoostLSS/LightGBMLSS integrations, since the other two LSS frameworks are currently not maintained.

Thanks for your support! Let's get to it then 😃, contributions appreciated.

I have created respective branches in the repos

XGBoostLSS: https://github.com/StatMixedML/XGBoostLSS/tree/skpro_integration
LightGBMLSS: https://github.com/StatMixedML/LightGBMLSS/tree/skpro_integration

hm, @StatMixedML, are you planning to write the estimator directly in the respective package?
Sure, that works - if you want to test it there, you can use check_estimator from skpro.utils.
Though for that set-up, you may like to consider relaxing your depedency bounds? See discussion in https://github.com/StatMixedML/XGBoostLSS/issues/56


Fix silent Burrow Deploy test failures

Ensure execution caches are reset after state is updated
Remove the Flush call that did not provide the appropriate behaviour.
Also add resets to all caches not just some.

This was a logical error but only actually caused an issues with the
vaildatorCache which unlike other caches performs a copy on
`Reset(backend)`. Getting the causality right here for the other caches
should help avoid future bugs.

Fix various issues with burrow deploy and Deploy tests
Allow Deploy jobs to mark themselves as not suitable for parallel execution

Fix ABI Address packing issue and error swallowing
- Burrow deploy was swallowing errors in multiple playbook runs
- 0.29.8 ABI fix accidentally removed support for hex string addresses -
corrected!
- Make console logging look more reasonable
- Fix ability to call fallback function

Remaining issue is down to deploy relying on changing directoy


⚠ ClamAV has degraded performance

In 94ada08, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in b436334.


New Discussion for TypeFace

As discussed with BPD leadership. We are going to bo using the modern society for our type-face.
USAGE:
When writing out Black Python Devs in the font, use ALL CAPS.
Assets will be available via cloud storage link.

[ ] Create All Black Horizontal SVG

[ ] Create All White Horizontal SVG

[ ] Create Black with White Outline Horizontal SVG

[ ] Create All Black Stacked .svg

[ ] Create All White  Stacked .svg

[ ] Create Black with White Outline Horizontal .svg

Drive - https://drive.google.com/drive/folders/1SjzJXIml5ohucLkm-vaX3HptaYCKv65Q?usp=sharing


Failed to convert TinaFace into ONNX format

environment

python 3.7.9
torch 1.6.0
torchvision 0.7.0

My script
The config file tinaface.py hasn't been modified
    cfg = Config.fromfile("configs/trainval/tinaface/tinaface.py")
    device = 'cpu'
    model = build_detector(cfg.model)
    load_weights(model,"tinaface_r50_fpn_widerface.pth")
    model.to(device)
    model.forward = model.forward_impl
    shape = [3, 800, 1344]
    dummy_input = torch.randn(1, *shape)
    torch2onnx(model, dummy_input, "test.onnx", dynamic_shape=False,
               opset_version=9,
               do_constant_folding=False,
               verbose=False)

Error Log
~/miniconda3/envs/modelci/bin/python ~/github/ML-Model-CI/example/notebook/repo/test2.py
Traceback (most recent call last):
  File "~/github/ML-Model-CI/example/notebook/repo/test2.py", line 33, in <module>
    main()
  File "~/github/ML-Model-CI/example/notebook/repo/test2.py", line 28, in main
    verbose=False)
  File "~/miniconda3/envs/modelci/lib/python3.7/site-packages/volksdep/converters/torch2onnx.py", line 40, in torch2onnx
    output = model(dummy_input)
  File "~/miniconda3/envs/modelci/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "~/github/ML-Model-CI/example/notebook/repo/vedadet/models/detectors/single_stage_detector.py", line 35, in forward_impl
    feats = self.backbone(x)
  File "~/miniconda3/envs/modelci/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "~/github/ML-Model-CI/example/notebook/repo/vedadet/models/backbones/resnet.py", line 630, in forward
    x = res_layer(x)
  File "~/miniconda3/envs/modelci/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "~/miniconda3/envs/modelci/lib/python3.7/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "~/miniconda3/envs/modelci/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "~/github/ML-Model-CI/example/notebook/repo/vedadet/models/backbones/resnet.py", line 297, in forward
    out = _inner_forward(x)
  File "~/github/ML-Model-CI/example/notebook/repo/vedadet/models/backbones/resnet.py", line 274, in _inner_forward
    out = self.conv2(out)
  File "~/miniconda3/envs/modelci/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "~repo/vedadet/ops/dcn/deform_conv.py", line 302, in forward
    self.dilation, self.groups, self.deformable_groups)
  File "~/repo/vedadet/ops/dcn/deform_conv.py", line 46, in forward
    raise NotImplementedError
NotImplementedError

Process finished with exit code 1

I have noticed that  in the README

Here are some unsupported operations for model conversion.

GN
Deformable Conv

This maybe the case

@univerone Tinaface can not be converted to onnx because of the dcn and gn operation.

@univerone Tinaface can not be converted to onnx because of the dcn and gn operation.

Thanks for your reply


Add short read

link : https://cs.uwaterloo.ca/~shallit/DC2015/cockburn.pdf

[x] 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.
[x] 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

This looks good to me.  I recommend submitting more PRs on this subject if you have the knowledge or experience.  Thank you for your contribution!


No file id or group id when reading hdf5.

I'm trying to read datasets from files containing nested groups.  When reading in the file and groups, the id attributes are not being populated.
File:
NEONDSTowerTemperatureData.hdf5.zip
const hdf5        = require('hdf5').hdf5;
const file        = new hdf5.File('NEONDSTowerTemperatureData.hdf5', Access.ACC_RDONLY);
const members     = file.getMemberNames();
const firstMember = members[0];
const group       = file.openGroup(firstMember);

// not populated, so unable to retrieve group datasets
console.log(file.id);
console.log(group.id);

native hdf5 1.10?
hdf5.node 0.3.1?
They are wrapped in an Int64 object in the latest versions. If you continue you would see it gets the next child members
const members2       = group.getMemberNames();
console.dir(members2);

yields [ 'OSBS' ]
I'll look into adding to the toString of Int64 to display the value yet the user should never need to operate on these values without the wrapper.  I did this because hdf5 1.10 went to 64 bit id's and javascript doesn't support such a large bit field for integers

Now
console.log(file.id.toString());
console.log(group.id.toString());

does display the id as a string since there is no javascript 64 bit integer

I tried to npm install the 0.3.2 package straight from Github, but the install threw an error in node-gyp, so I tried again with the 0.3.1 package.
Running on Node
~ » node -v
v7.5.0

brew formula for natives
~ » brew info hdf5
homebrew/science/hdf5: stable 1.10.0-patch1 (bottled)

0.3.1 of hdf5.node
~ » npm view hdf5 version
0.3.1

When I run the following to open a dataset
const file      = new hdf5.File('NEONDSTowerTemperatureData.hdf5', Access.ACC_RDONLY);
const boom_3    = file.openGroup(`Domain_10/STER/min_30/boom_3/`);
const ds        = h5lt.readDataset(boom_3.id, 'temperature');

I get
const ds = h5lt.readDataset(boom_3.id, 'temperature');
SyntaxError: unsupported data type
    at Object.<anonymous> (<path to js file omitted>)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:418:7)
    at startup (bootstrap_node.js:139:9)
    at bootstrap_node.js:533:3

You'll need the table interface: http://hdf-ni.github.io/hdf5.node/ref/tables.html.  Nice set of data in tabular form.
const h5tb        = require('hdf5').h5tb;

....
var boom_3    = file.openGroup(`Domain_10/STER/min_30/boom_3/`);
var temperatureTable=h5tb.readTable(boom_3.id, "temperature");
console.dir(temperatureTable);

If you are working with an unknown hierarchy you can find out what it is with
var HLType = require('hdf5/lib/globals.js').HLType;

...
var hlType=boom_3.getDatasetType("temperature");
switch(hlType){
    case HLType.HL_TYPE_LITE:
        break;
    case HLType.HL_TYPE_IMAGE:
        break;
    case HLType.HL_TYPE_TABLE:
        console.dir("I'm a table.");
    case HLType.HL_TYPE_PACKET_TABLE:
        break;
    case HLType.HL_TYPE_DIMENSION_SCALES:
        break;
    case HLType.HL_TYPE_OPTIMIZED_FUNCTIONS:
        break;
    case HLType.HL_TYPE_EXTENSIONS:
        break;
    default: //HL_TYPE_UNKNOWN
        break;
}

yields
'I'm a table.'

for(var column in temperatureTable){
    console.dir(temperatureTable[column].name);
}

yields
'date'
'numPts'
'mean'
'min'
'max'
'variance'
'stdErr'
'uncertainty'

Thank you for the quick responses.  I was able to retrieve the datasets from the sample file using h5tb.readTable, however, I'm getting a node abort when trying to read datasets from the following file:
20170331.h5.zip
const h5lt     = require('hdf5').h5lt;
const H5OType  = require('hdf5/lib/globals.js').H5OType;
const HLType   = require('hdf5/lib/globals.js').HLType;
const Access   = require('hdf5/lib/globals').Access;
const hdf5     = require('hdf5').hdf5;
const h5tb     = require('hdf5').h5tb;
const file     = new hdf5.File('20170331.h5', Access.ACC_RDONLY);
const group    = file.openGroup('ROOT/PARAMS/A1/');
const data     = h5tb.readTable(group.id, 'Values');

console.dir(data);

Node:
[1]    67409 abort      node <filename>.js

I tested with nodejs v7.5.0 & hdf5 native hdf5-1.10.0-patch1
Reading it successfully.  Not sure what the error means.
try a try catch
try{
    const file     = new hdf5.File('20170331.h5', Access.ACC_RDONLY);
    const group    = file.openGroup('ROOT/PARAMS/A1/');
    const data     = h5tb.readTable(group.id, 'Values');
catch(err) {
   console.dir(err.message);
}

when pulling directly from github  in your package json's dependencies have
    "hdf5" : "HDF-NI/hdf5.node"

then your npm line needs to tell it where hdf5 native is
npm install –hdf5_home_mac =<your hdf5 base directory>

where this is your dependent project's install

Thanks for looking into it.   Looks like it's specific to my system.  I'm running macOS Sierra 10.12.3 with the brew version of the natives.  I'll try it on a windows machine.


Use unique symbol for wellknown symbols

Fixes #21603
As @rbuckton said at https://github.com/Microsoft/TypeScript/pull/15473#discussion_r149260368, we can't update Symbol.iterator because of @\types/node for now.
From https://github.com/Microsoft/TypeScript/commit/af73ca009369b21f2031042268ba3ccfdebdc876, unique symbol seems to have some bugs. @rbuckton Can you take a look?

We opted not to do this yet as it will break the definitions for NodeJS (and some other packages)  in DefinitelyTyped. I'll look at this PR next week, but there may be other things we need to do first before we can address this.

We need to get lib references in first. wait for possibly a couple of releases for DT definition files to use it, and users to have compilers with support for it, then update usage in DT to use lib references, and then we can remove it from the library.
We have a bit of time to get that done, so closing the PR in the mean while. #21603 still tracks making the switch when the time comes.

The bugs indicated here are not fixed yet. @rbuckton Can you confirm these bugs?

No, the bug is not fixed. #21603 tracks fixing it. we should also remove the special Symbol property handling in the compiler now that we have unique symbol.

I mean https://github.com/Microsoft/TypeScript/pull/21606#discussion_r165823681 and https://github.com/Microsoft/TypeScript/pull/21606#discussion_r165823702, not #21603. They should have existed in master branch.

ah.. sorry. I suppose we can take these in a separate PR.

I may make an issue several days later if nobody do it, thanks.

@rbuckton report a bug plz.


[Desktop] Error when using selection shortcut on Mac

Hello,
I'm getting the following 2 errors when using command + shift + arrow shortcuts on MacOS:
Error 1:
Unable to find an action for an Intent with type ExpandSelectionToDocumentBoundaryIntent in an Actions widget in the given context.
Triggered by command + shift + arrow up and command + shift + arrow down (Platform shortcut for moving selection from current position to start or end of text)
Error 2:
Unable to find an action for an Intent with type ExpandSelectionToLineBreakIntent in an Actions widget in the given context.
Triggered by command + shift + arrow right and command + shift + arrow left (Platform shortcut for moving selection from current position to start of end of line.)

+1 facing the same problem

Any update on this ? It's been about 1 year

@Andre-lbc does this issue still persists?

Sorry, I just saw this, I'll check it out and get back to you tomorrow.

Hi, I can confirm that I can still reproduce these errors with the latest stable version available to me (flutter_quill: 10.7.5)
Console logs:
════════ Exception caught by services library ══════════════════════════════════
Unable to find an action for an Intent with type ExpandSelectionToLineBreakIntent in an Actions widget in the given context.
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by services library ══════════════════════════════════
Unable to find an action for an Intent with type ExpandSelectionToLineBreakIntent in an Actions widget in the given context.
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by services library ══════════════════════════════════
Unable to find an action for an Intent with type ExpandSelectionToDocumentBoundaryIntent in an Actions widget in the given context.
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by services library ══════════════════════════════════
Unable to find an action for an Intent with type ExpandSelectionToDocumentBoundaryIntent in an Actions widget in the given context.
════════════════════════════════════════════════════════════════════════════════

Thank you for the input, I was indicating that there was a similar issue (unimplemented intent action) that's also on macOS that's fixed, will fix this issue in a similar way as soon as we can.

The following intents are both missing and need actions that implement them:

ExpandSelectionToDocumentBoundaryIntent:  Expands the current selection to the document boundary in the direction given by the forward property.
ExpandSelectionToLineBreakIntent: Expands the current selection to the closest line break in the direction
given by the forward property.

It seems that ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent is also not implemented:
The following assertion was thrown during method call TextInputClient.performSelectors:
Unable to find an action for an Intent with type ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent in an Actions widget in the given context.

Unable to find an action for an Intent with type ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent in an Actions widget in the given context.

Fixed in #2279.
https://github.com/user-attachments/assets/25bd4422-471c-4f3e-a7ff-1ef0ca836c1b
Will need more time to complete the bug fix, also notice some other related bugs, undocumented actions/intents, inconsistency with the naming, missing tests, some other intents to be implemented, code duplication to achieve a task, and common functionalities being duplicated all over the source code.
Which is why more time needed before releasing an incomplete bug fix.
For now, you can test and see if the issue exist on the branch of #2279:
$ git clone --depth 1 --branch fix/1192 https://github.com/singerdmx/flutter-quill.git
$ (cd example/macos && pod update OrderedSet && pod install --repo-update)
$ (cd example && flutter run -d macos)

It looks like the new version of flutter_inappwebview is causing build issues on macOS as well:
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00006000-0008192914A1801E, name:My Mac }
{ platform:macOS, arch:x86_64, id:00006000-0008192914A1801E, name:My Mac }
~/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.1.0/macos/Classes/InAppWebView/InAppWebView.swift:870:26: error: method does not override any method from its superclass
    public override func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil) {
                         ^
    open func evaluateJavaScript(_ javaScriptString: String, completionHandler: ((Any?, (any Error)?) -> Void)? = nil)
              ^
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
** BUILD FAILED **

See related issue #2280.

@Andre-lbc Can you confirm if this issue is fixed with 10.8.5?

Hello @EchoEllet,
Thanks!
Just upgraded to 10.8.5 and ran it on macOS:
command + shift + arrow up and command + shift + arrow down no longer throw exceptions and are showing the expected behavior.
command + shift + arrow left and command + shift + arrow right no longer throw exceptions, but are showing slightly different behavior than their native counterpart: they now expand the selection to the end/beginning of the paragraph, whereas on native they expand until the end/beginning of the line.

Of course, here are some examples:
Native app (Apple Notes)
https://github.com/user-attachments/assets/e18ace31-96f3-4c06-b6fd-2e9b393ddacf

Electron app (Notion)
https://github.com/user-attachments/assets/75cfe1fc-b3f3-46fd-8501-758ac1c50432

Flutter app + flutter-quill
https://github.com/user-attachments/assets/f495ec83-ceda-401b-b0e8-39411539dbdd

I think this is not dependent on the application level implementation, as all third-party apps I have used so far support this (Firefox, Chrome, Visual Studio Code, Notion, Word, Excel, OneNote, Android Studio, etc)

I'm unsure about the expected native behavior on macOS though the current behavior does what you described,

Reopened since not fully fixed: might be not the expected behavior.


CitationPage curation task mess the bitstream policies

https://jira.lyrasis.org/browse/DS-4415
Fixes #7753

@abollini : This looks to minimally need minor cleanup if it should still be considered for 6.4.  We could also consider just resubmitting this to main instead... it seems like a worthwhile fix to get into 7.x at the minimum.

hi @tdonohue  I have done the cleanups requested by @mwoodiupui

@abollini : I'd recommend moving this PR to 7.x (main).  I don't have anyone available to help test additional PRs for 6.4 at this time (unless someone steps forward quickly).  The 6.4 release is nearly "wrapped up" and we aren't really looking to add more PRs to the list to merge.


[3.x] Don't override KinematicCollision reference when still in use in script

In case the reference is stored in script, create a new instance to avoid overriding the previous values.
Otherwise, re-use the reference as before to avoid extra allocations.
3.x backport of #52954
Fixes #36290

Thanks!


slog_term::TermDecorator.stderr().try_build() fails, API comes short

slog_term::TermDecorator::new().stderr().try_build() returns an Option while it should return a Result, since it is fallible. The current API makes debugging failure impossible, and failure means logging is impossible, and without logging ... software isn't quite usable. 😁
Currently, it appears to be impossible to use slog_term from within an Alpine Linux 3.5 Docker container because it fails to open stderr as well as stdout. eprintln! and println! work fine, however. I have tried setting env var TERM to xterm, xterm-256color and ansi, but that does not prevent the issue.
See Stebalien/term#57 that seems to get at the underlying issue and contains a workaround.

Seems to me, other than API problem, it's term underlying issue.
I would be happy to merge a PR to address this in some satisfying way. Since we can't break API, a new, alternative to try_build could be introduced to return Result and try_build deprecated at some point.

Docker issues should be fixed in 2.3.0 now. Just use build and it will fall back to using std::io::stderr/stdout.


Add rkt support

One of the killer features of condo would be possibility to start containers by other than Docker ways, i.e. rkt

Hmmm... No, thank you


Textbook doesn't reference chapter02_03a

Chris - Like this textbook!  Incorporating into my course on real-time embedded software.  In Chapter 2.3, I don't see a reference to the companion code directory chapter02_03a.   Did this companion code come later after the publishing of the book?   I'm trying to determine the difference between chapter02_03 and chapter02_03a directories.   chapter02_03 does not contain the led.cpp file that is shown in the book (maybe on purpose as you suggest "Try to build, flash and run the LED program with timing...").   chapter02_03a does contain the led.cpp file that is shown as an "app" namespace.
I am running on Mac OSx and can't use Visual Studio.   I can't load the projects yet (may install Parallels so I can run VS).
Thanks!

Thank you for the kind words on the book.
Actually yes, the companion code has been refactored in some areas since publishing the book. The visible application result of Chapter02_03 and Chapter02_03a is the same --- LED on portb.5 toggles with 1/2Hz. But the timing mechanism is different.

Chapter02_03 toggles the LED on portb.5 in the main() subroutine with a blocking one second delay between successive toggles.
Chapter02_03a was, in fact, added after publishing the book. My apologies for this. This example uses a tiny multitasking scheduler to launch an LED application task which subsequently toggles the LED on portb.5 with timing via a static 1-second timer in the task. In this way, Chapterr02_03a uses material from much later in the book.

Visual Studio is not required for the target builds. Each example does, however, require the existence of a tools such as make, GCC, etc. which are not available in the Git repo. The build scripts are set up using, for example :+1:

chapter02_03\tools\Util\MinGW\msys\1.0\local...
chapter02_03a\tools\Util\MinGW\msys\1.0\bin...

Some readers simply use Mac OSx, *nix, or MinGW and supply their own paths to make, GCC, etc. in the build scripts. The builds in the examples as they appear in Git use a moved MinGW infrastructure (but not present in Git). At any rate, getting the examples up and running might require some batch, script or directory work. Get in touch if you need more details on this.
Also feel free to get back to me with any suggestions regarding the companion code, as this has been significantly improved through inputs from readers.

Chris

Thank Chris for this information.   This definitely helps!   I have compiled, linked and loaded the chapter_02_02 led.cpp program and loaded using avrdude onto my Arduino Uno.   I’m using GCC 4.9.2 (from Brew) and cross-compiled to the var-unknown-elf target.
I will keep you informed if I find anything in the textbook.   My class is starting on 1/20 and I using your book in conjunction with “Real-Time Systems:   Design Principles for Distributed Embedded Applications - 2nd edition” by Kopetz.   They really go together well….
Thanks again,
Ken

On Jan 3, 2015, at 8:27 AM, Christopher Kormanyos<EMAIL_ADDRESS>wrote:
Thank you for the kind words on the book.
Actually yes, the companion code has been refactored in some areas since publishing the book. The visible application result of Chapter02_03 and Chapter02_03a is the same --- LED on portb.5 toggles with 1/2Hz. But the timing mechanism is different.
Chapter02_03 toggles the LED on portb.5 in the main() subroutine with a blocking one second delay between successive toggles.
Chapter02_03a was, in fact, added after publishing the book. My apologies for this. This example uses a tiny multitasking scheduler to launch an LED application task which subsequently toggles the LED on portb.5 with timing via a static 1-second timer in the task. In this way, Chapterr02_03a uses material from much later in the book.
Visual Studio is not required for the target builds. Each example does, however, require the existence of a tools such as make, GCC, etc. which are not available in the Git repo. The build scripts are set up using, for example
chapter02_03\tools\Util\MinGW\msys\1.0\local...
chapter02_03a\tools\Util\MinGW\msys\1.0\bin...
Some readers simply use Mac OSx, *nix, or MinGW and supply their own paths to make, GCC, etc. in the build scripts. The builds in the examples as they appear in Git use a moved MinGW infrastructure (but not present in Git). At any rate, getting the examples up and running might require some batch, script or directory work. Get in touch if you need more details on this.
Also feel free to get back to me with any suggestions regarding the companion code, as this has been significantly improved through inputs from readers.
Chris
—
Reply to this email directly or view it on GitHub https://github.com/ckormanyos/real-time-cpp/issues/13#issuecomment-68596484.

Great, Ken! You are up and running.
Some errors do exist in the book and I suspect you may find others. I am working on getting an errata sheet posted. Thanks again for your interest and don't hesitate to comment or suggest improvements as you continue working with the book and the example code.
I will keep this issue open for a few days and if nothing else pops up, then close it.
Thanks again,
Chris

This this is being closed as per plan. Thanks for the initial report, Chris.

Yes - you did answer my question!
I can now report that I have gotten the four chapter problems compiled, linked on my Mac-mini (Yosemite) and on my new MacBook Pro (Yosemite) with the gcc-4.9.2_1 and then successfully loaded on my Arduino Uno via avrdude.   Next to tackle will be to do the same thing with Windows 8.1 on these computers (using Parallels) and then to get the reference app compiled, linked, and loaded.
Thanks for your help!
Ken

On Jan 10, 2015, at 11:23 AM, Christopher Kormanyos<EMAIL_ADDRESS>wrote:
This this is being closed as per plan. Thanks for the initial report, Chris.
—
Reply to this email directly or view it on GitHub https://github.com/ckormanyos/real-time-cpp/issues/13#issuecomment-69468281.

Nice work !


NTUEEPLUS-12. Delete Old Website Pages

What is this PR for?
I delete some useless pages from repo, and remove the comment of them
What type of PR is it?
[Refactoring]
Todos
None
What is the Jira issue?
https://ntueeplus.atlassian.net/browse/NTUEEPLUS-12
Screenshots (if appropriate)
None

@featherchen


add logging for xds nack errors

fixes #1077
should we cherrypick to 1.22?

In response to a cherrypick label: new pull request created: #1080


Discussion: what's the relationship between rules_jvm and rules_java?

Hi all,
I'm starting to add Java support to an existing Bazel project. Would anyone mind outlining the differences between rules_jvm and rules_java?
Specifically, I'm trying to figure out:

Do I use rules_java or rules_jvm? Is rules_jvm a replacement or complement to rules_java?
Is rules_java "officially" supported?
Gazelle support: I saw Gazelle support in rules_jvm, does it only work with rules_jvm?
What's the future of rules_jvm? Will it keep up with bzlmod?

Happy to close or post elsewhere if you'd prefer.

All reasonable questions. Hopefully https://github.com/bazel-contrib/rules_jvm/pull/214 helps to clarify the situation.
Some specific answers:

Do I use rules_java or rules_jvm? Is rules_jvm a replacement or complement to rules_java?

Complement - you should use rules_java wherever it makes sense. rules_jvm doesn't offer any replacement functionality, but offers some additional functionality (e.g. support for running checkstyle, and wrapper macros you may want to wrap around things like java_library to support grouping tests).

Is rules_java "officially" supported?

Yes.

Gazelle support: I saw Gazelle support in rules_jvm, does it only work with rules_jvm?

The Gazelle implementation mostly generates targets which use rules from rules_java, e.g. it will generate java_library and java_binary targets from rules_java. You can see here which rules it will generate - most are from rules_java, but rules_java's test runner only supports junit4 not junit5, so if you have junit5 tests, we will instead generate a rule from rules_jvm which supports junit5. If rules_java started supporting junit5 (and the other functionality of rules_jvm's testrunner), we'd probably delete the rules_jvm testrunner - we're not in the business of implementing things Just Because, everything in here has been implemented because it wasn't elsewhere, and it would be hard for us to add to rules_java.

What's the future of rules_jvm?

Several major companies depend on it, so it is likely to continue being maintained, and it accepts contributions. You can see the minimal maintenance promises of rulesets in bazel-contrib here. But no guarantees are made.

Will it keep up with bzlmod?

Yes, I believe rules_jvm currently fully supports bzlmod, and tests this in CI.


Calendar dates are date-time but should be date

Hello,
If I understand its description correctly, the Calendar dates field is an array that allow us to optionally restrict the calendar (used in POST /offers resource response : offers.fares.travelValidityConstraint) to certain dates within the global range defined by "from" and "until" fields which are date-time (and I understand why).
But what is the meaning of the time part of these dates ?
For exemple :
{
    "validTravelDates":
    {
        "dates": ["2024-08-04T00:00:00.000+02:00","2024-08-11T00:00:00.000+02:00","2024-08-18T00:00:00.000+02:00","2024-08-25T00:00:00.000+02:00"],
        "from": "2024-08-01T00:00:00.000+02:00",
        "until": "2024-08-31T23:59:59.999+02:00"
    }
}

In this exemple, what is the meaning of the time part of the dates ? Is the travel possible only at midnigth ?
I suggest changing the dates type to date without any time like this :
{
    "validTravelDates":
    {
        "dates": ["2024-08-04","2024-08-11","2024-08-18","2024-08-25"],
        "from": "2024-08-01T00:00:00.000+02:00",
        "until": "2024-08-31T23:59:59.999+02:00"
    }
}

Which means that the travel can be done between the first and last days of august and more precisely the 4, 11, 18 or 25.
Thanks in advance for your time.

TODO: add documentation on using the offset as time zone indication for the date.

Oh yes : I don't use the utcOffset field because I include it directly in each date-time like it's defined by ISO 8601.
I think it's simpler to do it this way because the frameworks know how to handle it correctly.
For the offset format it can be +XX:XX or Z but I personaly use the first format in my test environment, just because it directly display me the time in my locale it's simplier to understand for an human but for a machine the Z format is more generic. In any case, the frameworks should know how to deal with the 2 formalisms.

Hey! I saw your PR and I don't meet your explanation.
It actually explain me why the utcOffset field should be use with dates, but including it on every date with an arbitrary and useless time for each date seems a bad like a bad design to me.

TODO: change it to date in version 4.0.


script URDF2SRDL uses wrong tag to add meshes

It outputs srdl2-comp:mesh_model but @daniel86 says that the rest of KnowRob expects knowrob:pathToCadModel.

the script has been removed


Feature Request Patch Matrix: Attenuated connections with right mouse button?

Hey there, I have been using your Patch Matrix a lot lately and I would like to do a feature request:
Would it be possible to add a right mouse button click option for the switches to make a 50% attenuated connection, like putting a green pin with double the resistance into the pin matrices found on the EMS Synthi range and clones thereof?

I have been trying to build a VCV clone of the EMS VCS3, and found your Patch Matrix to work the best for this purpose, but the one thing that I'm missing is this attenuated connection possibility.
My idea then was to change the lights on the buttons to reflect what pin is inserted, a raw MSPaint version can be seen below, the red ones being left click, the green ones right click.

I'm hoping to hear what you think of this idea,
Kind regards
Deev

Thanks, I'm glad you are finding the modules useful.
The matrix was originally inspired by the VCS3 matrix.
Have you tried just adding attenuators to the signals before the inputs to the matrix?
I think just a switch that attenuated the signal by half is too limited to be of much use, it would really need an attenuator at each switch which would mean a knob at each switch doubling the size of the module. so I suggest the solution is just attenuate the signal before going into the row and if you need different levels of that signal just use other rows.
I'm developing a new set of modules one of which is a more complex patch matrix, I should have a beta test version ready in a week or so, I'll post you a link so you can try them out.
Cheers.

Hello, thanks for your quick reply!
So cool to hear it is actually inspired by the VCS3!
I did consider routing an attenuated signal into another input to achieve this, but that can take up a lot of precious space. I am doing something similar for the inversed connection between the envelope shaper and the output channels, adding the inversed envelope signal as an extra input, but that makes that I can't put something else in its place, although it is nice to have this extra signal available, it's not realistically there on the original synths.
I had the feeling it should be possible to have the 'red pins' (full connection) under the left mouse button and the 'green pins' (50% connection) under the right mouse button since the right mouse isn't really used for anything yet, I actually don't see a need for extra knobs on the module. I was thinking how it could be done and thought of Bogaudio's mixer modules, which have mute/solo buttons that light up either orange (for mute) or green (for solo),
I realize it's a very specific request but it would really open the module up to more realistically recreate the functionality and user experience of all kinds of pin matrix synths.
I'm stoked to hear about the new modules! I will gladly try them out, just let me know!
Kind regards,
Deev


Swift support

This PR contains small changes to enable Swift support on XNGAPIClient.

Fixes wrong/missing import directives: https://github.com/xing/XNGAPIClient/commit/8622b572af2e66031c7fc404cadf2b811b0c2aab https://github.com/xing/XNGAPIClient/commit/1c17b698fdb26878cadecc30112e8eb101300ea1
Adds AFNetworking as a dependency. For some reason, without this Xcode is not able to build the project using use_frameworks! on the Podfile. I'll double check this with the CocoaPods team though, I feel I'm missing something obvious here, because this dependency should be resolved by CocoaPods.

Update on the use_frameworks! thingie: https://github.com/CocoaPods/CocoaPods/issues/4141


Remove embedded quickstarts & Preview

With our quickstarts now merged to prod we can
start using the quickstart API to invoke them.
Also change all Beta user facing text to Preview

hey @regexowl I noticed you were making some changes around this code in #1108 - can you ping me once that is merged so that I can rebase?
@lucasgarfield I remember we talked about updating the links in the upstream quickstarts, is that something you're working on?

https://github.com/RedHatInsights/quickstarts/pull/92 has been merged and https://github.com/RedHatInsights/image-builder-frontend/pull/1108 has been acked. Is this good to go @croissanne @shaded-enmity ?

@shaded-enmity #1108 has been merged

@regexowl @jkozol @croissanne thanks for the headsup! I just rebased so we should be good to go


Missing package versions in Dockerfile

I noticed that in the Dockerfile, the version number had not been specified for many packages. This already leads to some ML models not being executable because APIs have changed. For example, with the automatically installed numpy version (for currently 1.24.3), the numpy.float data type no longer exists, making the code in models/vime.py not executable. This bug is easily fixed by simply replacing np.float with float.
Another error occurs, for example, for the ML model STG in models/stg_lib/utils.py. In the collections module used, the collection.Sequence attribute no longer exists, making STG unusable.
In the Dockerfile, the package versions should still be added because more errors will occur sooner or later due to changed interfaces.  Also, I have not tested all provided ML models, so further errors can not be excluded.
Many greetings
Sedir Mohammed

Thank you for pointing to that, indeed package versions need to be introduced in the docker file. However, due to my workload I'm not able to do that. Therefore, we are welcome open-source contributors!


refactor: use config(Cache::class) in CodeIgniter

Description

refactor CodeIgniter
improve test

Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[] Unit testing, with >80% coverage
[] User guide updated
[x] Conforms to style guide

CodeIgniter\CodeIgniter::display404errors() should be affected too

Updated :display404errors().

Please review.


fix(codeium): doesnt automatically load when vim.g.ai_cmp is set to false

Description
I think the title of the PR says it all. Before the user has to manually load/trigger the plugin via the cmd (:Codeium Auth) or by requiring.
PS: The copilot extra also has this event.
PPS: Ive also noticed that supermaven doesnt have this event setup, perhaps it suffers to the same issue when this option is disabled?
Edit:
For the PPS, have tested supermaven, i can confirm, it loads properly.
Related Issue(s)

Screenshots

Checklist

[x] I've read the CONTRIBUTING guidelines.

ty!

Shouldn't instead vim.g.ai_cmp be moved inside blink's opts and that way it would always load as a dependency of either nvim-cmp or blink?

Havent thought about it, but tbh i found this approach to be cleaner


best/most reliable way to set iso and shutter speed

hi,
i would like to be able to play with shutter speeds and gain settings - specifically, in darker conditions, i might want to do a preview with 1/30 at 800, but the do the actual exposure at 1s/100 (essentially balancing speed and noise).
so far, i found the "iso" setting rather unreliable - e.g. - if i switch "camera.iso = 100" to "camera.iso = 400" ... it seems to only take effect when i call "capture" ... and then, apparent image brightness on the preview will change after the capture is complete.
what would i have to do to have full manual control over gain and shutter speed?
.rm

If memory serves to lock everything down you need to set the following.
camera.exposure_mode
camera.shutter_speed
camera.iso
camera.exposure_compensation


Website down? https://www.gensc.org/mixs/

I just checked the website and I always go via the search engine (duckduckgo) and it points to https://www.gensc.org/mixs/ which results in a 404. Perhaps we can do a 404 capture page and a redirect to the main page?

Hi,
I've just added a error 404 page that includes the page header and link to home page so at least people can find the way to the relevant page(s) even if they click a "gensc.org" link that no longer exists.
Thanks
Chris


Add an avatar to the admin area

I have a profile user model:
class Profile(models.Model):

    user = models.OneToOneField(User, on_delete=models.CASCADE)
    bio = models.TextField(max_length=500, blank=True)

    def __str__(self):
        return f'{self.user.username} Profile'

How can I add an avatar model to it in order to display the avatar in the Profile model in the admin and manage (delete) it?

It's a little bit late and I don't know if this is still relevant, but you can add the avatar to your admin list like so:
from avatar.templatetags.avatar_tags import avatar
from django.contrib import admin
from django.utils.translation import gettext_lazy as _

from profile.models import Profile

@admin.register(Profile)
class ProfileAdmin(admin.Model):
    list_display = ['image_tag', 'user',]

    @staticmethod
    def image_tag(obj):
        return avatar(obj.user, size=30)

    image_tag.short_description = _('Image')
    image_tag.allow_tags = True


Add SurfingKeys theme

Summary by Sourcery
Add a new SurfingKeys theme with custom styles for UI elements, enhancing the visual appearance and user experience.
New Features:

Introduce a new theme for SurfingKeys with customized styles for various UI components, including hints, visual marks, omnibar, tabs, and status indicators.

Hi, thank you for your contribution!
Could you please modify the README accordingly as well for a squeezed PR! thanks!

Sure, the README has been updated!

thanks！


Feature: Support cloud credentials transparently locally using kind

Have you searched for this feature request?

[X] I searched but did not find similar requests

Problem Statement
when using idpbuilder with kind on my local machine or during testing in github actions I would like my IDP packages to be the same as if it's running in the cloud.
For example in aws when running on EKS pods can access aws credentials transparently by using the ec2 instance profile IAM by accessing the metadata api or they can use IRSA or the new Pod identity. This allows pods to not depend on hardcoded credentials using access key in a k8s secret.
Some examples of IDP packages that leverage aws access is Crossplane, ACK, ArgoCD, Backstage (aws plugins), users apps (ie access s3 or rds db), terraform controller, Argo events
It would be idea that the yaml files used in idobuilder for example crossplane providerConfig is identical in kind idobuilder and when running xrossomane on EKS, and no need for user to create a yam with hardcoded credentials and have two different providerconfig
Searching online I found this article that mentions the aws metadata service that can be use locally like kind  https://medium.com/@slimm609/aws-instance-profile-for-local-development-f144b0a7b8b9
Mock service on github https://github.com/aws/amazon-ec2-metadata-mock
Possible Solution
What I would like is an experience that idpbuilder when creating kind mounts my $HOME/.aws directory into the kind host then run the metadata service inside kind as pod that can assume a role or just a user creds hopefully the token can be refreshed
Alternatives Considered
No response

I would love this @csantanapr ! Internally, we directly change configs of our various controllers to reference secrets for CI/Local vs relying on baked in IRSA config in our deployments. I would much prefer to have this all follow the same code path with something like this!

cool idea! +1 from me.

Hi,
As you know AWS provider for crossplane supports irsa. And we can have access to aws resources via federation or iam roles anywhere
Ideally we should have Keycloak or similiar (https://github.com/Azure/azure-workload-identity) running so it is local identity provider for the resources including pods and has ability for workload identity federation with any cloud provider.
Another approach is  Provide IAM credentials to containers running inside a kubernetes cluster based on annotations. Kube2iam provides different AWS IAM roles for pods running on Kubernetes. https://github.com/jtblin/kube2iam
I believe this also can be handled by cross plane because above they uses ACK and https://github.com/jtblin/aws-mock-metadata


Version info confusing

In my Extension list I notice discrepancies in what version I have of your wonderful live compiler of SASS.  By the top title it shows mine as v5.5.1 which is old. Then further down it shows VSCode Marketplace v6.0.5.  The More Info box shows last updated 4/9/2023 which is very recent.
Confusing....

What version of Vs code are you running?

Hi Glen
I am using version 1.70.0
Bruce
On May 13, 2023 at 8:52 AM -0700, Glenn @.***>, wrote:

What version of Vs code are you running?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

From v6.0 the extension requires VS Code version 1.74 and later

That resolved the issue. I am puzzled why VSC did not alert me nor auto-update about VSC version being old. There was/is no Help menu item to Check for Updates either. But I'll need to address that somewhere else unless you know the answer.

Glad you got it sorted 😁


Smart packaging for weight limitation

If packaging in one box gets heavy (more than 150 lbs), automatically split the boxes to have multiple packages instead.

The question is how do we split? A package can have dimensions of 404040, with weight of 160 lbs, but actually there are two items inside, one is 404030, weight 90 lbs, and the other is 404010, weight 70 lbs. But we have no information about the dimensions and weights of the items inside. In an extreme case, if a very large and heavy item is inside (maybe a computer desk), it is impossible to split ........

Actually, the "Box Split" setting can already handle this situation.


⚠ Cioos National CKAN Sitemap has degraded performance

In 35f6587, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 6167 ms

Resolved: Cioos National CKAN Sitemap performance has improved in a7713ba after 5 minutes.


[Question] Sqoop  is  sucess  ,but  dolphinscheduler   returned failure

**Describe the question A clear and concise description of what the question is.**when I use  shell  tool  to run the  sqoop ,  the shell log doesn't see  any  failure,but  the   DAG said that   the sqoop   was  failed.
And dolphinscheduler-worker.log   say the yarn job  of  sqoop     is  failed.but  the yarn controller  say   this  job  is   success.
How can I fix  this   problem  ?   THX

Which version of DolphinScheduler: -[1.

3.2]

dolphinscheduler-worker.log

dolphinscheduler-worker.log

Unable to view your worker log

Unable to view your worker log

Unable to view your worker log
full worker log  ,all the sqoop return   failed
dolphinscheduler-worker.log

@yangshiza
Viewing through the log, the worker reports an error when obtaining the task yarn status, please check whether the yarn address configuration is correct in the common.properties file.

I change  the yarn  config   of  common.properties ,but not all sqoop jobs  sucesss,only one  job failed  without  any log

Your exception is related to the hadoop version;
The task has no logs. Which version of dolphin does the problem occur in?
Fixed the problem of the first version of the task log in version 1.3.5.

The hadoop  version used  CDH 6.3.2;
the dolphinscheduler  version  is 1.3.6;


[DebugInfo][NFC] Add 64-bit requirement to async tests

Since https://reviews.llvm.org/D158638, entry values are only produced for 64-bit architectures. As such, related tests need to be guarded by the appropriate REQUIRES directive.

@swift-ci please test


Add support for get_report_descriptor()

Fixes #104.
Successfully tested on Windows, macOS and with the following Linux backends:

linux-shared-hidraw
linux-static-hidraw
linux-native

Fails with the following Linux backends:

linux-shared-libusb
linux-static-libusb

(Both return hid_error is not implemented yet when calling HidApi::open.)
I haven't tested it on Illumos.

Thanks for picking this up and making it work with linux-native backend!


Small bugs caught in our weekly demo

[x] wiki page causes react error
[x] edit project name doesn't update project model
[x] EditDeployment

[x] change edit-> update
[x] buttons should go to workspace home

[x] add ScalingMethod to DeploymentCard
[x] if there are only favorited deployments / only non-favorited deployments don't show the accordion
[x] workspace should be able to be created with only a name provided (currently you have to include resources)
[x] edit deployment should only be able to select higher versions

npm run build; npm run serve

using this to test for build errors (ala the minified react error of 'wiki page causes react error')

found another bug

[ ] /w/new throws error when navigated to before workspaces have loaded. this is due to not using the workspaceloaded route guard

[ ] Use the deployment labeling util from @agoracloud/common to convert the deployment status to a human readable status
[ ] When I edit the name of a wiki page, the name isn't updated in the sidebar
[ ] Scaling method should be right next to the deployment status pill (on the same line)
[ ] When I edit the name of a deployment, I can not click the UPDATE button (seems to happen after you did the deployment version select update)
[ ] Remove the * label from CPU Cores, RAM and Storage input fields in the create workspace form (all these fields are optional)

finished everything except

When I edit the permissions of a workspace user or an application wide user, clicking the EDIT button should close the modal

because I thought this was purposeful.
Because the permissions form is a more complex form, closing it on the user might lead to bad UX.
i.e. a user might want to edit but still be able to view what they have just done. The additional click away from the user is worth it for them to not be frustrated by it not closing on them when they don't want it to.

finished everything except

When I edit the permissions of a workspace user or an application wide user, clicking the EDIT button should close the modal

because I thought this was purposeful.
Because the permissions form is a more complex form, closing it on the user might lead to bad UX.
i.e. a user might want to edit but still be able to view what they have just done. The additional click away from the user is worth it for them to not be frustrated by it not closing on them when they don't want it to.

Every other modal in the UI that allows the user to edit data closes when the user clicks the edit or update action button. If we are demoimg this and every single form closes when we hit edit or update besides this one, the first thought that comes to mind from the attendees would be "this is a bug"...

[ ] I am not taken back to the deployments page when I successfully edit a deployment

"The confirm password input field is not validated " it's because I used @agoracloud/common ChangePasswordDTO instead of the custom one i was using earlier.
ChangePasswordDTO doesn't have the same check for if password === confirmPassword

"The confirm password input field is not validated " it's because I used @agoracloud/common ChangePasswordDTO instead of the custom one i was using earlier.
ChangePasswordDTO doesn't have the same check for if password === confirmPassword

The ChangePasswordDto class doesn't have the second password property because the server doesn't need it, which now explains why the confirm password input field isn't being validated if that same dto class was being used in the ui 👀

[ ]  There is no error message indicating why the second confirm password input field is incorrect:

The UI is now bug free 🎉🎉🎉


Minimum CPU?

Hi! I'd love to eval this for a large org. Do you know what the minimum viable CPU is? Thanks!

I'm not sure if Folding has any time limit on workunits they send. You wouldnt want to set the CPU so low that it takes too long to complete the unit and times out basically.
I would suggest setting it to a quarter of one CPU core (250m) and work up from there.

Thanks :)


Same folder starts in uncollapsed state in both root folders although it was collapsed when VSCode closed

VSCode Version: Stable 1.42.0
OS Version: macOS 10.15.3

Steps to Reproduce:

Expectation:
I expect having the same state of tree view when I closed the VSCode.

Nope, no editor is open and I've got "explorer.autoReveal": false

I acknowledge this issue. The problem is that you have the same Folder in two explorer items. Since we use resource URI as identifiers there is probably an issue where we call expand two times.
Potential code poitner https://github.com/microsoft/vscode/blob/33d3f3ae4b348e62087fb24b0db796215a7f0758/src/vs/workbench/contrib/files/browser/views/explorerView.ts#L616