Fix outdated "60 fps in iOS" sentence.

Description
At "Performance Overview", there is a focus on aiming at 60 fps which could be outdated. Particularly, "Performance Overview > What you need to know about frames" says that "iOS devices display 60 frames per second".
Currently, Ssome iOS devices and many Android devices offer displays with high refresh rates, including 120Hz. Additionally, some Android devices also offer 90Hz displays.
The phrasing could be changed to suggest aiming at "at least 60fps"
Documentation version
next, and likely earlier

It hasn't been fixed

It hasn't been fixed

This is fixed now! Thanks @muhammadashfaq


Unauthenticated CSS resources

There are a few CSS resources loaded by this theme through HTTP instead of HTTPS. Chrome blocks these resources by default. These resources should probably be moved to somewhere secure or be added to the repository.
I should mention that this is only a problem when the connection is HTTPS, which is the case on Github Pages.

Merged https://github.com/gizak/nofancy/pull/6


feat: be able to read body more than once on Request and Response

Description
I'm trying to add body validation on middleware level for both Request and Response, but look like those can be read only once which make the server crash the second time you want to read.
Requirements

[ ] being able to read request body multiple time
[ ] being able to read response body multiple time

For the request one workaround would be to read it and then provide it frog dependancy injection but didn't manage to make it work for now.
For response I have no workaround as it will be read by shelf to send back the response anyway, is there a way to duplicate the response so I can read the body in a safe way?

I've checked the source of Request and Response and look like all body methods are just proxies to shelf request and response. So it should be relatively easy to add some caching inside those classes to:

on request read body from shelf request and cache it for later body calls
on response cache body at response creation and use it on frog response body methods, that will let the shelf response safe to read it once to send it to the client.

What do you think?

I've checked the source of Request and Response and look like all body methods are just proxies to shelf request and response. So it should be relatively easy to add some caching inside those classes to:

on request read body from shelf request and cache it for later body calls
on response cache body at response creation and use it on frog response body methods, that will let the shelf response safe to read it once to send it to the client.

What do you think?

I just opened a pull request to add this functionality. Take a look at #470 and let me know if you have any feedback, thanks! 🙏


Import shows error messages for FileChecksums other than MD5 and SHA1

Both the SPDX 2.0 and SPDX 2.1 specs require SHA1 checksums on each file, and optionally also allow MD5 and SHA256.
Currently, spdxSummarizer will recognize and save SHA1 and MD5 checksums, but will show error messages if the file info records include SHA256 checksums.
SHA256 should also be added as a recognized option, possibly as a new column in the files DB table (once DB migrations are implemented).

Fixed in a0505c6


Users/snesterov/aca with wif

Task name: AzureContainerAppsV1
Description: Added WorkloadIdentityFederation auth scheme support to AzureContainerAppsV1
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) N
Checklist:

[x] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

/azp run

/azp run


Test: Multiple GitHub Account support & new auth account preference

Refs: https://github.com/microsoft/vscode/issues/127967 https://github.com/microsoft/vscode/issues/225943

[ ] anyOS @aiday-mar
[ ] anyOS @amunger
[ ] web @rzhao271

Complexity: 4
Create Issue

Description
In Insiders, we have enabled Multiple GitHub Account support. This means you can be logged in to 2+ accounts at the same time and use them for different things.
I really just want you to smoke test logging in to multiple things and seeing if it all makes sense.
Step 0: Get an alt GitHub account
There's really only one way to do this... you gotta get/make another GitHub account. It's kinda annoying, but it could be useful later!
I guess you could also try to get the EMU account working... the one that's like YourMicrosoftAlias_microsoft (so like tyleonha_microsoft). That'd be a good test if you can figure out how to use it.
Step 1: Grab some extensions
So first, let me list some extensions that use GitHub:

Settings Sync
Cloud Changes
Remote Tunnels
GitHub Pull Request
GitHub Copilot & Chat
GitHub Repositories
GitHub Codespaces
GitLens
Live Share
And More?!....

Step 2: Change the preference
Also, to light this up, we have also added an ability to change the account preference for an extension. So for example, if Copilot Chat was originally given AccountA, a user can go in and change the preference to AccountB, and Copilot Chat will get an event for this change.
Now just a quick overview of where you could switch accounts... either:

Account Menu -> An Account -> Manage Trusted Extensions -> Gear icon on one of the Extensions
Extensions View -> Right click OR Gear icon on an extension
An Extension Editor -> Gear icon towards the top

