examples/protocols/static_ip example cannot communicate with the outside (IDFGH-5523)

Environment
freeRTOS version:V10.2.1
NEWLIB version:3.0.0
portTICK_RATE_MS:10 msec/tick
lwIP version:2-1-3-0
ESP-IDF version:v4.4-dev-1183-g9d34a1cd4-dirty
chip model is 2, chip with 1 CPU cores, WiFi, silicon revision 0, 2MB external flash
package is ESP32D0WDQ6
target is ESP32S2

Problem Description
This example turns off DHCP but doesn't set DNS.
Therefore, it cannot communicate with the NTP server.
Workaround
After stopping DHCP, set the DNS address.
I modiyied this
There may be better code.
static void example_set_static_ip(esp_netif_t *netif)
{
    if (esp_netif_dhcpc_stop(netif) != ESP_OK) {
        ESP_LOGE(TAG, "Failed to stop dhcp client");
        return;
    }
    esp_netif_ip_info_t ip;
    memset(&ip, 0 , sizeof(esp_netif_ip_info_t));
    ip.ip.addr = ipaddr_addr(CONFIG_STATIC_IP_ADDRESS);
    //ip.netmask.addr = ipaddr_addr(CONFIG_STATIC_NETMASK_ADDR);
    ip.netmask.addr = ipaddr_addr(CONFIG_STATIC_NM_ADDRESS);
    ip.gw.addr = ipaddr_addr(CONFIG_STATIC_GW_ADDRESS);
    if (esp_netif_set_ip_info(netif, &ip) != ESP_OK) {
        ESP_LOGE(TAG, "Failed to set ip info");
        return;
    }
    ESP_LOGD(TAG, "Success to set static ip: %s, netmask: %s, gw: %s",
        CONFIG_STATIC_IP_ADDRESS, CONFIG_STATIC_NM_ADDRESS, CONFIG_STATIC_GW_ADDRESS);

    ip_addr_t d;
    d.type = IPADDR_TYPE_V4;
    d.u_addr.ip4.addr = 0x08080808; //<IP_ADDRESS> dns
    dns_setserver(0, &d);
    d.u_addr.ip4.addr = 0x08080404; //<IP_ADDRESS> dns
    dns_setserver(1, &d);
}

Hi @nopnop2002
Thanks for letting us know about this and providing a working setup! The idea behind that example was just to demonstrate static IP configuration. I agree, though, that it might be a bit misleading if we cannot resolve hosts by default. We will add a menuconfig option to setup configurable global DNS server.


Unit test for Postgres Model

Focus on three major functions:
refresh
Validate that refreshing updates the model to have the expected config
Test that when the model is refreshed, the onConfigUpdated event is called and configLastUpdated is updated.
Test behavior when azdata arc postgres server show throws an exception
getConnectionProfile
Test that it saves connection info after the first connection
Test behavior when the connection throws an exception
Test canceling the dialog
getEngineSettings
Mock the sql query and validate that the model shows the expected engine settings
Test that when engine settings are updated, the onEngineSettingsUpdated event is called and engineSettingsLastUpdated is updated.
Test the behavior when the sql query throws an exception

Pull Request Test Coverage Report for Build 640834758

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

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 640625869:
0.2%

Covered Lines:
25385

Relevant Lines:
53436

💛  - Coveralls


unify xpu and cpu backend and use paged attention

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@IlyasMoutawwakil @echarlaix , pls help review, we can also have a meeting to review it if needed. Thx.

Hi @IlyasMoutawwakil , please also merge this PR #1024. Thanks!

Hi @IlyasMoutawwakil . I have replied and fixed your comments, please take the 2nd  round review. Thanks~

Hi @echarlaix @IlyasMoutawwakil , please review the new changes. Thanks

Hi @echarlaix  @IlyasMoutawwakil . Please review the new changes.

Hi @echarlaix. I have fixed all your comments, please take a review. For the change of using generate instead of forward in causal lm tests, we need to pass a cache_class (IPEXPagedCache) in forward just like StaticCache. Otherwise, the past_key_values.update will raise an error because past_key_values is None. The only way to support forward with use_cache=True is to create a cache class in forward, but it's not reasonable because generate already created the cache class.  I would like to hear your opinion. Thanks!!

Hi @echarlaix . We plan to merge this PR this year which means we need the review done before Xmas. Appreciate it if you could prioritize this PR. Thanks!

For the change of using generate instead of forward in causal lm tests, we need to pass a cache_class (IPEXPagedCache) in forward just like StaticCache. Otherwise, the past_key_values.update will raise an error because past_key_values is None.

I'm pretty sure all calls to past_key_values.update in the forward are guarded with an if past_key_values is not None.

because if past_key_values is None and use_cache = True. DynamicCache will be created in modeling. see
https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/modeling_llama.py#L863, as an example. we do not maintain dynamicCache logic in optimum-intel ipex modeling now. ipex modeling only support pagedCache.

Hi @sywangyi . The use_cache is from generation_config, which means it's just a parameter for generation and should not block the model forward without past_key_values. We can only guarantee the inputs have a cache in generation if use_cache=True, but not for just calling forward.
Hi @IlyasMoutawwakil . I have fixed it by your comment, please check if there are any changes required before merging. Thanks!


SunMoonCalc implementation seems to be omitted

Current source does not build since there was a change from Astronomy to SunMoonCalc (which is yet not added to the repo).
Test code
The default sketch is just not buildable.
Weather Station Color version
master, last commit
Hardware
ThingPulse Weather Station Color kit

Not reproducible, SunMoonCalc has been part of https://github.com/ThingPulse/esp8266-weather-station (a dependency fo this project) for 4+ years.


Show average response time per API

Show the average response time per APIas milliseconds.

