Integrated JS debugger

TT24446

Changes made @Yajo. Just need to fix the tests.

It seems like the tests are failing because of pre-commit errors. Specifically, this ones:
E                             | flake8 except __init__.py................................................Failed
E                             | - hook id: flake8
E                             | - exit code: 1
E                             |
E                             | tasks.py:10:1: F401 'glob.glob' imported but unused
E                             | tasks.py:133:95: B950 line too long (94 > 80 characters)

However, I don't get this errors locally.
I think there might be a difference between the pre-commit (specifically, flake8) configurations that get executed during GH tests, and the local version.
OTOH, what I have locally is a .jinja file, and what gets tested is a .py. Can that be confusing pre-commit? :thinking:

Changes made @Yajo. Just need to fix the relative/absolute paths bug,

Just need to fix the relative/absolute paths bug,

Done.
Please attend last comments and fix CI :blush:

Changes made @Yajo. Thanks!

I did all changes, rebased, squashed, etc.
Ready to release after the merge.


possible to deactivate everthing except camera

Is it possible to deactivate ( likely on a hardware layer) everthing except qr camera on jade ?

There is a firmware build which does not include any of the BLE/radio drivers - it's not disabled on the chip, we just omit the drivers from the fw package.
Is this sufficient/the sort of thing you mean ?
atm there is no equivalent for USB - but making such a fw change would be possible.
I'm not sure it'd really be desirable though - if you did that you'd never be able to update the fw on the jade if security patches, important fixes, or new functionality you are interested in was released.
Also atm if you have the full fw including ble/radio drivers, you can still go into a menu and disable/unload the drivers.  In order to access that menu and switch it to re-enable/load the drivers, you need to know the PIN of the device (assuming you are using a PIN-protected wallet).  We could perhaps consider something like that for USB - would that suffice ?

Is there any adantages if u deacivate this on the hardware layer from ur point of view ?
Is this possible ?
Btw. Could u pint out the link with fw version ?
Best regards

Thnx for ur help
best regards


UI of Deals of the day Modal Improved

Description

Changed the overall UI of the modal
added hover effects
shadows
added buy now button
and changed close button and its position
Motivation and Context

For better UI
resolves #236
How Has This Been Tested?

On local and Vercel deployment

Screenshots (if appropriate):
https://github.com/MAVRICK-1/e-commerce_website/assets/146661411/fbeb6f4a-0213-4bda-a74f-e3d23b2a23f8
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

@sau-mili great work .

@sau-mili one more thing next time create a different branch , don't directly make the changes in dev branch


Make the project PEP-518 compliant

Hello! These changes make the fastwer package compatible with PEP-518 and remove unneeded runtime dependency on pybind11.
Should fix https://github.com/kahne/fastwer/issues/2 and https://github.com/kahne/fastwer/issues/5 . Also, the package now installs without any problems using Poetry and other PEP-518 compliant build systems and package managers.
https://pybind11.readthedocs.io/en/stable/compiling.html#pep-518-requirements-pip-10-required

Can we have these changes merged?

To install / compile this with G++ 13 you will need to modify two files:
pip install -e .


cargo compile error

