Problem with packer

HI!
For first i love your tutorials at youtube and i'm glad i can learn a lot from the source.
I have a problem with packer. Everything was changed step by step with you tutorial but packer didnt recognize template and vars.
Mine system is ubuntu 20.04.4 with packer 1.8.0
❯ ls
credentials.pkr.hcl  files  http  ubuntu-server-focal.pkr.hcl
❯ packer build var-file='./credentials.pkr.hcl' ./ubuntu-server-focal.pkr.hcl
Usage: packer build [options] TEMPLATE

  Will execute multiple builds in parallel as defined in the template.
  The various artifacts created by the template will be outputted.

Options:

  -color=false                  Disable color output. (Default: color)
  -debug                        Debug mode enabled for builds.
  -except=foo,bar,baz           Run all builds and post-processors other than these.
  -only=foo,bar,baz             Build only the specified builds.
  -force                        Force a build to continue if artifacts exist, deletes existing artifacts.
  -machine-readable             Produce machine-readable output.
  -on-error=[cleanup|abort|ask|run-cleanup-provisioner] If the build fails do: clean up (default), abort, ask, or run-cleanup-provisioner.
  -parallel-builds=1            Number of builds to run in parallel. 1 disables parallelization. 0 means no limit (Default: 0)
  -timestamp-ui                 Enable prefixing of each ui output with an RFC3339 timestamp.
  -var 'key=value'              Variable for templates, can be used multiple times.
  -var-file=path                JSON or HCL2 file containing user variables.
❯ cd ..
❯ packer build var-file='./credentials.pkr.hcl' ./ubuntu-server-focal-test/ubuntu-server-focal.pkr.hcl
Usage: packer build [options] TEMPLATE

  Will execute multiple builds in parallel as defined in the template.
  The various artifacts created by the template will be outputted.

Options:

  -color=false                  Disable color output. (Default: color)
  -debug                        Debug mode enabled for builds.
  -except=foo,bar,baz           Run all builds and post-processors other than these.
  -only=foo,bar,baz             Build only the specified builds.
  -force                        Force a build to continue if artifacts exist, deletes existing artifacts.
  -machine-readable             Produce machine-readable output.
  -on-error=[cleanup|abort|ask|run-cleanup-provisioner] If the build fails do: clean up (default), abort, ask, or run-cleanup-provisioner.
  -parallel-builds=1            Number of builds to run in parallel. 1 disables parallelization. 0 means no limit (Default: 0)
  -timestamp-ui                 Enable prefixing of each ui output with an RFC3339 timestamp.
  -var 'key=value'              Variable for templates, can be used multiple times.
  -var-file=path                JSON or HCL2 file containing user variables.

something is wrong but i can't figure what

I think you are missing a dash in front of var-file:
packer build -var-file='./credentials.pkr.hcl' ./ubuntu-server-focal.pkr.hcl

Hi @davosian
i was figure it out but still stuck at point when i see languages to choose. Nothing happens the

n

This probably means that your autoinstall does not trigger. Are you using the config from this repo? Double check user-data to make sure its format is correct and complete. E.g. with this repo make sure to set username & password (encrypted in the right format).

Issue to close. If you are creating any file for packer don't use 'tab' instead of this use space bar 🤦♂

@arvelinger what do you mean by any file? hcl file or the user-data?


unmet peerDependencies with React 18

I'll open a PR If it's just updating peerDependencies listed in package.json

Hey bryantobing12,
I think below is the perfect solution,
See, https://nodejs.org/es/blog/npm/peer-dependencies/
-   "react": "^17.0.1 || ^18.0.0",
+   "react": ">= 17.0.1",

we can do that. but it will allow newer major version that we are not sure this package will support or not break in that new major version

Ok removed fewer of them and only mui requires to be 5.0.0 and greater


Add backoff for rabbitmq PubSub component

Description
Add backoff for rabbitmq PubSub component.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #861
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

It seems there are some changes need to be done in the tests, I'll check and fix it later.

@Taction Thanks for the fixes. Will look at this again soon. We are in the middle of our v1.2 release.

/cc @artursouza


Configure Azure Pipelines

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

xcg


cargo installation shows rustfmt is deprecated

after installing with cargo, the rustfmt shows it's deprecated
$ cargo install rustfmt
$ rustfmt
This version of rustfmt is deprecated. Use rustfmt-nightly. Use --force to run deprecated rustfmt.

I want to use the rustfmt-nightly but it errors out
$ cargo install rustfmt-nightly
...
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> ${HOME}/.cargo/registry/src/github.com-1ecc6299db9ec823/smallvec-1.8.0/src/lib.rs:83:37
   |
83 | #![cfg_attr(feature = "may_dangle", feature(dropck_eyepatch))]
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^

is that something that is planned to be fixed?
I am not using rustup as I installed cargo using brew (macos non M1 user)
please let me know how I can provide more input / close in favor of another card

Hey @georgettica seems like you were able to solve the issue on your own, which is great! Just want to double check the command you used in case this comes up again did you actually run cargo fmt -- --force? or did you run
cargo install --force -- fmt

No, I wasn't able to install the nightly, but I was able to make devs be able use cargo fmt
This is on stable rustfmt

Since I'm using rustup to install various components like rustfmt i'm not as familiar with using cargo install. Appologies if I'm misunderstanding something. If you've got a moment could you describe the steps you took to fix the issue you were running into?

so with cargo you:
cargo install rustfmt
# installed the stable and deprecatred
cargo install rustfmt-nightly
# fails but is supposed to install

I think it's also related to me not installing a cargo in a nightly fashion