Average response time per a selected API (related to #999)

User story

As an Apinf owner
I want to see average response time of API(s)
so that I can quickly glance how my API(s) is/are performing

Design
Add link to wireframe here

Definition of done

[ ] When viewing a single API (owned by the user), user can see the average response time for that particular API
[ ] The average response rate reacts to user actions (e.g. selecting a timeframe)
[ ] Optionally, API owner can view average response time for all owned APIs (if such a view / option exists)
[ ] Optionally, Apinf administrator can see average response time for all APIs

Suggesting a new layout/table for giving API information.  There should be option to select/ multiple APIs at a time, and that way, we can see average time for the selected ones in a new column on the table/place on the layout.

Wireframe added for average response tiem


Introduce caching around TemplatePath creation

Problem:
We are repeatedly creating new TemplatePath s over and over in our editor.
Fix:
I have copied the style set out by property-path.ts for caching, but adjusted it to support the more complex nature of TemplatePath s.

Doesn't this run the risk of the cache expanding infinitely?

Doesn't this run the risk of the cache expanding infinitely?

+1 to this.
when the code file is re-parsed, every uid is regenerated.

that means that if you edit the code file a lot, we'll end up with a ton of unused template paths
it also means that the code file parsing is a good point to flush this cache

Doesn't this run the risk of the cache expanding infinitely?

Hmmm good point. We have the same issue with the property path cache too. Seems both should be cleared whenever we trigger a parse of the code. I'll see how dangerous that is...

@balazsbajorics @seanparsons OK I have updated the flow to trigger a cache clear (for both the TemplatePath and PropertyPath) after each parse (as part of the handling of the UPDATE_FROM_WORKER action).


Is it possible to view the app's lib folder like in jadx using GDA?

menu>tools>apk forensics

menu>tools>apk forensics

Didn't work here. It takes ~45 seconds to open, and when it do it starts freezing, then it automatically closes and crashes the app.

that must be a big apk, GDA do not unzip everything of apk, starting apk forensics will unzip all the files, that may be the reason, can you send me your file.


chromium: 84.0.4147.89 -> 84.0.4147.105

https://chromereleases.googleblog.com/2020/07/stable-channel-update-for-desktop_27.html
This update includes 8 security fixes.
CVEs:
CVE-2020-6537 CVE-2020-6538 CVE-2020-6532 CVE-2020-6539 CVE-2020-6540
CVE-2020-6541

Testing status

platform
attribute
status
tester

x86_64
chromium

@danielfullmer

x86_64
nixosTests.chromium

@danielfullmer

x86_64
google-chrome

aarch64
chromium

@thefloweringash

Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Built chromium and its test ok on aarch64, lgtm.

backported to 20.03 in https://github.com/NixOS/nixpkgs/commit/b33ff917c608511935f7fdd23c09b3916892f458

Built and tested on x86_64.  Guess I'm a little late this time :)


VS Code is removed from anchor layout

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

VS Code Version: 1.70.2
OS Version: Windows 11 Pro 22H2 (22621.457)

Steps to Reproduce:

I drag the VS Code program window into the layout anchor area and select several programs.
Then I minimize all programs by clicking the button in the lower right corner of the taskbar.
After that, I open a running program bundle and after the program VS Code will be removed from the binding layout.

P.S. With other programs, the anchor layout continues to work after minimizing and maximizing windows.
https://user-images.githubusercontent.com/94137961/186507906-acb12a53-b6f9-431f-b108-2c3af5b2013f.MOV

Some ideas:

does it work as you expect when trying with Chrome or Edge browser?
does it work when you configure window.titleBarStyle: native in setting?

Thanks for the answer.
I tested the anchor layout in VS Code with the EDGE browser, with other programs (explorer, telegram, figma), and also changed the window.titleBarStyle: native/custom setting, but the problem remained.

Edge doesn't have this issue when paired with other apps. All Electron apps has this issue (tried with Electron Fiddle)

@yume-chan great, thanks for testing, do you mind opening an issue to Electron then?

I believe it's same as https://github.com/electron/electron/issues/31451


Issue 25: Reasoning fails using HermiT

Fixes #25
There were a number of subproperty relations that differ from how they were modeled in RO. See the commit history for my changes.
The main reason for the error were the object property chains for develops from:

I have removed these.

Thanks, Bill, for fixing this issue!


visual studio 2019 and Angular

hi I need lectures on how to use visual studio 2019 and angular on my windows

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.


Fix issue with missing owncloud icon for waybar tray

On laptop, there is no icon found for owncloud to be displayed in waybar:

For some reason, this is not an issue on desktop. Also, when starting waybar from the terminal, the issue clearly relates to a missing icon file:

closed with f5290d0


build: set PWA flag in dev to false

a typo from https://github.com/excalidraw/excalidraw/pull/8784

Ahh my my my bad! Thanks for fixing it @dwelle


hide_zero_series should affect interactive legend as well

Currently when I set hide_zero_series on standard time series to true - I do not get empty series on the chart, but when in interactive mode I look at the legend - it displays zero series still.
Zero series should be removed from this legend as well

Agreed.

Hmm - looks like it already tries to do that, with the exact same conditional in the legend as is in the chart rendering: https://github.com/urbanairship/tessera/blob/master/src/ts/charts/flot.ts#L208 and in my testing it's actually working fine.

Ah - were you referring to the rollover data shown when hovering the mouse over the graph?

yes, I'm referring to rollover data, shown when in 'interactive mode'

Got it - I misunderstood what you meant by "legend".
It's actually by design that all the series are shown in the mouseover, so that you can see all the series that were returned if you want to, while saving space on the static legend. I can see a strong case for going the other way with it too, though.

Done


Update Alfred workflow for Alfred v5

No material changes required, but now can added documentation as part of the workflow.


Add an on:off: mapper for boolean reactive values

This is a little syntactic sugar that lets you map a boolean signal into another type. For example...
self.reactive.backgroundColor <~ booleanSignal.mapIf(on: .black, on: .clear)

Resolves #13


Updated syntax to Python 3

Hey,
I am currently trying to create a Dockerfile of the new TranscriptClean version for BioContainers.
I noticed a update to "get_SJs_from_gtf.py" for python 3, could this update also be applied to "get_corrected_SJs_from_log.py" and "clean_splice_jns.py"?
I can then finalize the container and utilize the MultiThreading in the pipeline. Thank you!

Sure, I will take a look! Thanks for your work on this!

Ok both of those scripts turned out to be old versions of things that aren't relevant to the current TranscriptClean, so I went ahead and removed them.


[Windows][Extensions]Fix render process crash when sending data

from native to JS using the shared memory handle.
This is the second fix for this bug. The previous fix uncovered this
one.
The crash was because the memory handle we send to the extension process
was null. The fact it was null is because on Windows it was failing to
share the handle of the shared memory between the render process and
the extension process. GiveReadOnlyToProcess was failing inside
windows specific code, more exactly in DuplicateHandle, a win API
which was returning an error code of 6. 6 means the handle we're passing
is invalid. Turns out that while we store the renderer process handle
earlier (so we can share the data between the two), the open() call
on the process is too early. It seems like Windows can't work with this
handle unless the process is open right before. Moving the open() call
to the last moment (by storing the PID instead of the handle) doesn't
fully work (we don't fail with error 6 but with 5 which means there
is not enough privileges to open/share with that process). We therefore
open it with extra privileges which means we can share data between
the two. I also added a LOG and an early return when sharing the handle
doesn't work, after all it means it's functionally broken.
BUG=XWALK-4295

@jondong @huningxin please have a look and test that it works fine for you (also that's it's functionally working).

Seems like opening the process after fails on Linux. Looks like I need to debug that on an actual Linux machine :(.

I verified it fixes the crash issue on Windows.

@darktears I've run the bulkDataExtension test on my Linux and it failed with this patch. It seems the process is not correctly opened with:
base::Process::OpenWithExtraPrivileges(renderer_process_pid_);

@jondong this test BulkDataExtension is completely buggy.
I figured out what was wrong on Linux, in fact the test always passed in the past because the old code was not testing the handle before passing it for sharing. In the test suite it turns out that it runs in single-process which in that case doesn't work properly. A quick debug without the patch on renderer_process_handle_ run while running the test suite shows that it is 0 meaning the call to GiveReadOnlyToProcess fail miserably and as we don't test the return value, it fails to share the memory and thus it supposed to not work, yet the test shows "Pass". When running separately from the test suite (like ningxin mentionned) renderer_process_handle_ gets a correct value and thus the code work (so does with my patch in fact). In that scenario where it's working (both with and without my patch) I got curious and commented the call to Send() where we pass the handle. In both cases the test shows PASS which it shouldn't, after all I'm not passing the message to JS!!! Clearly BulkDataExtension needs love.
What I haven't figured out is why Linux gets confused with the ExtensionServers in single-process mode and the object instance where OnChannelConnected is called is not the same instance where PostMessageToJSCallback is called, something that is not happening on Windows and it also not happening in multi-process mode where OnChannelConnected and PostMessagetoJSCallback are called on the same instance.

In fact the difference between when running inside the test and when running like ningxin mentionned is that in the former extensions are registered as in process in the UI thread whereas on the other case those are external extensions.

@huningxin @jondong PTAL

LGTM, thanks for your effort @darktears !

LGTM. Thanks for the fixing!


GDM (Wayland) falls back to X if GNOME3 is not enabled

I enabled the gnome3 logs and still couldn't get good logs. But from the flickering and ps aux | grep gnome-x output, I can confirm that GDM was not launching with Wayland.
But I knew it worked before, so I enabled GNOME3 as I normally do (services.desktopManager.gnome3.enable = true) and then GDM started working as expected, showing and launching Wayland sessions as well.
Presumably GDM should work with Wayland even if Gnome 3 is not being used.

So gdm doesn't do its own graphics, instead it starts a special gnome-shell session.
In particular we need at the very least expose the user services provided by gnome-session and gnome-shell:

gnome-session-binary[792]: WARNING: Falling back to non-systemdstartup procedure due to error: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit<EMAIL_ADDRESS>not found.

I did some poking around, adding this seems to be the minimal things gdm needs (though it might be good to add gnome-settings-daemon too):
    systemd.packages = with pkgs.gnome3; [ gnome-session gnome-shell];
    environment.systemPackages = with pkgs.gnome3; [ adwaita-icon-theme ];

Unfortunately just adding that to the gdm module doesn't work when enabling the gnome shell desktop since  gnome-shell is added to systemd.packages elsewhere (through being a xdg-portal) resulting in a broken system build. Ideally systemd.packages would be a set (couldn't find a setOf though, not sure if this already exists?).

For what it's worth here's how I get gdm to work without enabling all of gnome: https://github.com/lovesegfault/nix-config/blob/master/system/modules/gdm.nix
(Courtesy or @andir who showed me this)

So with the bare minimum of services/icons we still get gnome session entries in GDM, which fails to launch. That's not really OK, so to solve this we have to options:

Use the bare minimum, and get GDM to not show the gnome session entries as @Elyhaka mentions here
Provide enough stuff for the gnome entries in GDM to launch.

Fixing nr. 1 seems simplest to me, and probably what users will expect. We just need to move the gnome.desktop etc. files to its own output. Then we'll have to sort out systemd.packages not handling duplicates (could of course build a common option in gnome3.nix, but ugh) :/
cc @jtojnar @worldofpeace, does that seem reasonable?

I believe we fixed this.


Modified the reflect function to allow reflections even if the angle between the vector and surface normal is acute

The formula hold only if the angle between the surface normal and the ray is obtuse. An additional check is provided to check if the angle is obtuse and if not the ray is reversed to allow reflection.


proposal: x/tools: tool to audit diffs in dependencies

One of the key points from https://github.com/golang/go/issues/30240 is:

Saved module caches do not interoperate well with version-control and code-review tools.

This point is further developed in https://github.com/golang/go/issues/30240#issuecomment-516735768.
Raising this issue as a placeholder for the discussion about this specific point, because this point has a life well beyond and decisions on vendor and is relevant (by and large) to all users of Go.
Please add to/edit this description as required - this is just a placeholder

To be honest, I think go mod vendor is a perfectly acceptable dependency review tool, and people already have dependency-review workflows oriented around it. (I would prefer that we keep it that way.)
CC @rasky @jayconrod @ianthehat

To be honest, I think go mod vendor is a perfectly acceptable dependency review tool, and people already have dependency-review workflows oriented around it

Quite agree for those people who use go mod vendor. But what about those people who don't?

Well, that would leave me with two questions:

What are the use-cases (if any) for which go mod vendor would be a poor enough fit to warrant creating (and maintaining) a separate tool?
Taking into account the various code-review tools already in use (for example, GitHub code reviews; Gerrit), what are the feasible alternatives to go mod vendor?

Well, that would leave me with two questions:

Those are indeed pertinent questions to which I don't have answers 😄, which is in large part the reason for me raising this issue. The UI/UX around this is not clear.
I see go mod vendor at one end of the spectrum of solutions here: dependencies committed along with code. At the other end of the spectrum (possibly) is some tool where dependencies get reviewed, "signed off" and served by a controlled proxy.

It's entirely possible that the tool I have in mind could use go mod vendor under the cover without committing vendor/ - I haven't really given it much thought.

@myitcv What is the current status of this idea?  Thanks.

@ianlancetaylor apologies for the delay. There is really no further update to what's written above. There hasn't been any further discussion on this topic on golang-tools calls either. Might be worth closing for now therefore?


Input type without connect generated

Describe the bug
For the datamodel
type User {
  id: ID! @unique
  optionalDetailsWithoutConnection: OptionalDetailsWithoutConnection
}

type OptionalDetailsWithoutConnection{
  text: String!
}

To Reproduce
Steps to reproduce the behavior:

Deploy the datamodel
An input type is generated without connect

input OptionalDetailsWithoutConnectionUpdateOneInput {
  create: OptionalDetailsWithoutConnectionCreateInput
  disconnect: Boolean
  delete: Boolean
  update: OptionalDetailsWithoutConnectionUpdateDataInput
  upsert: OptionalDetailsWithoutConnectionUpsertNestedInput
}

Expected behavior
Is this expected?
Versions (please complete the following information):

prisma CLI: prisma/1.17.0-beta.24 (darwin-x64) node-v10.4.0
Prisma Server: 1.17.0-beta

The bottom type does not have a unique property that can be used to connect it. That is why no connect is being generated. If a unique property is added to the type the connect should be created.


IT translations and Magnum Wallet

Fresh fork of master branch taken today.
Checklist.

[x] Have you assigned/claimed the issues you've resolved in this pull request?
[ ] Have the issues been moved to the QA column of the NavCoin Websites project?
[ ] Have you checked there are no merge conflicts?
[x] Have you tested the changes work across both mobile and desktop?

@proletesseract Please check for a merge. Cheers.

@roast-nav post your payment address for the bounty-medium.

as requested by "proletesseract" here's my payment address for my contribution to italian website translation - NZB1D88gReSbVWp54JZEqCiQS78unCQTcz

Cheers @proletesseract NNcAFdrDtTdoTFWFQNL341guP3RoLXQ6G6

great, i will make the payment today once my cold wallet syncs

Sorry i spaced on the payment, will do it today!

im having to re-sync my cold storage wallet sorry. I will get these payments out ASAP

Paid 350 NAV x 2:
https://www.navexplorer.com/tx/50345d6a8482850e001111e7c09da74c78c1444c2090b35cb6a7aa1386b5c39d
https://www.navexplorer.com/tx/cc31da700942f1cee1e65351527e8b77416cc7fe77040f1905dc3cea103cdc44


Add to readme on how to install the package

 sudo python setup.py install -- that wasn't obvious for a PHP/ JS guy like me ;)

Closed in favor of #3


Create a simple ERC721 contract

Description

As part of the examples, we aim to include an ERC721 contract to explore its structure and gain a fundamental understanding of token standards, including how they operate and interact within the blockchain ecosystem.

Steps

Add a new ERC721 contract in the corresponding directory.

Is it okay if I take this?

May I work on this issue @danielcdz?
My approach: I would use the OpenZeppelin/cairo-contracts to create a new EC 721 contract, and write extensive tests for the contract, then ensure that every test is passing before making the PR
ETA: 2 days

I’m interested in this one.

Could I grab this task? I'm a software developer with over four years experience.
I'll ERC721 contract with appropriate test to go along with it
ETA: 10 hours

Mind if I take this issue?
ETA: 5 hours

Hi team! I'm part of the Dojo Coding I would like to participate in this issue  to practice my Cairo Skills, would  love to start my journey on Open Source with you guys

Hi, I am a Cairo developer with great experience contributing to lots of Cairo code base. I would love to work on creating the erc-721(NFT) contract.

I'd be happy to do this.

Can I try solving this issue?
To solve this issue,  I will create a new ERC721 contract in the specified directory. Next i will implement the basic ERC721 standard, including functionalities for minting, transferring, and querying token ownership.
Also i will  ensure the contract follows the ERC721 specification, adhering to functions like balanceOf, ownerOf, and transferFrom.
Lastly is to include events like Transfer and Approval for standard compliance.

Let me try this one!

I’m interested in this one.

Can I take this from here?

can i please address this task

Hi, I am proficient Blockchain developer  expert in Cairo , Rust and Solidity  and also in web development.
I am expert in ERC721  contract  development   .   please /assign  this issue .
Thank You

Let me handle this issue!

I'd be happy to do this.

About me:
I am a software engineer with strong technical skills and expertise in writing complex scalable applications. I have written and tested some advanced Cairo and Solidity smart contracts like building and testing the Synthetix staking contract using Cairo: https://github.com/casweeney/cairo-synthentix-staking
I have contributed to some groundbreaking protocols like Hyperbridge: https://github.com/polytope-labs/hyperbridge/graphs/contributors and my GitHub account has a lot of proof of work.
Leveraging on my skills and experience, I am confident in my ability to tackle new challenges and also solve complex technical issues.
Tackling this issue:

I will create an ERC721 smart contract that implements the Openzeppelin ERC721 component.
In the ER721 implementation I will use the MixinImlp from Openzeppelin.

Could I try solving this?  Am a web 2 frontend developer, a solidity smart contract developer/auditor and a cairo smart contract developer. Am a graduate of Starknet Cairo Bootcamp. I have successfully done tasks assigned to me in OnlyDust. If assigned this i would complete it within 1 day.

Hi, I am proficient Blockchain developer  expert in Cairo , Rust and Solidity  and also in web development.
please /assign  this issue .
Thank You

Thank you for assigning me the issue. I am working on it right now.

my ETA for the issue is 2 Days

I get stuck with the dependencies part and also in the deployment of the Contract, also I had a late thing from work, I could not finish. Next issue will be re-prepared with this steps

May I work on this issue @danielcdz?
I am a cairo dev with extensive experience in building on cairo and also a regular contributor at @keep-starknet-strange and the starknet ecosystem in general. You can see my PoW on my github and onlydust profile.
my approach: I will utilize OpenZeppelin/cairo-contracts repo to create the ERC 721 contract, and make sure it is running as expected and also maintain code cleanliness using scarb fmt command.
eta: 1 day

About me:
I am a software engineer with strong technical skills and expertise in writing complex scalable applications. I have written and tested some advanced Cairo and Solidity smart contracts like building and testing the Synthetix staking contract using Cairo: https://github.com/casweeney/cairo-synthentix-staking
I have contributed to some groundbreaking protocols like Hyperbridge: https://github.com/polytope-labs/hyperbridge/graphs/contributors and my GitHub account has a lot of proof of work.
Leveraging on my skills and experience, I am confident in my ability to tackle new challenges and also solve complex technical issues.
Tackling this issue:

I will create an ERC721 smart contract that implements the Openzeppelin ERC721 component.
In the ER721 implementation I will use the MixinImlp from Openzeppelin.

@danielcdz can I work on this, I will deliver this in 5 hours. Checkout my repo: https://github.com/casweeney/awesome-starknet-cairo, where I have implemented a lot of contracts.

Hey, I have past experiences using Cairo NFT contracts such as https://github.com/carbonable-labs/cairo-erc-7498
I will implement either an ERC721 contract from scratch or using OpenZeppelin and provide accompanying tests to showcase the interface.

Background: https://nodeguardians.io/campaigns/entering-cairo
I've experiennce creating ERC20 and ERC721 and happy to do that again.

Hi! @danielcdz
I'm Joseph Poveda, I'm a member of the Dojo Coding community.
A bit about my background is that I'm just starting out with Only Dust and I want to contribute as much as I can to the project. My knowledge of different programming languages will allow me to better solve problems.
To solve this issue I will:

Understand the Requirements: Review the ERC721 token standard and its structure to ensure compliance.
Create the Contract: Implement the ERC721 contract in the designated directory, focusing on clarity and simplicity to facilitate understanding for users.
Include Documentation: Provide comments and documentation within the contract to explain key functionalities.
Testing: Write tests to validate the behavior of the contract.
Review and Submit: Submit the implementation via a pull request for review.

Is this issue still available?
kindly assign me
am a frontend developer with some level of experience in writing and testing smart contracts

@danielcdz I a developer and I worked on implementing ERC20 token before. kindly assign me this task of implementing ERC721(NFT)

Can I attempt this issue?


SDL2 build on windows/vs2019 (32 bit) doesn't seem to "include" SDL at all.

Branch: master
Commit: 74d97eb44eb31ad56483c4e4d98c8afe24211bd6
CMake: 3.16.4 (win32 bit configuration)
Compiler: Visual studio Enterprise 2019 (16.4.2)
Note:
This issue is similar to #26 but that issue seems to be "fixed", and only relate to linking to sdl main. In this case cmake "finds" sdl, but when building the compiler neither includes nor links to it or its dependencies.
Steps to repeat

Manually build SDL2 (2.0.8) and install to custom directory with the following configurations defined:

LIBC: ON
SDL_STATIC: ON
SDL_SHARED: OFF

Use cmake (the gui in this case) to configure and generate 32blit-beta (root) and point
SDL2_DIR to [sdl2-install]\cmake

Build visual studio project

Compile errors!

File.cpp(11,10): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
Input.cpp(1,10): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
Main.cpp(9,10): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
Renderer.cpp(3,10): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
Audio.cpp(4,10): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
System.cpp(4,10): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory

Workaround:
Manually add include directory and library files.

I hacked together a custom include dir in the root CMakeLists.txt like this:

set(CUSTOM_INCLUDE_DIR "" CACHE STRING "custom include dirs")
include_directories(${CUSTOM_INCLUDE_DIR})

and pointed it to the include folder: [sdl2-install]\include\SDL2

...and then manually added the libraries in visual studio for each executable (shmup, platformer etc).

In my case (for a debug build), the missing libraries were:

SDL2d.lib
SDL2maind.lib
Winmm.lib
Version.lib
Imm32.lib

Looks like there's actually two issues here:

Only checking for the shared target (fix: https://github.com/pimoroni/32blit-beta/pull/234)
SDL doesn't set the expected include directory ([prefix]/include/SDL2) until 2.0.9

This issue may be long obsolete now? There have been more than a couple of changes in the intervening months.
@madeso if you have time, might be worth trying again! Closing for now, but feel free to re-open.


css: Present status emoji with modern layout techniques.

This PR modernizes the display of status emoji in actual status situations (sidebars, pills, PM lists), and separates them from the display of emoji rendered inline with messages.
The goal here is to get away from "magical" CSS that bumps things up and down by a few pixels, or uses positioning to create a new block-formatting context, and instead leverage modern layout mechanisms like flexbox to appropriately and more robustly vertically align status emoji next to their accompanying username.
The work that remains is to make the display of inline emoji less brittle. While the old "magical" CSS has been moved out of reach of status-emoji structures, one solid way forward with inline emoji is to coordinate the height (and width) of the emoji with the line-height on messages. That will make it possible to have user-selectable text-sizing that gracefully accommodates emoji that scale up as well.
Screenshots and screen captures:
Here is a screenshot showing the original interface:

And here is a screenshot showing the revision represented by this PR:

Some subtle changes worth noting:

King Lear's status emoji in the lefthand sidebar shifts closer to his username. That is because the past inline-block layout implicitly relied on the space character between the username and the status-emoji <span> element. CSS could of course be used to bump this back out, if necessary.
The status emoji on the pill in the composer To: bar as well as on King Lear's user popover are now properly vertically centered.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Thanks for working on this @karlstolley! It definitely looks like progress.

@karlstolley Since you are closing this PR, can you comment on what the plan is here?

Hi @alya! Closing this was unintentional--I was cleaning up some old remote branches and forgot that this one was still attached to an open PR.
I can certainly return to work on this as part of the redesign effort.

Deploying on chat.zulip.org.

Merged, thanks for all the work on this @karlstolley!


Removing variants causes errors if discovery.yml isnt pinned and variant was installed

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2993
Originally created by @pnadolny13 on 2021-10-19 13:42:31

@tayloramurphy @aaronsteers It looks like deleting the old default tap-gitlab meltano variant is seemingly causing a bug.  I think whats happening is that if someone has it installed already Meltano isnt able to find it in the new discovery.yml so it errors.
The discovery.yml deployment looks to be decoupled from a release so even with a pinned meltano version this error might still come up. A slack user suggested pinning the discovery.yml in your project which is what we do in the docker deployment.
What do we think about pinning by default to avoid confusion? The other alternative is to just document it more clearly so users aren't confused.
https://gitlab.com/meltano/meltano/-/merge_requests/2380
https://meltano.slack.com/archives/C01TCRBBJD7/p1634646245009500

View 9 previous comments from the original issue on GitLab


I got a problem is setRouteLeaveHook no working on the product environment but it was work i don't not what happen?

Version
3.0.0
Steps to reproduce
on my project
Expected Behavior
I just want to it's working on product environment please!
Actual Behavior
I got a problem is setRouteLeaveHook no working on the product environment but it was work i don't not what happen?

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!


  I don't know if there's a nice way to detect the error other than looking for a magic string.
Steps to reproduce the behavior
Try cloning a repo on a dumb http server; I can provide an example if needed!

Ideally we want to avoid relying on retries, as it means commands tends to be very slow and also complicates the UX. We currently pipe some of the output from git to the terminal to give users some more information about progress. Maybe there is a way we can check if the git remote is smart or dumb, and then choose the right approach on the first try. I haven't tried this out, but seems like there might be something we can do: https://stackoverflow.com/questions/9270488/is-it-possible-to-detect-whether-a-http-git-remote-is-smart-or-dumb/10661345


About the electromagnetic

Using the magnets to control the chess is a good idea, but how do you ensure that electromagnetic interactions do not affect each other because the distance between the pieces is very close. And how to prevent wrong move?
team 15

We have tried several different magnets to find a balance between magnetic force and size, also ensuring a sufficiently large board so they do not interfere when moving a piece. There is software being written to check valid moves! Cheers


Update action to node20

Description:
Node 16 has reached end-of-life on 11 Sep 202.
This PR updates the default runtime to node20, rather then node16.
This is supported on all Actions Runners v2.308.0 or later.

@takost Thanks for the PR. This project is old enough to depend on  node-fetch, which was superseded by a native fetch API in Node 18. This has caused issues with at least another Action upgrade.
Do you mind creating a repo showing a successful run of the Action using your branch and then linking it here? I'll see what's up with CI in the meantime.

npm run all should fix it, there are some differences in dist/ I think.

@febuiles I have created a repo to test action: . My build passes. I am not sure if it is enough to test the action properly. Please help me to test this change.
I am aware of this fetch API change between node versions, but we are going to deprecate Node 16 on our runners in some (near) future. So all node16  actions will be forced to run on node20. We need to update all first party Github actions to node20, to be able to continue our work, as officially Node16 is out of support since September.

@takost dependencies were not detected during your run due to the repo being a fork (we don't track those), but everything else looks good so I'm merging!
Do you have a deadline for the Node upgrade? Our team handles a much more active Action that's still running v16 (cc @jovel) and would also need attention.


Cargo bench --bench $benchname doesn't work on Windows

It doesn't run the benchmark, it just returns.
My benchmark is in a file with other tests, not sure if that matters.
My generated binary can be run with --bench $benchname, but not with the cargo bench command.

Do you have an example I could test this out on? A simple example locally works just fine.

I am working on https://github.com/ujh/iomrascalai
I tried to do cargo bench --bench no_eyes_13x13 and it just quit without doing anything
running iomrascalai-3a75076b1fcf11b1.exe --bench no_eyes_13x13 works perfectly fine

I just updated Cargo, now it says no bench target named no_eyes_13x13``

Ah I see, cargo bench --bench foo will run the Cargo benchmark named foo, not the actual benchmark test named foo. To do that you want to pass the argument foo to the binary so you would do cargo bench foo.

Ah, I see. It wasn't clear from cargo bench --help text.

Same happened to me - maybe we should do a PR for that help text in cargo?


Bug Report with this screenshot

The error I got told me to submit a bug report with this screenshot. The notification area was suddenly not showing all the icons it was supposed to, so I tried to disable the notification area with hopes that it would show correctly after re-enabling it.  It prompted me to restart Cairo Desktop.  Upon restart it threw this error.  Now, I cannot start Cairo using any method.  Even after several Uninstalls/Reinstalls it throws the same error.

Full log text is:
[11-Jan-22 10:37:48] Error: [CairoDesktop.CairoApplication] Would you like to restart Cairo?
Please submit a bug report with a screenshot of this error. Thanks!
Message: Object reference not set to an instance of an object.
Target Site: Void .ctor(ManagedShell.AppBar.ExplorerHelper)
Version: <IP_ADDRESS>607
at ManagedShell.AppBar.AppBarManager..ctor(ExplorerHelper explorerHelper)
at ManagedShell.ShellManager..ctor(ShellConfig config)
at CairoDesktop.Infrastructure.Services.ShellManagerService.ConfigureShellManager()
at CairoDesktop.Infrastructure.Services.ShellManagerService..ctor()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
at Microsoft.Extensions.Hosting.Internal.Host.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Start(IHost host)
at CairoDesktop.CairoApplication.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

OP updated with new details.


Revert "feat(java): use covariant types for collection elements"

Reverts aws/jsii#1653
Reverting this change temporarily to unblock the pipeline

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 547885f6d39b323eece8501919c2f82043b17b07
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Invalid SchemaException for UUID while using AvroParquetWriter

Hi,
I am getting org.apache.parquet.schema.InvalidSchemaException: Cannot write a schema with an empty group: optional group id {} while I include a UUID field on my POJO object. Without UUID everything worked fine. I have seen Parquet suports UUID as part of [#PR-71] on 2.4 release.
But I am getting InvalidSchemaException on UUID. Is there anything that I am missing or its a known issue?
My setup details:
gradle dependency :
dependencies
{ compile group: 'org.springframework.boot', name: 'spring-boot-starter' compile group: 'org.projectlombok', name: 'lombok', version: '1.16.6' compile group: 'com.amazonaws', name: 'aws-java-sdk-bundle', version: '1.11.271' compile group: 'org.apache.parquet', name: 'parquet-avro', version: '1.10.1' compile group: 'org.apache.hadoop', name: 'hadoop-common', version: '3.1.1' compile group: 'org.apache.hadoop', name: 'hadoop-aws', version: '3.1.1' compile group: 'org.apache.hadoop', name: 'hadoop-client', version: '3.1.1' compile group: 'joda-time', name: 'joda-time' compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.6.5' compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-joda', version: '2.6.5' }
Model used:
@Data
public class Employee
{ private UUID id; private String name; private int age; private Address address; }
@Data
public class Address
{ private String streetName; private String city; private Zip zip; }
@Data
public class Zip
{ private int zip; private int ext; }

My Serializer Code:
public void serialize(List inputDataToSerialize, CompressionCodecName compressionCodecName) throws IOException {
Path path = new Path("s3a://parquetpoc/data_"+compressionCodecName+".parquet");
Class clazz = inputDataToSerialize.get(0).getClass();
try (ParquetWriter writer = AvroParquetWriter.builder(path)
.withSchema(ReflectData.AllowNull.get().getSchema(clazz)) // generate nullable fields
.withDataModel(ReflectData.get())
.withConf(parquetConfiguration)
.withCompressionCodec(compressionCodecName)
.withWriteMode(OVERWRITE)
.withWriterVersion(ParquetProperties.WriterVersion.PARQUET_2_0)
.build()) {
for (D input : inputDataToSerialize)
{ writer.write(input); }
}
}
private List getInputDataToSerialize(){
Address address = new Address();
address.setStreetName("Murry Ridge Dr");
address.setCity("Murrysville");
Zip zip = new Zip();
zip.setZip(15668);
zip.setExt(1234);
address.setZip(zip);
List employees = new ArrayList<>();
IntStream.range(0, 100000).forEach(i->
{ Employee employee = new Employee(); // employee.setId(UUID.randomUUID()); employee.setAge(20); employee.setName("Test"+i); employee.setAddress(address); employees.add(employee); }
);
return employees;
}
**Where generic Type D is Employee
Reporter: Felix Kizhakkel Jose / @FelixKJose
Note: This issue was originally created as PARQUET-1679. Please see the migration documentation for further details.

Qinghui Xu / @qinghui-xu:
Do you have a stacktrace or something?

Felix Kizhakkel Jose / @FelixKJose:
Could someone please help me on this? I am totally blocked with my analysis of data format comparison because UUID is a mandatory field in all my data models

Felix Kizhakkel Jose / @FelixKJose:
org.apache.parquet.schema.InvalidSchemaException: Cannot write a schema with an empty group: required group id {org.apache.parquet.schema.InvalidSchemaException: Cannot write a schema with an empty group: required group id {} at org.apache.parquet.schema.TypeUtil$1.visit(TypeUtil.java:27) at org.apache.parquet.schema.GroupType.accept(GroupType.java:226) at org.apache.parquet.schema.TypeUtil$1.visit(TypeUtil.java:31) at org.apache.parquet.schema.TypeUtil$1.visit(TypeUtil.java:37) at org.apache.parquet.schema.MessageType.accept(MessageType.java:55) at org.apache.parquet.schema.TypeUtil.checkValidWriteSchema(TypeUtil.java:23) at org.apache.parquet.hadoop.ParquetFileWriter.(ParquetFileWriter.java:233) at org.apache.parquet.hadoop.ParquetWriter.(ParquetWriter.java:280) at org.apache.parquet.hadoop.ParquetWriter$Builder.build(ParquetWriter.java:535) at com.philips.felix.parquet.ParquetDataSerializer.serialize(ParquetDataSerializer.java:64) at com.philips.felix.parquet.Application.run(Application.java:62) at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:800) at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:784) at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:771) at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) at com.philips.felix.parquet.Application.main(Application.java:37)

Qinghui Xu / @qinghui-xu:
It seems that your schema builder (ReflectData) takes UUID as an ordinary class, and tries to use the its fields as part of the schema. Maybe you should use a byte array for the uuid field.

Qinghui Xu / @qinghui-xu:
According to the specification (https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#uuid), uuid is a logical type which is just some binaries behind the scene. You could just use a byte[] instead of UUID for your id field.

Felix Kizhakkel Jose / @FelixKJose:
Hi [~q.xu],
Thank you so much. Do you know whether there is any Converter [Parquet Converter] instead of AvroConverter? I couldn't find one. Could you please provide some insights?

Felix Kizhakkel Jose / @FelixKJose:
When you mention "You could just use a byte[] instead of UUID for your id field.", do you mean I have to change the type of the id field in model to byte[] instead of UUID for example:
@Data
public class Employee
{ private byte[] id; private String name; private int age; private Address address; }
instead of :
@Data
public class Employee
{ private UUID id; private String name; private int age; private Address address; }
If yes, then updating model is not a viable solution for me, since this model's been used by other consumers as well

Felix Kizhakkel Jose / @FelixKJose:
Hi [~q.xu],
Thank you for the quick response. Could you please give me a sample or could you give me snippet on what you mentioned?
PS: The model I have is already defined and used by other consumers, so I cannot modify the model

Felix Kizhakkel Jose / @FelixKJose:
[~q.xu] what do you think?

Qinghui Xu / @qinghui-xu:
Sorry for the delay.
Yes, you got it right about my previous comment.
If in your case the model must stay unchanged, I see two ways to address it:

Have a sibling class beside your Employee:
public class SerializableEmployee {
  private byte[] id; private String name; private int age; private Address address;
}

Use this class for parquet read/write, and then convert it to/from your Employee
Fix your converter, it seems that you are using Avro converter to convert your java class to parquet schema and that it treats an UUID field as a struct. While I'm not expert in Avro, I would expect there might be a way to customize this behavior and to take the UUID as some fixed length byte array.


Upload SDLC Code

This task is dependent on https://github.com/finos/alloy/issues/234 being completed.

Done!


Created account_name in createKey request and in usage logs

Updated the create api request with an additional field 'account_name' in order to create a link between a client/account and the corresponding generated API key. The field is optional and will simply insert a string of "Not Provided" in the database if not provided.

This sounds like a great feature!
Unfortunately this implementation would break on existing sqlite files.
Could you:

add a conditional creation of the column if it is not there? (... ADD COLUMN IF NOT EXISTS ...)
make the default value be empty (NULL) and not an arbitrary string?

Thanks a lot for the PR, it's nice seeing this weekend project get used!


How to motify the code to support Input image hegiht and width not be same?

When I train OCR net, the Input image shape (height, != width) not be same, how to motify the code,Thanks for your reply!!

@wanlipeng Hi, I've made it so this is possible in 0.0.7 https://github.com/lucidrains/transformer-in-transformer/releases/tag/0.0.7 All you have to make sure is that image_size is equal to max(height, width), and that your height and width are both divisible by the patch_size
ex.
import torch
from transformer_in_transformer import TNT

tnt = TNT(
    image_size = 256,       # size of image
    patch_dim = 512,        # dimension of patch token
    pixel_dim = 24,         # dimension of pixel token
    patch_size = 16,        # patch size
    pixel_size = 2,         # pixel size
    depth = 6,              # depth
    num_classes = 1000,     # output number of classes
    attn_dropout = 0.1,     # attention dropout
    ff_dropout = 0.1        # feedforward dropout
)

img = torch.randn(2, 3, 128, 256)
logits = tnt(img) # (2, 1000)

Nice, Thank you very very much!!


feat: Added missing keys for container definition

what
Added missing keys for container definition:

hostname
disableNetworking
dockerSecurityOptions
interactive
pseudoTerminal

why
These changes should simplify work with this module. People no longer need to use container_definition variable to override options.
references
Closes #86

/rebuild-readme

/terraform fmt

/terraform-fmt

/test all

@nitrocode can you merge this pr?

/test all


lib/gli/version.rb VERSION context

Hi,
Any code that loads your gemspec already has a VERSION in its context because in that context const_defined? :VERSION will return true if either GLI::VERSION is already defined, or if there is already a VERSION constant defined at the top level.
For example:
$ ruby -e 'VERSION = 1; Gem::Specification.load("gli.gemspec")'
Invalid gemspec in [gli.gemspec]: uninitialized constant GLI::VERSION
Did you mean?  VERSION

Since the code in  lib/gli/version.rb is always loaded via require, there is no need to test for an existing constant, since require guarantess that no file is loaded twice (e.g. if you do require "foo" twice, the second one is a no-op).
It would be better if lib/gli/version.rb was changed to the following:

--- a/lib/gli/version.rb
+++ b/lib/gli/version.rb
@@ -1,5 +1,3 @@
 module GLI
-  unless const_defined? :VERSION
-    VERSION = '2.14.0'
-  end
+  VERSION = '2.14.0'
 end

According to 2ce9097a8242d80faf27c6ae7e0a3a6f26569317 that needs to be there for tests, which use a different path to the file given to require.  require hashes on the argument not the full path (or it did as of 2011 :).
If removing that doesn't introduce warnings on supported rubies, it's fine with me, but it was needed at some point.

well that is not the case for a while ...
$ irb -Ilib
irb(main):001:0> RUBY_VERSION
=> "2.1.5"
irb(main):002:0> require 'gli/version'
=> true
irb(main):003:0> require 'gli/version.rb'
=> false
irb(main):004:0> require './lib/gli/version.rb'
=> false
irb(main):005:0> require Dir.pwd + '/lib/gli/version.rb'
=> false

(require returns false when the code you are trying to load is already loaded)

also, requiring code by its explicit path in tests is an anti-pattern that causes other issues, as when you are trying to run the tests against the library that is installed rather than the one in the source directory.

Closing as old and I'm not 100% sure I understand the issue any longer. I don’t see warnings in the test output


Add aksui.com

This webring has been one of my biggest sources of inspiration lately, leading me to try carve out my own home on the internet  again. I'd love to be a part of it, if you'd have me.
Webring link is in the footer of every page.
Thank you,
Benjamin

Hi Notji,
The website looks great! But it's too early, there needs to be 10 pages that are not meta pages or blog posts. Keep working on it and when it's further down the line, open a new PR :)


Hot to extract value from responseBody in 'request-promise'

Hello. Thank you for the great lib you made.
I've just started using it and doing successful requests.
But next step I need, it's to extract value from email: chance.email() to use in tests
I suspect I can somehow write it down in a variable in order to use but I don't know how.
Will be very grateful for your help.
> beforeAll(async function () {
>       const options = {
>           method: 'POST',
>           uri: 'http://mywebsite/api/v1/auth/sign-up',
>           body: {
>               email: chance.email(),
>               password: 'Alex2030',
>               confirmPassword: 'Alex2030',
>               firstName: 'Test',
>               lastName: 'Test',
>               addressFirst: 'Protractor avenue 123',
>               city: 'Chicago',
>               stateCode: 'TX',
>               postalCode: '12345',
>               phone: '1234567890'
>           },
>           json: true
>       };
>
>       rp(options)
>           .then(function (parsedBody) {
>               console.log(parsedBody)
>           })
>           .catch(function (err) {
>               console.log(err)
>           });

Here i need to use this extracted email in Protractor test:
it('First Login', async function () {
        await login.email.sendKeys(login.testEmail);
    })

Did you find out how to extract it?


Add more details in pypointmatcher's installation docs

Add commands for systems with multiple versions of Python

Explicitly specify that we use Python 3.6 when installing pytest and when building pybind11

Code block for creating a venv when appropriate

Yes


outdated istio api

I am currently using a DestinationRule with load balancer setting of LEAST_REQUEST which was introduced in Istio 1.14 (changelog)
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
  name: demo-least-request
  namespace: istio-system
spec:
  host: '*.svc.cluster.local'
  trafficPolicy:
    loadBalancer:
      simple: LEAST_REQUEST       # enum not supported by net-istio

This is currently preventing reconciliation of ingress due to the following error:
failed to list *v1alpha3.DestinationRule: unknown value "LEAST_REQUEST" for enum istio.networking.v1alpha3.LoadBalancerSettings_SimpleLB

Turns out that the dependency for istio api is not up to date.

/assign

This has been addressed - https://github.com/knative-sandbox/net-istio/pull/1016


Use AMP for Amazon Ad's

Could you please show an example, how can I use Amazon Ad's and compatible for AMP.

It would be nice to have a sample showing all supported ad networks.
BTW there is an amazon sample in the official docs:
<amp-ad width=300 height=250
    type="a9"
    data-aax_size="300x250"
    data-aax_pubname="test123"
    data-aax_src="302">
</amp-ad>

https://www.ampproject.org/docs/reference/components/amp-ad

Thanks. But in
"supported-ad-networks"
https://www.ampproject.org/docs/reference/components/amp-ad#supported-ad-networks
"Amazon" is not listed. Any idea / suggestions?

A9 = Amazon
On Wed, Dec 14, 2016 at 2:35 PM kazi shahin<EMAIL_ADDRESS>wrote:

Thanks. But in
"supported-ad-networks"
https://www.ampproject.org/docs/reference/components/amp-ad#supported-ad-networks
"Amazon" is not listed. Any idea / suggestions?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ampproject/amp-by-example/issues/532#issuecomment-267035036,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXOOIZoHdf0tHqEL7glJwxII8f3tOhAks5rH_CwgaJpZM4LM5tj
.

Wow. I was not aware of it. Thank you.

This is my generated ad script from Amazon. Could you please help me, how can I use this within AMP
=============================================

==============================================

Just wandering if you got the solution of how to convert the format of Amazon script you shared above to AMP?


feat: Ignore commits by message prefix

I need to ignore some commits by a prefix of their message.
This MR adds a check whether to add or to ignore a commit by the prefix of its message. I added that in get_commit_log to ignore them as soon as possible.
This MR still needs unit testing, but I am happy to hear your opinion.

Feedback welcome.


Fix graph display after removing attribute

This PR builds on #2028 , which creates the infrastructure for linking multiple datasets to a graph/XY Plot tile.
This includes fixes for :

PT-186344925 Removing Attribute from linked Table Doesn't update axis using it Graph
PT-186173835. Removing the linked dataset doesn't recalculate or reset min and max bounds on the XY Plot
PT-186372304. ‘Add series’ option after removing series is not plotting the points correctly

As with #2028, if you test in the example-config-subtabs unit you will have access to the second button on the graph toolbar, which allows linking multiple datasets.  Additional datasets will still not be displayed.
Known limitations / bugs that are should not be exected to be fixed here:

Linking a table with a single column, or non-numeric columns, is not fully supported
On a graph with a single Y attribute plotted, removing that attribute is not fully supported

@bgoldowsky , I'm finding that as soon as I load (this document)[https://collaborative-learning.concord.org/branch/removing-attribute/?appMode=demo&demoName=CLUE&fakeClass=1&fakeUser=teacher:1&unit=example-config-subtabs&problem=1.1] in this branch, CLUE crashes with this attached error:

@tejal-shah the code to migrate existing data is not working. I'm working on a fix. I'll let you know when it's ready to try again.

@tejal-shah this should be fixed now.

Thank you @tejal-shah .  The issue with the first bug, PT-186344925, is the same as with the third one.  It works if you remove a secondary y attribute by deleting its column, but not if you remove the only remaining one.  So I think it would be ok to mark both of those unstarted; we can put a note on the first one saying that it was partially fixed.
I would recommend that we merge this and #2028 at the same time.


test/responsive-web-design

Page styling, responsive with menu drawer

I want you to test this PR to see if this design pleases you
I didn't launch it directly in main because your project has a structure that breaks all the time
my recommendations for you
To be able to load flowbite via a link from another website, you need to configure cors to accept req from outside.
Recreate the css of the desktop version to be unique without conflicts with the mobile version.
Due to the fact that you are using ID="etc" markers
jquery cannot handle 2 identical ids, so 2 options:
1 create an additional jquery to handle the mobile version and change the ids of all items within the mobile div to be unique too
2 starts using class and makes jquery more dynamic
or you can try to style the page and continue doing as you prefer, I'm giving my suggestions because looking at the code today I realized that it is in a way that makes scalability of your project VERY difficult.
Consider it constructive criticism.


Inability to register repositories that manage entities of the same state in a single bounded context

This PR is in regards to https://github.com/SpineEventEngine/core-java/issues/901.
Before it was impossible to register repositories that manage entities that have the same state, but existing test covered only duplicate AggregateRepositories.
This PR extends existing tests to cover the inability to register such repositories for ProcessManagerRepositories, ProjectionRepositories and their combinations.

@dmdashenkov, PTAL.

@dmdashenkov, PTAL again.


Azure Pipeline Task passing but nothings deploying

So I have been scratching my head for hours now and it cant be the code that's wrong at this point as I've literally created a boiler plate application using gatsby and it still doesn't work as expected.
The following picture is what the folder structure of the repo looks like

After the build commands are run at a different point in the pipeline they will populate a folder in the root called public
This is what the deployment step looks like to deploy to the static resource

and this is the build output in azure with system debugging turned on which has to be the least helpful debugging output I've seen to data ha. (sorry if this sound pissy I've just had a long one with this stuff)

Really not sure where to go with this other than to completely write our application as were tied to the ms devops eco system which is the crux of the issue right now.
Any help would be massively appreciated as the standard web app service doesn't seem to work with the static site gen were using ie gatsby unless there is something im missing

So it turns out i had to use an azure vm for this to work for some reason using our windows based build agents just didnt allow this to work please document this as this took way to long for that to be the issue that stopped all this from deploying. Or add an option stop for building and installing and allow us to build in prior steps and use the artefacts that creates


Fix setting item name

Fixed the setting item name. The following are the setting item names in Azure portal.

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

#label:"aq-pr-triaged"

#sign-off


optimizer.zero_grad() in run_openai_gpt.py?

In run_openai_gpt.py, should there be a call to optimizer.zero_grad() after updating parameters so that we zero out the gradients between minibatches?
https://github.com/huggingface/pytorch-pretrained-BERT/blob/2152bfeae82439600dc5b5deab057a3c4331c62d/examples/run_openai_gpt.py#L212

Oh that's a mistake indeed, thanks for pointing out.
Fixed on master.


support not operation

is it possible to support not operation? https://en.wikipedia.org/wiki/Bitwise_operation#NOT

Not is fairly trivially implemented with
`func Not(a bitmap.Bitmap) bitmap.Bitmap {
var res bitmap.Bitmap
a.Clone(&res)
res.Ones()
//rfunc clears bits in res if they are set in a
rFunc := func(k uint32) {
	res.Remove(k)
}

a.Range(rFunc)
return res

}`

The Not and other functions are implemented in https://github.com/chippyash/logicgate.git


[feature][container-based] Use gitCommit instead of sha1 in dependencies

Other builders use gitCommit.

/cc @rbehjati

Do you need this before the next release? If so I think it should be a quick fix

nop, not urgent. Can do anytime.

But what is difference? Is not gitCommit currently a sha1 digest?

No, I don't.

Do you have an example where gitCommit is used? sha1 is only used as the algorithm name in digests. Is that what you are referring to?  I feel like I don't have the context for this.)

sure, this is the original comment https://github.com/slsa-framework/slsa-github-generator/issues/2425#issuecomment-1643168515.

Ah. Thanks. But then I don't think gitCommit really makes sense as the algorithm name in a digest. Or has the interpretation of digest changed?
cc @tiziano88 WDYT?


Configuring the k8s workers in parallel

To be able to speed up the installation process, all workers will be installed in parallel, and script will wait all tasks to be completed before exit.

Thanks, @erdincka - nice improvement!


Input data "jumps" around EOL character

VSCode Version: 1.48.2
OS Version: Windows 10 Pro 20H2 (And I believe Debian 10 also)

Steps to Reproduce:

Open up a large C++ file ( > 1000 lines)
Begin typing within a function definition

Does this issue occur when all extensions are disabled?: No
It seems that the EOL character lags behind what's being typed and shuffles its way forward.  I have taken an animated GIF of the issue:

Disabling extensions does indeed inhibit the issue.
I am not fully convinced this is a bug, but I was eaten alive and shut down by the "helpful" people on stackoverflow, so I am forced to inquire here

Disabling extensions does indeed inhibit the issue.

AFAIK the end of line symbol that you see there is not part of VS Code, so it must be contributed by some extension. You an disable all extension by pressing F1 and then choosing Developer: Reload Window with Extensions Disabled

In my original post:
"Does this issue occur when all extensions are disabled?: No"
I tried that and indeed the behavior is inhibited.  Probably it's part of code-eol extension

Please report directly to the extension.


[BUG] AWK is missing in samba image but it is used in entrypoint

The problem
The SAMBA container image uses awk in its entrpypoint.sh to parse the the USER and SHARE environmental variables, but AWK it's not installed installed. This prints an error in stderr and results in said variables not being properly used. but does no prevent the rest of the script from running in typical bash fashion, so it can pass unnoticed.
Example container output.
/entrypoint.sh: line 182: awk: command not found
/entrypoint.sh: line 186: awk: command not found
smbd version 4.19.4-git.339.acf1ccaa020SUSE-oS16.9-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023

How to replicate
Nothing special just run the samba container. podman run --rm registry.opensuse.org/opensuse/samba
Proposed solution
Install awk with Zypper in line 22 of the Dockerfile.
The containers seems to be using gnu core utils, so gawk might be more appropriate, but even busybox-gawk seems to be lighter. The former will add 1.3 Mib to the image while the first will add 4.8 MiB, per zypper reporting.
How to prevent this kind of problem in the future
It might be wise to add a set -e to the start of the entrypoint,sh to prevent this kind of error from going unnoticed.

Thanks, should be fixed now.


What is the current behavior?

What is the current behavior?
Some table does not appear to be correctly in some translated page.
ex: https://docs.github.com/ja/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization
When old commit( 01b5d89 ) seems no problem.
at en ( no problem)

at ja

at cn

What changes are you suggesting?
Add lost tail | and fix {% endif %} position (s/**X** \n/**X** |{% endif %}\n/).

ng (now)
| 公開済みリリースの表示                                                                                | **X** | **X**  | **X** |  **X**   |                                              **X** |{% if currentVersion == "free-pro-team@latest" %}
| [[GitHub Actions workflow runs](/actions/automating-your-workflow-with-github-actions/managing-a-workflow-run)] の表示                                                                                | **X** | **X**  | **X** |  **X**   |                                                                 **X**
{% endif %}

(maybe) ok
| 公開済みリリースの表示                                                                                | **X** | **X**  | **X** |  **X**   |                                              **X** |{% if currentVersion == "free-pro-team@latest" %}
| [[GitHub Actions workflow runs](/actions/automating-your-workflow-with-github-actions/managing-a-workflow-run)] の表示                                                                                | **X** | **X**  | **X** |  **X**   |                                                                 **X** |{% endif %}

Fixed rendering sample ( my local env )

(I tought make fix pull-request. But protocols of fixing translate docs are seems not simple 🙄 )
Additional information

Originally posted by @hainusii in https://github.com/github/docs/issues/4480#issuecomment-799699827

What is the current behavior?
Some table does not appear to be correctly in some translated page.
ex: https://docs.github.com/ja/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization
When old commit( 01b5d89 ) seems no problem.
at en ( no problem)

at ja

at cn

What changes are you suggesting?
Add lost tail | and fix {% endif %} position (s/**X** \n/**X** |{% endif %}\n/).

ng (now)
| 公開済みリリースの表示                                                                                | **X** | **X**  | **X** |  **X**   |                                              **X** |{% if currentVersion == "free-pro-team@latest" %}
| [[GitHub Actions workflow runs](/actions/automating-your-workflow-with-github-actions/managing-a-workflow-run)] の表示                                                                                | **X** | **X**  | **X** |  **X**   |                                                                 **X**
{% endif %}

(maybe) ok
| 公開済みリリースの表示                                                                                | **X** | **X**  | **X** |  **X**   |                                              **X** |{% if currentVersion == "free-pro-team@latest" %}
| [[GitHub Actions workflow runs](/actions/automating-your-workflow-with-github-actions/managing-a-workflow-run)] の表示                                                                                | **X** | **X**  | **X** |  **X**   |                                                                 **X** |{% endif %}

Fixed rendering sample ( my local env )

(I tought make fix pull-request. But protocols of fixing translate docs are seems not simple 🙄 )
Additional information

Originally posted by @hainusii in github/docs#4480 (comment)

{{###What is the current behavior?}-{#2268}-{#2260}-{#2271}-{#2266}{#github/scientist#145}-{#2269}}

Up


[ADAP-457] [Bug] Behavior of copy_grants

Is this a new bug in dbt-snowflake?

[X] I believe this is a new bug in dbt-snowflake
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Opening this issue on behalf of @kevinjmccarthy as reported here. The text that follows is copy-pasted from that report.

I'm a bit confused by the solution and the behavior of copy_grants. I've tried adding it into my own project which uses the following versions:
dbt --version
Core:
  - installed: 1.3.0
  - latest:    1.4.5 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - snowflake: 1.3.0  - Update available!

in dbt-core, copy_grants is True by default
{% macro copy_grants() %}
    {{ return(adapter.dispatch('copy_grants', 'dbt')()) }}
{% endmacro %}

{% macro default__copy_grants() %}
    {{ return(True) }}
{% endmacro %}

in dbt-snowflake, copy_grants is False by default
{% macro snowflake__copy_grants() %}
    {% set copy_grants = config.get('copy_grants', False) %}
    {{ return(copy_grants) }}
{% endmacro %}

So with this PR change, setting copy_grants to True ends up setting should_revoke to True and a revoke is issued. Is this the expected behavior? Why does setting copy_grants to True cause dbt to revoke existing grants after the model is created? It seems to happen after the copy grants DDL is ran.
Expected Behavior
See above
Steps To Reproduce
See above
Relevant log output
No response
Environment
- OS:
- Python:
- dbt-core:
- dbt-snowflake:

Additional Context
No response

Thanks for reporting this @kevinjmccarthy 🙏
If you add this macro to your project, does it work as desired for you (both when copy_grants=True and copy_grants=False)?
macros/apply_grants.sql
{% macro should_revoke(existing_relation, full_refresh_mode=True) %}

    {% if not existing_relation %}
        {#-- The table doesn't already exist, so no grants to copy over --#}
        {{ return(False) }}
    {% elif full_refresh_mode %}
        {#-- The object is being REPLACED -- revoking grants is opposite of the copy grants user config --#}
        {{ return(not copy_grants()) }}
    {% else %}
        {#-- The table is being merged/upserted/inserted -- grants will be carried over --#}
        {{ return(True) }}
    {% endif %}

{% endmacro %}

Hello @dbeatty10 sorry for the long delay! I was able to run some tests.

Apply external select grant to ROLE1
Add dbt grant for ROLE2

Without changes to macros/apply_grants.sql:
+copy_grants: False

Running dbt applies the following:

create or replace  view ... as ...;
grant select on ... to ROLE2;

+copy_grants: True

Apply external select grant
Running dbt applies the following:

create or replace  view ... copy grants as ...;
revoke SELECT on ... from ROLE1;

With changes to macros/apply_grants.sql:
+copy_grants: False

Apply external select grant
Running dbt applies the following:

create or replace  view ... as ...;
revoke SELECT on ... from ROLE1;
grant select on ... to ROLE2;

+copy_grants: True

Apply external select grant
Running dbt applies the following:

create or replace view ... copy grants as ...;
grant select on ... to ROLE2;

So the behavior results in a REVOKE if copy_grants = False

Thanks for doing those manual tests @kevinjmccarthy ! 🏆
With changes to macros/apply_grants.sql, did the behavior of both +copy_grants: False/True work the way you expected?
If so, we can move forward by including those changes in a PR (including relevant functional tests).

Yes, it makes more sense to me to have the setting of copy_grants to True prevent dbt from revoking those grants. I'm unsure what the original intent of using this flag within the should_revoke macro was, but It would be good to add this behavior to the dbt docs so it's more explicitly called out that this flag does more than just altering the DDL statement.

Good call about the docs @kevinjmccarthy. Opened this as a result:

https://github.com/dbt-labs/docs.getdbt.com/pull/3474


Publish on npm

It would be very helpful if this module is also published on npm.

Sure, I hadn't needed it for that yet because I was using Bower, but I believe Ember is trying to get away from using bower_components altogether, so making this an npm module isn't a bad idea. Thanks for the idea.

Published: https://www.npmjs.com/package/shevy
I'll be honest, I just followed the npm documentation on publishing, and didn't do anything to the repo whatsoever. If anyone finds some bugs with installing it via npm, please make an issue and we'll go from there.


Youtube Multistream Video unavailable. This video is unplayable on this device.

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Brazil
Provide a description that is worded well enough to be understood
https://www.youtube.com/watch?v=VOOhTgzYDvQ
This live should only work on TV, but it works on embed (https://www.youtube.com/embed/VOOhTgzYDvQ), even using --extractor-args "youtube:player_client=all" yt-dlp returns Video unavailable. This video is unplayable on this device.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-F', 'https://www.youtube.com/watch?v=VOOhTgzYDvQ', '--extractor-args', 'youtube:player_client=all']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [ff0779267] (pip)
[debug] Python 3.10.8 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1q  5 Jul 2022)
[debug] exe versions: ffmpeg N-110992-gb1c3d81e71-20230605 (setts), ffprobe N-110992-gb1c3d81e71-20230605
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, requests-2.31.0, sqlite3-3.37.2, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[youtube] Extracting URL: https://www.youtube.com/watch?v=VOOhTgzYDvQ
[youtube] VOOhTgzYDvQ: Downloading webpage
[youtube] VOOhTgzYDvQ: Downloading ios player API JSON
[youtube] VOOhTgzYDvQ: Downloading ios embedded player API JSON
[youtube] VOOhTgzYDvQ: Downloading ios music player API JSON
[youtube] VOOhTgzYDvQ: Downloading ios creator player API JSON
[youtube] VOOhTgzYDvQ: Downloading ios embedscreen player API JSON
[youtube] VOOhTgzYDvQ: Downloading android player API JSON
[youtube] VOOhTgzYDvQ: Downloading android embedded player API JSON
[youtube] VOOhTgzYDvQ: Downloading android music player API JSON
[youtube] VOOhTgzYDvQ: Downloading android creator player API JSON
[youtube] VOOhTgzYDvQ: Downloading android embedscreen player API JSON
[youtube] VOOhTgzYDvQ: Downloading web embedded client config
[youtube] VOOhTgzYDvQ: Downloading player 7ebf4817
[youtube] VOOhTgzYDvQ: Downloading web embedded player API JSON
[youtube] VOOhTgzYDvQ: Downloading web music client config
[youtube] VOOhTgzYDvQ: Downloading web music player API JSON
[youtube] VOOhTgzYDvQ: Downloading web creator player API JSON
[youtube] VOOhTgzYDvQ: Downloading web embedscreen player API JSON
[youtube] VOOhTgzYDvQ: Downloading tv embedded player API JSON
[youtube] VOOhTgzYDvQ: Downloading mweb player API JSON
[youtube] VOOhTgzYDvQ: Downloading mweb embedscreen player API JSON
[youtube] VOOhTgzYDvQ: Downloading m3u8 information
WARNING: [youtube] Failed to download m3u8 information: HTTP Error 404: Not Found
[youtube] VOOhTgzYDvQ: Downloading m3u8 information
WARNING: [youtube] Failed to download m3u8 information: HTTP Error 404: Not Found
[youtube] VOOhTgzYDvQ: Downloading m3u8 information
WARNING: [youtube] Failed to download m3u8 information: HTTP Error 404: Not Found
[youtube] VOOhTgzYDvQ: Downloading m3u8 information
WARNING: [youtube] Failed to download m3u8 information: HTTP Error 404: Not Found
ERROR: [youtube] VOOhTgzYDvQ: Video unavailable. This video is unplayable on this device.
  File "C:\Users\allan\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 734, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\allan\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\youtube.py", line 4182, in _real_extract
    self.raise_no_formats(reason, expected=True)
  File "C:\Users\allan\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 1251, in raise_no_formats
    raise ExtractorError(msg, expected=expected, video_id=video_id)

The video is now private, but perhaps it would work with player_client=tv


explorer.exe always return 1 regardless the result

Environment
Windows build number: 21313
Your Distribution version: Ubuntu 20.04.1 LTS/Ubuntu Hirsute Hippo (Development Branch)
Whether the issue is on WSL 2 and/or WSL 1: WSL1/WSL2

Steps to reproduce
type explorer.exe https://github.com.

WSL logs:

Click to expand
execve("/mnt/c/WINDOWS/explorer.exe", ["explorer.exe", "https://google.com"], 0x7ffc177fbc68 /* 32 vars */) = 0
arch_prctl(ARCH_SET_FS, 0x34fb90)       = 0
set_tid_address(0x34fbc8)               = 27638
brk(NULL)                               = 0x1773000
brk(0x1774000)                          = 0x1774000
gettid()                                = 27638
gettid()                                = 27638
gettid()                                = 27638
gettid()                                = 27638
sched_getaffinity(0, 128, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]) = 32
brk(0x1775000)                          = 0x1775000
getpid()                                = 27638
getcwd("/home/patrick/wslu", 4096)      = 19
uname({sysname="Linux", nodename="PkWnMcBk", ...}) = 0
getcwd("/home/patrick/wslu", 4096)      = 19
open("/mnt/c/WINDOWS/explorer.exe", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_PATH) = 3
readlink("/proc/self/fd/3", "/mnt/c/WINDOWS/explorer.exe", 4095) = 27
fstat(3, {st_mode=S_IFREG|0544, st_size=5136424, ...}) = 0
stat("/mnt/c/WINDOWS/explorer.exe", {st_mode=S_IFREG|0544, st_size=5136424, ...}) = 0
close(3)                                = 0
open("/proc/self/mountinfo", O_RDONLY)  = 3
readv(3, [{iov_base="", iov_len=0}, {iov_base="39 27 8:16 / / rw,relatime - ext"..., iov_len=1024}], 2) = 1024
readv(3, [{iov_base="", iov_len=0}, {iov_base="tmpfs rw,mode=755\n52 51 0:31 / /"..., iov_len=1024}], 2) = 1024
readv(3, [{iov_base="", iov_len=0}, {iov_base="elatime - cgroup cgroup rw,net_p"..., iov_len=1024}], 2) = 1024
readv(3, [{iov_base="", iov_len=0}, {iov_base="a;uid=1000;gid=1000;umask=0022;f"..., iov_len=1024}], 2) = 112
readv(3, [{iov_base="", iov_len=0}, {iov_base="", iov_len=1024}], 2) = 0
close(3)                                = 0
getcwd("/home/patrick/wslu", 4096)      = 19
open("/proc/self/mountinfo", O_RDONLY)  = 3
readv(3, [{iov_base="", iov_len=0}, {iov_base="39 27 8:16 / / rw,relatime - ext"..., iov_len=1024}], 2) = 1024
readv(3, [{iov_base="", iov_len=0}, {iov_base="tmpfs rw,mode=755\n52 51 0:31 / /"..., iov_len=1024}], 2) = 1024
readv(3, [{iov_base="", iov_len=0}, {iov_base="elatime - cgroup cgroup rw,net_p"..., iov_len=1024}], 2) = 1024
brk(0x1776000)                          = 0x1776000
readv(3, [{iov_base="", iov_len=0}, {iov_base="a;uid=1000;gid=1000;umask=0022;f"..., iov_len=1024}], 2) = 112
readv(3, [{iov_base="", iov_len=0}, {iov_base="", iov_len=1024}], 2) = 0
close(3)                                = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TIOCGPGRP, [27635])            = 0
getpgid(0)                              = 27635
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=30, ws_col=120, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 -opost -isig -icanon -echo ...}) = 0
                                                                                dup(0)
 = 3
    socket(AF_VSOCK, SOCK_STREAM|SOCK_CLOEXEC, 0) = 4
                                                     bind(4, {sa_family=AF_VSOCK, sa_data="\0\0\377\377\377\377\377\377\377\377\0\0\0\0"}, 16) = 0
                          getsockname(4, {sa_family=AF_VSOCK, sa_data="\0\0\336\255nX\377\377\377\377\0\0\0\0"}, [16]) = 0
  listen(4, 4)                            = 0
                                             socket(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC, 0) = 5
                                                                                connect(5, {sa_family=AF_UNIX, sun_path="/run/WSL/10_interop"}, 110) = 0
                                                write(5, "\6\0\0\0007\1\0\0\336\255nX\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 311) = 311
                     poll([{fd=4, events=POLLIN}], 1, 10000) = 1 ([{fd=4, revents=POLLIN}])
                                                                                accept4(4, {sa_family=AF_VSOCK, sa_data="\0\0\313\214\2\216\2\0\0\0\0\0\0\0"}, [16], SOCK_CLOEXEC) = 6
                                                                         poll([{fd=4, events=POLLIN}], 1, 10000) = 1 ([{fd=4, revents=POLLIN}])
                       accept4(4, {sa_family=AF_VSOCK, sa_data="\0\0\314\214\2\216\2\0\0\0\0\0\0\0"}, [16], SOCK_CLOEXEC) = 7
     poll([{fd=4, events=POLLIN}], 1, 10000) = 1 ([{fd=4, revents=POLLIN}])
                                                                           accept4(4, {sa_family=AF_VSOCK, sa_data="\0\0\315\214\2\216\2\0\0\0\0\0\0\0"}, [16], SOCK_CLOEXEC) = 8
                                                         poll([{fd=4, events=POLLIN}], 1, 10000) = 1 ([{fd=4, revents=POLLIN}])
       accept4(4, {sa_family=AF_VSOCK, sa_data="\0\0\316\214\2\216\2\0\0\0\0\0\0\0"}, [16], SOCK_CLOEXEC) = 9
                                                                                close(4)                                = 0
                                rt_sigprocmask(SIG_BLOCK, [INT WINCH], NULL, 8) = 0
                                                                                signalfd4(-1, [INT WINCH], 8, 0)        = 4
      poll([{fd=0, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=4, events=POLLIN}], 5, -1) = 1 ([{fd=9, revents=POLLIN}])
                                             recvfrom(9, "\t\0\0\0 \0\0\0", 8, MSG_WAITALL, NULL, NULL) = 8
                                                                                recvfrom(9, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 24, 0, NULL, NULL) = 24
                                                                          ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
close(3)                                = 0
poll([{fd=0, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=4, events=POLLIN}], 5, -1) = 1 ([{fd=9, revents=POLLIN}])
recvfrom(9, "\7\0\0\0\f\0\0\0", 8, MSG_WAITALL, NULL, NULL) = 8
recvfrom(9, "\1\0\0\0", 4, 0, NULL, NULL) = 4
shutdown(6, SHUT_WR)                    = 0
poll([{fd=-1}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=-1}, {fd=-1}], 5, -1) = 2 ([{fd=7, revents=POLLIN}, {fd=8, revents=POLLIN}])
read(7, "", 4096)                       = 0
read(8, "", 4096)                       = 0
shutdown(6, SHUT_WR)                    = 0
close(4)                                = 0
close(5)                                = 0
close(9)                                = 0
close(8)                                = 0
close(7)                                = 0
close(6)                                = 0
exit_group(1)                           = ?
+++ exited with 1 +++