error: failed to run custom build command for smart-contract-verifier-proto v0.1.0 (/root/.cargo/git/checkouts/blockscout-rs-1329d74b8bb8dea8/745db1d/smart-contract-verifier/smart-contract-verifier-proto)
Caused by:
process didn't exit successfully: /tmp/cargo-install4q6wSd/release/build/smart-contract-verifier-proto-b61b14efb720e432/build-script-build (exit status: 1)
--- stdout
cargo:rerun-if-changed=proto/
--- stderr
Error: Custom { kind: Other, error: "protoc failed: v2/smart-contract-verifier.proto:52:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\nv2/smart-contract-verifier.proto:56:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\nv2/smart-contract-verifier.proto:89:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\nv2/smart-contract-verifier.proto:92:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\nv2/smart-contract-verifier.proto:99:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\nv2/smart-contract-verifier.proto:113:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\nv2/smart-contract-verifier.proto:124:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\nv2/smart-contract-verifier.proto:126:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\nv2/smart-contract-verifier.proto:131:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\nv2/smart-contract-verifier.proto:172:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\n" }
warning: build failed, waiting for other jobs to finish...
error: failed to compile smart-contract-verifier-server v0.1.0 (https://github.com/blockscout/blockscout-rs#745db1d0), intermediate artifacts can be found at /tmp/cargo-install4q6wSd

Hi, @erdus. To build the verification service manually you have to update the protobuf version to be at least 3.15.0 where the optional fields has been added to be default. You can check you current

Thanks.

i got same error
protoc --version
libprotoc 3.3.2

@free1 To build the verification service manually you have to update the protobuf version to be at least 3.15.0 where the optional fields has been added to be default.

@free1 Could you please specify if the problem has been solved and can close the issue?

my protoc version is 3.21.4 and i have the same issue.
error: failed to run custom build command for smart-contract-verifier-proto v0.1.0 (/root/.cargo/git/checkouts/blockscout-rs-1329d74b8bb8dea8/e261ddf/smart-contract-verifier/smart-contract-verifier-proto)
Caused by:
process didn't exit successfully: /tmp/cargo-installKigl3R/release/build/smart-contract-verifier-proto-1a4dc030edb59349/build-script-build (exit status: 1)
--- stdout
cargo:rerun-if-changed=proto/
--- stderr
Error: Custom { kind: Other, error: "protoc failed: protoc-gen-openapiv2: program not found or is not executable\nPlease specify a program using absolute path or make sure the program is available in your PATH system variable\n--openapiv2_out: protoc-gen-openapiv2: Plugin failed with status code 1.\n" }
warning: build failed, waiting for other jobs to finish...
error: failed to compile smart-contract-verifier-server v0.1.0 (https://github.com/blockscout/blockscout-rs#e261ddf2), intermediate artifacts can be found at /tmp/cargo-installKigl3R

@ganzr as the message says, you also need protoc-gen-openapiv2 (probably version v2.19.0 at the time of writing this response) to build the crate


Adding certificate authentication as service principal

This change adds certificate authentication as service principal and updates the readme accordingly
Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree


Create codecov.yml

Add codecov ci to GitHub Action

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:

Code coverage!


Cycle involving elements

If I run this program:
package main

import (
   "fmt"
   "github.com/otaviokr/topological-sort/toposort"
)

func main() {
   unsorted := map[string][]string{
      "main": []string{},
      "A": []string{"main"},
      "B": []string{"A"},
   }
   sorted, e := toposort.KahnSort(unsorted)
   if e != nil {
      panic(e)
   }
   fmt.Printf(sorted)
}

I get expected output. However if I remove "main": []string{},, I get:
panic: Cycle involving elements:

Shouldnt the module be able to determine the node from the other edges?

Hi @89z
I understand your point
The original idea was to have all nodes defined in the unsorted map - the map should be a list of all nodes in the graph and the details about they are connected to each other. It is easy to get the list of nodes, for example, because they are all the keys in the map.
But for a map with many leaves, this could result in a lot of empty slices defined, and enforcing to write the leaves with empty slices seems to be limiting, thinking about it now.
I will try something here to look for leaf nodes in the slice, even if they have not been defined in the map. This should be enough.
Also, the panic error is terrible. Iĺl try to fix that as well :smile:

Hi @89z
I think this is OK now. If possible, run your tests and let me know if you find anything
Thanks for helping improve the code :1st_place_medal:

Yes looks good, thanks


Updated Linux template extensions to match architecture.

This is a revised version of: https://github.com/godotengine/godot/pull/14574
This fixes: https://github.com/godotengine/godot/issues/14470
This changes the Linux export extension of .bin to .x86 and .x86_64 for each respective architecture.
This PR is a work in progress.
People previously involved in the conversation were @insomniacUNDERSCORElemon @akien-mga @groud @Hinsbart @Calinou

I saw .bin and .elf executables, but never .x86. If this meant to be architecture suffix underscore or dash may be better than dot (and probably for all platforms, Windows users should have easy way to differentiate bitness as well)?

It's not as common, probably because most programs are delivered via package manager where you're never going to see it and it simply doesn't matter, but it is more common in programs (especially games) where the user is more likely to click on the game to run it.
https://www.file-extensions.org/x86-file-extension-linux-executable-file

@akien-mga I changed it so that the extension will build according to the export option. If the export option is enabled it will look into the extensions map. If there's a key of the same export option it will use that extension, otherwise it will use the default extension, otherwise it will use an empty string.
Let me know if you prefer something different. Thanks :)


Consider adding warning when limits are out of bounds

As noted on the Wikipedia article, Modbus TCP is limited to transferring up to 127 16-bit registers at once. Currently, if one attempts to client.readHoldingRegisters(unitId, from, to, ...) where to - from > 127 bad things can silently happen. The slave device I was using sent me a response whose size has wrapped around the max of the field, so instead of getting 192 registers I got 64.
Have you considered adding an initialization option that causes a bounds check to take place when the function is called, and then having it fire the callback with an error if the size limit is exceeded?

In case it's helpful to anyone else, here is some code I wrote to split large requests into chunks and reassemble:
class ModbusClient {
    constructor(unitId) {
        this.unitId = (typeof unitId === 'undefined') ? 1 : unitId;
    }

    connect(conn) {
        this.conn = conn;
        this.client = new modbus.Client();
        this.client.pipe(conn);
    }
    // ...
    readHoldingRegisters(from, to, unitId) {
        //console.log('[DEBUG] readHoldingRegisters', from, to, unitId);
        if (typeof unitId === 'undefined')
            unitId = this.unitId;

        const maxSize = 127;
        // If size is too large for single message, split into chunks and reassemble
        const numberOfChunks = Math.ceil((to - from + 1) / maxSize);
        let promises = [];
        for (let i=0; i < numberOfChunks; i++) {
            let chunkStart = from + i*maxSize;
            let chunkEnd = Math.min(to, chunkStart + maxSize - 1);
            //console.log('[DEBUG] chunking:', chunkStart, chunkEnd);
            const promise = new Promise((resolve, reject) => {
                this.client.readHoldingRegisters(unitId, chunkStart, chunkEnd, (err, regs) => {
                    if (err)
                        reject(err);
                    else
                        resolve(regs);
                });
            });
            promises.push(promise);
        }
        return Promise.all(promises).then(chunks => {
            //console.log('[DEBUG] reassembling chunks', chunks);
            return Array.prototype.concat(...chunks);
        });
    }
    // ...

I try to follow the specification but avoid being pedantic about some restrictions. The TCP transport has no limit (the layer below) as it should split the packet if it's large enough. The TCP header (MBAP) has a 2 bytes for length which should give enough to request well above 127 records. The problem here is specific to some function codes, like the first 4 which replies with 1 byte saying the number of bytes to follow. The first 2 don't have the limit so low because they're bits so you can request 2K of coils.
I'm not using this module anymore, I'm maintaining pdu and stream. I think this should be solved in the PDU module, throwing errors when users try to create packages with over the limit values.

Gotcha -- I'll checkout stream+pdu later. Thanks.


nixos/deluge: fix package reference

nixos/deluge: fix package reference
Current reference is invalid, errors if service is enabled.
Tests OK:

nix build .#nixosTests.deluge

CC @domenkozar @ebzzry @flokli

CC @domenkozar @ebzzry @flokli
Thoughts on unifying the upkeep of NixOS module, NixOS test and deluge package to a single reference?
I'd suggest main one being the deluge package.

CC @domenkozar @ebzzry @flokli
I request permission to unify maintainers list of NixOS module, NixOS test and deluge package to a single reference to the deluge package.

Please drop me from the list of maintainers, not using this anymore. Thanks!


Do duplicate names really represent an error?

In trying to convert the UTG IG, GoFSH reports several errors because of duplicate name. Going into the IG itself, it turns out that indeed, there are cases where two value sets have the same name. However, they have different defining URLs. The question is whether that it legal and acceptable practice, or whether the current behavior of throwing out an error message is correct.
Here's an example of two value sets with the same name but different URL:
https://terminology.hl7.org/ValueSet-v2-0719.html
https://terminology.hl7.org/ValueSet-v3-InformationSensitivityPolicy.html

In order to avoid logging the error, GoFSH would need to handle creating the two value sets with the same name in a different way. The recommended approach for FSH authors when they encounter a case where they have two resources that need the same name is to create the FSH entity with a unique name (so the value after the ValueSet: keyword needs to be unique). They can then use a caret rule to set the name to be the true desired value. To avoid the error in GoFSH, GoFSH would need to be updated to use that strategy.


Pull data from RTD data feeds

Pull from RTD feeds instead of the Chicago feeds into local machine.
TODO: Enumerate all feeds here

https://www.rtd-denver.com/business-center/open-spacial-data/gtfs-rt <-
Alerts and TripUpdate are useful, but VehicleLocations are what drives the data analysis as I understand it.
Also have non-realtime data for routes + stops: https://www.rtd-denver.com/business-center/open-data/gtfs-developer-guide#gtfs-schedule-dataset

Can make life easy: I don't need to parse the data now. In fact, it's more space-efficient now to start pulling the .pb files and saving them for future analysis.

Mission accomplished!
Storing in s3. Have confirmed I can read the files in.


Layout/MultilineMethodCallIndentation autofix lines not aligned

Steps to reproduce:

Create test.rb files with content

array.each do |cur_file|
  names << File.basename(cur_file, '.*')
             .delete('1')
             .delete('2')
             .delete('3')
end

rubocop -a test.rb

Expected behavior
array.each do |cur_file|
  names << File.basename(cur_file, '.*')
               .delete('1')
               .delete('2')
               .delete('3')
end

Actual behavior
array.each do |cur_file|
  names << File.basename(cur_file, '.*')
           .delete('1')
           .delete('2')
               .delete('3')
end

Maybe expected behavior not right, but i expect all lines with delete to have same indent, but in result one line is differ from all others
RuboCop version
$ rubocop -V
0.51.0 (using Parser <IP_ADDRESS>, running on ruby 2.4.2 x86_64-linux)

Related to #2743.

I wrote a failing test and placed it on line 545 of spec/rubocop/cop/layout/multiline_method_call_indentation_spec.rb
The issue is with the parentheses. Remove the parentheses and the test passes.
    it 'auto-corrects chained methods with parentheses' do
      new_source = autocorrect_source(<<-RUBY.strip_indent)
        names << File.a
                   .b()
                   .c()
                   .d()
        something
      RUBY
      expect(new_source).to eq(<<-RUBY.strip_indent)
        names << File.a
                     .b()
                     .c()
                     .d()
        something
      RUBY
    end

Would making this test pass a good starting point in fixing the bug?

Issue is still actual in original form in
0.67.2 (using Parser <IP_ADDRESS>, running on ruby 2.5.3 x86_64-linux)


Shorten modularity test names in playlist

Signed-off-by<EMAIL_ADDRESS><EMAIL_ADDRESS>

Related: https://github.com/eclipse/openj9/issues/5462

These tests may fail on Windows due to recent change in build name (added _Nightoy to the name) which results in max length being hit on Windows platforms for certain file paths that the tests use.


xmonad with pin-workspaces

Firstly, thanks a lot for this wonderful bar!
When using xworkspaces with pin-workspaces = true in xmonad, I get the following error.
error: Disabling module "xworkspaces" (reason: The WM does not support _NET_DESKTOP_VIEWPORT (required when `pin-workspaces = true`))

Has anybody made this work with xmonad?
Digging around a bit, I found xmonad/xmonad-contrib#150 and it's unclear if they are going to support it. If someone can clarify the terminology and how polybar uses the _NET_DESKTOP_VIEWPORT property, I could attempt to modify the corresponding xmonad logHook.

I actually don't know why pin-workspaces requires _NET_DESKTOP_VIEWPORT. Can you try to remove the check that disables the module, if  _NET_DESKTOP_VIEWPORT is not supported, and try to run polybar on xmonad with pin-workspaces = true and see if it works?
The check is located here:
https://github.com/jaagr/polybar/blob/1158d5d889fa9b4ed3a9ae36867ef2c45330f21b/src/modules/xworkspaces.cpp#L46-L48

_NET_DESKTOP_VIEWPORT is used because it's as far as I know the only standard way of figuring out what monitor the workspace belongs to.
It might be better to create a new module for xmonad if it has some internal ipc or something similar.

Hey, thanks for the replies! I only have access to an external monitor at work and I haven't been able to find  time to test this in the last 2 weeks. :/
I'm going to first try just removing the check and test this on Monday.
I also found your patch for bspwm here. If the disabling doesn't work, I will try to get xmonad to spew out the same info. Will update after I test this.


[BUG]  Simple calendar causes double persistent damage application

Describe the bug
In the latest version of Pf2e and workbench while using simple .calendar I get double persistent damage applied and double recovery check
To Reproduce
Steps to reproduce the behavior:
Set persistent damage on monster.
Turn on the persistent damage auto on workbench.
Pass a titm so combatant will get persistent damage.
Expected behavior
Only happens once
Screenshots
If applicable, add screenshots to help explain your problem.
Foundry Information

Foundry Version: latest
Game System: pf2e
Simple Calendar Version: 2.4.9
Simple Calendar Configuration: [optional, can help in debugging custom calendars]

Browser (please complete the following information):
Chrome

Browser [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

This is a conflict with PF2e Toolbelt, not workbench

Just checked and 2.4.3 the bug doesn't happen

Yeah I want to expand on this a bit - it isn't a cross-module conflict. This occurs with ONLY simple calendar and pf2e. It isn't persistent damage duplicating or anything that sinister. It is chat messages duplicating clientside

after testing a bit this is the code change that made this bug happen @vigoren

reverting to precreate fixes it

I have tracked down what seems to be the issue and am just spending some time running a few more tests to make sure nothing is double posted. An update should be released in roughly 24 hours at the latest.

Sorry had some personal stuff come up yesterday but version 2.4.12 should address this. Please let me know if it doesn't

@vigoren you made it worse now it's actually doing everything twice.. recovery checks and damage instead of just showing duplicate chat messages XD

Then I am having difficulty replicating the issue as on my test version of PF2E I don't get duplicate messages for anything. Do you have a very simple example that can replicate it?
Your proposed fix causes errors with other systems, which is why I changed it.

Make an encounter with just 1 monster, no pcs.
Set persistent damage on it of any kind.
Start the encounter.
Pass a turn.
You need to have workbench persistent damage automation turned on, or roll recovery check yourself.

Thank you. Must have done something wrong the first time but now the messages are duplicated.
Interestingly it seems to only duplicate the first persistent damage roll and the first recovery check. Afterwards it does just single chat cards.
The damage appears to only be applied once though so it isn't duplicating anything other than the chat card.
Ok back to the drawing board I will keep digging into what is going on here. Sorry about this

No problem, if I can help in any way, let me know

I can confirm this bug, it happens with some of the features of pf2 workbench, such
"Automatically apply persistent damage"
"..and automatically roll recovery after that"
"Automatically apply persistent healing rolled by the system"

Ok this should be addressed now in version 2.4.13
I ended up going  back to how this worked in 2.4.3 (which was released September 2023 and seemed to not have this issue at all) and then reapproached the original issue that caused me to change it. So all of the reported issues should be fixed.

Ok this should be addressed now in version 2.4.13
I ended up going back to how this worked in 2.4.3 (which was released September 2023 and seemed to not have this issue at all) and then reapproached the original issue that caused me to change it. So all of the reported issues should be fixed.

I can confirm it's fixed, thank you!


feat: add prepare command to starter

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Adding a prepare script could help user to have generated types right after an installation.
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

I think it is a good idea to add prepare to the starter templates but this package.json is not for starter it is main nitro package which can be used also as a library (for Nuxt).

I think it is a good idea to add prepare to the starter templates but this package.json is not for starter it is main nitro package which can be used also as a library (for Nuxt).

Do I have to make this PR somewhere else? Not sure to have fully understand where to find the starter 🤔

Sorry for confusions. Starter is kinda hidden right now! It is in the same repo but in starter branch (https://github.com/unjs/nitro/tree/starter). You need to switch to this branch and then make a pull request against it.

Sorry my bad! You made it right 👍🏼


Fix ListViewWrapper.Items() return

Current coverage is 96.82%

Merging #107 into master will decrease coverage by -0.05% as of 14f647a

@@            master    #107   diff @@
======================================
  Files           22      22
  Stmts        16459   16465     +6
  Branches         0       0
  Methods          0       0
======================================
- Hit          15945   15942     -3
  Partial          0       0
- Missed         514     523     +9

Review entire Coverage Diff as of 14f647a

Powered by Codecov. Updated on successful CI builds.


balances by tokenid

Pull Request Test Coverage Report for Build 1826

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

Files with Coverage Reduction
New Missed Lines
%

dist/routes/v2/slp.js
184
48.47%

Totals

Change from base Build 1819:
-0.7%

Covered Lines:
1949

Relevant Lines:
2550

💛  - Coveralls


Document IBC denomination filter

ref #696

we forgot to close this with the specs for the ibc filter


Fix Maven dependency issues

Fixes https://github.com/mapfish/mapfish-print/issues/414

Looks good. Please merge if Travis is happy.

+1 but Travis don't aggree :-/

demo.mapfish.org was used in one of the tests, now it should pass.

looks good :+1:

Thanks for the review.


[Bug]In Logs Tab->The drop to select and view the logs as per the status is too white and difficult to make out that it’s a dropdown

Description
]In Logs Tab->The drop to select and view the logs as per the status is too white and difficult to make out that it’s a dropdown
[What happened]
Steps to reproduce the behaviour:
1.Click on + icon from DB queries
2.Select any one added data source
3.Click on Add new query
4.Click on Logs tab
5.Verify the display of All Dropdown
expected result:
In Logs Tab->The drop to select and view the logs as per the status should be bit highlighted same has a filter so it will be easy for user
Actual Result:
In Logs Tab->The drop to select and view the logs as per the status is too white and difficult to make out that it’s a dropdown

Important Details

Version: Cloud
OS: Windows
Browser: Chrome

I would like to work on this issue, can you assign me.

Actually, I am a beginner at open source. Can you tell me in which folder can I find this issue?

@UdattaChowdhury i have assigned defect to you, its a design issue you can start working once i share design with you

Sure, got it.

Hi @UdattaChowdhury  we have finalized the design use can check the design in the link https://www.figma.com/file/i6Dy8zT5WJbq37MusZ2DgZ/?node-id=29%3A34 can start working on it

Sure.

Hi @pcastro3, Assigning this to you. Please let us know here if you need any help.

Hey @somangshu, I'm having a bit of trouble trying to run the client's codebase so that I can see the changes I make on the browser. I haven't done this before, and I can't seem to get things to execute. When I try to run the command cp .env.example .env it says the file or directory doesn't exist. I tried to run these commands through my git bash, and there doesn't seem to be specific instructions for Windows OS.
Am I supposed to run these commands through Linux? If so, how do I do that?

Hey @pcastro3, I understand you might have gotten confused somewhere with the docs. If you are trying to run the local environment on a windows machine, You could WSL2 for which we have even upgraded our documentation just a couple of days ago. Find them here. You can also point the client side to use our release server like this.
Please get in touch with us on our Discord server to get more help in detail. You can also DM me there to make the conversation faster.
We also have our community forum now, Feel free to drop a question here if required, We respond to that well.

Hey @somangshu, I'd like to work on this issue. Is Figma link actual?

Hey @EkaterinaMozheiko, Thanks for showing interest. I am not sure if this issue is still open. @hiteshjoshi can you kindly confirm that and assign this.
Also @EkaterinaMozheiko just a small tip, Searching issues under the hactoberfest label will give you better issues to work on

Hi, this will no longer be valid with our new release as such we're closing this issue :)


Enabling PSRAM on esp32-s3 triggers crash when stepper starts running

Hi, I'm having issues using Platformio with arduino espressif32 @6.9.0 on an esp32-s3-super-mini board.
If I use this setup without the BOARD_HAS_PSRAM build flag, everything works. When I enable it, I get a crash as soon as I start moving the stepper. Here's the serial log ouptut :
Guru Meditation Error: Core  1 panic'ed (Cache disabled but cached memory region accessed).

Core  1 register dump:
PC      : 0x40374340  PS      : 0x00060034  A0      : 0x803793f4  A1      : 0x3fc974d0
A2      : 0x3de00800  A3      : 0x00000001  A4      : 0x3fc9e2f0  A5      : 0x00060023
A6      : 0x00060021  A7      : 0x00000001  A8      : 0xbad00bad  A9      : 0x00000001
A10     : 0x00060320  A11     : 0x00000001  A12     : 0x803810f9  A13     : 0x3fcf1630
A14     : 0x02c96058  A15     : 0x00ffffff  SAR     : 0x00000004  EXCCAUSE: 0x00000007
EXCVADDR: 0xbad00bf1  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000

Backtrace: 0x4037433d:0x3fc974d0 0x403793f1:0x3fc974f0 0x40379f79:0x3fc97510 0x40377c9a:0x3fcf1680 0x4037a5a9:0x3fcf16a0
  #0  0x4037433d in _KernelExceptionVector at ??:?
  #1  0x3fc974d0 in port_IntStack at ??:?
  #2  0x403793f1 in shared_intr_isr at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_hw_support/intr_alloc.c:407
  #3  0x3fc974f0 in port_IntStack at ??:?
  #4  0x40379f79 in _xt_lowint1 at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port/xtensa/xtensa_vectors.S:1118
  #5  0x3fc97510 in port_IntStackTop at ??:?
  #6  0x40377c9a in spi_flash_op_block_func at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/cache_utils.c:120
  #7  0x4037a5a9 in ipc_task at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_ipc/src/esp_ipc.c:77

ELF file SHA256: 711317310f56937a
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380f67
  #0  0x40380f67 in compare_and_set_native at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_hw_support/include/soc/compare_set.h:25
      (inlined by) spinlock_acquire at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_hw_support/include/soc/spinlock.h:103
      (inlined by) xPortEnterCriticalTimeout at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port/xtensa/port.c:301

After a bit of research, the only thing I found was the following build flag that seemed interesting : CONFIG_RMT_ISR_IRAM_SAFE
However, that didn't fix the issue and I am a bit lost as to where to look, it seems to me that all critical ISR functions are correctly prefixed with IRAM_ATTR but this not my best area of expertise. Does anyone have a suggestion on where to look next ?
Thanks

Could it be, that the PSRAM interface is conflicting with Step/Dir/Emable-Pins ?

after some study of the available info in the datasets, pin conflict may not happening with the available pins of the module.

PSRAM is supposed to be hooked up to pins 33-37, I am not using them for the stepper driver. Also, I tried with two different boards based on esp32-s3 with PSRAM, devkit-c and super-mini, they both show the same issue.

What if you select the rmt driver on stepperConnectToPin ?
#define DRIVER_MCPWM_PCNT 0
#define DRIVER_RMT 1
#define DRIVER_DONT_CARE 2
  FastAccelStepper* stepperConnectToPin(uint8_t step_pin,
                                        uint8_t driver_type = DRIVER_DONT_CARE);

I get no crash using DRIVER_RMT, but the steppers don't run either, wether the PSRAM flag is enabled or not. It looks like they receive one step (I hear a click) when I start a move, but nothing more.
Is the RMT driver confirmed to work on esp32-s3 chips ?

Update : I noticed the RGB LED stopped working when trying to use DRIVER_RMT. I was using the neopixelWrite function from arduinoespressif, turns out it also uses rmt to write data to the LEDs.
Good news is that this solves the initial issue, I can build with PSRAM enabled and run the steppers. But I can't use neopixelWrite at the same time. I can live with that, there's surely a way to control the LED without rmt, but I am also interested in helping resolve both issues if you consider them bugs.
In any case, thanks for the help.

Happy to hear, that it works with the rmt driver.
Here is the funny thing. The mcpwm/pcnt driver is a legacy driver, because I do not intend to adapt it to espidf 5.x version. Besides those guru meditations are very hard to debug, give a lot of rather useless information. And if the hardware is not with me, this would take a lot of patience on both sides for trial and error.
The espidf 5.x drops the notion, that you can directly access the hardware. That‘s the main reason, why I do not plan to port the mcpwm/pcnt driver to that new release. Due to this separation from the hardware, two software libs can access the rmt hardware without conflicts. So the neopixelWrite and FastAccelStepper will be able to use it simultaneously.
Only problem is, that my port to espidf 5.x starts working with espidf5.3 and that version is until now only in the espressif-arduino beta. So it is a matter of time until both issues gets fixed by updates. Or you avoid arduino and use espidf directly. I have a bunch of build scripts to test that it compiles and the one or other version is tested on  esp32 hw. Compatibility for all other derivatives is then up to espidf.


Bump Dart to 2.18.4

Bump to the latest release. I started to add the SHA256 validation, but it'll require refactoring how the unzipping works, so leaving that for later as the version bump is a step in the right direction for now.
Fix #6126

cc @sigurdm @jonasfj I assume no currently known blocker bugs in the 2.18.4 release that should prevent merging this?


Add AmN.yasb version 1.0.5

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Verify:
This is a tray-based app:

That has a section of "widgets" at the top of the screen:


Updated Dutch translation

🙂

Thanks!

New release is coming, but there're new strings that haven't yet been translated. Can you translate the remaining strings so that the fully translated nl.po is included in the new release?

I sure can! Thanks for notifying me! 🙂


feat: improve bots tool

PDR: https://docs.google.com/document/d/1Acc5yWt_Q_2Zc-jNkGm_W7mBRILnXBtKm6_GjXlwHLs/edit#
ISSUE: https://app.zenhub.com/workspaces/unity-6047bad476c3c0001942ee91/issues/decentraland/unity-renderer/298

I'm closing this PR because we decided to use Kernel only as an entrypoint and move the bots tool implementation to the unity-client side.


get rid of new Function('return this')() in the final bundle

Feature request
it looks like we still have new Function('return this')() in the final bundle even just target for web, i assume its from the global shim: https://github.com/webpack/webpack/blob/b67626c7b4ffed8737d195b27c8cea1e68d58134/lib/runtime/GlobalRuntimeModule.js#L19

it will not cause any csp violation in most browsers as the path will not be executed, but when it does, it might hit CSP issues. I just saw this post (https://mathiasbynens.be/notes/globalthis) and it seems that we can get rid of the new Function for most browsers (except IE9, 10).
Wondering if it's possible we adapt that and makes an exception just for IE9,10 so if  IE9,10 not included in the browserslist, then the final bundle does not need the new Function('return this')()
What is the expected behavior?
no new Function('return this')() if target browser does not include IE9, 10
What is motivation or use case for adding/changing the behavior?
it's weird to see new Function() call when work on CSP, would be great if we can live without it.

We have new Function('return this')() only in https://github.com/webpack/webpack/blob/main/lib/runtime/GlobalRuntimeModule.js and it is in try, so there is no problems, also we already check https://github.com/webpack/webpack/blob/main/lib/runtime/GlobalRuntimeModule.js#L23, yes can can reduce runtime to using output.globalObject(https://webpack.js.org/configuration/output/#outputglobalobject), but anyway we don't have such code for webpack v5 (if I am wrong please show me how you got such code), I will move it to dicussion, if we will found a place or a plugin I will reopen or create a new one


line wrapping of genotype

can we prevent this wrapping?

can we prevent this wrapping?

If we do that the table gets too wide on narrow screens like mobile phones.  I'll work on it.

hmm, maybe line wrap is OK, but minimunm 5/6 chars, that way   most deletion /short names will not be split?

remove milestone if not quick

maybe line wrap is OK, but minimunm 5/6 chars

That's tricky.  But I've made some changes that may help (#227).  I checked the ark1 page and it looked OK for me.

yep


yazi process gets killed when you switch to shell and got a nonzero return value

What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
Alacritty + tmux
Did you try the latest code to see if this problem got fixed?
Not tried, and I'll explain why below
yazi --debug output

Yazi
    Version: 0.2.5 (Arch Linux 2024-04-27)
    OS: linux-x86_64 (unix)
    Debug: false

Emulator
    Emulator.via_env: ("alacritty", "tmux")
    Emulator.via_csi: Ok(Unknown([]))
    Emulator.detect: Unknown([])

Adaptor
    Adaptor.matches: Wayland

Desktop
    XDG_SESSION_TYPE: Some("wayland")
    WAYLAND_DISPLAY: Some("wayland-1")
    DISPLAY: Some(":1")

SSH
    shared.in_ssh_connection: false

WSL
    /proc/sys/fs/binfmt_misc/WSLInterop: false

Variables
    SHELL: Some("/bin/bash")
    EDITOR: Some("vim")
    ZELLIJ_SESSION_NAME: None
    YAZI_FILE_ONE: None
    YAZI_CONFIG_HOME: None

file(1)
    Version: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "file-5.45\nmagic file from /usr/share/file/misc/magic\nseccomp support included\n", stderr: "" })

Text Opener
    default: Some(Opener { run: "${EDITOR:=vim} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block: Some(Opener { run: "${EDITOR:=vim} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })

tmux
    TMUX: true

Ueberzug++
    Version: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "ueberzugpp 2.9.5\n", stderr: "" })

--------------------------------------------------

Describe the bug
I have these lines in my keymap.toml file:
{ on = [ "'", "r" ], 		run = 'shell "rsync -auvP --info=progress2 \"$@\" \"$PWD\"" --block --confirm', 							desc = "Copy with rsync" },
{ on = [ "'", "x" ], 		run = 'shell "7z x \"$@\"" --block --confirm',																desc = "Extract password-protected archives" },

Whenever I go to shell and press ctrl+c in the middle of the command run or face some error, the yazi process gets killed and I cannot go back to yazi.
Expected Behavior
I expect to go back to yazi even if I face an error in the shell.
To Reproduce
Add the above key mappings and try to extract a large archive file and then press ctrl+c in the middle of extraction.
Configuration
No response
Anything else?
No response

Please try https://github.com/sxyazi/yazi/pull/1131

That seems to solve the issue for me. I could go back to yazi after pressing ctrl+c. Thank you for the quick reply and fix!
However, I noticed another issue related to image previewing in the new version (0.3).
yazi 0.2.5:
2024-06-06_11.08.13.png (view on web)
yazi 0.3:
2024-06-06_11.09.06.png (view on web)

Please file a new issue with the detailed reproduction steps for the image preview problem.
Let's merge this issue first.


Migration docs

Is it possible to add a session in the documentation about how migration works. What would happen if a model schema changes. Perhaps no migration is needed, in such a case how the scenario above is handled, similar to a nosql db?
Would be nice having all these documented.

I see what you describe makes a lot of sense. If I may suggest. I would like an API that allows to specify the migration either by annotation or when defining the Entity itself.
The main problem I face is contributors change the entity fields and forget to update the migration file.
So it may help if the same file where the entity is defined would also have the migration defined.
Although what you describe sounds even better. An API that allows you to specify the serializer.

For an API on your entity that would be out of scope, the TLDR is there is no "migration" in the traditional sense, as it just serializes and deserializes your entities, out of the box for now, we'd handle what happens when deserialization fails and "what to do"
Regarding the underlying Sqldelight implementation, it will auto migrate for you if we added any other fields. But I don't thing we would need anything for a while until we expand functionality

Fair enough 👍


Please Remove MY IPTV Sub (willfonk links) or expect DMCA.

Please Remove MY IPTV Sub (willfonk links) or expect DMCA.

If you do not remove it. I will report you

Huh? An user emailed me to add the channel ?
On Saturday, 30 April 2022, AstaFatherSatan @.***>
wrote:

If you do not remove it. I will report you
—
Reply to this email directly, view it on GitHub
https://github.com/luongz/Japan-IPTV/issues/10#issuecomment-1113986024,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJJT3SYRD6UR6TU5BRDDMLVHUV77ANCNFSM5UYKRUQQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Please Remove MY IPTV Sub (willfonk links) or expect DMCA.

An user has emailed me to added the links
And your list has been public in yamcode , some vk iptv finder?

And you are 2nd people to told me remove the link. Wtf?

Same person who asked for removal in email. I PM the guy as well. It was on my GitHub before I made it a variable and then it got leaked.

I reported the yamcode.

Will you remove the links?

Would you like a email with the box of the ipv box with the Mac address then?

Will you remove the links containing my TV box Mac address I pay monthly fee for before I am forced to get GitHub to make a DMCA request? I don't like being like this but this is starting to become ridiculous to keep my own sub from leaking this way.

Done.
Im going to closed this.

Thank you

One other thing ntd news 24
https://stream01.willfonk.com/live_playlist.m3u8?cid=CS349&r=FHD&ccode=JP&m=d0:20:20:04:35:cc&t=0d6938cb3dcf4b79848bc1753a59d
I apologize but please remove

Keep this if it works. This link specifically isn't mine
https://movie.mcas.jp/mcas/smil:wn1.smil/master.m3u8
I appreciate your compliance. I'm thankful


Failed to create Azure Kubernetes Service

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks create
Errors:
'registrationState'
Traceback (most recent call last):
pip-install-9101vebg\knack\knack\cli.py, ln 206, in invoke
cli\core\commands\__init__.py, ln 608, in execute
cli\core\commands\__init__.py, ln 666, in _run_jobs_serially
cli\core\commands\__init__.py, ln 659, in _run_job
Temp\pip-install-9101vebg\six\six.py, ln 703, in reraise
cli\core\commands\__init__.py, ln 636, in _run_job
cli\core\commands\__init__.py, ln 306, in __call__
azure\cli\core\__init__.py, ln 493, in default_command_handler
cli\command_modules\acs\custom.py, ln 1857, in aks_create
...
pip-install-9101vebg\requests\requests\sessions.py, ln 650, in send
pip-install-9101vebg\requests\requests\hooks.py, ln 31, in dispatch_hook
msrest\msrest\universal_http\requests.py, ln 275, in user_hook_cb
pip-install-9101vebg\msrestazure\msrestazure\tools.py, ln 57, in register_rp_hook
pip-install-9101vebg\msrestazure\msrestazure\tools.py, ln 102, in _register_rp
KeyError: 'registrationState'

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 aks create --resource-group {} --name {} --node-count {} --enable-addons {} --generate-ssh-keys

Expected Behavior
Environment Summary
Windows-10-10.0.14393-SP0
Python 3.6.6

azure-cli 2.2.0

Additional Context

thanks for reporting it, we'll look at it

Hello! Please try again with the latest Azure CLI version. Feel free to reopen an issue if it still doesn't work.
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest


Making sticky navbar

I would like to make a sticky navbar so that it is visible even when the page is scrolled down.
For SSOC Contribution.

Please assign it to me!

@ShivanshAr97 Go for it.

@ShivanshAr97
Try to make a navbar that when someone scrolls downward, the navbar disappear and when the someone scrolls upward, the navbar should appear.
It'll be great.


Query::createFromPairs have TypeError

Bug Report
(Fill in the relevant information below to help triage your issue.)

Information
Description

Version
2.2

PHP version
7.2 / 7.3

OS Platform
linux

Summary
Follow the doc, https://uri.thephpleague.com/components/2.0/query/#using-the-query-as-a-collection-of-query-pairs.
follow the example
$query =  Query::createFromPairs([
    'foo' => 'bar',
    'p' => 'yolo',
    'z' => ''
]);
echo $query; //display 'foo=bar&p=yolo&z='

$query =  Query::createFromPairs([
    'foo' => 'bar',
    'p' => null,
    'z' => ''
]);
echo $query; //display 'foo=bar&p&z='

the example code have error.
TypeError: Argument 1 passed to League\Uri\QueryString::buildPair() must be of the type array, string given, called in /var/www/vendor/league/uri-components/src/QueryString.php on line 257 in League\Uri\QueryString::buildPair() (line 278 of /var/www/vendor/league/uri-components/src/QueryString.php).

Standalone code, or other way to reproduce the problem
<?php
declare(strict_types=1);

use League\Uri\Components\Query;

include 'vendor/autoload.php';

$query =  Query::createFromPairs([
    'foo' => 'bar',
    'p' => 'yolo',
    'z' => ''
]);
echo $query; //display 'foo=bar&p=yolo&z='

$query =  Query::createFromPairs([
    'foo' => 'bar',
    'p' => null,
    'z' => ''
]);
echo $query; //display 'foo=bar&p&z='

Expected result
display  foo=bar&p=yolo&z=
display foo=bar&p&z=
same as the example.
Actual result
(What is the current (buggy) behavior?)
TypeError: Argument 1 passed to League\Uri\QueryString::buildPair() must be of the type array, string given, called in /var/www/vendor/league/uri-components/src/QueryString.php on line 257 in League\Uri\QueryString::buildPair() (line 278 of /var/www/vendor/league/uri-components/src/QueryString.php).

I found that the doc example is wrong.
below code work
$query =  Query::createFromPairs([
    ['foo' , 'bar'],
    ['p' , 'yolo]'],
    ['z' , ''],
]);
echo $query; //display 'foo=bar&p=yolo&z='

$query =  Query::createFromPairs([
    ['foo' , 'bar'],
    ['p' , null],
    ['z' , '']
]);
echo $query; //display 'foo=bar&p&z='

may need update the doc example code(https://uri.thephpleague.com/components/2.0/query/#using-the-query-as-a-collection-of-query-pairs).
or maybe also upgrade page (https://uri.thephpleague.com/components/2.0/upgrading/), cause i am upgrade from 1.x
version 1 work for
$query =  Query::createFromPairs([
    'foo' => 'bar',
    'p' => 'yolo',
    'z' => ''
]);
echo $query; //display 'foo=bar&p=yolo&z=

Finally, Thank for your work.

@iLexN thanks for the issue opened ? So if I understood the issue was that the documentation was wrong ... but the code is working ... but differently that in v1 right ? 🤔

I am not sure which part go wrong. cause it is major version change, may not backwards compatible.
in v1.x, this work
$query =  Query::createFromPairs([
    'foo' => 'bar',
    'p' => 'yolo',
    'z' => ''
]);
echo $query; //display 'foo=bar&p=yolo&z=

in v2, it is not work with the example code (https://uri.thephpleague.com/components/2.0/query/#using-the-query-as-a-collection-of-query-pairs)
$query =  Query::createFromPairs([
    'foo' => 'bar',
    'p' => 'yolo',
    'z' => ''
]);
echo $query; //display 'foo=bar&p=yolo&z=

in v2 , it work (i find the example in the test case, https://github.com/thephpleague/uri-components/blob/master/tests/Components/QueryTest.php#L176)
$query =  Query::createFromPairs([
    ['foo' , 'bar'],
    ['p' , 'yolo]'],
    ['z' , ''],
]);
echo $query; //display 'foo=bar&p=yolo&z='

if v2 Query::createFromPairs is not compatible with v1, than the doc example is wrong.
Thank for looking into this issue.
My english not good, i try to explain what i find.

@iLexN got it. Indeed this was an intentional BC break the named constructor you are looking for is called  creatrFromParams in v2.

Thanks for your suggestion.
change the method from createFromPairs to Query::createFromParams more easy for upgrade, no need reformat the data.

@iLexN seems both constructors were already explained in the documentation will close this issue


Example using blueprints

Hi, thanks for your great library. I was wondering if you have an example how you can decorate endpoints that exist in other files and are imported into the entrypoint using blueprints? Thanks again.

Hi @krisnashaypp - not to hand but of the top of my head, if you use current_app you should be able to access the auth object of that for the decorator.
I haven't tried that however and it would be a good idea to include that as an example so I'll try and add something later.

Thanks @felnne
I think I managed to get it working in a slightly different way, I tried with current_app but it didn't work out of the box . Do you see any issues with this solution?
No reference to the lib inside where the flask app is instantiated
in extensions.py
from flask_entra_auth.resource_protector import EntraResourceProtector

auth = EntraResourceProtector()

in endpoint file
from extensions import auth

bp = Blueprint('example', __name__, url_prefix='/example')

@bp.route("/", methods=["GET"])
@auth()
def get_something():
    #something

@krisnashaypp, I think that would be fine - and having seen your implementation, am reminded that's how I think Flask intends extensions to be used so 👍.


Attempting to change your password throws an internal error

When trying to change my password on the account page, it threw an internal error at me:

Please try again or join the matrix channel, so we can live-debug this.

https://matrix.to/#/#wiki:nixos.org

Upstream issue: https://github.com/mohe2015/AuthManagerOAuth/issues/40


Fundamentals TM: Connectors

New slide deck and labs for this section.
SaaS and B2B Integration
Connecting to a SAAS Application
Lab: Connecting Web APIs/Cloud Services
Connecting B2B
Lab: Connecting to a File System

Added new slide deck.

Added new labs.


ARROW-11607: [C++][Parquet] Update values_capacity_ when resetting.

I'm not sure why values_capacity_ is different kept separately
from the buffer, but there is check which does not reserve
capacity again values_capacity_ is already the needed size.
When ReleaseValues is called, we allocate a brand new empty buffer.
I'm not really sure why this hasn't caused users more issues (maybe
increasingly large row groups or some other phenonemon). This bug
also highlight that our C++ tests have very limited coverage on batched
reads.  To fix this I added an batch read for every round trip test
to confirm it yields the same values.

@pitrou the python failures look like something CI infrastructure related or am I just not seeing the exception?

I've restarted the CI failures, I suppose it's just a CI glitch.


CNAME Help section - First party request form not found/redirected

Issue in ./help/c-implementing-target/c-considerations-before-you-implement-target/implement-cname-support-in-target.md
CNAME Request form is not available on that page
https://docs.adobe.com/content/help/en/core-services/interface/ec-cookies/assets/FPC_Request_Form.xlsx > https://experienceleague.adobe.com/

Sorry, this link should work:
https://experienceleague.adobe.com/docs/core-services/assets/FPC_Request_Form.xlsx?lang=en
I will update the documentation. Thanks for the heads-up!

Link is fixed in documentation. You might need to refresh.
https://experienceleague.adobe.com/docs/target/using/implement-target/before-implement/implement-cname-support-in-target.html?lang=en#cname-and-adobe-target
Thanks again.


ALL FILES

All files in image folder are untranslated yet

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

image Locfile in Blocked status, I re-set with Prehandoff, waiting for check In. ICMS QUERY

all HB prior to Migration ICMS QUERY

CAICritical location


Update google example for 1.9.0

Changes default ZONE to europe-west1-b as a no longer exists.
Changes the getHardware due to changes in id format.
Exposes more variable throught the system properties.

Please, keep the previous formatting (and indentation) so the diff only shows the actual changes.

Do you have an eclipse formatter for the jclouds projects - or guidelines?

I've changed the formatting to 3 spaces and line length 120.
Not sure if there are any other rules you use.

Corrected typos in commit message, rebased, and pushed to master as cbe03d7108c4ef037efc396f9f45c864e21f5483.


Does the [Feature Request] official have domestic CDN nodes

Existing Component
是
Component Name
cdn
Description
unpack这个节点在国外，延时很高

我们不提供 CDN。


sql: run check constraint mutations and validation by schema changer

PR: https://github.com/cockroachdb/cockroach/pull/32504
From release notes:

Table data is now validated against a newly added CHECK constraint asynchronously after the transaction commits. [#32504][#32504] {% comment %}doc{% endcomment %}

@rmloveland, not sure if/how this affects docs.

That PR was reverted and replaced by #34238, which does the same thing from a user's perspective.

Thanks, @lucy-zhang. Since we already announced this change in the previous alpha, and it hasn't changed from a user perspective, I'm going to remove it from the 19.1 beta release notes.


json! Macro Should Have Consistent Return Type

When no replacements are present, json! returns &str, but when there are it returns a String.
Change both to use String and see how the performance is impacted.

This decreases performance because instead of just returning a reference to a static string, we're converting it into a full String object.
The penalty is pretty slight though, so if micro-optimisations ever need to be made it can be revisited, but for now at least it makes the macro consistent.


Possible stats to add to the GTN stats page

Thanks @hexylena and @shiltemann for the stats page
In the future, we could maybe expand it with:

[ ] Recently updated tutorials
[ ] Stats from the feedback forms to replace the Jupyter Notebook I made

Feel free to edit this issue to add more stats to add

Recently updated tutorials was on our todo list, but we need to workaround  https://github.com/gjtorikian/jekyll-last-modified-at/pull/80 in the short term.


Stop populating buyer fields (except buyerEmail)

The current Magento plugin fill buyer info fields (like name, address, phone, country) when creating a BitPay invoice. This is not needed and needs to stop in light of GDPR.
When creating a BitPay invoice, please only fill the buyerEmail. Leave out the other buyer address fields.

Fixed in PR #151


Inconsistent command arguments

Hello,
Under the section "Assign a managed identity access to another application's app role", for Step 6, the docs list the following command with args:
New-MgServicePrincipalAppRoleAssignment `
    -ServicePrincipalId $managedIdentityObjectId `
    -PrincipalId $managedIdentityObjectId `
    -ResourceId $serverServicePrincipalObjectId `
    -AppRoleId $appRoleId

Under the "Complete Script" section, the same command has a different argument for ServicePrincipalId:
New-MgServicePrincipalAppRoleAssignment `
    -ServicePrincipalId $serverServicePrincipalObjectId `
    -PrincipalId $managedIdentityObjectId `
    -ResourceId $serverServicePrincipalObjectId `
    -AppRoleId $appRoleId

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

ID: a32925b4-4773-501a-590e-0ed0d3c017ce
Version Independent ID: f2b2e4d7-90e1-96c1-cf54-1a1144f6b0ee
Content: Assign a managed identity to an application role using PowerShell - Managed identities for Azure resources
Content Source: docs/identity/managed-identities-azure-resources/how-to-assign-app-role-managed-identity-powershell.md
Service: active-directory
Sub-service: msi
GitHub Login: @johndowns
Microsoft Alias: jodowns

@allison-silverpine
Thanks for your feedback! We will investigate and update as appropriate.

Thank you @allison-silverpine. We've fixed the typo.

#please-close


[BitSail][Doc] BitSail homepage is is down

Describe the bug
BitSail homepage is is down.
To Reproduce

I have read the history of github page deployment.(https://github.com/bytedance/bitsail/actions/runs/4121927501/jobs/7118110589)
It looks comes a problem like that:
{"$id":"1","innerException":null,"message":"The user 'System:PublicAccess;aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}

Is it an auth problem?

@john8628 please have a look

solved


[ACM-7638] Remove legacy prometheuesrule and servicemonitor from openshift-monit…

…oring ns
Description
Updating the MCH operator to remove the additional PrometheusRule and ServiceMonitor in the openshift-monitoring namespace.
Related Issue
https://issues.redhat.com/browse/ACM-7638
Changes Made
When the MCH operator reconciles, it will remove the legacy PrometheusRules and ServiceMonitors from the openshift-monitoring namespace.
Screenshots (if applicable)
Add screenshots or GIFs that demonstrate the changes visually, if relevant.
Checklist

[x] I have tested the changes locally and they are functioning as expected.
[x] I have updated the documentation (if necessary) to reflect the changes.
[ ] I have added/updated relevant unit tests (if applicable).
[x] I have ensured that my code follows the project's coding standards.
[x] I have checked for any potential security issues and addressed them.
[x] I have added necessary comments to the code, especially in complex or unclear sections.
[x] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
/cc @cameronmwall @ngraham20
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[x] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/lgtm


Improve video

Build version: 2.7.0-pr-31.138 :crossed_fingers: improve-video on Travis :tada:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improve go-grpc steal with http filter by allowing hyper to retry the internal requests.

Issue: https://github.com/metalbear-co/operator/issues/649

related, but still doesn't fully fix it;

Adds a retry with exponential-backoff for stolen + filtered http requests. Improves the situation of go-grpc getting 502 too easily.

Can we do better? :v You mentioned you observed some lost intproxy<->agent traffic. What was the source of this? Maybe we have a bug somewhere? Adding more retries seems like working around the real problem.

This missing traffic was caused by a Reset on the next_frames response handler.

I think you can move the original request from HttpResponseFallback::Streamed to InterceptorError::Reset. InterceptorError::ConnectionClosedTooSoon works like this and I think it results with less cloning (?)

I tried doing this, but it becomes so freaking annoying to check for the Reset non-error in hyper, as we lose the singular from(hyper::Error) implementation of InterceptorError. And now we need to check every place where a reset is possible (which is at least 2 different places, but might be more ...).
I'm not sure what to do here, putting this in the error makes sense, but the result is uglier than having it in the Streamed ... thanks to hyper not allowing us to inspect for this error in particular.

You can probably handle reading first frames from the IncomingProxy to Interceptor (and delay sending the response to IncomingProxy until you have them). You'd have retry logic in one place and you could drop retries field from HttpRequestFallback::Streamed.

I'm having a hard time making this work. We kinda have to convert Streamed request to Framed responses, but then the trailers are missing and I'm not sure why. I'm wondering if this mess is worth it.


Upgrade trivy to v0.29 or higher

Describe the solution you'd like
We are currently using trivy v0.27.1 in our scanner shim code, and trivy started supporting the containerd runtime in v0.29.0. At present, our trivy pod is thus unable to connect to the runtime socket, and therefore cannot scan nameless images.
Anything else you would like to add:
This blocks completion of #224 . The strategy for testing clusters with thousands of images is to load up the containerd store with vulnerable images on each node. Without access to the runtime, our trivy-scanner pod will simple ignore those images it can't find in the trivy database. With access to the runtime, it will analyze the layer structure of node-local images, and compare known layers (by digest) to its database of known vulnerabilities. Thus for any new image that uses (for example) alpine:vulnerable as a base image, that new image would also be considered vulnerable, even though the new image wouldn't be present in trivy's database.
Environment:

Eraser version: v0.4.0

good catch!

related:
https://github.com/aquasecurity/trivy/issues/3048


Integration Test - Release - 2019/02/28 14:51:26

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#backlog'

#pri2

#backlog

#assign PRMergerTest1

PRMergerTest1 is not a valid GitHub ID, or is not a collaborator on this repo.

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

PRMergerTest2 is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


multiplexed msgid causing translation difficulties

First of all, thanks for making such an useful plasma widgets!
We're translating this widget into simplified Chinese. Most of work is completed, but the msgid "update is pending" caused translation difficulty, which caused by expression difference in Chinese.

the ../contents/ui/configuration/Appearance.qml one should be translated with msgid "Shown when" and the whole sentence should be “当有_个更新被挂起时显示”
the  ../contents/tools/tools.js one should be translated separately: "_个更新被挂起"

these translations cant be multiplexed in Chinese, since we seldom use passive voice.
Thanks again for making it, and hope we can deal with it soon! :)

So the problem is that the same translation string is used in two different contexts? If I create separate translation strings for each, will that solve the issue?

So the problem is that the same translation string is used in two different contexts? If I create separate translation strings for each, will that solve the issue?

Yeah, that solves the problem. we'll make the translation available soon. Thanks!


issue on macOS for Themis

Describe the bug
I am trying to use Themis using python on MacOS
I installed brew first and followed the instructions. but I am not able to run the code and following error is occurring everytime, what could be be cause of this behaviour.?
Error
File "securecell.py", line 4, in
master_key = GenerateSymmetricKey()
File "/Users/aikaki/Documents/Python Programs/themis/venv/lib/python3.8/site-packages/pythemis/skeygen.py", line 71, in GenerateSymmetricKey
res = themis.themis_gen_sym_key(None, byref(key_length))
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 378, in getattr
func = self.getitem(name)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 383, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, themis_gen_sym_key): symbol not found
Expected behavior
I was expecting the code to run smoothly
Environment (please complete the following information):

OS: [macOS Monterey version 12.13.2]
Hardware: [M1 chipset]
Themis version: [0.14.0]
Installation way:
-(https://docs.cossacklabs.com/themis/languages/python/installation/)

thank you @AikakiAdmin, we will take a look on M1 installation.
maybe openssl installation path? 🤔
cc @ilammy

@AikakiAdmin could you please provide step by step commands and their outputs that you are running?
We have tested the following on M1 with macOS 12.3.1 (21E258) according to the installation instructions.
Installing themis
brew tap cossacklabs/tap
brew install libthemis

==> Downloading https://github.com/cossacklabs/themis/archive/0.14.0.tar.gz
==> Downloading from https://codeload.github.com/cossacklabs/themis/tar.gz/refs/tags/0.14.0
                                                      #   -=#=- #   #
==> Reinstalling cossacklabs/tap/libthemis
==> make install
🍺  /opt/homebrew/Cellar/libthemis/0.14.0: 34 files, 671.8KB, built in 8 seconds
==> Running `brew cleanup libthemis`...

pip install pythemis

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting pythemis
  Downloading pythemis-0.14.0.tar.gz (12 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: six in /opt/homebrew/lib/python3.9/site-packages (from pythemis) (1.16.0)
Building wheels for collected packages: pythemis
  Building wheel for pythemis (setup.py) ... done
  Created wheel for pythemis: filename=pythemis-0.14.0-py2.py3-none-any.whl size=15946 sha256=d7f3186ea4cc994246e5fb19b6cd163544d8a45ea4d88be10900252fcee4efd9
  Stored in directory: /Users/arturhil/Library/Caches/pip/wheels/54/14/6a/618dc12818f899bec8a0d7f1494f279a53329feae52da7ada2
Successfully built pythemis
Installing collected packages: pythemis
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Successfully installed pythemis-0.14.0

Generating keys
python3

from pythemis.skeygen import GenerateSymmetricKey
master_key = GenerateSymmetricKey()
print(master_key)

b'\xcb\x1e\x1d\xca\x9dU\xca\x1b\xac\x94\xd7\x18\x81\xd6Fd\xc7\x84#R\x7f\xe0\xe2o\xf2\xbd\xca["\xd4v\x0e'

that's working on our side. Let's try to find the difference.

aikaki@Vijays-MacBook-Pro documents % brew tap cossacklabs/tap
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 1 formula.
==> Tapping cossacklabs/tap
Cloning into '/opt/homebrew/Library/Taps/cossacklabs/homebrew-tap'...
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (2/2), done.
remote: Total 89 (delta 1), reused 1 (delta 1), pack-reused 87
Receiving objects: 100% (89/89), 20.62 KiB | 879.00 KiB/s, done.
Resolving deltas: 100% (32/32), done.
Tapped 1 formula (16 files, 49.9KB).
aikaki@Vijays-MacBook-Pro documents % brew install libthemis
==> Downloading https://github.com/cossacklabs/themis/archive/0.14.0.tar.gz
Already downloaded: /Users/aikaki/Library/Caches/Homebrew/downloads/35b0334bda822db50514b9a9aad69cc14d96a708105b0c31edefb8a9a6375e0b--themis-0.14.0.tar.gz
==> Installing libthemis from cossacklabs/tap
==> make install
🍺  /opt/homebrew/Cellar/libthemis/0.14.0: 34 files, 671.8KB, built in 3 seconds
==> Running brew cleanup libthemis...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
aikaki@Vijays-MacBook-Pro documents % pip install pythemis
aikaki@Vijays-MacBook-Pro documents % pip3 install pythemis
Defaulting to user installation because normal site-packages is not writeable
Collecting pythemis
Using cached pythemis-0.14.0-py2.py3-none-any.whl
Requirement already satisfied: six in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages (from pythemis) (1.15.0)
Installing collected packages: pythemis
Successfully installed pythemis-0.14.0
aikaki@Vijays-MacBook-Pro documents %

It seems you installed later version of the python using brew. My python site package in not writeable

Okay... so the library seems to be at least loaded, right?
Could you please do
import ctypes.util

print(ctypes.util.find_library('libthemis'))

which is how PyThemis locats the native library. This should print out the following path:
/opt/homebrew/lib/libthemis.dylib

(which is normally a symlink into homebrew's cellar)
If it's something else, this means Python is probably loading not the library it should load.
However, if it is that path, let's check the library symbols:
nm -gU /opt/homebrew/lib/libthemis.dylib

if there is no _themis_gen_sym_key there, then indeed it's not there.

At the moment I can't find any known issues in Python library loading & name resolution in ctypes, but this could very well be something linked to that.

code is returning None, which mean it is not getting the library. so a path problem.

aikaki@Vijays-MacBook-Pro documents % cd /opt/homebrew/lib/
aikaki@Vijays-MacBook-Pro lib % ls
libsoter.0.dylib		libspatialindex.6.1.1.dylib	libspatialindex_c.6.1.1.dylib	libthemis.0.dylib		pkgconfig
libsoter.a			libspatialindex.6.dylib		libspatialindex_c.6.dylib	libthemis.a
libsoter.dylib			libspatialindex.dylib		libspatialindex_c.dylib		libthemis.dylib
aikaki@Vijays-MacBook-Pro lib %

added path also
aikaki@Vijays-MacBook-Pro ~ % echo $PATH
/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/lib/

This problem is resolved when installed python using brew
aikaki@Vijays-MacBook-Pro themis % python3 securecell.py
/opt/homebrew/lib/libthemis.dylib

Uh-huh... Thanks, noted your observation. I believe we should add some check for None later, so that this situation produces a more helpful error message.
I guess, homebrew's Python has homebrew paths baked into it, while with non-brew Python you wouldn't get /opt/homebrew/lib in your search paths. On x86, I think, it kinda works out because /usr/local/lib is in standard search paths or something.

Any idea how libraries are searched in Mac?

There is DYLD_LIBRARY_PATH environment variable with extra search paths, Python should respect it. (Or LD_LIBRARY_PATH on Linux.)
You can also tweak the native library search paths via sys.path variable as well, IIRC.

if I need to package Themis in docker, what step I need in Dockerfile

Like, with macOS in Docker?.. 🤔
If you use a Linux-based image for Docker, there are Themis packages for some distros (Fedora, CentOS, Ubuntu, Debian – not for Alpine though, that one you'd likely need to build from source).
If you use Python from the distro's package repositories, Themis packages should work with it fine: yum/apt/rpm them after adding Cossack Labs' repositories.

I already built a docker image which uses fast api frame work and I want
add some encryption as part of APIs. I am in love with Themis for its
simplicity of use and light weight. Let me see how we can go to next step.
For now issue is closed.
On Sat, 16 Apr 2022 at 7:21 PM, Oleksii Lozovskyi @.***>
wrote:

if I need to package Themis in docker, what step I need in Dockerfile
Like, with macOS in Docker?.. 🤔
If you use a Linux-based image for Docker, there are Themis packages for
some distros
https://docs.cossacklabs.com/themis/installation/installation-from-packages/
(Fedora, CentOS, Ubuntu, Debian – not for Alpine though, that one you'd
likely need to build from source).
If you use Python from the distro's package repositories, Themis packages
should work with it fine: yum/apt/rpm them after adding Cossack Labs'
repositories.
—
Reply to this email directly, view it on GitHub
https://github.com/cossacklabs/themis/issues/913#issuecomment-1100669088,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN67P53HABTJW3PN3MJL2TDVFLAXBANCNFSM5TQAMW2Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


Added image slider created using javascript

Description 📜
Javascript project of image slider
Domain of Contribution 📊

[x] Javascript Projects

go through the updated readme file to know ur mistakes and raise another pr (project description readme file is missing)


Migrate to main branch

Well, master is so has been, let's move to main!

https://stevenmortimer.com/5-steps-to-change-github-default-branch-from-master-to-main/

Done using github web ui.


Shiree/development

Changing Typography from overrides to use of variants.
Small UI fixes

Continued in #271


Broken link to JS polyfill source in intro

The link to the Javascripte polyfill source code in https://github.com/bytecodealliance/wasmtime/blob/master/docs/WASI-intro.md#the-browser-polyfill seems to be broken. I got to the document via wasi.dev.

Hey @fivedots! Thanks for the issue. Yeah, we're currently in the middle of a transition from C-based implementation to Rust-based implementation of the polyfill, and the link is indeed incorrectly referencing the former which has been removed from the tree. The tracking issue for the polyfill based on Rust impl of WASI can be found in this PR #720, while the link to the original, C-based source can be found here: wasmtime/tree/polyfill/wasmtime-wasi/js-polyfill.

Is there any projected ETA for the new Rust-based implementation @kubkon?
Thanks.

Hi @ChristianWeyer! It's been a while since I looked into this but this very functionality now come back around at work for me so I'll be revisiting it in the coming days and hopefully will get something functional soon-ish. I'll report back when a working PR is submitted.

Did you already find some minutes... @kubkon ? ;-)

The link has since been replaced with a link to https://github.com/bjorn3/browser_wasi_shim.


Can Consumer get the new message every 10minutes

Hi,
Can we configure the consumer will get the messages every 10 minutes? As I know, the default consumer will poll the server every 100 milliseconds to get new message.
Thanks

You can look at conf here : https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md
You want to maximize fetch.wait.max.ms (max seems to be 5 min though) and fetch.min.bytes depending on your usage
You may have to configure other params (hearthbeat, timeout...) so this works well. For more info, post it on librdkafka github directly and reference it here so other may find it

add reference: https://github.com/edenhill/librdkafka/issues/973

https://github.com/edenhill/librdkafka/issues/973

Hi,
Base on Edenhill's suggestion on librdKafka github, there are pause/resume APIs in librdKafka to help pause/resume the consumption.
However, I don't see these APIs (or methods) in rdkafka-dotnet, it seems this lib does not wrap these pause/resume APIs yet ?
@ah-  Can you please confirm it?


[terra-profile-image] fallback image missing equal style and treatments as valid image

Bug Report
Description

When Terra-profile-image has a correct/successful image source, it does not have the same treatment applied for when it has an invalid/unsuccessful image source.  There should be parity in approach between the regular profile-image and the fallback/placeholder that is built in.
Steps to Reproduce

Additional Context / Screenshots

Attaching a series of example tests, testing with a valid src image (e.g. src={exampleProfileImage}) on the left, next to an invalid src image (e.g. src="invalid.jpg") on the right. The expected is for the fallback placeholder to be the same but with a replacement image.
1: when two images are side-by-side, both should be inline and vertically-aligned to the middle:
<ProfileImage width="75" height="75" alt="inline test" src={exampleProfileImage} />
<ProfileImage width="75" height="75" alt="inline test" src="invalid.jpg" />

2: When adding additional CSS Style, the fallback image doesn't also apply the style
<ProfileImage width="75" height="75" className={cx('test-style-border')} alt="adds css style" src={exampleProfileImage} />
<ProfileImage width="75" height="75" className={cx('test-style-border')} alt="adds css style" src="invalid.jpg" />

.test-style-border {
    border: 10px solid rgb(69, 221, 170);
    border-radius: 25px;
    box-sizing: content-box;
}

3: When Height and Width is not provided via props, the fallback image doesn't appear, should rely on a default image size
<ProfileImage alt="no height or width provided" src={exampleProfileImage} />
<ProfileImage alt="no height or width provided" src="invalid.jpg" />

4. When Height and Width are provided by CSS and not props, the fallback image doesn't appear, should use css size
<ProfileImage className={cx('test-style-size')} alt="use css size instead" src={exampleProfileImage} />
<ProfileImage className={cx('test-style-size')} alt="use css size instead" src="invalid.jpg" />

.test-style-size {
    height: 100px;
    width: 40px;
}

5. Profile-Image implements Terra-Image, and though it's not declared, allows for the passthrough of Terra-Image props like variant, which are not applied to the fallback image
<ProfileImage width="75" height="75" alt="passing through terra-image props" src={exampleProfileImage} variant="thumbnail" />
<ProfileImage width="75" height="75" alt="passing through terra-image props" src="invalid.jpg" variant="thumbnail" />
<ProfileImage width="75" height="75" alt="passing through terra-image props" src={exampleProfileImage} variant="circle" />
<ProfileImage width="75" height="75" alt="passing through terra-image props" src="invalid.jpg" variant="circle" />

6. The same Fit treatment should also apply to the fallback image when set
<ProfileImage width="75" height="150" alt="testing fit" src={exampleProfileImage} fit="contain" />
<ProfileImage width="75" height="150" alt="testing fit" src="invalid.jpg" fit="contain" />
<ProfileImage width="150" height="75" alt="testing fit" src={exampleProfileImage} fit="scale-down" />
<ProfileImage width="150" height="75" alt="testing fit" src="invalid.jpg" fit="scale-down" />

@ Mentions

followup to PR #3422 and issue #3412

@Shruthila, This issue is nearly 50 days old now. I see it's marked as blocked, could you comment on why it's blocked and what we could do to unblock it?

@mjhenkes. we are currently waiting on UX inputs for third and the sixth point mentioned above by @neilpfeiffer. basically the size of the default image and how the fallback image should behave when we apply fit property. we have created this branch with above mentioned changes. so currently neil is working on those inputs and reviewing the branch changes.


"Create bucket" un-responsive on the MinIO console

Just thought about adding this issue on here.
I am logging in on the MinIO console endpoint with SSO (EGI-Check-in)
In the "Buckets" site I choose a bucket-name which validates all the Bucket Naming Rules, not changing any features, and simply clicking ”Create Bucket”, which gives no response, and no visible error-message.
Does someone else also experience this? Or know how I can troubleshoot it better?
I do manage to create an Access Key, in the "Access Keys" site..

Hi,
Before troubleshooting further, could you please have a look at this example notebook on how to interact with MinIO?
Please note that the correct naming for your bucket must have this prefix okihle-mybucket.

Using the os.environ['JUPYTERHUB_USER']as a prefix, lets me create a bucket. Thanks for the help!


SvelteKit demo is broken due to "type" not being set in pkg json

Describe the bug
In the @ffmpeg/util package, there is no json "type": "module", Due to this vite breaks while building the code because it needs esm modules to run.
To Reproduce
Clone the sveltekit example, npm i, and npm run dev.
Expected behavior
The example should work when I do npm run dev
Screenshot

Desktop (please complete the following information):

OS: [e.g. iOS] - MacOS 14.6.1
Browser [e.g. chrome, safari] - Chrome
Version [e.g. 22] - 128

Additional context
Setting json "type": "module" in util package's package.json, the build worked.

Another workaround that worked for me was importing from the index.js file explicitly:
import { fetchFile, toBlobURL } from<EMAIL_ADDRESS>


Various Fixes

Fixes: In UI, handle cases in which the last received block was generated in the future (secs <= 0)
Various other small fixes/cleanups

If you view the actual raw source all the spacing is correct, i dont know why it looks different in this view.

The spacing is actually not correct. You are using tabs instead of spaces. So it may look correct, but it's not.

I actually used spaces, because the tab indenting was to big. So I must be using the wrong number of spaces then.

From: coblee<EMAIL_ADDRESS>Sent: Thursday, 8 March 2012 1:20 PM
To: Michael Ford
Subject: Re: [litecoin] Various Fixes (#19)
The spacing is actually not correct. You are using tabs instead of spaces. So it may look correct, but it's not.

Reply to this email directly or view it on GitHub:
https://github.com/coblee/litecoin/pull/19#issuecomment-4385105

Maybe you need to reupload?

I'm going to close this pull and open a new one, it will be easier and cleaner to make one change at a time.

ok


Feature Request: vhdl support

Having an open source toolchain for synthesizing integrated circuits can be really useful for research projects. However, some industries enforce the use of vhdl, which is not highly supported by open source projects (the only open source project with similar capabilities that supports vhdl is Electric EDA). Adding vhdl support to this project will allow universities and engineering research centers to reduce dependency on commercial tools and, therefore, making research more accessible.
As Openlane is based on Yosis, this could be achievable using the GHDL plugin available for it, which adds support for that language and is also open source. Alternatively, Icarus Verilog provides a vhdl to verilog translator.

I'll add, VHDL is a lot more popular in Europe and is by far the dominant HDL language there (here :) ), taught both at universities and used in the industry.

What is this?
This is a patch that adds mixed language support for VHDL using GHDL though the Yosys GHDL module.
I adds these new environment variables, trying to match the style of OpenLane (for better or worse):

SYNTH_BIN_OPTIONS Extra command line options for Yosys.  Put "-mghdl" in here
VHDL_FILES Space separated list of files that the synthesis script will cause ghdl to analyze
VHDL_MODULE_IMPORTS Modules Yosys will import from GHDL

Usage
There are 2 ways to use this new capability, which you can also mix and match:

Analyze with GHDL (and even for example simulate or target FPGA with) your VHDL sources first, and just leave VHDL_FILES (and if you wish, VERILOG_FILES) empty.  Then add the top level module to VHDL_MODULE_IMPORTS.
Put VHDL files you want OpenLane to analyze in VHDL_FILES.  This could be an OpenLane target specific top-level in which case analyze your other RTL units first as above, or all of your RTL.

Caveats
VHDL is a more complex language than Verilog.  It allows for record types, enumeration types, etc that cannot be represented in Verilog.  GHDL handles this by mostly flattening types and ports to simple vectors of wires.  The results are pretty useful and intuitive, but make sure you understand what it has done especially with respect to top level ports.
Everything works in practice AFAICS, except for escaping VHDL names for LVS.  The reason for this is Netgen produces output in JSON, and the OpenLane/openroad scripts use a 3rd party JSON parser in python that throws an exception on names such as \db.o.a[31]  The LVS has already happened, but OpenLane exits with an error... workaround: run with RUN_LVS = 0 until you are done working on the module, then rerun with RUN_LVS = 1 to be sure, and read the logs.
Example OpenLane Project
On request.  It's pretty simple.  This has been run with projects as complex as the J2 SuperH compatible CPU core
VHDL.diff.gz
.

FYI -- @umarcor @antonblanchard

I believe that @antonblanchard has been using VHDL heavily with OpenLane / OpenROAD for taping out https://github.com/antonblanchard/microwatt

This is great! One thing I've struggled with is how to power macros. Right now I modify the generated verilog with a script:
https://github.com/antonblanchard/microwatt/tree/caravel-mpw5-20220323/caravel
But this was developed over a year ago and perhaps the updates to the PDN code in Openlane and OpenROAD render it unnecessary now.


Added a flag to disable logging of execution log from Bazel by default

Why this change
Execution log file from bazel can eat a lot of disk space and is not useful when builds are working.
Only when it is not working, where engineer can ask the end user of this repo to change the BAZEL_EXECUTION_LOG_ENABLED inside xcode to 1 (at the highest level possible, usually project level) so that during bazel build, the execution log will be dumped to the specified path
Tests done
no test since it can be easily verified manually.
Priority
High, as it impacts dev's disk space
Opent question
Should I document this user defined flag inside xcodeproj somewhere?

Should I document this user defined flag inside xcodeproj somewhere?
IMO that's not necessary.


Can't select minimum date if time is below minDate

https://jsfiddle.net/1rd1p3f9/
Visit the link above and set the time to anything below 11:00 AM, and then attempt to set the date to the 16th of September, 2016. (The minimum date). You will notice that you cannot select the date at all.
The expected behavior would be that because it is highlighted, I can select it, and the time would automatically revert to the minimum of 11:00 AM. Instead, I cannot select it at all, and, as the end user, I might have no idea why. This could be very frustrating.
My suggestion is to make it so that if your selected time is before the time of minDate and you attempt to click on the minimum actual day, the time will reset to at least the minDate's time.

Same error here : / any solution?

Almost same problem here. Date range is May 10-12, 2018:
$('input[name^="phase_date_"]').datetimepicker({ 	format: 'L', useCurrent: false, locale: 'sv'minDate: moment("2018-05-10 00:00:00"), maxDate: moment("2018-05-12 23:59:59") });
Problem is on initalize the current view is March and the arrows for changing months are disabled, i.e. cannot "browse" to May in order to select any of the dates. If setting defaultDate to the same as minDate the calendar is initialized correct (showing May) but when setting the option my input is prefilled with that date, which I don't want. The input should be empty until a date is selected.


video player: current play position and downloaded pieces are not aligned

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu)
Version 0.10.0 (0.96.0)
What operating system and version?
Linux 3.16.0 (Debian 8.5)
What did you do?
While downloading and playing Tears of Steel, I clicked on the "time line" to skip to another part of the video.
What did you expect to happen?
I expected new parts of the red indicator for downloaded pieces to appear at and to the right of the indicator for the current play position (white dot).
What actually happened?
New parts of the red indicator for downloaded pieces appeared at another place in the time line, to the left.
Screenshot:

@allefeld this is a tricky problem to solve. the mapping between byte offsets in the file and second offsets in the video is something we'd have to extract from the video file, and that varies between video container formats and codecs.
as far as i can tell, the  and  tags don't give you a way to do that.
--
we might change the red bar to a light grey bar. Youtube uses the red bar for current playback position, not for how much of the video has been loaded. i've seen people using the app get confused by that

I understand. But then how does the app determine which pieces to download next if the user skips to a specific time? There must be some kind of translation between the two going on.
One possibility would be to separate the two bars. There is a time line, with a white dot for the current time (and maybe a red bar, YT style), and there is a "download line", at the lower border of the controls, which visualizes downloaded pieces (maybe in grey).

@allefeld the <video> tag source points to a local HTTP server. that's a separate process, running webtorrent.js, that translates HTTP range requests to bittorrent requests. so Chrome / the <video> tag does know how to go from a second offset to a byte offset, but afaik there's no clean way to query that

It might be possible to solve this with the .buffered property which contains a list of TimeRanges that has been buffered. I'm not sure how precise it is though.

@mathiasvr, yes, or would it be possible to capture in parallel seek commands made to the <video> element and the resulting byte range requests to the webserver? This would provide data points that relate time and byte offsets / torrent pieces, and this pointwise information could be extended by intrapolation.
Also, YT manages to show which parts of a video have been buffered, correctly overlayed on the time line. And since it is implemented in HTML5+JS, too, it should be possible to reproduce this here?
But I think just separating the two lines to avoid confusion would suffice already.

@allefeld I bet YouTube uses the buffered property or the progress event. The byte range of the HTTP range request usually starts with a cue offset close to the seek time and ends with the total file length, so I'm not sure this will be useful. However it might be possible to relate the TimeRanges to the available torrent pieces, but sounds a bit overkill to me.

@mathiasvr sounds good, buffered it is. :)

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

I haven't used Webtorrent for a long time, so I don't know if this issue still applies to the current version. I'll close the issue, feel free to reopen.


Starting gatweay failed ... read: connection refused

Describe the bug
I'm getting connection errors when trying to run matterbridge on my Android arm64 phone (more details below).
Steps To Reproduce
Run matterbridge with the given setup on an Android arm64 phone (more details below).
Expected behavior
I'm getting the following connection errors when trying to run matterbridge on my arm64 phone.
Screenshots/debug logs
time="2020-11-30T07:32:33Z" level=info msg="Enabling debug logging." func=setupLogger file="matterbridge.go:106" prefix=main
time="2020-11-30T07:32:33Z" level=info msg="Running version 1.20.0 1a5353d7" func=main file="matterbridge.go:46" prefix=main
time="2020-11-30T07:32:33Z" level=debug msg="Configuring Discord Incoming Webhook" func=New file="bridge/discord/discord.go:45" prefix=discord
time="2020-11-30T07:32:33Z" level=info msg="Parsing gateway gw" func=Start file="gateway/router.go:66" prefix=router
time="2020-11-30T07:32:33Z" level=info msg="Starting bridge: discord.ccn " func=Start file="gateway/router.go:75" prefix=router
time="2020-11-30T07:32:33Z" level=info msg=Connecting func=Connect file="bridge/discord/discord.go:55" prefix=discord
time="2020-11-30T07:32:33Z" level=info msg="Connecting using webhookurl (for posting) and token" func=Connect file="bridge/discord/discord.go:59" prefix=discord
time="2020-11-30T07:32:33Z" level=info msg="Connection succeeded" func=Connect file="bridge/discord/discord.go:73" prefix=discord
time="2020-11-30T07:32:33Z" level=fatal msg="Starting gateway failed: Bridge discord.ccn failed to start: Get "https://discord.com/api/v6/gateway": dial tcp: lookup discord.com on [::1]:53: read udp [::1]:40941->[::1]:53: read: connection refused" func=main file="matterbridge.go:68" prefix=main

Sometimes, the errors are on a Telegram URL instead of a Discord URL, but it never successfully starts.
Environment (please complete the following information):

OS: Linux 4.14.117-perf+ #1 SMP PREEMPT aarch64 Android 10
Matterbridge version: 1.20.0 1a5353d7

Works fine on Linux 64 bit 1.20.0 1a5353d7
Additional context
matterbridge.toml
[discord.ccn]
Token="blah"
Server="blah"
RemoteNickFormat="{NICK} desde {PROTOCOL} "
WebhookURL="https://discord.com/api/webhooks/blah/blah"

[telegram.prueba]
Token="blah"
RemoteNickFormat="<b>[{PROTOCOL}] <{NICK}> </b>"
MessageFormat="HTMLNick"

[[gateway]]
name="gw"
enable=true

[[gateway.inout]]
account = "discord.ccn"
channel = "prueba"

[[gateway.inout]]
account = "telegram.prueba"
channel = blah

This bug is similar to #1281 except I'm not using Docker.

Your dns server is not working, this is not a matterbridge issue
dial tcp: lookup discord.com on [::1]:53: read udp [::1]:40941->[::1]:53: read: connection refused"

DNS lookup works fine
$ nslookup discord.com
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

Non-authoritative answer:
Name:   discord.com
Address: <IP_ADDRESS>
Name:   discord.com                                     Address: <IP_ADDRESS>
Name:   discord.com
Address: <IP_ADDRESS>                                Name:   discord.com
Address: <IP_ADDRESS>
Name:   discord.com                                     Address: <IP_ADDRESS>
                                                        $ nslookup telegram.org
Server:         <IP_ADDRESS>                                 Address:        <IP_ADDRESS>#53

Non-authoritative answer:
Name:   telegram.org                                    Address: <IP_ADDRESS>
Name:   telegram.org
Address: 2001:67c:4e8:1033:4:100:0:a
Name:   telegram.org
Address: 2001:67c:4e8:1033:5:100:0:a
Name:   telegram.org
Address: 2001:67c:4e8:1033:6:100:0:a
Name:   telegram.org
Address: 2001:67c:4e8:1033:2:100:0:a
Name:   telegram.org
Address: 2001:67c:4e8:1033:1:100:0:a
Name:   telegram.org
Address: 2001:67c:4e8:1033:3:100:0:a

Probably related to https://github.com/golang/go/issues/8877


Refresh value callback

It would be awesome to have a callback, similar to groupcache's OnEvicted which can automatically refresh a value upon expiry.

I like it. I'll implement it soon. Sorry for the delay.

Added in https://github.com/patrickmn/go-cache/commit/3f2c810ea19ac967a5435d943ce437b446a84b4c

This is awesome, much obliged!