Thank you for reaching out but I am going to close as this is very much intentional.
We do not distribute rustfmt through crates.io anymore and haven't for quite some time. The rustfmt crate on crates.io is quite explicitly deprecated. The rustfmt-nightly crate has been functionally deprecated for well over a year, though I admittedly keep forgetting to explicitly mark it as deprecated.
The overwhelmingly best way to get rustfmt onto your system is via rustup, just like all the other official tools, as noted in our documentation. I would strongly encourage you to follow the standard, recommended route for setting up your machine which is all driven via rustup. It's technically possible to avoid rustup in some scenarios, but doing so is going to make the basics of environment setup unduly complicated.
I cannot speak for the other tools you'll most likely need (clippy, rustdoc, IDE/editor support via RA or RLS, etc.) but the only other ways you could get rustfmt would be to grab one of our pre-built binaries from our GitHub releases or to compile rustfmt from source.
As you'll note the GitHub releases are comparatively few and far between, and quite old; you may have issues trying to use them with newer syntax. Attempting to compile rustfmt from source would put you right back into the scenario of needing rustup because you'd need to grab a nightly toolchain from a specific subset and extra components that contain the required bits of the compiler internals that tools like rustfmt need (defined in the toolchain file in the repo root

Ok, I'll see if I can ask the macos community to add rustup to the installation so I can use it.
Thank you for the lengthy response!

Sure thing! However, I'm not really sure what you think you need the mac community to do.
Rustup is already readily available and usable on your platform, just follow the aforementioned installation process. Are you trying to avoid downloading rustup as provided by the Rust/Rustup team?

I am trying to install using a versioned and stable installation using brew (maybe that's why it prefers a stable release)


New version: Wondershare.Filmora version <IP_ADDRESS>48

This pull request is automatically generated by 🥟 Dumplings in #3284
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


[1.9.4/1.10.2/1.11.2 | Bug] Placeholder String #mcversion# Displays Incorrectly

Hello Lumien,
I believe to have found a bug with Custom Main Menu. Here's the details...
Important Info

Minecraft 1.9.4
Minecraft Forge (Latest) <IP_ADDRESS>3
Custom Main Menu 2.0
Resource Loader 1.5.1

Description
It appears that when using the #mcversion# placeholder string; in a button tooltip at least, it displays the forge version in the format like so forge-<IP_ADDRESS>3. This is shown from the screenshot provided below.
Evidence
{
    "images": {},

    "buttons": {
        "info": {
            "posX": 80,
            "posY": 28,
            "width": 20,
            "height": 20,
            "imageWidth": 40,
            "imageHeight": 40,
            "alignment": "center",
            "text": "",
            "tooltip": "Minecraft #mcversion#\nForge #forgeversion#\n"

        }
    },

    "labels": {},

    "other": {}
}

@lumien231 Pretty please could we have this fixed :heart:

Sorry, this works normal in dev environment so i thought it just wasn't an issue anymore. 1.11.2 Fix is uploaded, will probably make a 1.10.2 version in a few days.

OMG thank you so much Lumien <3
On Thu, Apr 6, 2017 at 8:55 PM, Lumien<EMAIL_ADDRESS>wrote:

Closed #121 https://github.com/lumien231/Custom-Main-Menu/issues/121.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lumien231/Custom-Main-Menu/issues/121#event-1032888273,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIAASLyJJbYUB3LB6ms3SZiLoHzZa0RZks5rtUMugaJpZM4I25SR
.

--
SnowShock35
Jordan | Gay | Student | Snowman | Front End Developer | @FTB_Team
https://twitter.com/FTB_Team Modpack Developer |
Modpack Developer | My Opinions are my Own!
South West, England  ·  https://snowshock35.com https://snowshock35.com


Add card restrictions to createPayment method

Please, update master ASAP. Contact<EMAIL_ADDRESS>for details

UP, The component no longer works with the latest version of the Paysafecard API. Can you update the project?


Improve the media kit

We should have a page that we can share with people that have some basic contact information, logo and description about us that partners or press can use to have our information.
We're currently using this: https://drive.google.com/open?id=1avoYamYNnBRxNhQFxW_n1omqdqRlsgz2CfIPdC-Xe5s
Issue #7 also has the new consistent logo, and we can generate more

Media Kit added in #11 but #7 should probably be figured out first 😄

We can probably close this one for now, and revisit that page when we apply the new designs when they come


added kwargs in intercept_args

fix for #27

@jph00 this fix is needed for efficient GPU utilization on Windows. Can you please review and merge?

Sure no problem! Haven't seen a fastai1 PR in a long time! :O

Thank you!


update all projects to .net6 and update nuget packages

only code change needed was to update ticket.cs for proper location of jsonIgnore.
Seems to be working perfectly, but will need to double check all complex parts like email templating and file upload and other stuff just to make sure.
Startup is quicker and hot reloading is :fire:!

Didn't get the ticket error when running from code, but did still get the attachment error


softap: make AP IP address and netmask configurable w/ kconfig (IDFGH-9869)

The current method to change the IP address of the SoftAP network is to:

deactivate the DHCP server
change the IPinfo
re-activate the DHCP

All for values defined at compile time.
This commit introduces a way to specify the IPv4 address of the AP and the netmask with length rather than specifying 255 (or more 'strange' values). Defaults values still map to <IP_ADDRESS>/24.
On my project with error handling w/ log, it saves ~1kB code and 200B of data.

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

The current method to change the IP address of the SoftAP network is to:

Another (simpler) option is to replace esp_netif_create_default_wifi_ap() with customized code to create the interface, for example:
    esp_netif_config_t cfg = ESP_NETIF_DEFAULT_WIFI_AP();
    esp_netif_inherent_config_t base_cfg = cfg.base;
    base_cfg.ip_info = (modify the IP address);
    esp_netif_t *netif = esp_netif_new(&cfg);
    esp_netif_attach_wifi_ap(netif);
    esp_wifi_set_default_wifi_ap_handlers();

esp_netif_create_default_wifi_ap is provided only as the default implementation, however other esp_netif APIs are available for you to handle specific use cases.

Close the pull request since esp-idf already provide a way to do this.


house membership updates for the 115 congress

see #375
work in progress... still missing:

bio
official_full (not in XML yet?) (maybe don't include?)
??

Think this is ready?
Whatever isn't working I plan to just finish up on the 3rd.

Beyond running the validate code, I didn't do much QA on it, but yes I
think its readyish.  Would it make sense to not merge this and instead wait
on the official House XML file (on the 3rd?), re-run it, and then do the
finishing up on the 3rd?
On Fri, Dec 30, 2016 at 11:32 AM, Joshua Tauberer<EMAIL_ADDRESS>wrote:

Think this is ready?
Whatever isn't working I plan to just finish up on the 3rd.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/unitedstates/congress-legislators/pull/393#issuecomment-269791688,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHnRMUfRF6mjFZWnzii7rE_Gjo459dOks5rNTI6gaJpZM4LS8vl
.

Yeah, if the official XML is posted promptly, that makes sense.

Actually, because I want to get this done quickly, I'm going to merge this based on the data we have today. If there are changes in the official XML, we can update the data at that point.
I'm going to force-push an update to this branch that rebases it on my Senate PR so that it's ready to go tomorrow.

@JoshData thanks for the quick action on the merge. I use legislators-current.yaml for a call-congress tool, so it's great to have updated info right at the start of the term.
However, I'm noticing that some of the new terms are missing the phone field. This is the case for 34 Senators, a list is attached. Looking through election_results_senate_2016.py, I don't see a line to copy forward phone numbers for senate incumbents. Should 'phone' be added to the list on line 69?
115-terms-missing-phone.txt

I went through and pulled forward existing phone numbers from incumbent senators previous terms. For new offices, I called the number listed at http://www.senate.gov/general/contact_information for the same seat, and both Hassan and Harris are connecting through to the new staff. No one picked up at Vitter's old number, but maybe Kennedy's staff are slow getting in today.
Here's an update for the yaml file: https://github.com/spacedogXYZ/call-power/commit/8c5245c8e8d7773b1edc2d06a0273443c3c27ca7#diff-63ee354536477331df94df3c35d6b018
I can also go through and adjust the generation scripts, but I also don't want to make changes if someone else is responsible for the updates.
Thanks again for making high quality open data available in a post-Sunlight world.

We have a script to do the update from official data. I ran the script & updated the files.


youtube-dl doesn't download youtube videos in proper resolution and format

Hi, when trying to download these links: "https://www.youtube.com/watch?v=ezopeXwUukQ", "https://www.youtube.com/watch?v=1WjxBLgsQy8", and "https://www.youtube.com/watch?v=0DdPkt2QOKk" using the "-v --ignore-errors --format "best[ext=mp4][height<=720]" -o %(title)s.%(ext)s --cache-dir "C:\Users\Computer User\Music\youtube-dl and libav 11.3 files cache and downloads" --batch-file Files.txt" command, youtube-dl downloads them as 540x360 and 480x320 mp4, or 720x480 mkv files, but other youtube downloaders are able to download and convert those same files from the available streams as 720x480 mp4 files. It seems that issue is that youtube-dl isn't able to download and convert the proper available streams and merge them to create mp4 files, so is there a way to fix that? If other youtube downloaders can do that, then why can't youtube-dl? Thanks.

Read FAQ on what does best mean.

Hi. You provided me with the "--format "best[ext=mp4][height<=720]" command to use to download and convert files as 720p mp4 a while ago when I wanted help with that, because I didn't know which command to use. Everything was working fine and youtube-dl was able to download videos properly and convert them in that format until recently. Can you please tell me what command to use for youtube-dl to download videos in 720p (in this case, in the available 720x480 resolution), and mux the available streams using ffmpeg into an mp4 file? So far, I've only found out how to get youtube-dl to download the videos in the correct 720x480 available resolution, but it saves them as mkv files, and I want to find out how to get it to use ffmpeg to convert them to mp4 files. I'd really appreciate it, since the faq is very confusting for average computer users. Youtube-dl is a very good program by the way, once people know how to use it. Thank you.

Use the -F param and see which formats are available for your video, then choose between availables

When using the --list-formats command, it says that there's a 720x480 mp4 video stream available. Up until recently, I was using the "--format "best[ext=mp4][height<=720]" command that dstftw gave me a while ago, and it was downloading and converting 720p mp4 files just fine, but now it isn't working anymore, it's only downloading 720x480 mkv files, or 540x360 and 480x320 mp4 files for these links: "https://www.youtube.com/watch?v=ezopeXwUukQ", "https://www.youtube.com/watch?v=1WjxBLgsQy8", and "https://www.youtube.com/watch?v=0DdPkt2QOKk". Other youtube downloaders can download and convert these files as 720x480 mp4 files just fine. What command do I use to get youtube-dl to download it, merge it with an m4a audio stream, and save it as an mp4 instead of an mkv? I'd appreciate some help if anyone knows how to do that. Let me know if you need more information. Thanks.
C:\Users\Computer User\Music\youtube-dl and libav 11.3 files cache and downloads>youtube-dl --list-formats https://www.youtube.com/watch?v=ezopeXwUukQ
[youtube] ezopeXwUukQ: Downloading webpage
[youtube] ezopeXwUukQ: Downloading video info webpage
[info] Available formats for ezopeXwUukQ:
format code  extension  resolution note
249          webm       audio only DASH audio   59k , opus @ 50k, 3.18MiB
250          webm       audio only DASH audio   76k , opus @ 70k, 4.14MiB
171          webm       audio only DASH audio  122k , vorbis@128k, 7.17MiB
140          m4a        audio only DASH audio  128k , m4a_dash container, mp4a.40.2@128k, 8.35MiB
251          webm       audio only DASH audio  149k , opus @160k, 8.17MiB
278          webm       216x144    144p   83k , webm container, vp9, 30fps, video only, 4.97MiB
160          mp4        216x144    144p  103k , avc1.4d400c, 30fps, video only, 4.16MiB
242          webm       360x240    240p  194k , vp9, 30fps, video only, 9.73MiB
133          mp4        360x240    240p  210k , avc1.4d400d, 30fps, video only, 7.40MiB
243          webm       540x360    360p  357k , vp9, 30fps, video only, 17.27MiB
134          mp4        540x360    360p  547k , avc1.4d401e, 30fps, video only, 17.11MiB
244          webm       720x480    480p  643k , vp9, 30fps, video only, 29.90MiB
135          mp4        720x480    480p 1004k , avc1.4d401e, 30fps, video only, 34.16MiB
18           mp4        540x360    medium , avc1.42001E, mp4a.40.2@ 96k, 32.90MiB
43           webm       640x360    medium , vp8.0, vorbis@128k, 49.70MiB (best)
C:\Users\Computer User\Music\youtube-dl and libav 11.3 files cache and downloads>

That's your answer: 720x480 means width = 720, height = 480; "--format "best[ext=mp4][height<=720]" just fallback to get the best stream available below your criteria (format 135 = 480p)

Using the "--format "best[ext=mp4][height<=720]" command, youtube-dl only downloads 540x360 or 480x320 mp4 files, but it used to be able to download the 720x480 mp4 file (if 720p wasn't available). With a different command, youtube-dl can download the available 720x480 file, but it only outputs it as an mkv instead of mp4 file with that resolution. Do you know which command to use other than the one I've been using, to get youtube-dl to download either 720p or the next best available quality (which in this case is 480p), but output it as an mp4 instead of mkv file? Thanks.

You have plenty of examples about format selection in https://github.com/ytdl-org/youtube-dl#format-selection , probably good to use the precedence operator '/' for controlled fallbacks. You may force what you want in your specific video as: -f 135+140 --merge-output-format mp4
Plus the program is also triggering an error as your last argument is 'pause'

Ok, thanks, but youtube-dl used to do all of that automatically and download and format videos in the correct resolutions with the command I was using.

Yes you're right I've been downloading videos for my club performances, and the best way without consuming a lot of resources from the computer for me it's to download thru the terminal
I've come up with this options for my configuration file to make my life easier, which it's best video from mp4 with best audio from m4a merged to a MP4 file
-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 -o ~/Downloads/$
I edit the youtube-dl.conf file inside /etc/
so when you open the terminal you type
cd /etc/
then you edit the conf file with the editing tool from terminal which it's nano, with super user credentials
sudo nano youtube-dl.conf
it's going to ask for the password and the file it'll be empty, type your options and the next time you hit youtube-dl just put the URL to your youtube video and voila it'll be all automatic no further options needed, remember to close and save the file just hit Control + X (Close) and it'll ask you to save the file, press Y on the keyboard and then ENTER, that's it.
Hope it helps!


Added more designs

These are the designs we talked about earlier

Thanks for adding all these.  A few things:

Is there a better folder name than large that describes these designs?
Can you add a comment at the top of each design with:

A license.  MIT is fine.  Include a copyright with the name "BYU Configurable Computing Lab"
A brief description of what the file/design does.


💡 [ADD]: CURSOR POINTER FOR EMOJI BUTTON

Description:

This PR is intended for the Emoji button on Post.jsx file
Added cursor: pointer inline style with code linting principles

Fixes:

This PR fixed this ISSUE: #395

Description:

This PR is intended for the Emoji button on Post.jsx file
Added cursor: pointer inline style with code linting principles

Fixes:

This PR fixed this ISSUE: [FEATURE] - ADD CURSOR POINTER FOR EMOJI BUTTON WHILE HOVER #395

enable cursor pointer for both occurrence please

Hello @narayan954, the work has done!.
I added for both occurrence as per your request

Hello @narayan954, the work has done!.
I added for both occurrence as per your request

cool, will review and merge asap

Thanks for your contribution! :)

Yessir! 🫡


Update for tDOT and tKSM

Need to update the icon for tDOT on Acala network
Need to rename the "taiKSM" on Karura network to "tKSM"

@vincnetlee please update more details following this guideline https://github.com/Koniverse/SubWallet-ChainList/wiki/Start-contributing-to-the-project

@NamPhamc99 sorry, what specific detail needs?

@NamPhamc99 sorry, what specific detail needs?

Are you from Acala team? can you link a source that shows these information? We need a reference in order to verify that information being submitted is correct

I am from Taiga. Please check this links
https://dot.taigaprotocol.io/assets
https://app.taigaprotocol.io/assets


Wrong comparison results when using ProxyObject that is returning long for "valueOf"

Hello,
we're currently in the process of migrating our Java application from Mozilla Rhino to GraalVM, which generally has been going pretty smoothly until we hit this road bump:
During our migration, we've created a few ProxyObject classes for use within a GraalJS context.
The issue arises when using these ProxyObjects for comparison purposes, as in this simplified example:
public class SimpleLongProxy implements ProxyObject {
    private final long l;

    public SimpleLongProxy(long l) {
        this.l = l;
    }

    @Override
    public Object getMember(String key) {
        if (key.equals("valueOf")) {
            return (ProxyExecutable) args -> l;
        }
        throw new UnsupportedOperationException();
    }

    // other overridden ProxyObject methods omitted for brevity
}

try (Context context = Context.create("js")) {
    context.getBindings("js").putMember("slp1", new SimpleLongProxy(9999999998L));
    context.getBindings("js").putMember("slp2", new SimpleLongProxy(9999999999L));
    Value result = context.eval("js", "slp1 < slp2");
    System.out.println(result.asBoolean());
}

The expected result here would be true, but the output is false.
The relevant code is propably in com.oracle.truffle.js.nodes.cast.JSToStringOrNumberNode in the method doLong (l. 84), which reads as follows:
protected boolean doLong(long value) {
    return value != 0L;
}

As you can see, instead of simply returning the long value, it is converting the long to a boolean via value != 0L.
This later results in the incorrect comparison return value.
Now, it seems like the conversion to a boolean in this place is intentional, but it does break the comparison.
If I'm misusing GraalJS or doing anything wrong on my end, any hints would be appreciated.
Thanks.

Thank you for the report and even for pointing out the bug in our code. The usage of long with JavaScript code is a bit tricky. JavaScript number corresponds to double and as such is not able to represent the same set of values as long. So, the intentional (potentionally lossy) conversion from long to double is source of various issues. Happily, this is not the root of the issue in your case. The root of the problem really seems to be the suspicious doLong() method that you pointed out.

Fixed by https://github.com/oracle/graaljs/commit/4cbfdaa25f90340564747526f99dadc415bcc8e8


⚠ RPC server - Figment Solana has degraded performance

In b10341a, RPC server - Figment Solana ($FIGMENT_SOLANA_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 282 ms

Resolved: RPC server - Figment Solana performance has improved in 29479e9.


Library name change request

Library repository URL
https://github.com/SMotlaq/PI3EQX12908-arduino

Hi @SMotlaq. I am confirming your request.
Unlike submissions, this type of request is still handled manually. The Library Manager index maintainer occasionally comes through to clear all the outstanding requests. They will close this issue when it is done. You will get a notification from GitHub at that time.
After that, you can monitor the indexing of the library via its dedicated logs web page.
Information about that here:
https://github.com/arduino/library-registry/blob/main/FAQ.md#can-i-check-on-library-releases-being-added-to-library-manager

Done:
2024/04/29 16:07:47 Loaded 6877 libraries from DB
Removing PI3EQX12908 PCIe redriver library
Success!


More mixing recipes

Describe the your request
Some recipes cant be made with the mixer, like cakes:

It will be more realistic if you mix it, no with a craft forme

A general recipe style for cakes is yet to be decided.
We shall figure it out when 1.3.0 is out with Neapolitan support.
Simple Mixing Recipes could be a choice, but I do feel like finding some neater solutions.
Feel free to discuss under this issue before we reach a conclusion :)

Add tag:cake for cakes and then add a new machine/cooking guide for making cakes?
Maybe a Cake Printer?

Add tag:cake for cakes and then add a new machine/cooking guide for making cakes? Maybe a Cake Printer?

Nah, this idea has gone a bit far in complexity for us and the players.
Sequenced Assembly should be the most complex solution that is acceptable.

Closed in https://github.com/DragonsPlusMinecraft/CreateCentralKitchen/commit/1afdec2bfeddfe0eb136c8aece09d0a5d3b41e62, using Compacting Recipes as the final solution.


Segmentation fault in examples/httpserver

When I use the standard httpserver code on Ubuntu Willy Mate and I apply intensive load, the program causes a segmentation fault. httpserver runs stable when logging is disabled using DiscardLog.
OS: Ubuntu Mate Willy
LLVM: 3.8 from UIbuntu repo
Virtualbox, latest version
Stacktrace after compiling the httpserver with ponyc debug version with ponyc -d
(lldb) bt
* thread #1: tid = 3657, 0x0000000000413825 httpserver`StdStream_ref__write_oo(this=0x00007ffff6b06d00, data=0x00007ffff6ada120) + 37 at stdstream.pony:86, name = 'httpserver', stop reason = signal SIGSEGV: invalid address (fault address: 0x544887)
  * frame #0: 0x0000000000413825 httpserver`StdStream_ref__write_oo(this=0x00007ffff6b06d00, data=0x00007ffff6ada120) + 37 at stdstream.pony:86
    frame #1: 0x0000000000413a1c httpserver`StdStream_tag_writev_oo(this=0x00007ffff6b06d00, data=0x00007ffff56d0d80) + 172 at stdstream.pony:79
    frame #2: 0x0000000000403aee httpserver`StdStream_Dispatch + 190
    frame #3: 0x000000000042eac0 httpserver`handle_message(ctx=0x00007ffff6b07c48, actor=0x00007ffff6b06d00, msg=0x00007ffff56d1700) + 401 at actor.c:95
    frame #4: 0x000000000042ec48 httpserver`ponyint_actor_run(ctx=0x00007ffff6b07c48, actor=0x00007ffff6b06d00, batch=100) + 258 at actor.c:154
    frame #5: 0x000000000042fcd8 httpserver`run(sched=0x00007ffff6b07c00) + 137 at scheduler.c:264
    frame #6: 0x000000000042fdca httpserver`run_thread(arg=0x00007ffff6b07c00) + 59 at scheduler.c:306
    frame #7: 0x0000000000430229 httpserver`ponyint_sched_start(library=false) + 292 at scheduler.c:446
    frame #8: 0x0000000000430b89 httpserver`pony_start(library=false) + 48 at start.c:114
    frame #9: 0x000000000042c00f httpserver`main + 271
    frame #10: 0x00007ffff6d33830 libc.so.6`__libc_start_main(main=(httpserver`main), argc=3, argv=0x00007fffffffdfb8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffdfa8) + 240 at libc-start.c:291
    frame #11: 0x0000000000402e99 httpserver`_start + 41

#937
Remove logger no longer crashes

@peterzandbergen what version of pony are you using?

Hi Sean,
I ran the test using the latest build at that time. I also tried it on AWS
this Monday with a clean VM and a new build. It had the same behaviour. I
can try again tomorrow with the latest build if you like.
It never crashes when the logger is the DiscardLog.
Op wo 6 jul. 2016 21:59 schreef Sean T Allen<EMAIL_ADDRESS>
@peterzandbergen https://github.com/peterzandbergen what version of
pony are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ponylang/ponyc/issues/996#issuecomment-230888497, or mute
the thread
https://github.com/notifications/unsubscribe/AI2Xrvui0PrDsSF-ZLy78bstoSKyS_3gks5qTAkMgaJpZM4JDont
.

--
Peter Zandbergen
Tel: +31 6 460 55 872
linkedIn: peterzandbergen https://www.linkedin.com/in/peterzandbergen

Hi All,
some more information about versions.
ponyc --version: 0.2.1-988-g4e0a773 [debug]
lldb version: lldb version 3.8.0 ( revision )
llvm version: 3.8
VirtualBox version: 5.0.24
Linux version: Ubuntu Mate Willy (16.04) 64 bits
command I ran: sudo lldb --file ./httpserver -- --ponythreads 1 --port 80 --logger common
Source code for httpserver is here: https://github.com/peterzandbergen/httpserver
Dump produced by lldb:
localhost - - [07/Jul/2016:07:45:26 +0000] "Process 4611 stopped

thread #1: tid = 4611, 0x000000000041fad5 httpserverStdStream_ref__write_oo(this=0x00007ffff6ade000, data=0x00007ffff6ad9120) + 37 at stdstream.pony:86, name = 'httpserver', stop reason = signal SIGSEGV: invalid address (fault address: 0x5445af)   frame #0: 0x000000000041fad5 httpserverStdStream_ref__write_oo(this=0x00007ffff6ade000, data=0x00007ffff6ad9120) + 37 at stdstream.pony:86
83  	    """
84  	    Write the bytes without explicitly flushing.
85  	    """
-> 86  	    @pony_os_std_write[None](_stream, data.cstring(), data.size())

================================ after bt command ===============
localhost - - [07/Jul/2016:07:45:26 +0000] "Process 4611 stopped

thread #1: tid = 4611, 0x000000000041fad5 httpserverStdStream_ref__write_oo(this=0x00007ffff6ade000, data=0x00007ffff6ad9120) + 37 at stdstream.pony:86, name = 'httpserver', stop reason = signal SIGSEGV: invalid address (fault address: 0x5445af)   frame #0: 0x000000000041fad5 httpserverStdStream_ref__write_oo(this=0x00007ffff6ade000, data=0x00007ffff6ad9120) + 37 at stdstream.pony:86
83  	    """
84  	    Write the bytes without explicitly flushing.
85  	    """
-> 86  	    @pony_os_std_write[None](_stream, data.cstring(), data.size())

It seems to me that pony_os_std_write uses fwrite without checking the return value (which is the number of bytes written) – see fwrite man page.

see #1118. @Perelandric has been doing some excellent sleuthing related to this issue. Closing this issue in favor of that one.


Deal with JRuby caller vs raise stacktrace differences.

This should fix the JRuby failures happening on rspec/rspec-core#1977.

LGTM


Spyder unable to load Spyder 3 icon theme, same issue as #18642

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
I just installed spyder through anaconda, it was working fine for a few minutes, until I updated MiKTeX (TeX distribution to write LaTeX documents). After that, I got the exact same issue as the one described in #18642, which I recall below:
Spyder refuses to load the icon theme of Spyder 3 and falls back to the icon theme of Spyder 2, which is no longer adapted (many spyder icons are replaced by red crosses). Selecting theme 3 can be done in tools -> preferences -> appearance -> main interface, but it then asks to restart spyder to apply the changes, and when restarting Spyder keeps refusing to load them 3.
What steps reproduce the problem?

Open spyder
Go to tools -> preferences -> appearance -> main interface and select Spyder 3 in "icon theme"
Restart spyder and see the error message "Spyder was unable to load the Spyder 3 icon theme. That's why it's going to fallback to the theme used in Spyder 2. For that, please close this window and start Spyder again"

What is the expected output? What do you see instead?
 Please open the Anaconda Prompt and run there
qta-browser

That should give you an error, which is fine. Please copy it and paste it here.

@ccordoba12 I am also facing the exact same issue as the original poster of this post. When I run the qta-browser as you mentioned, I get the following error:
Traceback (most recent call last):
File "C:\Users\murtaza.khan\AppData\Local\anaconda3\Scripts\qta-browser-script.py", line 10, in
sys.exit(run())
File "C:\Users\murtaza.khan\AppData\Local\anaconda3\lib\site-packages\qtawesome\icon_browser.py", line 270, in run
browser = IconBrowser()
File "C:\Users\murtaza.khan\AppData\Local\anaconda3\lib\site-packages\qtawesome\icon_browser.py", line 28, in init
qtawesome.instance()
File "C:\Users\murtaza.khan\AppData\Local\anaconda3\lib\site-packages\qtawesome_init.py", line 130, in _instance
_resource['iconic'] = IconicFont(*_BUNDLED_FONTS)
File "C:\Users\murtaza.khan\AppData\Local\anaconda3\lib\site-packages\qtawesome\iconic_font.py", line 338, in init
self.load_font(*fargs)
File "C:\Users\murtaza.khan\AppData\Local\anaconda3\lib\site-packages\qtawesome\iconic_font.py", line 390, in load_font
raise FontError(u"Font at '{0}' appears to be empty. "
qtawesome.iconic_font.FontError: Font at 'C:\Users\murtaza.khan\AppData\Local\Microsoft\Windows\Fonts\fontawesome4.7-webfont.ttf' appears to be empty. If you are on Windows 10, please read https://support.microsoft.com/en-us/kb/3053676 to know how to prevent Windows from blocking the fonts that come with QtAwesome.

@murtazaak101, what's your Windows version?

@ccordoba12 It is Windows 10 Enterprise. I figured the turnaround actually. In the error it mentions "please read https://support.microsoft.com/en-us/kb/3053676 to know how to prevent Windows from blocking the fonts that come with QtAwesome." In the link inside I followed the instructions and disabled the blocking of fonts, restarted my PC and now it works like a charm again.

Thanks for the quick reply! I clicked the link and followed the instructions as well, but I'm not sure how to change the value of the key ''MitigationOptions" in the registry editor (never did such a thing before and a bit afraid of messing thing up). Here is a screenshot of what I see. To disable the blocking of fonts, should I simply type "2000000000000" where my cursor is (right before the first pair of zeros)?

@vmahe1 In the link there is another way as well which is much simpler. It is by accessing Local Group Policy Editor. You can do that by pressing Windows key + R to open the 'Run' command then type gpsedit.msc and run it.

No if you can OPEN Spyder then open it and right click on "Completions: internal" then click "Change environment preferences in Settings" --> [down below choose the Spyder 2 icon and see if that works and notify me.]

@vmahe1 In the Local Group Policy editor, follow the instructions as before and then keep these settings, they worked for me

@murtazaak101 I tried selecting "enable" and the option "do not block untrusted fonts", restarted my computer, but the issue persists.

@murtazaak101, another way to solve this problem is to install the fonts distributed with QtAwesome (the package we rely on for our icons) and install them in your system:
https://github.com/spyder-ide/qtawesome/tree/master/qtawesome/fonts
Don't worry about the json files present there, just download all ttf files and install them as described here:
https://support.microsoft.com/en-us/office/add-a-font-b7c5f17c-4426-4b53-967f-455339c564c1

Aright @vmahe1 So try these:
Goto Anaconda Prompt via Search --> enter this:
conda create -n spyder-env spyder -y conda activate spyder-env spyder
restart spyder
2nd solution is to do this:
Create a file named SpyErr.bat --> open it with Notepad --> paste this
python -c 'import sys; print(sys.executable)'
--> then open cmd.exe as an administrator --> Type SpyErr.bat
then it should give you the error thaat spyder is facing -->
Tell if either work.
Thanks

@ccordoba12 I tried installing the fonts as suggested, they are now in My Windows/Fonts directory, often with "Normal" appended to the font's name (see below). I restarted my computer, but I still have the same issue.

@GitKia1392 I tried both suggestions.
For the 1st one I had an error when running the whole line (see below). I ran conda create -n spyder-env, pressed y, then conda activate spyder-env. I restarted spyder but still have the error.

Then I tried the other one but I got the error "python can't be found" (see below in french in the consol)

@vmahe1, please open the Anaconda Prompt and run
spyder --reset

Then try again.
It should've given you the error so we can all at least KNOW whats wrong or so?
Thanks
Kiamehr

Sorry to hear that. I really don't know why the fonts are not picked up by Spyder and I'm out of ideas.

Hope you can find a way to solve this problem. For now I'm going to close this issue because there's nothing else we can do for you.


TransactionInput's Syncer

We need to download all transactions related to "our" transaction inputs in order to be able to display "from address" field for transaction.

Issue transferred to WalletKit-iOS repo


Add service checking, usage info and org filtering to decommission query script

What
I've added:

Usage help info
Ability to filter org guids from the list instead of doing all
Checking how many services are running for each org

Examples:
❯ ./scripts/get-decommission-details.sh -h
Usage: ./scripts/get-decommission-details.sh [comma separated list of org guids]
If no orgs are specified, all orgs will be checked

❯ ./scripts/get-decommission-details.sh some-org-guid
Filtering to a comma separated list of orgs: some-org-guid
organization_name,running_app_count,non_running_app_count,service_count,owner,ready_for_decommission
some-org,18,2,10,"Org Name",no

How to review
Log in to cf and run the script

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

I'll change org guids to org names actually

Not ready to merge

Added "suspended = true or false"


Allow fallback across default ports

When no port is specified in host, allow falling back from 443 to 80 when http is specified along with a TLS configuration. This increases the cases when https can be preferred and fixes a case where fallback does not happen after a connection refused where previously Docker would have fallen back.
Related to https://github.com/moby/buildkit/issues/4915 which uses same approach

This one is ready to go


Pending updates with the new release

Update the sample finetuning script for hela cells for the users to take inspiration from - https://github.com/computational-cell-analytics/micro-sam/blob/master/examples/finetuning/finetune_hela.py (it isn't using joint training - unless that's intended)

That's a good point! I would like to keep it optional there though. Do you want to make a quick PR for it that introduces a flag train_instance_segmentation (or so), and update the code so that it uses joint training if set to True?

Sure, on it!

Updated the finetuning example here - https://github.com/computational-cell-analytics/micro-sam/pull/338

Fixed by #338


feat: adds group-kind option on sort-named-imports and sort-named-exports

Description
This PR adds the group-kind option to sort-named-imports and sort-named-exports rules, solving https://github.com/azat-io/eslint-plugin-perfectionist/issues/114
This allows users to group inline named type imports before or after value named imports.
Additional context
This option has three possible values: mixed, values-first, and types-first.
// group-kind: mixed (default, current behavior)
import { A, type B, C, type D} from 'rurouni-kenshin'

// group-kind: values-first
import { A, C, type B, type D } from 'rurouni-kenshin'

// group-kind: types-first
import { type B, type D, A, C } from 'rurouni-kenshin'

What is the purpose of this pull request?

[ ] Bug fix
[X] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.
[x] Read contribution guidelines.

Unsure how https://github.com/azat-io/eslint-plugin-perfectionist/pull/113 would impact this, but I'd be happy to refactor the implementation if we think the idea is good.

LGTM. Good idea.
Could you fix ESLint issues?
It may also be worth adding information about it to the sorting-named-imports.md.

Will do later this week!

Done!

Released in v2.7.0.


Utilize HTTP/2 Push

What problem does this feature solve?
The HTTP/2 push enables the ability that the server actively pushing resources to the client so the client wont need to fetch the resource by requesting the server side, which will reduce the server side resource consumption as well as improving first-screen load speed on the client side.
What does the proposed API look like?
The server will be pushing the resources actively using http/2 push

Fixed


Fulltext search translations error

 var search_query = _context.Recommendations.Where(x => x.Name != null).Select(x =>
                    new
                    {
                        Recommendation = new { x.Name},
                        Recommendation2 = x,
                        Rank = EF.Functions.ToTsVector(x.Name).Rank(EF.Functions.PhraseToTsQuery(search))
                    });

In this construction works Recommendation2 or Rank. Not both.

@rwasef1830?

Ok I can reproduce the failure using this test:
[Fact]
        public void Test_bug_853()
        {
            using (var context = CreateContext())
            {
                var query = context.Customers
                    .Where(x => x.CompanyName != null)
                    .Select(
                        x => new
                        {
                            Recommendation = x,
                            Rank = EF.Functions.ToTsVector(x.CompanyName).Rank(EF.Functions.PhraseToTsQuery("Test"))
                        });

                query.ToList();
            }
        }

Test fails with a NotImplementedException that comes from client-evaluating ToTsVector. For some reason when the Recommendation property is present, EF Core ignores the NpgsqlFullTextSearchEvaluatableExpressionFilter and tries to client-evaluate the function. Commenting out Recommentation makes the test pass.
This maybe actually a bug in EF Core 3 itself, but I will investigate further.

@rwasef1830 FYI EF Core 3.0 is dropping client evaluation in general (see https://github.com/aspnet/EntityFrameworkCore/issues/14935), although it should still work in projections as above. Let me know what you find and if there's anything you need from EF Core itself.

Npgsql.EntityFrameworkCore.PostgreSQL 2.2.0
Microsoft.EntityFrameworkCore 2.2.2

@roji It's definitely a bug in Entity Framework Core. What happens is that in both cases the function gets evaluated properly (ie: the evaluatable expression filter is not ignored). There's a check in the method RelationalProjectionExpressionVisitor.Visit (https://github.com/aspnet/EntityFrameworkCore/blob/8f9c2cf541820969b9fc4b30a18d5f534c14ba46/src/EFCore.Relational/Query/ExpressionVisitors/RelationalProjectionExpressionVisitor.cs#L294) which is called after translating the method call to SQL.
In case of the full entity projection, the "Type" property is the type of the entity being projected instead of ValueBuffer, so the entire if branch is skipped and the translated sql expression is discarded.

@rwasef1830 I don't have time to dive into it at the moment, but could you please open an issue with EF Core? The query pipeline is being rewritten at the moment, and it's important that this kind of feedback gets in quickly so they do it right.

@yulObraz This is a year old Entity Framework Core issue that's on their backlog. As a workaround, don't project the entire entity, instead project the properties from it into an anonymous or named object instead.
 var search_query = _context.Recommendations.Where(x => x.Name != null).Select(x =>
                    new
                    {
                        Recommendation = new { x.Name, x.Age, x.OtherProperty },
                        Rank = EF.Functions.ToTsVector(x.Name).Rank(EF.Functions.PhraseToTsQuery(search))
                    });


[Issue]: ./amd-smi event can't be stopped/killed

Problem Description
When running ./amd-smi event it doesn't stop when you hit "q + ENTER" or "Ctrl + c" however ./rocm-smi --showevents does.
Operating System
Ubuntu 22.04
CPU
EYPC 7251
GPU
AMD Radeon RX 7900 XT
ROCm Version
ROCm 6.1.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

Yup was able to repro

Hi @Ori-Messinger, the following patch has been merged to resolve the failure to exit amd-smi event, https://github.com/ROCm/amdsmi/commit/d263b53797db492f9d6305e334fa7b9788dc5cc9.
Could you please build amd-smi from the amd-staging branch and confirm if the patch addresses the issue on your end?


Log Files are not zipped after a set size and keeps on appending to a single file

Summary :
Steps to replicate:
The log files which hyscle writes are not rolled and rotated either. This makes the log file massive.
Expected result:
The log files are supposed to be zipped say after 10Mb and rolled up.
Actual result:
The log files grows to several MBs leading to inefficient space management
Screenshots/Additional info:

Hyscale version:
HyScale Version <IP_ADDRESS> "First Light", build 38b6df3d55

Thank you Padmanabhan (@iamTheL) for reporting this issue.
Our Default log level is debug and we log many debug messages in the log files during deploy command execution. we also set the log files size limits using logback rolling policy but its not working as expected.
We will roll out a new patch having this fix soon.
In that patch you can expect the following:

default log level woudl be info and if you want set any other log level you can achieve through an environment variable HYS_LOG_LEVEL
fix for log file size limit along with compression for archives.

Meanwhile you can delete the old logs before executing any new hyscale command as workaround. We can help you to automate this in script if required.


downstream koji builds: notify when something's wrong

We need a mechanism to notify our users when something's wrong when Packit automatically submits a dist-git build into koji.
Ideally we'd have a view for this in the dashboard.
Acceptance Criteria: user is notified when a koji build fails or fails to be submitted.

It looks like we can hit a non-packit exception. The known issues should be covered by some PackitException and a commit comment should be created:
https://github.com/packit/packit-service/blob/4d67f8e9a06243a6b0dc60e4ad05c2d45edaa238/packit_service/worker/handlers/distgit.py#L358-L374

Ideally we'd have a view for this in the dashboard.

Regarding the build results, we agreed in #1310 that we'll leave it to Fedora notifications...
But I agree we should cover the failed submissions somehow.

Oh, and Commit comments are not supported on Pagure.....;(
https://sentry.io/organizations/red-hat-0p/issues/3122397893/?environment=prod&project=1767823&query=is%3Aunresolved

As a team, we agreed on adding a new config option to set up a project that will be used for creating issues.

Project on any git forge supported by Packit can be used. (Pagure, GitHub and GitLab where packit has an identity.)
By default, nothing is used to not spam our users.
Like other config options, you can set it on the top level but (re)define on job level.
Optionally, we can apply this for other use-cases where we create issues (e.g. failed propose-downstream).


Automated cherry pick of #9573: fix(region): add huawei gpssd desc

Cherry pick of #9573 on release/3.4.
#9573: fix(region): add huawei gpssd desc

Codecov Report

Merging #9576 (1ec3d6d) into release/3.4 (fc16c37) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@              Coverage Diff               @@
##           release/3.4   #9576      +/-   ##
==============================================
- Coverage         6.19%   6.14%   -0.05%
==============================================
  Files              761     150     -611
  Lines           118405   21169   -97236
==============================================
- Hits              7330    1301    -6029
+ Misses          110412   19719   -90693
+ Partials           663     149     -514

Flag
Coverage Δ

aFlag
6.14% <0.00%> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/db/sharablebase.go
6.01% <0.00%> (-0.06%)
:arrow_down:

pkg/cloudprovider/instance.go
0.00% <ø> (ø)

pkg/compute/regiondrivers/kvm.go
0.43% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/regiondrivers/managedvirtual.go
0.00% <0.00%> (ø)

pkg/hostman/hostinfo/hostinfo.go
0.00% <0.00%> (ø)

pkg/hostman/hostinfo/hostovn.go
27.45% <0.00%> (-2.03%)
:arrow_down:

pkg/monitor/alerting/eval_context.go
38.14% <ø> (ø)

pkg/monitor/alerting/notifier.go
0.00% <0.00%> (ø)

pkg/compute/models/elasticcache_parameters.go

pkg/compute/models/cloudsyncelasticcache.go

... and 540 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 984006e...1ec3d6d. Read the comment docs.


About roadmap

Hi @OscarYuen!
I saw you've these goals on the roadmap:

Support subscription
Support web-socket notification and messaging

Could you tell me if you are currently working on that please 😃 ?
I'm just discovering GraphQL in Golang instead of JS and it would be great to use streams 👍
Thank you

Hello @sneko ,
Thanks for your enquiry 😃
I am currently working on the company project with this backend. For web socket, I created a little branch called web-socket before to do some basic experiment. It works very well for web-socket based messaging. But it is not fully integrated into the main branch yet.
For subscription, I would keep an eye on graphql-go library to see if there is any progress. So far the subscription function is not supported by graphql-go yet.
Thanks


Hard-coded background color value

Bug report 🐞
Version & Environment

zeit-ui/react: latest & rc

Expection
<Link block /> use custom theme colors.
Actual results (or Errors)

ref:
https://github.com/zeit-ui/react/blob/23baf4aaf57d7eaeed63a20b2b0c22edacee724f/components/link/link.tsx#L68

Yes, this is intentional. block mode is a special style that doesn't exist in themes.
Of course, you can change it through CSS.

closed. If you have any update, reopen it.


discourse: 3.2.2 -> 3.2.3

https://meta.discourse.org/t/3-2-3-security-and-bug-fix-release/313392
Fixes the update script by replaceing nix-universal-prefetch with nurl.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg eval


Go to bottom inconsistency

If somehow, we resize the main window and the treeview isn't using all the space, while "Go to bottom" button is "lit" then it should turn state. This can be solved by checking if the window has changed size and check treeview bounds like the actual callback handlers do.

Tested connecting the callback to the scrollbar size-allocate signal and it does work better. Maybe will opt for this option.


Add python 3.9 to tox tests

Needs python 3.9 support on github actions: https://github.com/actions/setup-python/issues/148


Update docs for feat!: flow cli for  distributed

A document change request is generated from https://github.com/GreptimeTeam/greptimedb/pull/4226

update at https://github.com/GreptimeTeam/docs/pull/1030


How i navigate from any TabsPage to TutorialPage??

Short description of the problem:
Can't navigate from any TabsPage (SchedulePage,SpeakerListPage,MapPage,AboutPage) to TutorialPage hiding topbar and the tabs
I tried :
this.nav.push(TutorialPage);

and
this.nav.setRoot(TutorialPage);

Which branch are you on? master or typescript
typescript
Run ionic info from terminal/cmd prompt: (paste output below)
Your system information:
Cordova CLI: 6.0.0
Gulp version:  CLI version 1.2.1
Gulp local:   Local version 3.9.1
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.23
Ionic App Lib Version: 2.0.0-beta.13
OS:
Node Version: v4.3.2

Hey! Thanks for the issue. This is actually a support question. In the future can you please post any support questions on the forum under the ionic 2 category: https://forum.ionicframework.com/c/ionic-2
It will help other people who have the same question as you to find an answer there! The reason nav.push doesn't work is because the tabs have a separate nav stack. You need to grab the parent nav and change it that way, i.e:
goToTutorial() {
  let nav = this.app.getComponent('nav');

  nav.setRoot(TutorialPage);
}

or
goToTutorial() {
  let nav = this.app.getComponent('nav');

  nav.push(TutorialPage);
}

:smile:


Go get btcrpcclient fails due to arg list error

When I try to install/get btcrpcclient, the following error occurs immediately
$ go get github.com/btcsuite/btcrpcclient
github.com/btcsuite/btcrpcclient
../goprojects/src/github.com/btcsuite/btcrpcclient/rawtransactions.go:247: not enough arguments in call to btcjson.NewCreateRawTransactionCmd
../goprojects/src/github.com/btcsuite/btcrpcclient/rawtransactions.go:555: not enough arguments in call to btcjson.NewSearchRawTransactionsCmd
../goprojects/src/github.com/btcsuite/btcrpcclient/rawtransactions.go:601: not enough arguments in call to btcjson.NewSearchRawTransactionsCmd

Looks like your btcjson is out of date.  Try go get -u -v github.com/btcsuite/btcrpcclient which will cause the deps to be udpated.


33 define the quiz data model

Closes #33
Created Models for Question, Category, UserAnswer and QuizState.
Encapsulated fields for each Model. Added Helper methods that will be necessary in the UI.
Note: Inconsistency between schema in Wiki page and Acceptance Criteria

Why is 33 in the title?
That is an unconventional way of referring to issues.

Why is 33 in the title? That is an unconventional way of referring to issues.

Should I also refer to the issue in the title, using #33 ?

Why is 33 in the title? That is an unconventional way of referring to issues.

Should I also refer to the issue in the title, using #33 ? I just assumed we only have to refer to it in the description.

I think you can simply remove the 33 from the title since its in the description already

Why is 33 in the title? That is an unconventional way of referring to issues.

Should I also refer to the issue in the title, using #33 ? I just assumed we only have to refer to it in the description.

I think you can simply remove the 33 from the title since its in the description already

will do! thanks

What @Lancear said 👍


fix(types): Fixed signature for onErrorResumeNext

Removed type that would allow for a function to be passed.
Related issue: #4477

Pull Request Test Coverage Report for Build 8182

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 96.805%

Files with Coverage Reduction
New Missed Lines
%

src/internal/operators/onErrorResumeNext.ts
1
81.82%

Totals

Change from base Build 8181:
-0.2%

Covered Lines:
5242

Relevant Lines:
5415

💛  - Coveralls


[Project Submission] box

Project box is taking one step toward web3. This files contains the details of this project

Rendered version here.

Looks very cool thanks for publishing here!


Shield encryption Info

Would be good to have a Tab in Orgcheck that lists shield encryption info.
that would need to be dynamic because the field IsEncrpyted is only there if you have PE so i need to figure out this. Maybe an option in the Home Tab....

Thank you for this idea.
At this time OrgCheck does not require additional products nor licenses.
I will put this idea in incubation
Please note that I have created a separated project (couple of years ago) in my github https://github.com/VinceFINET/Shield-Encryption-Report, that you might be interested in!

While reviewing this ticket i found a bug here:
                                            { name: '{!JSENCODE($Label.OrgCheck_Encrypted_CL)}', property: 'unique', formula: (r) => { return helper.html.render.checkbox(r.unique); }},
                                            { name: 'Unique', property: 'encrypted', formula: (r) => { return helper.html.render.checkbox(r.encrypted); }},

here the name on the column dores not correspond to the data.

See here:

and here:

The two pages are now coherent.

But I display encrypted ONLY on the Object / Field page.
Not on custom field page.
Let's create a field encrypted on Account and see what happens:

Yeah not possible at this time to get easily if the field is encrypted via Shield.

The option would be to get one by one the Metadata information and check if the attribute "Metadata.encryptionScheme" is there....

so encrypt info is on the object page.
let's say the job is done!

oppps forgot to commit my change!!


make ch shed load under 503/error

previously we were consistently hashing to the same node even if we were full
on that node we were trying it with 100% probability and when it's loaded it
would with a high probability fail, this is a somewhat easy addition to shed
load with some probability when requests start failing against any given node,
using ewma, which will bounce up or down based on requests succeeding or
failing over time. when load goes down, probability will go up, otherwise it
will get shed across nodes.
this is not intended to be a very perfect solution and most of the values
themselves should be futzed with via simulation, however it should do better
than the naive ch algorithm if it works as intended, I haven't tested, this
was mostly for illustration and hopefully inspiration... one point of interest
is that this will loop back around on the ring and when all nodes are at
capacity this is likely to shed load somewhat evenly across nodes but it may
take a lot of retries, didn't optimize that case, but also not sure if we need
to as nodes should be scaling up when this happens?
i tried to leave comments to make things clear, but let me know if anything is unclear or if there's any obvious tweaks. i'm not sure this is in use, opening PR just for comments, we can merge I guess since this isn't really in use if it's easier to test that way and if that's desirable. anyway, opening discussion to tweaking this algorithm at a minimum because testing it in its current form is not going to perform well and it may well be more suitable in some shape...

I'm in general favor of introducing some kind of weight to these algorithms and I know the code above is based on the old fnlb, but I think we can simplify this further for our newer env.
I'd recommend making the 'load' metric explicit, in our case, 503, which should be set in 'err' returned from TryExec(). Other failures should not impact CH IMHO, (eg. cross-function 503/error.) Cross-function load is something to watch out as well. Large FnA may trigger 503, while small FnB might not. FnC may just fail for unrelated reasons; docker-auth...
Maybe opt for counting 503 only since the proposal attempts to mix in two different events into a single decayed variable? The proposed decay will likely get fed false samples quickly, but true samples will be much slower esp function exec/pull takes a long time. (And CAS there is already lossy, runner silence is an implicit true, etc.)
Perhaps also exp decay based on time instead of ewma? It sounds simpler if we counted 503 and expo decayed that. (Especially considering IPs can be reused and our metrics are passively acquired.)
Some of these imperfections could be OK since this is a probabilistic method, but I think we can simplify it slightly to make it more predictable/stable/simpler.
As a side note, this will also have a positive side effect of refreshing runner list quicker due to more skips. (This is an existing bug in CH/Naive, not refreshing runner list in some cases until full list is scanned.)

great feedback, thanks, agree with every suggestion... a few can probably be fixed up pretty quickly here.

Maybe opt for counting 503 only since the proposal attempts to mix in two different events into a single decayed variable? The proposed decay will likely get fed false samples quickly, but true samples will be much slower esp function exec/pull takes a long time. (And CAS there is already lossy, runner silence is an implicit true, etc.)

clarifying here. as it stands it's effectively the percent of successful requests in the last 100 requests. I agree we will get more falses than trues, which will just end up spreading across nodes. If we flip this on its head and count only failures, we want to map that onto some probability to send to the current node or to try another node - but I think what's being gotten at is that once things start succeeding we should wipe out failures faster and increase our P of using a 'good' node? one option here is just reduce the decay (could only count last 10, then when things go green they flip really fast). asking for clarity here + any suggestions on what to do with the 503 count in mind, policy wise, if you had something in mind.

Perhaps also exp decay based on time instead of ewma? It sounds simpler if we counted 503 and expo decayed that. (Especially considering IPs can be reused and our metrics are passively acquired.)

yea, it would be ideal, the ewma is a bit of a hack for functions that run very infrequently (maybe performance wise it's meh in that case anyway - other cases?). in any event, it will correct relatively quickly for pathological cases, but we should smooth, agree - reducing decay factor would be a very 'cheap' solution here, as well. data structure wise, this would imply we need to keep a period of data I think, right? I don't think we're too concerned about memory overhead, ewma is very cheap in this respect, off-the-cuff if we ever get 100k rps on an lb, keep a 60 second period of int32, we're talking 200MB, honestly talking worst case for exp decay there that's not really concerning imho. ewma is just average of that, but yea, expiring at time window is impossible without keeping the entire period of interest stored to compute it so when calls are disparate this number is rather stale - in the success case, this is okay of course, with mix or fails it's worth analyzing at a minimum.

Some of these imperfections could be OK since this is a probabilistic method, but I think we can simplify it slightly to make it more predictable/stable/simpler.

yea, totally, main point is we should tweak this thing and sit with the simulator to see if we can start converging on a digestible solution with it (or maybe we find out that we're not converging) - your suggestions will certainly help, thank you

As a side note, this will also have a positive side effect of refreshing runner list quicker due to more skips. (This is an existing bug in CH/Naive, not refreshing runner list in some cases until full list is scanned.)

fixed this https://github.com/fnproject/fn/pull/1421/commits/2a0bfc9b7be30332d5667e50503316f9d1c780a5 - appears we're caching underneath, so this'll be good
I didn't get to extracting the 503 out, for one I'm not sure whether it's an actual API error and the cast will work, leaving as is until I/somebody tests that we can suss out the type of the error and do this check correctly (hopefully soon). slightly related, after staring at it, it seems a little odd not to ding for most kinds of errors, I guess at a minimum it means that if we get a strong offered load that consistently fails in the non-503 way, we'll bog down one machine with these possibly - I agree with the principle of only counting 503 and basing policy there, just need to sort out what to do with other errors too I guess. the other thing that sticks out is that we are not backing off at all between failed invocations in a single run through the runner list, there's an obvious tradeoff here of course but it seems a bit dangerous anyway to have 0 (I have function X that fails consistently [not in expected fashion] and 50 runners to go fail on...)

For decay, this seems simple https://en.wikipedia.org/wiki/Half-life
where we can perhaps decay number of 503s. (eg. half life 30 secs)

gonna close, actually think we could just switch to https://github.com/lafikl/consistent and instead of having a separate centralized node with 2 layers of consistent hashing to manage the hashes for a given lb set, if we rr to each lb in an lb set we could probably just get away with running chwbl independently on each lb as there will in theory be an even distribution anyway across lbs...


Integration with Grapesjs

Wink seems like a great starting point for integrating a CMS into an existing Laravel project, but the lack of a decent frobtend builder has its limitations.
Grapesjs + Wink could be a match made in heaven and I was wondering how feasible it is?

I don't want to ship a frontend with the package :) You can use any frontend you like in your app.


Allow in-place text editing for elements

Description
Calling setElementEditingText() switches to edit mode, replacing the Text() widget with a TextFormField() that allows the user to edit the element text.
Screencast from 30-08-2024 16:44:04.webm
Type of Change

[X] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Converting to draft as I need this pull request released on pub.dev: https://github.com/lzhuor/auto_size_text_field/pull/36

Hi @mauriziopinotti,
I would like to keep the plugin free from dependencies with other plugins. This also gives the user more freedom (maybe giving to FlowElement a child that could be a Text).
Now FlowElement already has text parameters like textSize, fontFamily etc that could mess with AutoSizeText.
Also, that issue is almost 2 years old.
Could you maybe consider using FittedBox?

Hi @mauriziopinotti,
I would like to keep the plugin free from dependencies with other plugins. This also gives the user more freedom (maybe giving to FlowElement a child that could be a Text).
Now FlowElement already has text parameters like textSize, fontFamily etc that could mess with AutoSizeText.
Also, that issue is almost 2 years old. Could you maybe consider using FittedBox?

Uhm, I saw the date Aug 18 and I though I was merged recently, I overlooked the year :|
I've reverted the last commit, I'll maybe push a different change with a WidgetBuilder for ElementTextWidget so that it's up to the consumer.


Test with Solid bot example

I'm trying to use https://github.com/michielbdejong/solid-bot-example
in combination with https://github.com/pdsinterop/solid-nextcloud/blob/main/setup-test-server.sh and debuggin g the errors I run into.

First one:
https://test.server.com/.well-known/openid-configuration redirects to https://test.server.com/apps/solid/openid with a 302 and https://www.npmjs.com/package/openid-client doesn't like that. It wants a 200 response directly.

The 302 is coming from https://github.com/pdsinterop/solid-nextcloud/blob/531f6c4/init-live.sh#L6

Hm, none of the flag combinations I tried seem to work, even though https://httpd.apache.org/docs/2.4/rewrite/flags.html seems to say it should just work the same way, but with passthrough or proxy instead of redirect.
Will try with https://github.com/pdsinterop/solid-nextcloud/tree/test-server-24 now.

That fixed it! :) Next error:
request.call https://isumio-test-server.pondersource.com/.well-known/openid-configuration
(node:17930) UnhandledPromiseRejectionWarning: OPError: expected 201 Created, got: 200 OK
    at processResponse (/Volumes/Michiel Docker/gh/michielbdejong/solid-bot-example/node_modules/openid-client/lib/helpers/process_response.js:41:11)
    at Function.register (/Volumes/Michiel Docker/gh/michielbdejong/solid-bot-example/node_modules/openid-client/lib/client.js:1460:26)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ClientRegistrar.getClient (/Volumes/Michiel Docker/gh/michielbdejong/solid-bot-example/node_modules/@inrupt/solid-client-authn-node/dist/login/oidc/ClientRegistrar.js:44:34)
    at async OidcLoginHandler.handle (/Volumes/Michiel Docker/gh/michielbdejong/solid-bot-example/node_modules/@inrupt/solid-client-authn-node/dist/login/oidc/OidcLoginHandler.js:23:28)
    at async ClientAuthentication.login (/Volumes/Michiel Docker/gh/michielbdejong/solid-bot-example/node_modules/@inrupt/solid-client-authn-node/dist/ClientAuthentication.js:13:33)
    at async Session.login (/Volumes/Michiel Docker/gh/michielbdejong/solid-bot-example/node_modules/@inrupt/solid-client-authn-node/dist/Session.js:16:31)
    at async /Volumes/Michiel Docker/gh/michielbdejong/solid-bot-example/app.js:45:3

Fixed in the test-server-24 branch. Next error:
When clicking 'Allow' in the NC GUI you don't get redirected back to the app.

The web console shows:
Refused to send form data to 'https://test.server.com/apps/solid/sharing/812ec203ee00103a80d847d7c3d0ace6?returnUrl=/apps/solid/authorize?client_id%3D812ec203ee00103a80d847d7c3d0ace6%26scope%3Dopenid%2520offline_access%2520webid%26response_type%3Dcode%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A3000%252Fredirect-from-solid-idp%26code_challenge%3De_fCMrHdT4oqMNY_6CgNY6L7dO4Uy9B8Xhi6v_JWMMI%26state%3DNbgUGvU2v2q3UpPpHriCUpZaC73coXOHjVWIp0BNHNM%26code_challenge_method%3DS256%26prompt%3Dconsent' because it violates the following Content Security Policy directive: "form-action 'self' localhost".

Hm, I put the bot example on http://test.server.com:3000 but that didn't help either. Maybe Nextcloud wants the redirect to be https?

@ylebre any idea? (I sent you the test server URL and credentials via Slack)

I saw in the database that it does set the client id to the domain with https, so i'll try if i can get my bot example working if i deploy it to Heroku

Hm, same error when trying to log in to https://solid-bot-example.herokuapp.com/login :(
I'll have to leave it here, will check back when I have time next week...


Problems seeing images

Hey there, I used your app.js and your stock images, but they do not show up when I request the view.... Is there something I'm missing in the public dirs?
Thanks!

Hi Alexander - sorry for not reverting back to you before.
Please feel free to try the 1.0.0 release - I've documented things better, and should work for you out of the box!
Cheers
Cian


Add documentation for frost-toggle

Closed via: https://github.com/ciena-frost/ember-frost-core/commit/1609c9c111e583712819ae473d4376aee56591fa


Index page needs to use a p class so the font buttons affect it

Font buttons don't affect index text.
Create a Wide p class for it.

fixed in ed08dc1 using .wide class.

fixed in ed08dc1 using .wide class.


Levanter unit test issue

Hi @dlwh ,
Today's JAX-Toolbox nightly for Levanter unit test failed. The job link is here.

One issue is related to a module zarr3 driver (link)
The other issues are related to test_attension.py (link)

Could you please take a look?
Thank you in advance.

ok thanks i think i noticed (1) recently

for (1) could you maybe add PYTHONPATH=src:.:tests:$PYTHONPATH (assuming you're in the levanter root)

For (1) -- the updating the PYTHONPATH helped.
What about the second one?

Pretty sure (2) is now fixed by #795


feat: add support for Devanagari & Bengali decimal numbering systems

Closes  https://github.com/adobe/react-spectrum/issues/6623
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Adobe Express

Would be nice to get a PR preview link in order for our g18n team to test before marking it as ready for review

Would be nice to get a PR preview link in order for our g18n team to test before marking it as ready for review

Unfortunately, we cannot do that on the PR. The best thing to do, if you're on a time crunch, would be to build the project locally, then link the built code into your project. You can use our verdaccio script to do this, or you can use any number of other methods to link through your package manager.
Once we merge into main, we'll have a link to a storybook here as well as a nightly build of the packages. I doubt this will make it into our next release as we've just wrapped up testing for that. So we should have plenty of time for testing this off the nightly.

We'll need to do checks with https://github.com/adobe/react-spectrum/pull/6520/files as well


New syntax for ordering tests

Hey there,
Awesome work on Vows. I'm a big fan of LESS, so it was nice to see similar elegance and design applied to testing.
While there's a lot to like about Vows, I admit I'm not keen on using it for asynchronous tests that can't be run in parallel. There's a lot of verbosity, and worse, nesting, which makes the tests harder to read, understand and modify.
I'll give an example. My friend @gasi and I are writing a database client library, so the most basic testing we started with was CRUD: create an item, read it, update it, delete it.
Here's what it looked like initially:
test code in regular JS
Since each of those operations is async, there's the typical nesting that quickly gets out of control and filled with callback noise.
So as a first step, I switched the test code to use the awesome Streamline.js syntax, which lets me write in a synchronous style:
test code in Streamline JS
You can see that all the nesting and callback noise has been eliminated, and the test code is now completely direct: we're creating an item, reading it, updating and deleting it.
This is how I would love to write my test code: clear and direct.
I could, in theory, write one test case in Vows that did all this in Streamline syntax, but the problem is then that test case is all-or-nothing. It would be better if "create" was a test case, then "read", etc., in order.
I'm not necessarily asking for Streamline.js support, but more, is there some way we can make async tests easier to write in Vows?
Fwiw, when I first read up on Vows, I was surprised that the functions within a batch run in parallel while batches run in sequence. I would have expected almost the opposite. E.g. in this case, I would make "CRUD" a batch, with create/read/update/delete functions that execute in sequence. Perhaps flipping this behavior could be made an option?
What are your thoughts on this? Is there something I can do to help?
Thanks again for the great work, and thanks in advance for considering my request. =)
Cheers,
Aseem

I think I understand the idea here, but there are so many cross proposals, I'm not sure I understand the problem.
To do a CRUD test, I'd do something like this:
const vows = require('vows')
const assert = vows.assert
const db = require('./some-module')

vows.describe('CRUD')
  .addBatch({
    'When we create an object': {
      topic () {
        db.create({value: 42}, this.callback)
      },
      'it works' (err, id) {
        assert.ifError(err)
        assert.isString(id)
      },
      'and we read the object': {
        topic (id) {
          db.read(id, this.callback)
        },
        'it works' (err, data) {
          assert.ifError(err)
          assert.isObject(data)
          assert.equal(data.value, 42)
        },
        'and we update the object': {
          topic (data, id) {
            db.update(id, {value: 23}, this.callback)
          },
          'it works' (err, data) {
            assert.ifError(err)
            assert.isObject(data)
            assert.equal(data.value, 23)
          },
          'and we delete the object': {
            topic (updated, read, id) {
              db.delete(id, this.callback)
            },
            'it works' (err) {
              assert.ifError(err)
            }
          }
        }
      }
    }
  })
  .export(module)

I think the model for embedding sub-batches gets tedious if you have sequences more than, say, 4 or 5 in length. But I also think this is something that could be fixed with a macro?


YARN-10650: Create dispatcher metrics interface, and apply to RM asyn…

2720

 Quality gate: Failed
13 Issues

 13 Code issues

Details

 Quality gate: Failed
13 Issues

 13 Code issues

Details


Stops generating sprites after 8 of 22 sprite folders

Somehow, my sprite generation never quite completes. I have 22 sprite folders (262 PNG images in total) and it only generates 8 of the sprites in the order specified before exiting silently (no errors/warnings). Here's my gulp task:
var gulp = require('gulp');
var gulpif = require('gulp-if');
var sprity = require('sprity');
var path = require('path');

gulp.task('sprites', function(done) {
    return sprity.src({
        src: [
            'one',
            'two',
            'three',
            // .. up to 22 folders
        ].map(function(folder) {
            return path.join('images/sprites', folder, '**');
        }),
        cssPath: '../images/sprites',
        template: 'sprity-scss.hbs',
        style: 'sprites.scss',
        split: true
    })
    .pipe(gulpif('*.png', gulp.dest('dist/images/sprites'), gulp.dest('dist/styles')));
});

If I only do 2 or 3 folders at a time, everything works fine and the sprites.scss file gets written. When it stops in the middle, however, the sprites.scss file never gets written.

Was this issue confirmed or resolved?


Short lines renders weird

Hey everithing is super nice but,
if the distance between the two points is too short the line is becoming weird.
My line is the following:
new LeaderLine(startElement, endElement, { 							color: 'red',  							size: 1, 							endPlug: 'behind', 							path:'grid' 						});
and it looks like this

is there a way to avoid this?
Its important to use the path: grid!

Hi @MrTilllus, thank you for the comment.
The line seems to have been drawn properly.
This may help you: https://github.com/anseki/leader-line/issues/212

Wow thats a fast answer -
Thanks now is it perfect 👍

:smile:


adding position control

adding position control

Docs Build status updates of commit 86bd801:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/payroll/PositionControl
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 0fb3b83:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/payroll/PositionControl
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


LiveQuery Projections [v2.1.1]

Could it be that a projection statement doesn't work when performing livequeries using OrientJS ?
E.g. the following query listens for updates on isNear edges
live select in.locationId as locationId, in.name as locationName, out.personId as personId from isNear

When returning it only returns the edge information and not the requested projections.
If this is by design and not considered a bug, is it on the roadmap to support projections?
Thx!

Hi @sparkycrisse
it can be considered a bug, it will be fixed in 2.2


Add sstable upgrade support to the node

@scylladb/ccm-maint  @roydahan can you help to review & merge this PR?

@scylladb/ccm-maint  @roydahan can you help to review & merge this PR?

Test passed.
Test result: https://jenkins.scylladb.com/view/master/job/scylla-master/job/byo/job/dtest-byo/411/testReport/
@bentsi @roydahan @scylladb/ccm-maint
Please, review

Test passed.
Test result: https://jenkins.scylladb.com/view/master/job/scylla-master/job/byo/job/dtest-byo/411/testReport/
@bentsi @roydahan @scylladb/ccm-maint
Please, review


Inconsistent behavior: Downstream jobs are cancelled for a upstream job which is still in retry due to failure.

Explanation:
SAMPLE FLOW : TEST_FLOW_A
JOB_A
  |
JOB_B
  |
JOB_C

JOB_B and JOB_C are cancelled due to JOB_A failure. But the problem is JOB_A still retry. Ideally the downstream jobs should only be cancelled after all the retries are exhausted. This issue does not happen every time/run.
LOGS:
INFO - Running flow 'TEST_FLOW_A'.
INFO - Submitting job 'TEST_FLOW_A:JOB_A' to run.
INFO - Cancelling 'TEST_FLOW_A:JOB_B' due to prior errors.
INFO - Cancelling 'TEST_FLOW_A:JOB_C' due to prior errors.
INFO - Flow 'TEST_FLOW_A' is set to KILLED in 0 seconds
INFO - Job TEST_FLOW_A:JOB_A finished with status FAILED in 0 seconds
INFO - Submitting job 'TEST_FLOW_A:JOB_A' to run.
Fix:
I have tested the below code fix and the same is working. However, please review the same and let me know if my assumptions are correct. Code fix is highlighted in bold.
File name: FlowRunner.java
` private boolean isInRetry(ExecutableNode node) {
if (node.getRetries() > node.getAttempt()) {
return true;
} else {
return false;
}
}
public Status getImpliedStatus(ExecutableNode node) {
if (Status.isStatusRunning(node.getStatus())
|| node.getStatus() == Status.SUCCEEDED) {
return null;
}
ExecutableFlowBase flow = node.getParentFlow();
boolean shouldKill = false;
for (String dependency : node.getInNodes()) {
ExecutableNode dependencyNode = flow.getExecutableNode(dependency);
Status depStatus = dependencyNode.getStatus();
if (!Status.isStatusFinished(depStatus) || (depStatus == Status.FAILED && isInRetry(dependencyNode))) {
return null;
} else if (depStatus == Status.FAILED || depStatus == Status.CANCELLED
|| depStatus == Status.KILLED) {
// We propagate failures as KILLED states.
shouldKill = true;
}
}`
Regards,
Kiran Hiremath

@hkiran This change looks makes sense to me. You stated that

This issue does not happen every time/run.

Do you know why it is happening randomly?

#867 fixed this issue for reference.

@kunkun-tang Thank you!!

Do you know why it is happening randomly?

Sorry our actual dag looks like this:
JOB_A     JOB_B
\        /
JOB_C
|
JOB_D
So, Issue re-occurrence is dependent on JOB_B completion time and JOB_A failing time, which will result in JOB_C and JOB_D cancellation due to JOB_A failure. But the problem is JOB_A still retry . If you need more details I can upload the sample flow using which we can reproduce the issue.
I have raised pull request for the same  #867

3 years later with Azkaban 3.57.0 we hit the same bug apparently.
We had to workaround this by adding an artificial dependency so that JOB_A would depend on JOB_B
and never risk running at the exact same time. Problem is this prevent jobs depending only on A to run earlier if A succeeds before B.
I see there is already a pull request that looks interesting, but no activity since 3 years.
What can I do to move this forward ?


upgrade deps + plugins

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


ENH: make sparse sum cast dtypes like NumPy sum for 32-bit Python.

This fix should ensure that sparse matrix sum behaves like NumPy dense
matrix sum in terms of dtype casting for 32-bit Python as well as
64-bit Python. Should fix #5972.

LGTM. I think the overflow warnings are useful to end users, so I'm fine with just ignoring them in the tests.

@@            master   #5983   diff @@
======================================
  Files          238     238
  Stmts        43744   43744
  Branches      8213    8213
  Methods          0       0
======================================
  Hit          34168   34168
  Partial       2602    2602
  Missed        6974    6974

Review entire Coverage Diff as of c7f8986

Powered by Codecov. Updated on successful CI builds.

thanks, merged


analysis.rs bounds check panic

Describe the bug
Me again..
I'm getting a panic from
https://github.com/apache/datafusion/blob/cafbc9ddceb5af8c6408d0c8bbfed7568f655ddb/datafusion/physical-expr/src/analysis.rs#L95
I'm not exactly sure yet what's causing it, I'll give more details when I get them.
I must say, I'm bit surprised there's code that's so likely to panic in a situation where:

returning an error is easy
there's not guarantee from nearby code that index should be in bounds in all common scenarios.

backtrace is:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic_bounds_check
   3: datafusion_physical_expr::analysis::ExprBoundaries::try_from_column
   4: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
   5: datafusion_physical_expr::analysis::AnalysisContext::try_from_statistics
   6: datafusion_physical_plan::filter::FilterExec::statistics_helper
   7: datafusion_physical_plan::filter::FilterExec::try_new
   8: datafusion::physical_planner::DefaultPhysicalPlanner::map_logical_node_to_physical::{{closure}}
   9: <futures_util::stream::futures_unordered::FuturesUnordered<Fut> as futures_core::stream::Stream>::poll_next
  10: <S as futures_core::stream::TryStream>::try_poll_next
  11: <futures_util::stream::try_stream::try_collect::TryCollect<St,C> as core::future::future::Future>::poll
  12: datafusion::physical_planner::DefaultPhysicalPlanner::create_initial_plan::{{closure}}
  13: <datafusion::physical_planner::DefaultPhysicalPlanner as datafusion::physical_planner::PhysicalPlanner>::create_physical_plan::{{closure}}
  14: <datafusion::execution::context::DefaultQueryPlanner as datafusion::execution::context::QueryPlanner>::create_physical_plan::{{closure}}
  15: datafusion::dataframe::DataFrame::create_physical_plan::{{closure}}
  16: datafusion::dataframe::DataFrame::collect::{{closure}}

To Reproduce
no public code right now, but this is somewhat related to my work on #10400, although is specialised enough that my code wouldn't be solution to that.
Expected behavior
Either my stats are invalid in which case there should be an error, or my stats are okay and it should pass
Additional context
No response

I think the analysis code is fairly unused at this point. Getting it more ship shape will be great.

(Thank you so much for filing these issues)

Hi, I just stumbled on this issue, and from what I'm getting, we can return an error in this case since panicking is maybe unwanted.
A way to do this:
pub fn try_from_column(
    schema: &Schema,
    col_stats: &ColumnStatistics,
    col_index: usize,
) -> Result<Self> {
    let field = schema.fields()
        .get(col_index)
        .ok_or_else(|| DataFusionError::Internal(
            format!("Could not create `ExprBoundaries` from column index {col_index} in ::try_from_column(): Column index out of bounds, schema has {} columns.\n", schema.fields.len())
        ))?;
    ...
}

This function only get's called from
https://github.com/apache/datafusion/blob/e1cfb48215ee91a183e06cfee602e42d2c23f429/datafusion/physical-expr/src/analysis.rs#L59C1-L70C6
Which indicates there are more column stats than columns in the schema.
I can't say more since I can't reproduce the error, so I'm sorry for any incompleteness.

I agree that changing to return an internal error sounds like a much better plan

take


[CLOSED] minSdkVersion from module build.gradle gets overwritten

 Issue by spyhunter99
Monday May 30, 2016 at 23:52 GMT
Originally opened as https://github.com/chrisdoyle/gradle-fury/issues/6

I'm trying to switch osmdroid over to this library and in the gradle.properties file, minSdkVersion is 8, however several modules require a higher minSdkVersion and have declared that in the build.gradle file. The module looks like ( just the relevant parts)
android {
    compileSdkVersion 'Google Inc.:Google APIs:23'
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "org.osmdroid.google.sample"
        minSdkVersion 9
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    lintOptions {
        abortOnError false
    }
}

gradle.properties looks like this
android.buildToolsVersion=23.0.2
android.compileSdkVersion=23
android.minSdkVersion=8
android.targetSdkVersion=23

build output
:GoogleWrapperSample:processDebugManifest
/Users/xxxx/osmdroid/GoogleWrapperSample/src/main/AndroidManifest.xml:4:5-73 Error:
	uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library [com.google.android.gms:play-services:8.4.0] /Users/xxxx/osmdroid/GoogleWrapperSample/build/intermediates/exploded-aar/com.google.android.gms/play-services/8.4.0/AndroidManifest.xml
	Suggestion: use tools:overrideLibrary="com.google.android.gms.all" to force usage

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

:GoogleWrapperSample:processDebugManifest FAILED

I'm willing to bet the root cause is the lack of an extra if (!defined) type of check for minSdkVersion.

 Comment by spyhunter99
Tuesday May 31, 2016 at 22:26 GMT

https://github.com/osmdroid/osmdroid/
branch: bug/#321Fury

 Comment by chrisdoyle
Monday Jun 06, 2016 at 02:35 GMT

Interesting catch!  Will take a look at and get back to you.

 Comment by chrisdoyle
Tuesday Jun 21, 2016 at 03:26 GMT

@spyhunter99,
I checked out your branch from the osmdroid project, and was able to get beyond this condition by moving the "apply from: .../android-support.gradle" statement above the android closure, which seems to allow for the overridden values.  So you should be able to move forward by adjusting each of the affected build.gradle files.  In the meantime, I will continue looking for a code solution in gradle-fury itself so it will work either way.

 Comment by spyhunter99
Tuesday Jun 21, 2016 at 23:23 GMT

ahh good call

 Comment by spyhunter99
Friday Jun 24, 2016 at 23:13 GMT

confirmed that this fix works. apply gradlefury before the android section of your build.gradle file


Antonio Meneghetti Faculdade

college website https://www2.faculdadeam.edu.br/

@philipto could you check this, please?

@raisson-amf Please provide us with a proof, which shows that the school recognizes the domain amf.edu.br you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@raisson-amf You might miss my previous comment. Please react.


Add the navigation link to [volume type]

This is a Feature Request
Add the navigation link to volume type .
What would you like to be added
volume type context which is there in Background subheading.
Page to be updated: volumes
Why is this needed
Get an idea about supported  volume types .
Comments

/sig docs
/language en

/assign

If this need to be fixed I can create PR tomorrow

If this need to be fixed I can create PR tomorrow.

/close