Expected behavior

The process exits with 0 and opens the GitHub website.
Actual behavior

The process exits with 1 and opens the GitHub website.

Thanks for the strace log; appreciated. Was able to reproduce here. The exit code of 1 appears to be confined to Windows apps. Console apps which succeed return 0.
It is probably better to launch Windows apps is via PowerShell. That explorer.exe app hasn't exited and doesn't have an exit code. But regardless, interop shouldn't be presenting a nonzero exit code unless (say) the path wasn't found or similar.

Curious- what do you get if you run explorer from cmd (without WSL being in the picture at all) and then check %ERRORLEVEL%?

%ERRORLEVEL% is not affected by explorer.exe. The variable is left as it's previous value.

The most simplest things to expect don't work as they should. Better invest more into AI, who cares about the exit code of explorer.exe ...


refactor(helpers): refactor helpers module

Refactors helper module into separate files in "helpers" folder
Existing "helpers" file left as facilitator to split helper module
Report "generate_raw_exceptions" function split into helper file

Why has this been done?


Flow crashes very often

I use to flow in WebStorm under Windows Server 2008
It crashes too often with message 'flow.exe has stopped working', so I must to restart it manually every 3-5 minutes
I've noticed: it works normally while I not running any build task with node.js
If I start task for client or server building for development - it crashes in resent minute

I have the same issue.
Flow 0.57.3
Windows 7 6.1
WebStorm 2017.2.5 Build #WS-172.4343.25, built on October 20, 2017
JRE: 1.8.0_152-release-915-b12 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Let's agree it's webstorm problem. I use it in vim on windows and mac. Everything it fine except some memory leak if process is kept whole night.

@TrySound Thanks for sharing! I will write to JetBrains


Progress percent is not available if there is a 'start' event listener

let transcoder = ffmpeg('input.wav')
                        .output('file.mp3')
                        .audioCodec('libmp3lame')
                        .audioBitrate('128k');

transcoder.on('start', function(commandLine) {
  console.log('Spawned Ffmpeg with command: ' + commandLine);
});

transcoder.on('progress', (progress) => {
  console.log(progress.percent); //undefined
});

transcoder.run();

if I remove the start listener the progress percentage shows fine!

That should definitely not behave this way.

nevermind transcoder.run(); was being called before the listeners were added.

Thanks!