This should bring you to a Quick Pick that lets you set a default account (you may not have one initially, but after setting it, re-open the quick pick and it should say it's default)
It's possible that not every extension plays nice with this new behavior... not all of them implement the Authentication event properly... so if you feel like an extension isn't handling it properly, I'd love it if you could open an issue on the extension... but if you don't want to, open an issue here and I'll get to it.
Bonus
GitHub Copilot Chat and GitHub Copilot's preference has been locked... so when you update one, the other updates. Test that! It'll test better if you switch between an account that has a Copilot Sub and one that doesn't...

I have been fiddling with the authentication experience on VS Code. Initially I was not sure how to sign in to two GitHub accounts simultaneously. I think it could be helpful if the account menu in the bottom left offered to sign in to a second GitHub account. I managed to wire a second account by turning on cloud changes and selecting a new account with Sign in with GitHub. Doing this added a second GitHub account in the account menu. From here I was able to change the GitHub account for GitHub Copilot and GitHub Copilot Chat (which are paired), but clicking on Account Preferences on the other extensions does not open a quick pick to pick an account.

I feel like I got myself into a bad state after setting up for this TPI - similar to Aiday, I had some trouble figuring out how to add a second account option for the extensions.


application-autoscalin.put_scheduled_action are incorrectly overwritten

Hi
In moto, application-autoscalin.put_scheduled_action only stores one Scheduled action for one combination of ServiceNamespace, ScalableDimension and ResourceId. No such limit is in place for AWS.
how to reproduce the issue
Steps are:

add two scheduled actions for one combination of ServiceNamespace, ScalableDimension and ResourceId.
fetch  scheduled actions for the same combination

Expected result would be that we have two actions but we have one. There's a code snippet below to reproduce.
Code Snippet to recreate issue
import os

import boto3
import moto

os.environ["AWS_DEFAULT_REGION"] = "us-west-2"

def main() -> None:
    with moto.mock_applicationautoscaling():
        client = boto3.client("application-autoscaling")

        client.put_scheduled_action(
            ServiceNamespace="sagemaker",
            Schedule="cron(0 0 * * * *)",
            ScheduledActionName="scale-at-midnight",
            ResourceId="endpoint/endpoint-name/variant/variant-name",
            ScalableDimension="sagemaker:variant:DesiredInstanceCount",
            ScalableTargetAction={"MinCapacity": 1},
        )
        client.put_scheduled_action(
            ServiceNamespace="sagemaker",
            Schedule="cron(0 30 * * * *)",
            ScheduledActionName="scale-at-half-past-midnight",
            ResourceId="endpoint/endpoint-name/variant/variant-name",
            ScalableDimension="sagemaker:variant:DesiredInstanceCount",
            ScalableTargetAction={"MinCapacity": 2},
        )

        actions = client.describe_scheduled_actions(
            ServiceNamespace="sagemaker",
        )
        print(f"{len(actions)=}")
        print(actions['ScheduledActions'])

if __name__ == '__main__':
    main()

what you expected to happen
Multiple actions with the same ServiceNamespace, ScalableDimension and ResourceId to be preserved same as AWS.
what actually happens
The last action is stored. From a brief glance at the code, it is likely due to https://github.com/getmoto/moto/blob/master/moto/applicationautoscaling/models.py#L306-L316.
what version of Moto you're using
moto==4.0.10

Hi @Dhruv26, thanks for raising this! I've opened a PR with a fix.


Loading worlds without utility belt makes hotbar unusuable

If the player has a utility belt item selected upon leaving a world and then loads a world without a utility belt, the hotbar and items will be unusable until they equip another utility belt. This is a short youtube video demonstrating the bug

thanks


Dependabot/npm and yarn/actions/core 1.2.6 releases

Updating actions core version in releases to 1.2.6

add-path is supposed to be converted to addPath, but we are already using addPath in this action.


VS Code formatting issue

Description:
When formatting below code in VS Code:
map<json> recMap = check map<json>.constructFrom( rec);

After formatting:
map<json> recMap = checkmap<json>.constructFrom( rec);

Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

This is fixed in the 1.0.1 version of the Ballerina ... @pramodya1994 are you in a position to upgrade to Ballerina 1.0.1 version ... ?

Great, Then we can close it.

This has been fixed with Ballerina v1.0.1 hence closing the issue.


Bug fix #1275

#1275

@nabeelio Can you please look at the styleci issue. I did the required edits but still it isn't passing

Can you rebase and remove the module changes?

Can you rebase and remove the module changes?

Sure

@nabeelio, i think this can be merged, and close #1275


[Feature] Replace unsupported page logic with plain unsupported.html page

Is your feature request related to a problem? Please describe.
When unsupported page is a part of app, there's a big chance it will break in old browsers (IE) when using modern JS syntax without using polyfills.
Describe the solution you'd like
We should have a standalone simple unsupported.html page with a full list of HEAD metatags that has isolated styles. Then we redirect to it via AWS lambda@edge (this won't be included in the source code of the project).
Additional context
Clean up all code related to the existing unsupported approach

Maybe we should add the lambda code in the generator, or a link to the implementation

@neo Could you point us to the nextjs native solution to handle unsupported pages?

yes, but it would only solve half of the problem but not the serving part?

or is the serving part in the devops repo

https://github.com/Jam3/nyg-nextjs/pull/64


feat: make it possible for downstream users to avoid git2

Many rust users want to avoid native dependencies as much as possible.  Currently, substrait requires a dependency on libgit2 which can cause complications in some environments (full disclaimer, we have a request to remove this dependency in lance).
However, libgit2 isn't even really needed by most users.  It is only required to calculate the version.in file but that is already calculated at publish time and included in the package.
This PR makes git2 a feature so that downstream users can turn it off.  If the feature is off, and the version.in file is missing, then the build will fail.  Ideally, git2 would also not need to be a default feature, but I can't find anyway to pass a -F git2 option to cargo publish using cargo smart-release.  So there is still room for improvement if anyone has any good ideas.

+1 on removing the dependency. I added an alternative approach in #173.

Closing in favor of #173


Subscribe to Bluesky team's mod service labels to see labels of bridged users

When a Bluesky user reports a bridged user or one of their posts, the Bluesky user sends the report through their PDS to the mod service, so we won't see it. However, if we subscribe to those mod service(s), we'll be able to look for labels of bridged users.
This will take nontrivial work, more than eg receiving and bridging AP Flag activities. We should still do it eventually though!
Background:

https://docs.bsky.app/docs/advanced-guides/moderation#reporting
https://github.com/bluesky-social/atproto/discussions/2350#discussioncomment-8847613
https://github.com/snarfed/granary/issues/596

I think it would be good to (eventually) also run your own mod service, to allow users from Bsky to send low-latency freeform reports to fedi admins.
Having this attached on the opt-in account on the Bsky side, if any, could be a good way to surface this option automatically to opted-in users. You'd also always have real a bridged account to use as originator of the report in AP, that way.

Hmm! In general, I'm not looking to actively moderate posts that flow through the bridge. More background: https://fed.brid.gy/docs#moderation-policy . TLDR: Every user of the bridge will already have a home instance/PDS that's responsible for and (generally) resourced for moderating them already. The most useful impact I can have is supporting and empowering them, vs  duplicating their efforts (and poorly at that).
Fortunately, if I just want to send and consume Bluesky reports/labels, I don't need to run a mod service. I've already implemented translating AP Flags into Bluesky reports; this just tracks the other direction.

I think you misunderstood my comment. What I mean is running a "mod service" only as inbox, to forward them with the original report message towards the home instance, and without judging reports yourself.
On fedi, it's normal that users can send reports to remote instances without waiting on a moderation decision from their own moderation team. If you only look at labels, then Bsky users wouldn't have this option, and also couldn't send reports for something that Bsky doesn't moderate for specifically.
(As an example, it's not actually possible to report copyright violations through Bsky's moderation system, they require a takedown notice using one's legal name instead. Most fedi instances are much more strict about this and will ban such accounts after receiving "normal" reports.)

Ah! Got it, thanks.
That's definitely possible. The catch is that Bluesky users would need to explicitly subscribe to Bridgy Fed's mod service before they can report anything to it. Those wouldn't be people already aware of and using the bridge; they'd be people interacting with them, and who likely have never heard of the bridge. Opt in rates for anything are famously low, so even with a big PR push, I'd be lucky to expect more than a single digit percentage of Bluesky users.
Given that, and given the effort of running even a purely technical mod service, I'm reluctant.


Typo in documentation

i don't think it is a typo

indeed, doesn't look like a typo (as the sentence talks about all breakpoints "from extra small to extra large")

I see... I was just wondering how the last sentence of the paragraph ("The remaining breakpoints, however, do include a breakpoint abbreviation.") makes sense. Which are the "remaining breakpoints" when the spacing utilities apply already to all breakpoints? Another change that would make sense is changing the last sentence to "The remaining spacing utilities, however, do include a breakpoint abbreviation.")


Terraform install task

@matt2005 don't appear to be able to add reviewers, and the appveyor build has stopped auto triggering. Would you mind taking a look please?
Or alternatively, feedback on the PR would be much appreciated. Thanks for keeping the module alive!

I'll be taking a look in the next couple of weeks. @CorpoC


feat(python): Support overriding default dev dependencies and mypy config in the python generator

We want to use mypy 1.11.1 in our sdk development. This allows us to specify it here
@coderabbitai summary

Confused why go-snippets would fail for python config specific tests?


Character sheet misalignment

First, I want to thank you for this really great module.  The way that you present the stats is very clean and elegant, and I love the "pause" feature.
However, I've noticed a bug that appears when I have your module activated, where the header for the character sheets is being pushed to the right.  I'm on core version 12.331 and PF2e version 6.4.1

Wow, didn't notice that. that's a crazy bug, hahaha.
I will take a look, it should not mess with any other different window...


graphql-sse support

Problem
Wundergraphs subscriptions over SSE doesn't work with the graphql-sse protocol.
Please see this discussion:

https://github.com/enisdenjo/graphql-sse/discussions/105#discussioncomment-10448808

Suggested solution
Implement the event: next with the subscriptions from Wundergraph, so that it's compatible with the graphql-sse library.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


[mpw-5] repair_antennas error during groute

Description
Error: groute.tcl, 75 TypeError in method 'repair_antennas', argument 1 of type 'LibertyPort *'
Environment
Kernel: Linux v4.18.0-338.el8.x86_64
Distribution: centos 8
Python: v3.6.8 (OK)
Container Engine: docker v20.10.8 (OK)
OpenLane Git Version: 2022.02.26_02.24.02
pip:click: INSTALLED
pip:pyyaml: INSTALLED
pip:venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

861552a 2022-02-28T14:23:24+02:00 [BOT] Update magic (#947) - Openlane Bot -  (HEAD -> master, origin/master)
de223b4 2022-02-28T13:56:36+02:00 Add Issue-Specific CI (#902) - Arman Avetisyan -  ()
8fea3c1 2022-02-28T13:54:01+02:00 Fix typo in ECO flow docs (#941) - Anton Blanchard -  ()

Reproduction Material
Run command:
$ ./flow.tcl -design eFPGA_top_innovus -tag std_mux4 -overwrite
openroad_issue_reproducible.tar.gz
Expected behavior
The flow finishes without errors
Logs
[INFO]: Running Global Routing...
[WARNING]: You're using GLB_RT_MAXLAYER in your configuration, which is a deprecated variable that will be removed in the future.
[WARNING]: We recommend you update your configuration as follows:
[WARNING]: 	set ::env(RT_MAX_LAYER) {met4}
OpenROAD 8866b75841711a4b539f8b72ad74f610cccda2fa
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
[WARNING STA-0053] /home/nguyendao/SKY130/gg-mpw5-2022/openlane/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib line 1, library sky130_fd_sc_hd__tt_025C_1v80 already exists.
[INFO ODB-0222] Reading LEF file: /openlane/designs/eFPGA_top_fabric/runs/std_mux4/tmp/merged_unpadded.lef
[WARNING ODB-0220] WARNING (LEFPARS-2036): SOURCE statement is obsolete in version 5.6 and later.
The LEF parser will ignore this statement.
To avoid this warning in the future, remove this statement from the LEF file with version 5.6 or later. See file /openlane/designs/eFPGA_top_fabric/runs/std_mux4/tmp/merged_unpadded.lef at line 110999.

[INFO ODB-0223]     Created 13 technology layers
[INFO ODB-0224]     Created 25 technology vias
[INFO ODB-0225]     Created 1351 library cells
[INFO ODB-0226] Finished LEF file:  /openlane/designs/eFPGA_top_fabric/runs/std_mux4/tmp/merged_unpadded.lef
[WARNING ORD-1001] LEF macro rram_PG_bitcell pin BE missing from liberty cell.
[WARNING ORD-1001] LEF macro rram_PG_bitcell pin TE missing from liberty cell.
[INFO ODB-0127] Reading DEF file: /openlane/designs/eFPGA_top_fabric/runs/std_mux4/results/placement/eFPGA.def
[INFO ODB-0128] Design: eFPGA
[INFO ODB-0130]     Created 1393 pins.
[INFO ODB-0131]     Created 56280 components and 212620 component-terminals.
[INFO ODB-0133]     Created 29580 nets and 57117 connections.
[INFO ODB-0134] Finished DEF file: /openlane/designs/eFPGA_top_fabric/runs/std_mux4/results/placement/eFPGA.def
###############################################################################
# Created by write_sdc
# Fri Mar  4 16:40:05 2022
###############################################################################
current_design eFPGA
###############################################################################
# Timing Constraints
###############################################################################
create_clock -name __VIRTUAL_CLK__ -period 40.0000
set_clock_uncertainty 0.2500 __VIRTUAL_CLK__
....
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {FrameStrobe[0]}]
set_timing_derate -early 0.9500
set_timing_derate -late 1.0500
###############################################################################
# Design Rules
###############################################################################
set_max_fanout 5.0000 [current_design]
[WARNING STA-0357] virtual clock __VIRTUAL_CLK__ can not be propagated.
[INFO]: Setting signal min routing layer to: met1 and clock min routing layer to met1.
[INFO]: Setting signal max routing layer to: met4 and clock max routing layer to met4.
-congestion_iterations 50 -verbose
[INFO GRT-0020] Min routing layer: met1
[INFO GRT-0021] Max routing layer: met4
[INFO GRT-0022] Global adjustment: 30%
[INFO GRT-0023] Grid origin: (0, 0)
[WARNING GRT-0043] No OR_DEFAULT vias defined.
[INFO GRT-0088] Layer li1     Track-Pitch = 0.4600  line-2-Via Pitch: 0.3400
[INFO GRT-0088] Layer met1    Track-Pitch = 0.3400  line-2-Via Pitch: 0.3400
[INFO GRT-0088] Layer met2    Track-Pitch = 0.4600  line-2-Via Pitch: 0.3500
[INFO GRT-0088] Layer met3    Track-Pitch = 0.6800  line-2-Via Pitch: 0.6150
[INFO GRT-0088] Layer met4    Track-Pitch = 0.9200  line-2-Via Pitch: 0.6150
[INFO GRT-0019] Found 0 clock nets.
[INFO GRT-0001] Minimum degree: 2
[INFO GRT-0002] Maximum degree: 10
[INFO GRT-0003] Macros: 132
[INFO GRT-0004] Blockages: 144770

[INFO GRT-0053] Routing resources analysis:
          Routing      Original      Derated      Resource
Layer     Direction    Resources     Resources    Reduction (%)
---------------------------------------------------------------
li1        Vertical            0             0          0.00%
met1       Horizontal    3142160        853383          72.84%
met2       Vertical      2356620        638209          72.92%
met3       Horizontal    1571080        441308          71.91%
met4       Vertical      1099756        253326          76.97%
---------------------------------------------------------------

[INFO GRT-0101] Running extra iterations to remove overflow.
[INFO GRT-0197] Via related to pin nodes: 52930
[INFO GRT-0198] Via related Steiner nodes: 0
[INFO GRT-0199] Via filling finished.
[INFO GRT-0111] Final number of vias: 58192
[INFO GRT-0112] Final usage 3D: 611870

[INFO GRT-0096] Final congestion report:
Layer         Resource        Demand        Usage (%)    Max H / Max V / Total Overflow
---------------------------------------------------------------------------------------
li1                  0             0            0.00%             0 /  0 /  0
met1            853383        109731           12.86%             0 /  0 /  0
met2            638209        252862           39.62%             0 /  0 /  0
met3            441308         60460           13.70%             0 /  0 /  0
met4            253326         14241            5.62%             0 /  0 /  0
---------------------------------------------------------------------------------------
Total          2186226        437294           20.00%             0 /  0 /  0

[INFO GRT-0018] Total wirelength: 4259370 um
Error: groute.tcl, 75 TypeError in method 'repair_antennas', argument 1 of type 'LibertyPort *'
[ERROR]: during executing openroad script /openlane/scripts/openroad/groute.tcl
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
child process exited abnormally

@nguyendao-uom
Missing library Error: groute.tcl, 19 cannot read file openlane/designs/eFPGA_top_fabric/macros/lib/S_term_single.lib.
Run locally and add all missing files.
seems missing below list
/openlane/designs/eFPGA_top_fabric/macros/lib/DSP.lib /openlane/designs/eFPGA_top_fabric/macros/lib/S_term_DSP.lib /openlane/designs/eFPGA_top_fabric/macros/lib/N_term_DSP.lib /openlane/designs/eFPGA_top_fabric/macros/lib/BRAM.lib /openlane/designs/eFPGA_top_fabric/macros/lib/cus_tg_mux41_buf.lib /openlane/designs/eFPGA_top_fabric/macros/lib/E_CPU_IO_bot.lib /openlane/designs/eFPGA_top_fabric/macros/lib/E_CPU_IO.lib /openlane/designs/eFPGA_top_fabric/macros/lib/flexbex_ibex_core.lib /openlane/designs/eFPGA_top_fabric/macros/lib/ibex_core.lib /openlane/designs/eFPGA_top_fabric/macros/lib/ibex_top.lib /openlane/designs/eFPGA_top_fabric/macros/lib/sky130_fd_sc_hd__ff_n40C_1v95.lib /openlane/designs/eFPGA_top_fabric/macros/lib/sky130_fd_sc_hd__ss_100C_1v60.lib /openlane/designs/eFPGA_top_fabric/macros/lib/sky130_fd_sc_hd__tt_025C_1v80.lib /openlane/designs/eFPGA_top_fabric/macros/lib/sky130_sram_1kbyte_1rw1r_32x256_8_TT_1p8V_25C.lib /openlane/designs/eFPGA_top_fabric/macros/lib/W_CPU_IO_bot.lib /openlane/designs/eFPGA_top_fabric/macros/lib/W_CPU_IO.lib /openlane/designs/eFPGA_top_fabric/macros/lib/LUT4AB.lib /openlane/designs/eFPGA_top_fabric/macros/lib/RegFile.lib /openlane/designs/eFPGA_top_fabric/macros/lib/W_IO.lib /openlane/designs/eFPGA_top_fabric/macros/lib/RAM_IO.lib /openlane/designs/eFPGA_top_fabric/macros/lib/N_term_single.lib /openlane/designs/eFPGA_top_fabric/macros/lib/N_term_single2.lib /openlane/designs/eFPGA_top_fabric/macros/lib/N_term_RAM_IO.lib /openlane/designs/eFPGA_top_fabric/macros/lib/S_term_RAM_IO.lib /openlane/designs/eFPGA_top_fabric/macros/lib/S_term_single2.lib};

@nguyendao-uom
To test locally and verify goto openroad_issue_reproducible directory, run below command:
% openroad

source run.tcl

@donn
In this attached zip file, for each .lib saved as sub-directory. Tool not able to read, while running source run.tcl.
Can you please have look into that?

@vijayank88 I still using mpw-5a tag. The .lib files are set as same as the .lef file in config.tcl?
...
set ::env(EXTRA_LEFS) [glob $::env(DESIGN_DIR)/macros/lef/*.lef]
set ::env(EXTRA_LIBS) [glob $::env(DESIGN_DIR)/macros/lib/*.lib]
set ::env(EXTRA_GDS_FILES) [glob $::env(DESIGN_DIR)/macros/gds/*.gds]

@nguyendao-uom
Zip the macros/lib and attach here.

Hi @vijayank88, attached below
macro_lib.tar.gz

@nguyendao-uom
Default set ::env(DIODE_INSERTION_STRATEGY) {3}; causing the issue.
Here, you have four options to choose from and they are controlled by setting DIODE_INSERTION_STRATEGY to one of the following values: (0, 1, 2, 3, 4, 5). Other than  3 try to use any of1/2/4/5 working fine.
Keep this issue open till strategy 3 to works without fail.

Attached updated tar file to reproduce the issue here:
openroad_issue_reproducible.zip

Thanks @vijayank88, I have tried with set ::env(DIODE_INSERTION_STRATEGY) {1}, but now it fails at droute step. Can you have a look on the errors? Thanks
...
[WARNING DRT-0087] No valid pattern for unique instance _1_, master is sky130_fd_sc_hd__conb_1.
[INFO DRT-0081]   Complete 17 unique inst patterns.
[INFO DRT-0082]   Complete 1000 groups.
@@@ dead end inst
@@@ dead end inst
[ERROR DRT-0085] Valid access pattern combination not found for
_1_
[INFO DRT-0082]   Complete 2000 groups.
[INFO DRT-0082]   Complete 3000 groups.
[INFO DRT-0082]   Complete 4000 groups.
[INFO DRT-0082]   Complete 5000 groups.
[INFO DRT-0082]   Complete 6000 groups.
[INFO DRT-0082]   Complete 7000 groups.
[INFO DRT-0082]   Complete 8000 groups.
[INFO DRT-0082]   Complete 9000 groups.
[INFO DRT-0083]   Complete 10000 groups.
[INFO DRT-0083]   Complete 20000 groups.
Error: droute.tcl, 46 DRT-0085
[ERROR]: during executing openroad script /openlane/scripts/openroad/droute.tcl
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
child process exited abnormally

openroad_issue_reproducible.tar.gz

@nguyendao-uom

Tile_X9Y9_RAM_IO RAM_IO + FIXED ( 2100840 851140 ) N ;
 - _1_ sky130_fd_sc_hd__conb_1 + PLACED ( 22540 179520 ) N ;  (Due to 1 instance its got failed. Check your in.def file)
END COMPONENTS
PINS 1393 ;
Run the flow with set ::env(DIODE_INSERTION_STRATEGY) 4 and try it.

@nguyendao-uom can you share your mpw repo?

Hi @vijayank88, sorry for the delay.
I have revised the RTL and now it only can pass the flow with following constraints:
set ::env(DIODE_INSERTION_STRATEGY) {5};
set ::env(CTS_TARGET_SKEW) 500
set ::env(CTS_SINK_CLUSTERING_SIZE) 100
set ::env(CTS_SINK_CLUSTERING_MAX_DIAMETER) 1000

** Our design has lot of big macros (CLB, DSP, REGFILE and BRAM blocks)**
I have created a repo for it (https://github.com/nguyendao-uom/mpw5-eFPGA.git) but failed to clone the openlane from this https://github.com/efabless/caravel_user_project/blob/main/docs/source/quickstart.rst
cd openlane && make openlane
make[1]: Entering directory '/home/nguyendao/SKY130/gg-mpw5-2022/mpw5-eFPGA/openlane'
if [ -d "/home/nguyendao/SKY130/gg-mpw5-2022/mpw5-eFPGA/openlane" ]; then\
	echo "Deleting exisiting /home/nguyendao/SKY130/gg-mpw5-2022/mpw5-eFPGA/openlane" && \
	rm -rf /home/nguyendao/SKY130/gg-mpw5-2022/mpw5-eFPGA/openlane && sleep 2; \
fi
Deleting exisiting /home/nguyendao/SKY130/gg-mpw5-2022/mpw5-eFPGA/openlane
git clone https://github.com/The-OpenROAD-Project/OpenLane --branch=2022.02.23_02.50.41 --depth=1 /home/nguyendao/SKY130/gg-mpw5-2022/mpw5-eFPGA/openlane && \
	cd /home/nguyendao/SKY130/gg-mpw5-2022/mpw5-eFPGA/openlane && \
	export OPENLANE_IMAGE_NAME=efabless/openlane:2022.02.23_02.50.41 && \
	export IMAGE_NAME=efabless/openlane:2022.02.23_02.50.41 && \
	make pull-openlane
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Cloning into '/home/nguyendao/SKY130/gg-mpw5-2022/mpw5-eFPGA/openlane'...
fatal: Unable to read current working directory: No such file or directory
make[1]: *** [Makefile:73: openlane] Error 128
make[1]: Leaving directory '/home/nguyendao/SKY130/gg-mpw5-2022/mpw5-eFPGA/openlane'
make: *** [Makefile:130: openlane] Error 2

Do you know how to fix it? Thanks

@donn
comment on this. seems installation issue.

Hi @vijayank88, I can install openlane separately (git clone ... && make pull-openlane), but got error when try to do make user_project_wrapper
[nguyendao@cspc083 openlane]$ make user_project_wrapper
###############################################
docker: Error response from daemon: Duplicate mount point: /home/nguyendao/SKY130/gg-mpw5-2022/efpga_Openlane/caravel.
See 'docker run --help'.
make: *** [Makefile:43: user_project_wrapper] Error 125

couldn't find any solutions for it. Can you help me with this? Thanks

If you need help with caravel makefiles, file an issue in the caravel repository.


Build entire Phobos with -preview=dip1000

With https://github.com/dlang/dmd/pull/9476, this could work now ...

generated/linux/debug/64/publictests/std_exception.d(1251): Error: scope variable p may not be copied into allocated memory

That could be due to the public unittest checker dropping the unittest attributes, but the linking errors on the Auto-Tester are still there and real.

I'm confused. Why did this work with dip1000.mak with it all set to dip1000, and this fails?

generated/linux/debug/64/publictests/std_exception.d(1251): Error: scope variable `p` may not be copied into allocated memory
posix.mak:628: recipe for target 'std/exception.publictests' failed

What is std_exception.d generated from?

I'm confused. Why did this work with dip1000.mak with it all set to dip1000, and this fails?

It never worked. It only worked for the unittest target because we compiled all Phobos with it, there that's why there are no linker errors there. We never compiled Phobos as a library with dip1000, because as I have been constantly saying it never worked.

What is std_exception.d generated from?

std.exception, I'm confused as to why that gives that error considering the unittest is explicitly @system. see also https://issues.dlang.org/show_bug.cgi?id=18637

Why would std.exception fail when compiled as a library but work compiled as a unittest?

I'm also confused:
@system unittest
{
    int i;
    int* p = &i;
    int*[] slicep = [p]; // the line in question
}

compiles without error with and without -dip1000

So does compiling std.exception with -dip1000 - no errors.

I would start looking at the linker errors on the Auto-Tester which show that the recent exclusion of the inferred return in the mangling didn't cover everything:
../generated/freebsd/release/32/examples/impvisitor.o: In function `_D3std6format__T14formattedWriteTSQBgQBf8NoOpSinkTaTAyaTkZQBqFNaNfQBhMxAaQvkZk':
examples/impvisitor.d:(.text._D3std6format__T14formattedWriteTSQBgQBf8NoOpSinkTaTAyaTkZQBqFNaNfQBhMxAaQvkZk+0x2b): undefined reference to `_D3std6format__T10FormatSpecTaZQp6__ctorMFNaNbNcNiNfxAaZSQCdQCc__TQByTaZQCe'
../generated/freebsd/release/32/examples/impvisitor.o: In function `_D3std6format__T11formatRangeTSQBdQBc8NoOpSinkTAyaTaZQBlFNaNfKQBgKQtMKxSQCsQCr__T10FormatSpecTaZQpZv':
examples/impvisitor.d:(.text._D3std6format__T11formatRangeTSQBdQBc8NoOpSinkTAyaTaZQBlFNaNfKQBgKQtMKxSQCsQCr__T10FormatSpecTaZQpZv+0x2cf): undefined reference to `_D3std6format__T10FormatSpecTaZQp6__ctorMFNaNbNcNiNfxAaZSQCdQCc__TQByTaZQCe'
../generated/freebsd/release/32/examples/impvisitor.o: In function `_D3std6format__T14formattedWriteTSQBgQBf8NoOpSinkTaTkZQBmFNaNfKQBeMxAakZk':
examples/impvisitor.d:(.text._D3std6format__T14formattedWriteTSQBgQBf8NoOpSinkTaTkZQBmFNaNfKQBeMxAakZk+0x2b): undefined reference to `_D3std6format__T10FormatSpecTaZQp6__ctorMFNaNbNcNiNfxAaZSQCdQCc__TQByTaZQCe'
../generated/freebsd/release/32/examples/impvisitor.o: In function `_D3std6format__T11guessLengthTaTAyaZQuFNaNfQlZk':
examples/impvisitor.d:(.text._D3std6format__T11guessLengthTaTAyaZQuFNaNfQlZk+0x37): undefined reference to `_D3std6format__T10FormatSpecTaZQp6__ctorMFNaNbNcNiNfxAaZSQCdQCc__TQByTaZQCe'
../generated/freebsd/release/32/examples/impvisitor.o: In function `_D3std6format__T14formattedWriteTSQBg5array__T8AppenderTAyaZQoTaTQjTkZQCcFNaNfKQBuMxAaQBekZk':
examples/impvisitor.d:(.text._D3std6format__T14formattedWriteTSQBg5array__T8AppenderTAyaZQoTaTQjTkZQCcFNaNfKQBuMxAaQBekZk+0x2b): undefined reference to `_D3std6format__T10FormatSpecTaZQp6__ctorMFNaNbNcNiNfxAaZSQCdQCc__TQByTaZQCe'
../generated/freebsd/release/32/examples/impvisitor.o:examples/impvisitor.d:(.text._D3std6format__T11formatRangeTSQBd5array__T8AppenderTAyaZQoTQhTaZQBxFNaNfKQBsKQzMKxSQDeQDd__T10FormatSpecTaZQpZv+0x2cf): more undefined references to `_D3std6format__T10FormatSpecTaZQp6__ctorMFNaNbNcNiNfxAaZSQCdQCc__TQByTaZQCe' follow
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Error: linker exited with status 1

I'm confused as to why that gives that error considering the unittest is explicitly @system

Nope, they get dropped by the unittest parser (the external tool, not the compiler). They get dropped because for user-facing public examples their unittest attributes shouldn't matter.
Anyhow, how is my previous reply not explanatory?

due to the public unittest checker dropping the unittest attributes, but the linking errors on the Auto-Tester are still there and real.

Nope, they get dropped by the unittest parser (the external tool, not the compiler). They get dropped because for user-facing public examples their unittest attributes shouldn't matter.

What do you suggest be done to correct the failure?

I would start looking at the linker errors on the Auto-Tester which show that the recent exclusion of the inferred return in the mangling didn't cover everything:

It's kinda hard to figure out what is going on, since I don't know what compiled with what is linking with what compiled with what. The linker error says what wasn't found, but doesn't say what is in the library that should match it.
If you could find a file that compiled with different mangling depending on -dip1000 on or off, that would be sufficient for me to find the problem.

If you could find a file that compiled with different mangling depending on -dip1000 on or off, that would be sufficient for me to find the problem.

How about this bug report from a year ago?
https://issues.dlang.org/show_bug.cgi?id=18820
Alternatively, to reproduce the error on auto-tester:

Checkout this PR or do alternatively do this:

make -f posix.mak DFLAGS=-previw=dip1000 all

The test that's failing on the auto-tester is this one:

cd ~/dland/dmd/src
~/dlang/dmd/generated/linux/release/64/dmd -i -J.. examples/impvisitor.d

So as mentioned any more complex combination of mixing object files compiled with and without -preview=dip1000 still results in linker errors.
The specific example from the auto-tester can be reduced to this file:
void main() {
    import std.file;
    auto input = readText("foo");
}

Maybe that's because -preview=dip1000 silently treats in different?

See https://github.com/dlang/dmd/pull/9508 for solution to at least some of these issues.

@wilzbach can you ping the autotester to restart testing, now that 9508 has been pulled?

Just force push or rebase.

Just force push or rebase.

It's not my PR, so I don't think I can do that.

Sure you can. All maintainers can push to all PRs. Anyhow, as you all know the PRs at the Auto-Tester get automatically restarted whenever master moves forward. Have a look at the build logs and datestamps. It's from today and yup still failing.

Fir reference:
std/regex/internal/parser.d:984: undefined reference to _D3std3uni__T5StackTkZQj3topMFNaNbNcNdNiNfZk'`

Reduced the issue to https://issues.dlang.org/show_bug.cgi?id=19857

Now it fails due to https://issues.dlang.org/show_bug.cgi?id=19873

PR to the publictests extractor -> https://github.com/dlang/tools/pull/369
This allows moving on to the probably next issue without waiting for the DMD issue to be fixed.

Incredible. This is actually passing now :tada:
CC @thewilsonator @WalterBright

This should probably have a changelog entry at some point.

This should probably have a changelog entry at some point.

I can add quick one, but as pointed out at DConf, this is the easy part of the dip1000 transition. Making all 1500 dub packages build with it, will require a lot of effort and energy and very likely deprecation messages.

This should probably have a changelog entry at some point.

I can add a quick one,

-> https://github.com/dlang/phobos/pull/7005


Continually calling Api.Text in a loop - eventually crashes.

My algorithm does this:

Initialises the API
Begins an endless loop with the body:

                           _Api.SetImage(filePath)
                            .ContinueWith((t) =>
                            {
                                RunOnUiThread(() =>
                                    {
                                        _OcrText.Text = _Api.Text;
                                    });
                            });

After a few seconds of execution, there is an exception tfrom within the  _Api.Text method. Do you have any existing test coverage for this scenario - i.e one that calls _API.Text many times on the same API instance?

No, I haven't implemented any tests for the lib yet.  So all my testing is pure manual. Could you please give more extended sample of your code as at the moment it work's fine for me.

Sure - here is the complete android activity I am running!
https://gist.github.com/dazinator/e0ee587676a6ff454e9b

and I also just added the corresponding axml layout to that gist.

I created sample for camera preview recognition https://github.com/halkar/Tesseract.Xamarin/tree/android-camera-preview-sample
I managed to work directly with byte array received from the camera without saving data to file.
The only problem is that I don't know how to work with camera preview. I'm a little bit lazy, so I decided not to use queue but just to skip images received while recognitions is working.
So I found one problem - calling SetImage during recognition crashes the application - so for now avoid that, I'll try to fix it the next update.

Brilliant stuff! I'll take a look at that now! Thank you for looking into this so quickly!

I've updated framework and the sample project. BTW, it's better to use TesseractApi.Results (PageIteratorLevel.Block) method instead of TesseractApi.Text to get more information about results.


Build(deps): Bump moment-timezone from 0.5.35 to 0.5.37 (#3948)

Pull request opened by the merge tool on behalf of #3948

Merged in 5c2652d9cde38c8c1a5375f2eceeaf61b626a6cb


point ras to et ccd pr

JIRA link (if applicable)
test et ccd pr
Change description
do not merge
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

closing test


feat: release candidate

1812 fix

:tada: This PR is included in version 0.309.0 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CLI restore of Azure SQL Database

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az sql db restore
Errors:
Unable to build a model: Cannot deserialize datetime object., ValueError: Invalid datetime string: 2019-05-01T17-00Z, DeserializationError: Cannot deserialize datetime object., ValueError: Invalid datetime string: 2019-05-01T17-00Z
Traceback (most recent call last):
python3.7/site-packages/msrest/serialization.py, ln 1755, in deserialize_iso
    raise ValueError("Invalid datetime string: " + attr)
ValueError: Invalid datetime string: 2019-05-01T17-00Z

...

python3.7/site-packages/msrest/serialization.py, ln 1755, in deserialize_iso
    raise ValueError("Invalid datetime string: " + attr)
msrest.exceptions.SerializationError: Unable to build a model: Cannot deserialize datetime object., ValueError: Invalid datetime string: 2019-05-01T17-00Z, DeserializationError: Cannot deserialize datetime object., ValueError: Invalid datetime string: 2019-05-01T17-00Z

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az sql db restore --dest-name {} --resource-group {} --server {} --name {} --time {}

Expected Behavior
For the database to be restored on a specified SQL Server.
Environment Summary
Darwin-18.5.0-x86_64-i386-64bit
Python 3.7.3
Shell: bash

azure-cli 2.0.63

Extensions:
application-insights 0.1.1

Additional Context
Have been able to manually walk through the restore using the portal.  Want to figure out a way to automate the recovery of my databases in another region.  For this test I grabbed the date/time from the available backup that showed up in the portal.  I would also like to know if there is a way to determine from the CLI what the most recent backup time is so that I can use that in for my restore.

This error is happening because python can't parse your datetime string. I will update documentation to show the expected datetime format.

I would also like to know if there is a way to determine from the CLI what the most recent backup time is so that I can use that in for my restore.

Yes, you can az sql db show and then refer to the earliestRestoreDate property.


[MRG] Fix missing PR number in changelog

Fix missing PR number following #11351

Thanks for fixing my oversight @mscheltienne !


Update stable version in repo from 1.1.1 to 1.2.1

Think about update stable version to 1.2.1
Version: stable=1.1.1 (654 days old) => latest=1.2.1 (15 days old)
Installs: stable=52 (92.86%), latest=3 (5.36%), total=56
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 1.2.1 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.2.1 but the current stable version is already 1.2.1.
So this issue should be closed.
@mcm1957 for evidence


🦊 Review

1st Capstone Project
Demo video
Description

In this project I create a webpage for online courses.
I follow the template in the requirements.

Colors.

Typography: font face, size and weight.

Layout: composition and space between elements.

Pages:

The home page.
The about page.

Display versions:

Mobile: up to 768px wide.
Desktop: 768px or wider.

Interactions

Links
Mobile menu
The "Featured speakers" are created dynamically in JavaScript.

Thanks @elyor-doniyorov
For the review.


Problems to set heating temperature to climate.ariston

Hi,
When i change the target temperature for heating on climate in Home Assisstant is not set on sensys. the other available functions are set correctly.
Do you have any idea what the problem could be?
Regards.
Simone

Hi,
Please try using www.ariston-net.remotethermo.com to see if it works. Integration somewhat emulates browser behavior.
One of the reasons some commands did not work in the past was not defined sensors within configuration.yaml, but temperatures should work.
If change of temperatures works via website then please set store_files to true in configuration.yaml, which shall generate multiple files within config folder, which might be used for troubleshooting.
I have very little free time lately, so i can't guarantee anything soon.

ariston:
username: xxxxxxx
password: xxxxxxx
store_config_files: true
Is the correct syntax to enter in configuration.yaml? I tried this but the component no longer works afert HA restart.
On www.ariston-net.remotethermo.com the temperature change is it work.
the thing I don't understand is the fact that changing the temperature from HA of the sanitary works, while that of the heating does not.
Thanks for your work.
Simone

store_config_files is on same level in yaml as username/password, so should work.
Changing of temperatures was designed based on 2 boilers (it is reverse engineering, so a lot is my guessing and testing), but even then there were some differences. Please try changing manual/program modes and see if at least in one case change of temperature works.
What kind of boiler do you use? Is the problem with both DHW and CH?

by the way, did you try

No reply for a long time


Beefy does not find bundlers when there's an alternate npm global install path

I install global packages in ~/npm/.  npm exists in /usr/bin.  Beefy seems to rely on the location of npm when looking for bundlers rather than calling which on the actual executable (e.g. watchify).

installing global packages w/o root
npm prefix

When I add console.log(dir[i]) in the for loop in setup-bundlers.onglobals I see that it's not looking in my ~/npm/ directory for browserify/watchify:
➜  beefy  cat ~/.npmrc
prefix = /home/diamonds/npm
➜  beefy  which browserify
/home/diamonds/npm/bin/browserify
➜  beefy  which watchify
/home/diamonds/npm/bin/watchify
➜  beefy  which npm
/usr/bin/npm
➜  beefy  cd -
~/treackpadello
➜  treackpadello git:(master) ✗ beefy
>> entering setup-bundlers.onglobals
>> starting loop over dirs...
/usr/share/node-gyp
/usr/share/npm

/home/diamonds/npm/lib/node_modules/beefy/bin/beefy:13
    throw err;
          ^
Error: Could not find a suitable bundler!
    at onglobals (/home/diamonds/npm/lib/node_modules/beefy/lib/setup-bundlers.js:53:18)
    at /home/diamonds/npm/lib/node_modules/beefy/node_modules/find-global-packages/index.js:40:25
    at Object.cb [as oncomplete] (fs.js:168:19)

This is also affecting me, apparently.

I trued sym-linking my brew npm into /usr/bin... that didn't help.  however npm install -g browserify did the trick

had same problem, npm install -g browserify worked for me too

Also seeing this issue. I have npm config prefix set to a different path and npm install -g doesn't seem to solve this.
For the record, Beefy might be able to utilize this:
https://www.npmjs.com/package/resolve-npm-which

With this command
nohup beefy src/main.coffee 1340 --cwd www --live \
            -- -o bundle.js -t coffeeify > run.log 2>&1 &

I am seeing
Cannot find module '/home/mark/Dropbox/apps/tv/browserify' from '/home/mark/Dropbox/apps/tv'

even though browserify is global and the command browserify works from the command line.  I'll try making it local instead.

I can't get beefy to find browserify no matter what I can think of to try.  Can someone show me a setup that works?

browserify project folder (local or global?)
beefy project folder (local or global?)
beefy startup (command line or node module?)
entry file

If you can't get it to work @mark-hahn you may have better luck with one of these tools:
https://github.com/mattdesl/budo
https://github.com/maxogden/wzrd

Thanks.   It's nice to know about these three options.
I got beefy to work by moving both beefy and browserify to local node_modules and removing the global installs.  I also switched to just running a node file in my root directory with the beefy server code.

I had same problem, solved it by adding --browserify $(which browserify) to the beefy start script in package.json of my project.

@ajuc This works for me.


Bug 967921 - User message is not true

User message 'Changing to Free will put your app back into review.' is not true. Removed the message.

Thanks for the patch!


Hyprcursor: no fallback found for a cursor in setCursorFromName

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)

System Information:
System name: Linux
Node name: skizy-desktop
Release: 6.8.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000

GPU information:
26:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [1002:699f] (rev c7) (prog-if 00 [VGA controller])

os-release: NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID="2023.05.28"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

plugins:
  hyprexpo by Vaxry ver 1.0

Bug or Regression?
Bug
Description
Hyprcursor themes don't work at all, always falls back to a default black cursor. Setting both via env variables and hyprctl setcursor leads to the same result.
Relevant Hyprland logs:
[hc] getShapesC: found 0 images for left_ptr
[hc] getShapesC: found 0 images for default
[hc] getShapesC: found 0 images for left_ptr
[ERR] BUG THIS: No fallback found for a cursor in setCursorFromName

Though there are left_ptr.hlc files in all themes I tried.
It does find the theme when setting the theme using hyprctl setcursor:
[hc] getFullPathForThemeName: found /home/skizy/.local/share/icons/bibata-amber
[hc] Found theme Bibata-Modern-Amber at /home/skizy/.local/share/icons/bibata-amber

How to reproduce
Put a hyprcursor theme into ~/.local/share/icons
Run hyprctl setcursor <theme-name> <size>
Move the cursor over the background or over an app that supports server-side cursors
Crash reports, logs, images, videos
No response

means your theme is broken. I am gonna bet you're trying to smash a source theme there and haven't compiled it.

hm, that's compiled. Yeah. Have you tried a different theme?

I tried 2 Bibata variants and a rose-pine port, I found out that rose-pine cursors work if set with the env variable, but don't work when setting with hyprctl setcursor


Add more elaborate sample

I've added a sample django app, let me know if you'd like to change it or make more complex

the only thing that would be nice is to add one rule for each Rule and ConditionalRule.
otherwise, the sample is plenty good enough. thanks.


Does this work in dev-mode ?

It seems the extension is not enabled if I run jupyter lab --dev-mode. Any instructions for configuration would be appreciated.
My JupyterLab version is 0.34.0.

read the jupyterlab docs jupyter lab --help


Serial Port not saved in backup file

Remark: should we have everything only stored in a configuration file and nothing hard-coded in python ?

Note: serial port can be passed using the '-s' option when running the bs

Yes, please. Nothing hardcoded. All should go in a basestation.config file which we should add to the GitHub ignore files.


chore(KFLUXVNGD-88): Add crossplane component

Initial crossplane component is added in the components of the infra-deployments.
Jira-Url: https://issues.redhat.com/browse/KFLUXVNGD-88

/retest

Moved to a draft state until https://github.com/konflux-ci/crossplane-control-plane/pull/1 is merged.

@hmariset
We are getting this error:
loading generator plugins: failed to load generator: plugin HelmChartInflationGenerator.builtin.[noGrp]/crossplane.[noNs] fails configuration: must specify --enable-helm
When running the kustomization file locally, we are getting the same error.
In order to overcome it when running it manually, we use the --enable-helm flag in the kustomization file.
We should check how to overcome it in our configuration

@hmariset We are getting this error: loading generator plugins: failed to load generator: plugin HelmChartInflationGenerator.builtin.[noGrp]/crossplane.[noNs] fails configuration: must specify --enable-helm
When running the kustomization file locally, we are getting the same error. In order to overcome it when running it manually, we use the --enable-helm flag in the kustomization file. We should check how to overcome it in our configuration

Yes Avi, I'm working on it. I checked a documentation to add confimap to mitigate this error, will update the PR soon.

@hmariset I took your changes, made some adjustments, and managed to successfully deploy crossplane to OCP. Please incorporate these.
I also created cluster type overlays for vanilla k8s and OCP. Please take a look at https://github.com/konflux-ci/crossplane-control-plane/pull/2. If and when that gets merged the ref in the aforementioned commit should be updated so that it no longer points to my fork of crossplane-control-plane.

/retest

/retest

/retest

@hmariset I opened https://github.com/konflux-ci/crossplane-control-plane/pull/4 to help resolve the issues with kube-linter.


Compliment / weather doesn't work correctly

Hi,
with the new update, compliments don't change anymore. Anyone else with these problems?
Also the weather forecast isn't the same like on the openweathermap website.
Greets
Maurice

I see an issue with the compliments. Will fix it asap. What's the exact issue with the weather forecast?

Compliments should be fixed in this commit.

f.e. current temperature on website = 5, on mirror it's 2.7. Or, temparatur min and max are the same on mirror for tomorrow (-4.5), on website it's 2.7min and 7.5 max. perhaps any problems yesterday with the api. today, everything is fine.
thanks for fixing the compliments.

@djsunrise19 Cool you please keep an eye on the issue, and open a new issue when it occurs again? Thanks!


Install our package first before building docs

Signed-off-by: Kim, Vinnam<EMAIL_ADDRESS>
Summary

How to test

Checklist

[ ] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Codecov Report
Base: 83.80% // Head: 83.80% // No change to project coverage :thumbsup:

Coverage data is based on head (aeb9084) compared to base (681e8c6).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #782   +/-   ##
========================================
  Coverage    83.80%   83.80%
========================================
  Files          166      166
  Lines        22443    22443
  Branches      4896     4896
========================================
  Hits         18808    18808
  Misses        2522     2522
  Partials      1113     1113

Flag
Coverage Δ

macos-10.15_Python-3.10
83.71% <ø> (ø)

macos-10.15_Python-3.7
?

macos-10.15_Python-3.8
?

ubuntu-20.04_Python-3.10
83.73% <ø> (ø)

ubuntu-20.04_Python-3.7
83.41% <ø> (ø)

ubuntu-20.04_Python-3.8
83.66% <ø> (ø)

ubuntu-20.04_Python-3.9
83.67% <ø> (ø)

windows-2019_Python-3.10
83.73% <ø> (ø)

windows-2019_Python-3.7
83.41% <ø> (ø)

windows-2019_Python-3.8
83.65% <ø> (ø)

windows-2019_Python-3.9
83.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Export to s3

I have a working exportForHLS, but the resulting upload is just the m3u8 file when I use s3. Then it doesn't play.
When I use local disk, there is the m3u8 and 3 ts files, and it plays.
        $file = storage_path() . '/uploads/videos/' . $this->filename;

        $lowBitrate = (new X264)->setKiloBitrate(250);
        $lowBitrate = ( new X264 )->setKiloBitrate( 144 )->setVideoCodec( 'libx264' )->setAudioCodec( "libmp3lame" )->setAdditionalParameters( [
            "-strict",
            "-2",
            ] );
        $midBitrate = (new X264)->setKiloBitrate(500)->setVideoCodec( 'libx264' )->setAudioCodec( "libmp3lame" )->setAdditionalParameters( [
            "-strict",
            "-2",
            ] );;
        $highBitrate = (new X264)->setKiloBitrate(1000)->setVideoCodec( 'libx264' )->setAudioCodec( "libmp3lame" )->setAdditionalParameters( [
            "-strict",
            "-2",
            ] );;

        FFMpeg::fromDisk('uploads')
            ->open('videos/'.$this->filename)
            ->exportForHLS()
            ->setSegmentLength(10) // optional
            // ->inFormat(new \FFMpeg\Format\Video\X264('libmp3lame'))
            ->addFormat($lowBitrate)

            ->addFormat($midBitrate)
            ->addFormat($highBitrate)
            ->toDisk('s3video')
            ->save('/videos/ffmpeg/'.$this->filename.'.m3u8');

are there plans to make the hls export available to s3 storage?

Could you try and test this branch (still WIP, needs some refactoring):
https://github.com/pascalbaljetmedia/laravel-ffmpeg/tree/hls-external

Could you try and test this branch (still WIP, needs some refactoring):
https://github.com/pascalbaljetmedia/laravel-ffmpeg/tree/hls-external

how can i test it?

I just tried.... Unfortunately this doesnt seem to work.. only the playlist file is saved to the s3 storage... Do you need further information / debug infos?

I've rewritten the package and support for exporting to S3 (and other external disks) is included. Could you test the v7 branch? Almost no breaking changes except for some filter stuff in HLS exports.
https://github.com/pascalbaljetmedia/laravel-ffmpeg/tree/v7
composer require "pbmedia/laravel-ffmpeg:v7.x-dev"

Fixed in v7.0


Vulnerability roundup 84: patch-2.7.6: 1 advisory

search, files

[ ] CVE-2019-20633 CVSSv3=5.5 (nixos-19.09, nixos-20.03, nixos-unstable)

Scanned versions: nixos-19.09: 31dcaa5eb67; nixos-20.03: 82b5f87fcc7; nixos-unstable: 0f5ce2fac0c. May contain false positives.

Upstream bugreport: https://savannah.gnu.org/bugs/index.php?56683. FWIW, Suse considers the the severity of this bug "low".
Our gnupatch package doesn't have a maintainer, unsure who to ping :/ @chkno? You have the most recent commit there :)

It looks like there is not yet a proposed fix for this issue.

The issue description is

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file.

I guess this isn't bad enough to mark the package as vulnerable by meta.knownVulnerabilities. Especially since this would essentially break everything... What do you think?

ignore


Add .bashrc for delivery to fix prompt

Things changed in this merge:

Added a .bashrc for delivery.
Changes prompt on vagrant ssh

Manual testing passed. Auto testing still pending. I will need to learn how to use it still.

LGTM :+1: tested on my own system


Removing rows limit for root node doesn't work

Found bug while using test app:
If very first node is a "rows limit exceeded" node and one is trying to remove the rows limit for that hierarchy level it doesn't work.
Video showcasing the issue: removing-rows-limit-if-first-doesnt-work.webm

CNR, most likely fixed with https://github.com/iTwin/presentation/pull/394. Closing.


Doc Feedback: Active - active deployment link is not working

Location : https://apim.docs.wso2.com/en/3.0.0/install-and-setup/deploying-wso2-api-manager/single-node/all-in-one-deployment-overview/

Fixed in https://github.com/wso2/docs-apim/pull/1369


Handle non-zero error codes in Validation module update_all() method

Expected Behavior
When one or more nodes in the Validation data model tree fails to update properly, the user should be informed (via dialog).  Additionally, details regarding which node(s) failed to update should be written to the debug log.
Actual Behavior
RTK simple prints 'FIXME: Handle non-zero error codes in rtk.validation.Model.update_all()' to the terminal.  This print statement is simply a placeholder and useless to the end user.
Steps to Reproduce the Problem

Launch RTK.
Open a Program database.
Select the Validation tab in the Module Book.
Press the 'Save All' button in the Module Book.

The top node in all data model trees does not contain a data object, so the update() method will return a non-zero error code.
Proposed Solution (optional)

Create a requirement/specification for the update_all() method to handle non-zero error codes from the update() method.  This requirement will cover the update_all() method in all RTK Modules.
Create a test to verify the requirement is implemented properly.
Ignore the top node in the update_all() method.
Create a descriptive error message to, ultimately, pass to the data controller.  This error message will be written to the debug log for later inspection.  Since the update() method that is called for each node in the update_all() method returns an error code and message, the update_all() method will need unique error code and message variables.  The error code variable must retain a non-zero value after one update error.  The error message variable must be appended to for each node that raises a non-zero error code in the update() method.
Have the Validation Module View raise a Warning dialog informing the user one or more Validations failed to update properly and to check the debug log for more details.

Operating Environment (not required for a [REQUIREMENTS] error)
Not required.  This is a [REQUREMENTS] error.

The AttributeError also needs handling in the update_all() method.  Refer to the HazOps module for reference on the AttributeError.

Fixed in commit 97cc29eb5a5adba48a895f233efeb7d0fad5df1e


Types which can be return types for function types

commits from #642 are because this branch is based on that one


[ENH] Add normalisation transformer for time series

Reference Issues/PRs
Fixes #605
What does this implement/fix? Explain your changes.
adds a wrapper for sktime.preprocessing.StandardScaler to make sure the transpose operations are handled correctly.

Can we actually not use the existing sklearn wrapper for this?

Can we actually not use the existing sklearn wrapper for this?

its horrendously inefficent, see my comments on #605


Discuss that GKE firewall should open the NodePort range to use Spark-on-K8s

@foxish
I was running our Spark-on-K8s code against a Google Container Engine (GKE) cluster. In our code, the driver pod opens up a NodePort so that the client can submit requests to the port. In GKE, the firewall is set up to block any access to cluster nodes. So the client won't be able to access driver NodePort. From https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/

When using a Service with spec.type: LoadBalancer, the firewall will be opened automatically. When using spec.type: NodePort, however, the firewall is not opened by default.

I ended up manually opening all NodePort range. (Since NodePort is randomly assigned per job, it is not possible/practical to just open up a single port):
$ gcloud compute firewall-rules create k8snodeport --allow tcp:30000-32767
This allowed me to submit Spark jobs from my Macbook.
However, Google has Cloud Shell that one could use for job submission. I wasn't able to get the Cloud Shell to work even after opening up the NodePort range. Maybe there is a separate firewall on the Cloud Shell side as well.
Maybe we should at least document these caveats so that people would know.

@foxish @mccheah @ash211
So opening firewall for the node port range for GKE VMs like what I did means anyone on the Internet can access those ports.
$ gcloud compute firewall-rules create k8snodeport --allow tcp:30000-32767

This feels unsecured. For instance, hackers can upload rogue jars to Spark jobs. It could make people uncomfortable to use Spark-on-K8s on GKE. I understand the rest server in the driver pod support SSL. But I feel like that's extra work that most new people won't know how to do.
Should we think about more secure default method? e.g. Using kubectl is secure by default since it requires the cluster credential. Maybe we can piggyback on the same thing? Does submission v2 somehow address this already?

probably gcloud has a way to expose the submission port over ingress instead of using nodeport?

It is possible to make that firewall rule more restrictive by specifying the source-range for traffic, rather than opening up the port range to the entire internet. The firewall rules are GCP project scoped and can be used to restrict traffic to ingresses as well as nodeports.

An alternative is using the APIServer proxy, which has the advantage of simplicity. It is probably something we can consider in the submission code to allow submitting via the proxy. While it may not be the most appropriate for submitting large files and such, or production use, it would offer a simpler kick-the-tires experience for experimentation without the need to create firewall rules.

It is possible to make that firewall rule more restrictive by specifying the source-range for traffic, rather than opening up the port range to the entire internet.

Yes, I was aware of that. But the source range for me was my Macbook inside our corporate network, which I believe is not exposed to Internet in terms of public IPs. I wasn't able to figure out what this means to the "source range". Maybe it's just me not knowing the right thing to do.

An alternative is using the APIServer proxy, which has the advantage of simplicity. It is probably something we can consider in the submission code to allow submitting via the proxy.

I like this idea. What about kubectl cp that we discussed before in
https://github.com/apache-spark-on-k8s/spark/issues/167#issuecomment-294001633? If we use it to upload jars to the v2 staging server, would it be more secure?

probably gcloud has a way to expose the submission port over ingress instead of using nodeport?

I couldn't find ingress. But GKE support egress or LoadBalancer, which adjusts the firewall automatically. We could support that. But this will add to the cloud bill and so might not be preferred by people.

It is possible to make that firewall rule more restrictive by specifying the source-range for traffic, rather than opening up the port range to the entire internet.

Yes, I was aware of that. But the source range for me was my Macbook inside our corporate network, which I believe is not exposed to Internet in terms of public IPs. I wasn't able to figure out what this means to the "source range". Maybe it's just me not knowing the right thing to do. @ssuchter might know more about our environment.

I encountered the same issue with EC2. But the EC2 Web UI automatically detected the "source range" IP that matches my Macbook. Maybe Google Cloud has similar UI as well. So I think we can mention this in the documentation.


backendBuckets support

If I missed this, let me know.  I've tried using service.create() with the backendBuckets configuration object but it appears healthChecks is required, which isn't part of the definition.
Is your feature request related to a problem? Please describe.
I would like to be able to create a balancer with a GCS bucket backend.
Describe the solution you'd like
Adding support for the backendBuckets API
Describe alternatives you've considered
I'm currently looking for a lower level library to make the REST requests now while handling OAUTH.  Open to any pointers to the right place.

So, to deploy a GCS bucket-backed Cloud CDN, it would need all of these API endpoints:

backendBuckets
urlMaps
globalAddresses
globalForwardingRules
targetHttpProxies
targetHttpsProxies
sslCertificates

I ended up implementing this with google-auth-library-nodejs, so this isn't urgent for me but I bet these would be useful for this library.

Hi @mikeshultz, please refer to the completely refactored version of this library, v3.1.0. Thank you!


vcftools: init at 0.1.15

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Besides the one comment, looks good.

@dezgeg Thanks, applied changes

@dezgeg ready to merge?


Move Namespace controller implementation under k8sclient

We've assessed multiple problems related to performance, where
several xDS vertical paths might incur in meaningful delays to perform
certain operations due to API/REST calling under the hood.
These calls, though legitimate, are a product of some of the design
boundaries that the modules have set between the themselves.
In an effort to coalesce how multiple packages access wellknown K8s
resources - and very specifically emphasizing going through async/cache models so we
don't incur in additional API calls on operations - we propose to move some of
the major K8s accessors to a common client/class/interface that can
be passed or accessed by the modules that will need it.
Incoming commit order:
(1) Move Namespaces cache and monitor into k8sclient (90% of the code used
is shared with any other monitor)
(2) Create Services cache and monitor into k8sclient, push the interface
so SMISpec and Endpoint providers can use it
Other pending issues that are happening because of the above:
(3) perf degradation. The XDS verticals are taking a very long time because of
the API calls.
(4) https://github.com/openservicemesh/osm/issues/1655
....

Control Plane          [X]
Other                  [X]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

i actually want to do the move, but wanted to make it on separate commits, to keep the changes not too large.


XSTest Benchmark Implementation | ASET - Arcadia Impact

-- (!) Draft and under review by ASET --
This PR contains:

[x] New features
[ ] Changes to dev-tools e.g. CI config / github tooling
[ ] Docs
[ ] Bug fixes
[ ] Code refactor

What is the current behavior? (You can also link to an open issue here)
Not applicable
What is the new behavior?
Implementation of the XSTest benchmark
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No breaking changes
Other information:
I've used the dataset from HF: https://huggingface.co/datasets/walledai/XSTest
Full evaluation results are still to be added. Initial results on the test set using gpt4 and gpt4-o are within range of expected results from the paper. This benchmark still requires evaluation on the whole dataset (450 samples total)
Development decisions:

model_graded_qa scorer is currently used. Accuracy and stderr metrics are unnecessary though, so may require a custom scorer to remove these or change the grading letters used
Development dataset: 10% proportionally sampled for both unsafe (n=20) and safe prompt (n=25) types
Full evaluation dataset: Full dataset for comparison against benchmark paper
Subsets for label type: Unsafe and safe prompts use the same task, but are specified by a command line argument. If no argument provided, it will default to safe prompts.
Temperature: Set temperature to 0 to be deterministic
Max token limit: 256 tokens for the response to the prompt, as detailed in the paper

@NelsonG-C Regarding the scorer:

model_graded_qa scorer is currently used. Accuracy and stderr metrics are unnecessary though, so may require a custom scorer to remove these or change the grading letters used

Could we change the GRADE letters? Maybe from C, P, I to C, P, R?

Seems like a custom corer might be cleaner, yes. Happy to help with that, if it seems to be a lot of work :)

@NelsonG-C Regarding the scorer:

model_graded_qa scorer is currently used. Accuracy and stderr metrics are unnecessary though, so may require a custom scorer to remove these or change the grading letters used

Could we change the GRADE letters? Maybe from C, P, I to C, P, R?

Seems like a custom corer might be cleaner, yes. Happy to help with that, if it seems to be a lot of work :)

@jjallaire-aisi I made some changes based on the feedback provided.
I am currently receiving this warning from the value_to_float() function being called somewhere during the scoring:
WARNING  Unable to convert value to float: r
I changed my grade pattern to use R for refusals, which matches a 0.0 score, so in practice I don't think it affects my metric. But this seems like it might be an issue with using custom grading patterns other than CPI, unless I am missing something else here in my implementation. Do you have any thoughts?

@jjallaire-aisi I decided to use the built in letters as a custom scorer felt too heavy handed for this use case. I have added some commits to update the template provided to the scorer which has resolved an error in the scorer output. This code is now ready for review

Evaluation results:
Benchmark ran on whole dataset (450 samples; 250 safe, 200 unsafe) and compared against results of the original paper.
Metric is refusal rate (%) - how many of the responses refused (either total or partial) to answer.
Paper Results (across whole dataset): GPT-4

Safe: 6.4% refusal (no partial)
Unsafe: 88% refusal (no partial)

Full Benchmark: GPT-4 (proper paper comparison)

Safe: 7.6%
Unsafe: 93%

Full Benchmark: GPT4-o

Safe: 5.6%
Unsafe: 85%
Refusals are consistent with paper, mostly on "Privacy (Fiction)" prompts

It should be noted that in one or two samples across a run, the model's grader is not accurate or will provide an incorrect syntax format for the grade to be picked up correctly by the grading pattern. The instructions do provide clear guidance on the format and also what constitutes each rating.
The unsafe refusal rate for GPT-4 is higher than the paper (by 5%) - more unsafe prompts were refused to be answered. I believe this could be attributed to increased safety training on the model compared to the date the paper conducted its evaluation (Oct 2023). I reviewed the scoring and output by the model, and it did not indicate any notable issues that could cause the higher refusal rate.

I think this PR is ready to be merged if you don't have more requests @jjallaire-aisi.


Documentation and updates from day 3.

Created by: nc6
Rules review updates.

Closing as an obsolete


Fix smalltalk links

Fix broken links.

Thanks for this fix, and welcome to free-programming-books!


Checkbox selection - thead checkbox

Hello,
In checkbox selection, the checkbox in thead not found.
Is this normal please?
https://datatables.net/extensions/select/examples/initialisation/checkbox.html

No it shouldn't be there! Thanks for letting me know about that.
It was caused by this commit.
Fixed here.

It's possible add a checkbox for select all in thead please ?

Yes, that is a feature I would like to add in future. I don't have a date for when I expect to implement it yet.

Thank you


Adding new advocates

Adding Glaucia

OPS Build status updates of commit 9e85254:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/glaucia-lemos.yml
:white_check_mark:Succeeded
View

advocates/index.html.yml
:white_check_mark:Succeeded
View

advocates/map.yml
:white_check_mark:Succeeded
View

advocates/media/profiles/glaucia-lemos.png
:white_check_mark:Succeeded
View

advocates/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


feat(jest-runner): improve typings by exposing TestRunner abstract classes

Following up #12641
Summary
jest-core supports two kinds of test runner. What if jest-runner would expose two abstract classes, which would help to implement either kind of the runner?
For instance create-jest-runner could use these types here. Not to say that I would like to have this for my test runner ;D
Todo:

[x] add type tests to prove all works as expected
[ ] documentation would be nice too

Test plan
Green CI.

@mrazauskas wanna take a stab at a PR in create-jest-runner that uses this? 🙂

Yes, I was looking at it already. Will do it after finishing jest.Mocked (which is all working already, I just want to write more tests).

Awesome 🎉


Please decouple linguify

The new release can't read my local lang.toml, I'm sure it's caused by linguify:0.3.0 that force me to use the package's lang.toml.

Could you please decouple linguify? I am not sure if it's against your design, however, I think fewer dependencies makes this package more flexible.

 Did you use linguify_set_databse(toml(your_lang.toml)) ?

Yes, I tried both of the functions, but get the same error.

Sure.
default-lang = "zh"

[en]
font = "Arial"
chapter = "Chapter"
content = "Content"
definition = "Definition"
theorem = "Theorem"
lemma = "Lemma"
corollary = "Corollary"
algorithm = "Algorithm"
alert = "Alert"
tip = "Tip"
eq = " Eq."

[zh]
font = "Songti SC"
chapter = "章节"
content = "主要内容"
definition = "定义"
theorem = "定理"
lemma = "引理"
corollary = "推论"
algorithm = "算法"
alert = "注意"
tip = "提示"
eq = "  式 "

BTW, version 0.6.0 works fine.

yes i know, linguify is a project which evolved out of gentle-clues.
So i thought i extract it but i haven't thought about that it will affect if more than one package is using linguify.
So there are two options.

One to use linguify only in templates
Or make it possible to use in multiple packages and doesn't affect each other, which was the idea behind it.
So it is actually a issue with the current version of linguify.

linguify is a great package, because of it, I started to follow you, and then found gentle-clue.
In my experience, I think the 1st option fits more cases. Also, I also agree the 2nd one is feasible if you make linguify a soft dependency.

Thanks, i will try to resolve this a soon as possible.
What you could try as a workaround is to copy the sections from gentle-clues lang.toml into your lang.toml if this works.
Otherwise i guess it is the best to stay with version 0.6.0 until this is fixed.

The issue should be resolved in the version 0.7.1

I tested, it works. Thank you for your efforts.


doc: Save to docker-compose.yml

Observed issue was:
docker-compose --version
docker-compose version 1.21.0, build unknown

ERROR:
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml

Change-Id: Ia750efa6da96509e2e095ae8f76f094b2b01bde6
Forwarded: https://github.com/edgexfoundry/edgex-go/pull/2040
Signed-off-by: Philippe Coval<EMAIL_ADDRESS>

Wrong base check:
https://github.com/edgexfoundry/edgex-go/pull/2262


ERROR REPORT when start with make run

pool 'pool1' failed to start member: {error,
{'EXIT',
{undef,
[{pooled_gs

Should be solved as easy as (so, pooled_gs is added to module search path)
diff --git a/Makefile b/Makefile
index 766b969..e4f0741 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ compile: $(REBAR)
        $(REBAR) as dev compile

 run: $(REBAR)
-       @$(REBAR) as dev shell --apps pooler --config config/demo.config
+       @$(REBAR) as test shell --apps pooler --config config/demo.config

 test: $(REBAR)
        $(REBAR) eunit --cover


Create CODE_OF_CONDUCT.md

Codecov Report

Merging #106 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #106   +/-   ##
=======================================
  Coverage   97.36%   97.36%
=======================================
  Files          33       33
  Lines        1633     1633
=======================================
  Hits         1590     1590
  Misses         43       43

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 70827ac...353141b. Read the comment docs.


How to use a different amount of classes? (tried to look at other issues)

❓ Questions and Help
Hi there, I've been trying to get the repo to work with a new dataset (DDSM - mammography data), and I believe I'm close, but the final step is to actually use the correct amount of classes. I've modified the dataset to resemble the structure of COCO.
In the DDSM dataset, there are three classes (background, benign, and malignant). In order to try to get it to work, I followed the example in #166 (changed ROI_BOX_HEAD.NUM_CLASSES to 3 and modified the Checkpointer class). However, I'm still getting the following error:
2018-12-14 03:36:35,444 maskrcnn_benchmark.trainer INFO: Start training
start_iter 0
getting item 2491
classes: tensor([3])
self.json_category_id_to_contiguous_id: {0: 1, 1: 2, 2: 3}
/opt/conda/conda-bld/pytorch-nightly_1544606458595/work/aten/src/THCUNN/ClassNLLCriterion.cu:105: void cunn_ClassNLLCriterion_updateOutput_kernel(Dtype *, Dtype *, Dtype *, long *, Dtype *, int, int, int, int, long) [with Dtype = float, Acctype = float]: block: [0,0,0], thread: [31,0,0] Assertion `t >= 0 && t < n_classes` failed.
THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch-nightly_1544606458595/work/aten/src/THCUNN/generic/ClassNLLCriterion.cu line=111 error=59 : device-side assert triggered
getting item 2767
classes: tensor([3])
self.json_category_id_to_contiguous_id: {0: 1, 1: 2, 2: 3}
Traceback (most recent call last):
  File "tools/train_net.py", line 169, in <module>
    main()
  File "tools/train_net.py", line 162, in main
    model = train(cfg, args.local_rank, args.distributed)
  File "tools/train_net.py", line 71, in train
    arguments,
  File "/scratch/jtb470/fb-mrcnn/maskrcnn-benchmark/maskrcnn_benchmark/engine/trainer.py", line 82, in do_train
    loss_dict = model(images, targets)
  File "/home/jtb470/.conda/envs/cv-fb-mrcnn/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/scratch/jtb470/fb-mrcnn/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 52, in forward
    x, result, detector_losses = self.roi_heads(features, proposals, targets)
  File "/home/jtb470/.conda/envs/cv-fb-mrcnn/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/scratch/jtb470/fb-mrcnn/maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/roi_heads.py", line 23, in forward
    x, detections, loss_box = self.box(features, proposals, targets)
  File "/home/jtb470/.conda/envs/cv-fb-mrcnn/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/scratch/jtb470/fb-mrcnn/maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/box_head/box_head.py", line 55, in forward
    [class_logits], [box_regression]
  File "/scratch/jtb470/fb-mrcnn/maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/box_head/loss.py", line 139, in __call__
    classification_loss = F.cross_entropy(class_logits, labels)
  File "/home/jtb470/.conda/envs/cv-fb-mrcnn/lib/python3.7/site-packages/torch/nn/functional.py", line 1970, in cross_entropy
    return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
  File "/home/jtb470/.conda/envs/cv-fb-mrcnn/lib/python3.7/site-packages/torch/nn/functional.py", line 1790, in nll_loss
    ret = torch._C._nn.nll_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index)
RuntimeError: cuda runtime error (59) : device-side assert triggered at /opt/conda/conda-bld/pytorch-nightly_1544606458595/work/aten/src/THCUNN/generic/ClassNLLCriterion.cu:111

I've tried looking at #15 and other issues and quite frankly I'm still lost as to what's the right procedure for having a different amount of classes. What am I missing? What else do I need to do?
If it's any help, this is my config file:
MODEL:
  META_ARCHITECTURE: "GeneralizedRCNN"
  WEIGHT: "catalog://ImageNetPretrained/MSRA/R-50"
  BACKBONE:
    CONV_BODY: "R-50-FPN"
    OUT_CHANNELS: 256
  RPN:
    USE_FPN: True
    ANCHOR_STRIDE: (4, 8, 16, 32, 64)
    PRE_NMS_TOP_N_TRAIN: 2000
    PRE_NMS_TOP_N_TEST: 1000
    POST_NMS_TOP_N_TEST: 1000
    FPN_POST_NMS_TOP_N_TEST: 1000
  ROI_HEADS:
    USE_FPN: True
  ROI_BOX_HEAD:
    POOLER_RESOLUTION: 7
    POOLER_SCALES: (0.25, 0.125, 0.0625, 0.03125)
    POOLER_SAMPLING_RATIO: 2
    FEATURE_EXTRACTOR: "FPN2MLPFeatureExtractor"
    PREDICTOR: "FPNPredictor"
    NUM_CLASSES: 3
  ROI_MASK_HEAD:
    POOLER_SCALES: (0.25, 0.125, 0.0625, 0.03125)
    FEATURE_EXTRACTOR: "MaskRCNNFPNFeatureExtractor"
    PREDICTOR: "MaskRCNNC4Predictor"
    POOLER_RESOLUTION: 14
    POOLER_SAMPLING_RATIO: 2
    RESOLUTION: 28
    SHARE_BOX_FEATURE_EXTRACTOR: False
  MASK_ON: True
DATASETS:
  TRAIN: ("ddsm_train",)
  TEST: ("ddsm_val",)
DATALOADER:
  NUM_WORKERS: 0
  SIZE_DIVISIBILITY: 32
SOLVER:
  BASE_LR: 0.0025
  WEIGHT_DECAY: 0.0001
  STEPS: (60000, 80000)
  MAX_ITER: 90000
  IMS_PER_BATCH: 2
TEST:
  IMS_PER_BATCH: 2

Thank you so much in advance.

Hi,
Are you training your model from one of COCO pre-trained models or just from ImageNet?
The error you are having usually happens because your dataset is outputting a larger index than what you specified in NUM_CLASSES.
From a quick look at your class mapping, it looks like you assign index 2 to number 3, is that right?
{0: 1, 1: 2, 2: 3}

This might mean that your datasets are returning labels [0, 1, 3], which would explain the crash.
Could you check that and report back?

Hi @fmassa, thanks for the response. In my preprocessing code, I only ever return category ids 0, 1, or 2. However, I shamelessly copied this code from COCODataset:
self.json_category_id_to_contiguous_id = {
    v: i + 1 for i, v in enumerate([0] + self.coco.getCatIds())
 }

Perhaps this was COCO-specific and their class ids start at 1 while mine are already 0-indexed? Should I change this to be:
self.json_category_id_to_contiguous_id = {
    v: i for i, v in enumerate([0] + self.coco.getCatIds())
 }

Hi @fmassa, thanks for the response. Perhaps I misunderstood the self.json_category_id_to_contiguous_id variable? This is how I have it set in my Dataset class:
self.json_category_id_to_contiguous_id = {
            v: i + 1 for i, v in enumerate([0] + self.ddsm.getCatIds())
        }

The difference from COCODataset is that I appended [0]. Could this be the issue?

@fmassa I am running into the same issue "RuntimeError: copy_if failed to synchronize: device-side assert triggered".
I have my dataset with 4 classes in COCO format and I have edited the Checkpointer class as in #166 as well I have set the ROI_BOX_HEAD.NUM_CLASSES to 4.
The output of my maskrcnn_benchmark/data/datasets/coco.py for:
print(self.coco.getCatIds())   is   [0, 1, 2, 3]
print(self.json_category_id_to_contiguous_id.items())  is dict_items([(0, 1), (1, 2), (2, 3), (3, 4)])
What am I missing? Is it not needed to set the ROI_BOX_HEAD.NUM_CLASSES to 4? when I don't set that training works.
Thanks in advanced!
2019-01-04 18:15:47,495 maskrcnn_benchmark.trainer INFO: Start training

RuntimeErrorTraceback (most recent call last)
<ipython-input-8-ba0e1f55fb0d> in <module>
      7         device,
      8         checkpoint_period,
----> 9         arguments,
     10     )

/projects/bhge/bsv_hil/maskrcnn-benchmark/maskrcnn_benchmark/engine/trainer.py in do_train(model, data_loader, optimizer, scheduler, checkpointer, device, checkpoint_period, arguments)
     64         targets = [target.to(device) for target in targets]
     65
---> 66         loss_dict = model(images, targets)
     67
     68         losses = sum(loss for loss in loss_dict.values())

/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py in __call__(self, *input, **kwargs)
    487             result = self._slow_forward(*input, **kwargs)
    488         else:
--> 489             result = self.forward(*input, **kwargs)
    490         for hook in self._forward_hooks.values():
    491             hook_result = hook(self, input, result)

/projects/bhge/bsv_hil/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py in forward(self, images, targets)
     50         proposals, proposal_losses = self.rpn(images, features, targets)
     51         if self.roi_heads:
---> 52             x, result, detector_losses = self.roi_heads(features, proposals, targets)
     53         else:
     54             # RPN-only models don't have roi_heads

/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py in __call__(self, *input, **kwargs)
    487             result = self._slow_forward(*input, **kwargs)
    488         else:
--> 489             result = self.forward(*input, **kwargs)
    490         for hook in self._forward_hooks.values():
    491             hook_result = hook(self, input, result)

/projects/bhge/bsv_hil/maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/roi_heads.py in forward(self, features, proposals, targets)
     21         losses = {}
     22         # TODO rename x to roi_box_features, if it doesn't increase memory consumption
---> 23         x, detections, loss_box = self.box(features, proposals, targets)
     24         losses.update(loss_box)
     25         if self.cfg.MODEL.MASK_ON:

/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py in __call__(self, *input, **kwargs)
    487             result = self._slow_forward(*input, **kwargs)
    488         else:
--> 489             result = self.forward(*input, **kwargs)
    490         for hook in self._forward_hooks.values():
    491             hook_result = hook(self, input, result)

/projects/bhge/bsv_hil/maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/box_head/box_head.py in forward(self, features, proposals, targets)
     53
     54         loss_classifier, loss_box_reg = self.loss_evaluator(
---> 55             [class_logits], [box_regression]
     56         )
     57         return (

/projects/bhge/bsv_hil/maskrcnn-benchmark/maskrcnn_benchmark/modeling/roi_heads/box_head/loss.py in __call__(self, class_logits, box_regression)
    142         # the corresponding ground truth labels, to be used with
    143         # advanced indexing
--> 144         sampled_pos_inds_subset = torch.nonzero(labels > 0).squeeze(1)
    145         labels_pos = labels[sampled_pos_inds_subset]
    146         map_inds = 4 * labels_pos[:, None] + torch.tensor([0, 1, 2, 3], device=device)

RuntimeError: copy_if failed to synchronize: device-side assert triggered


Instructor Preference does not take expected effect

That's in builder mode isn't it? Does it work for generator mode? Perhaps we should merge the two modes together, although I feel that would make things more complex.


Rock Song Cut Out

Also, the last part of the rock song with the devil is the best part and that always cut out

If you want you can change it to start later in the song so it reaches the end.


fatal error: esp_nimble_hci.h: No such file or directory (IDFGH-13110)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.2.1
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
no error
What is the actual behavior?
fatal error: esp_nimble_hci.h: No such file or directory
Steps to reproduce.

#include "esp_nimble_hci.h" in a c file.
idf.py set-target esp32c2
idf.py menuconfig, enable vluetooth and select NimBLE - BLE only
idf.py build

Build or installation Logs.
../main/ble1.c:22:10: fatal error: esp_nimble_hci.h: No such file or directory
   22 | #include "esp_nimble_hci.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

More Information.
No response

Hi @zzzh ,

#include "esp_nimble_hci.h" in a c file.

This step is incorrect. May i know why you are explicitly including this file ?  The VHCI interface is not used in esp32c2 and hence this file won't be found during compilation for esp32c2.

Hi @zzzh ,

#include "esp_nimble_hci.h" in a c file.

This step is incorrect. May i know why you are explicitly including this file ?  The VHCI interface is not used in esp32c2 and hence this file won't be found during compilation for esp32c2.

Closing this issue. Please feel free to reopen if issue still exists.


Modify checks on alpha, l1_ratio, max_iter in coordinate descent

Description
modify checks on alpha, l1_ratio, max_iter to improve alignment with scikit-learn

Could you please update the description and provide full information why we are doing changes on these check

Description
modify checks on alpha, l1_ratio, max_iter to improve alignment with scikit-learn

Could you please provide full information: scikit-learn version. Is this alignment ok for the previous scikit-learn versions?

More information added. The changes should not have any effect on the functionality of the algorithm in any version of sklearn except filtering out some undesirable input.

Thank you @md-shafiul-alam for the update. So we have to resolve MacOS fail first

Replaced in stock sklearn with parameter constraints and applied in https://github.com/intel/scikit-learn-intelex/pull/1145.


fix: abnormal websocket closure post ccm configuration

PR Checklist

[ ] Unit Tests have been added for new changes
[ ] API tests have been updated if applicable
[ ] All commented code has been removed
[ ] If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?
If the there are associated PRs in other repositories, please link them here (i.e. open-amt-cloud-toolkit/repo#365 )

:tada: This PR is included in version 2.22.9 :tada:
The release is available on:

GitHub release
v2.22.9

Your semantic-release bot :package::rocket:


Make some pvoutput config attrs optional

Defaults as per config-example.py

Noticed my solariot was crashing out for a couple of months as I was missing the parameters from my config file, they're both now defensively coded with defaults!