Fix for #510 self.skiprows

Fix for #510 self.skiprows

👍

Thanks for getting a fix written so quickly! This looks great. To help ensure that we don't accidently break this again in the future could you add a test case?
The tests for the csv module are in odo/backends/tests/test_csv.py. A good example for a test would be something like test_pandas_read(). The imporant testing utility for csvs is with filetext('<csv-content>') as fn: which creates a temporary csv populated with some string. This will let you create an example case that shows off skipping some number of rows.
One side comment: do you think this should fail if you pass both header and skiprows?

I’ll give it a go.  Thanks for your help

On 7 Dec 2016, at 19:09, Joe Jevnik<EMAIL_ADDRESS>wrote:
Thanks for getting a fix written so quickly! This looks great. To help ensure that we don't accidently break this again in the future could you add a test case?
The tests for the csv module are in odo/backends/tests/test_csv.py. A good example for a test would be something like test_pandas_read(). The imporant testing utility for csvs is with filetext('') as fn: which creates a temporary csv populated with some string. This will let you create an example case that shows off skipping some number of rows.
One side comment: do you think this should fail if you pass both header and skiprows?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/blaze/odo/pull/511#issuecomment-265541950, or mute the thread https://github.com/notifications/unsubscribe-auth/AP9i7v4xB0OB7BUgBN6Y3n886geXhx9lks5rFwSHgaJpZM4LGb6h.

How's the test coming along? If you don't think you can get to it I can add a test and we can merge this.

Hi Joe! Sorry, got side-tracked.  Let me take a look at what’s needed and get back to you

On 16 Dec 2016, at 19:58, Joe Jevnik<EMAIL_ADDRESS>wrote:
How's the test coming along? If you don't think you can get to it I can add a test and we can merge this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/blaze/odo/pull/511#issuecomment-267682645, or mute the thread https://github.com/notifications/unsubscribe-auth/AP9i7oshKW6FyRGJqWXv1LlRvxl6Eyq0ks5rIu1bgaJpZM4LGb6h.

Joe,I promise I’m still going to get to this, thanks for your patience!MichaelOn 16 Dec 2016, at 19:58, Joe Jevnik<EMAIL_ADDRESS>wrote:How's the test coming along? If you don't think you can get to it I can add a test and we can merge this.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/blaze/odo","title":"blaze/odo","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/blaze/odo"}},"updates":{"snippets":[{"icon":"PERSON","message":"@llllllllll in #511: How's the test coming along? If you don't think you can get to it I can add a test and we can merge this."}],"action":{"name":"View Pull Request","url":"https://github.com/blaze/odo/pull/511#issuecomment-267682645"}}}

Am still at it… slow going since I’m new to odo!

On 20 Dec 2016, at 10:21, Michael Minzlaff<EMAIL_ADDRESS>wrote:
Joe,
I promise I’m still going to get to this, thanks for your patience!
Michael

On 16 Dec 2016, at 19:58, Joe Jevnik<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
How's the test coming along? If you don't think you can get to it I can add a test and we can merge this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/blaze/odo/pull/511#issuecomment-267682645, or mute the thread https://github.com/notifications/unsubscribe-auth/AP9i7oshKW6FyRGJqWXv1LlRvxl6Eyq0ks5rIu1bgaJpZM4LGb6h.

Thanks for working through this! If you have any questions as you go let me know, I may be able to help unblock you.

Hi Joe,
OK, having had another look at this, I find myself thinking that the tests in test_sqlite.py seem to capture pretty much what I was trying to do.  As to your question (what if both skiprows and header are set and contradict each other),  we could filter as follows:
if (header is not None) and (skiprows <> 0) and (int(header) <> skiprows)
raise ValueError(“Both skiprows and header set explicitly, and values contradict each other”)
But I didn’t spot any other instances of that level of sanity checking?  Let me know what you think.
Michael

On 20 Dec 2016, at 21:17, Joe Jevnik<EMAIL_ADDRESS>wrote:
Thanks for working through this! If you have any questions as you go let me know, I may be able to help unblock you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/blaze/odo/pull/511#issuecomment-268362038, or mute the thread https://github.com/notifications/unsubscribe-auth/AP9i7nGDYEMygNbwZDLkBksmKQGpl89Vks5rKEXTgaJpZM4LGb6h.

... and as a PS I would still like to understand why the existing tests didn't catch the bug I found. It bothers me that they didn't.  So maybe some additional test is required after all?
Michael

On 20 Dec 2016, at 21:17, Joe Jevnik<EMAIL_ADDRESS>wrote:
Thanks for working through this! If you have any questions as you go let me know, I may be able to help unblock you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


-AllowedFileTypes Parameter has no effect

I set up a test Exchange server that, when receiving an email with an outreach image, would say "something in this email has been blocked to protect your privacy. To re-enable blocking, click here."

I found the relevant problem document in Microsoft Documentation:https://social.microsoft.com/Forums/zh-CN/a6cb5218-0f57-4358-af3b-2a7e066fbb3d/20026201022044525252203203034038544311696529224050384592749027?forum=exchangeserverzhchs
I made changes to PowerShell with new documentation, but nothing worked.
Set-OwaMailnboxPolicy -Identity Default -WebReadyFileType ".png"

When I set it up like this, it still says "Something in this email has been blocked to protect your privacy. To re-enable blocking, click here."
Maybe the documentation is wrong?
exchange version:

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

ID: 022da80e-29cd-f6b5-aa00-48e2d16c4be8
Version Independent ID: c3353c03-e416-f693-104f-6b6f5955b721
Content: Set-OwaMailboxPolicy (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/Set-OwaMailboxPolicy.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@Richard-Tang, you should open a support case.


How to jump to the braces character?

Hi, is there any option to jump to the braces or any custom character?

Hi!
You should be able to jump to special characters just like you would to letters. You might encounter some issues in word mode as they aren't really word characters. Character mode should work all right though.

Oh, thank you very much! I was in word mode and in formatting style like MonoBehaviour{ the { character was selectable as far as same characters was unavailable.

I'm glad I could help.


Fix break in firebase_analytics CocoaPod

Fixes flutter/flutter#32252.
Resolves compile errors due to removal of the FIRAnalyticsConfiguration class in CocoaPod version 6.0.

Can you please publish your changes?

@collinjackson can you post here when 3.0.1 is pushed to pub.dev? Looks like this is blocking a lot of active development.

Done, thanks for your patience.


Mobile info section needs to be closed by default (mobile only)

This section when on a market pg:

should look like this:

added - closing


Camera Bug

Issue submitted via PipeBot
Reporting user: Mya

The camera is coming into the anim shots  unlocked.

Closed by #256


New package: rwxrob.pomo version 0.2.3

Checklist for Pull Requests

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

Manifests

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

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

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

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

@stephengillie I noticed this keeps failing. I saw as well it seems to be a general error on the WinGetSvc-Validation pipeline with multiple PR's. I did run the winget validate --manifest <path> step locally and it passed validation, so I'm not sure why the Installers Scan step is failing - see here.
I presume that it's then a problem with the tooling / function that it calls? Let me know though if it's anything related to the PR :)

Hi @jaimebarrow,
This label is very much like Internal-Error-Dynamic-Scan in that it reflects solely an error with the pipelines, and not any information about the package. The difference is that this Internal Error occurred during the Static Scan phase of Validation, where packages go through static scans such as detecting "installer bombs".

Thanks for linking to that discussion @stephengillie, much appreciated for the explanation in that thread. I'm guessing then that it requires you to manually install and scan it? The exe is only 11.9 MB, so I don't know if the Storage Drive out of space problem is relevant.
Looking forward to hearing back from you :) Thanks again!

/azp run

Thanks for linking to that discussion @stephengillie, much appreciated for the explanation in that thread. I'm guessing then that it requires you to manually install and scan it? The exe is only 11.9 MB, so I don't know if the Storage Drive out of space problem is relevant.
Looking forward to hearing back from you :) Thanks again!

This isn't quite far enough along for me to manually complete. But the issue has been found and fixed, so the next run should have a better outcome.

Hi @jamiebarrow,
This application installs normally, but doesn't seem to do anything when launched. From either the symlink or the full file. Is a special syntax needed?

Hi @jamiebarrow,
This application installs normally, but doesn't seem to do anything when launched. From either the symlink or the full file. Is a special syntax needed?

Yes, try 'pomo --help' for more information. It's a Pomodoro timer utility catered for the command line. When you run it without arguments it displays the current status (empty by default since no timer is running). After running 'pomo start', running it again with no arguments displays output.

This package installs and launches normally on a Windows 10 VM.

Verify:

That's extremely specific behavior. When run with no arguments, it should give some kind of output.

That's extremely specific behavior. When run with no arguments, it should give some kind of output.

Yes, indeed. Actually when I first used the tool I was also wondering if it was working properly haha. But I understand why: it is originally used in a Linux environment with the tmux tool to provide a status in a 'toolbar' visible on the screen. So just running the command displays the status. I suppose it's also easier to type out in general when working on the command line with any custom functions or aliases in the shell.
Perhaps I'll create a ticket in the authors repository to suggest having this behaviour behind a flag/command instead. And by default, having it run its help command.
I've wanted to learn Go for a while, I might even create a PR someday :)
Anyways, thanks for your assistance @stephengillie


101 Show and edit need pages

NOT READY FOR REVIEW - TEST FOR TIM / HEROKU REVIEW

Okay I've got some basic styling in for the show and edit need pages. It's not quite what's in the designs, but I'm hoping this is sufficient. At least it's reused patterns.
I haven't reviewed your changes to the controller or models or anything, but I QAd it plenty and works well 👍 should be safe to merge.


STAsBinary is not returning in WKB format

Driver version

7.4.1.jre8 (but includes all versions up til now)
Problem description

Expected behaviour:
STAsBinary() method should return the spacial object in WKB format, as detailed here.

Actual behaviour:
STasBinary() returns the spacial object in CLR format.

Issue created from discussion in #1277.

Thanks for creating this issue @humada05. The team will look into this as discussed.

Potentially related to #1270.

Hi @humada05, I've created PR #1364 that fixes this issue. I'm attaching the jars here with the fix included. Could you try it out and let me know if STAsBinary is working as intended now? Thanks.
github-1280.zip

@humada05 were you able to find some time to test out my fix? Just double checking.

Hey @peterbae, awesome! I'll be sure to test this out when i get some free time this week.

Fixed in #1364. Please let me know if you encounter any issues.


Try getting rid of environment-rtd.yml

With mamba builds now being available on RTD, we might try to remove the RTD-specific environment file once more.

Although the new mamba builder on RTD removes the need for the additional version pins, but there is another problem: RTD only allows one file, not environment.yml AND requirements-dev.txt. I currently do not want to mash the dev requirements into the main environment. Therefore, I will stick to environment-rtd.yml for now.


added example for terraform commands in the shell

What?

Added an example box for running TF commands inside shell

Why?

Doc was not clear enough for specific use cases (running a TF command not supported by the CLI)
Adding a specific example of a common issue where we need to use a TF command inside the shell

References

There are many TF commands not supported by the CLI (as they are not used on a daily basis). The one used in the example is force-unlock.

@fgauchat-binbash Fran, out of scope but a very opportunity to add a related doc from Opt-
Let's complete the https://leverage.binbash.com.ar/user-guide/ref-architecture-ansible/workflow/ step 6 with the info below 👇🏼

Opt-1: $ leverage run apply["--tags","common"]
Opt-2: $ noglob leverage run apply["--tags","common"]
Opt-3: run $ leverage shell and then ansible-playbook setup.yml --tags common

Why?
Because we've decided to close this issue (binbashar/leverage#69) and now it makes sense to add the before presented info.
Thanks!

@exequielrafaela I've added those changes to the ansible doc, with some tweaking of the content. Please check and let me know!

@fgauchat-binbash thanks for the updates! Approved 🚀


Ruby Basics Refactored

Good work!  A few comments here and there, but overall very good.  I would look at adding some user interaction for your Dinodex.  For the next submission of Dinodex, extract it out from the other exercises so we only see the dino_catalog exercise.  Cherry-picking would work well here.


Price prediction bug

The table isn't reading any options for me. I have uninstalled, and reinstalled. I have also cleared my data, and put it back in. It worked fine last week, but for some reason it is now doing nothing.

Hey there, this occurs when the application cannot find a prediction for the values you've entered.
Can you please provide all those values (preferably in a permalink copied from the app) so we can investigate?

I think this is related to #250

I caught the bug! :(  lol
https://turnipprophet.io?prices=<IP_ADDRESS>.144.146.......&pattern=1

I caught the bug! :( lol
https://turnipprophet.io?prices=<IP_ADDRESS>.144.146.......&pattern=1

Nevermind... missed the "bought on my own island" question - first time buying on my own island should be yes!   fixed itself.

I am also experiencing this issue. Below is permalink to values:
https://turnipprophet.io/?prices=<IP_ADDRESS>.64.69.64......&pattern=3

https://turnipprophet.io?prices=<IP_ADDRESS>.138.123.......&pattern=3
There's my link.
On Wed, Apr 29, 2020, 10:43 AM Ryan Carbotte<EMAIL_ADDRESS>wrote:

Hey there, this occurs when the application cannot find a prediction for
the values you've entered.
Can you please provide all those values (preferably in a permalink copied
from the app) so we can investigate?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mikebryant/ac-nh-turnip-prices/issues/306#issuecomment-621257251,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APMNMHNN42YQUM25FGPVYTLRPA4K3ANCNFSM4MTY75DQ
.

I am also experiencing this issue. Below is permalink to values:
https://turnipprophet.io/?prices=<IP_ADDRESS>.64.69.64......&pattern=3

@gyozapop this presents as an issue with the numbers entered into the tool. If we follow the phases of a Fluctuating pattern, and we assume that your Monday & Tuesday numbers are correct, and we assume that Wednesday AM was in fact an increase over Tuesday PM, then a value of 69 is not possible there.
Based on the pattern, that would mean your rate for Wednesday AM would have been between 0.9 - 1.4, and even at the lowest value you still end up with 92 * 0.9 = 82.8.

I'm getting the same issue.
https://turnipprophet.io?prices=<IP_ADDRESS>.<IP_ADDRESS>.63....
Perhaps they changed the logic in a patch?

Same problem! https://turnipprophet.io?prices=<IP_ADDRESS>.<IP_ADDRESS>.....

@theRTC204 ok. I’ll include screenshots of each pricing next time to backup my numbers from turnip prophet, if the problem persists next week.

@theRTC204 ok. I’ll include screenshots of each pricing next time to backup my numbers from turnip prophet, if the problem persists next week.

@gyozapop thank you, that would be helpful. The key things we'd want to validate for certain are:

Every value entered was from the same island (buy price & sell prices)
Absolutely no time traveling of any kind was done

@theRTC204 I will include that information as well.

Perhaps they changed the logic in a patch?

@garethrhughes the data miner, Ninji, responsible for extracting the game code that this calculator was based upon has confirmed that the Turnip calculation in game has not been changed in any patch. What has been changed is the behavior around when your Turnip prices are thrown away and regenerated for the week.
For example, prior to Patch 1.2, a player could time travel backwards as long as they never crossed over the boundary of a price period. Let's say you were in the Tuesday PM period and you had a great sell price - as long as by 10PM you time traveled back to 12:01PM, you could stay within that high sell price, well forever. Other people could come to your island to sell their Turnips, or you could go to someone elses island to buy them and return to your own to sell.
However, as of Patch 1.2, that is no longer possible. In the current game, time traveling backwards for any amount of time will cause your existing Turnip prices to be thrown out and new ones to be regenerated.

I am having the same issue. Here is my permalink: https://turnipprophet.io?prices=<IP_ADDRESS>.<IP_ADDRESS>.156....&pattern=0


Netflix New Manifest Profile Requirements

Types of changes
Modify base Profile in order to tell Netflix that the device is HEVC Capable Device
For Prior 0.14 Versions:
Modify MSL,py and add the following to the load_manifest Method
        #PRK Profile
        "hevc-main10-L30-dash-cenc-prk", "hevc-main10-L31-dash-cenc-prk", "hevc-main10-L40-dash-cenc-prk", "hevc-main10-L41-dash-cenc-prk"

manifest_request_data = {
'method': 'manifest',
'lookupType': 'PREPARE',
'viewableIds': [viewable_id],
'profiles': [
#PRK Profile
"hevc-main10-L30-dash-cenc-prk",
"hevc-main10-L31-dash-cenc-prk",
"hevc-main10-L40-dash-cenc-prk",
"hevc-main10-L41-dash-cenc-prk",
# Video
"playready-h264bpl30-dash",
"playready-h264mpl30-dash",
"playready-h264mpl31-dash",
"playready-h264mpl40-dash",
        # Audio
        'heaac-2-dash',

        # Subtiltes (handled separately)
        # 'dfxp-ls-sdh',
        # 'simplesdh',
        # 'nflx-cmisc',

        # Unkown
        'BIF240',
        'BIF320'
    ],
    'drmSystem': 'widevine',
    'appId': '14673889385265',
    'sessionParams': {
        'pinCapableClient': False,
        'uiplaycontext': 'null'
    },
    'sessionId': '14673889385265',
    'trackId': 0,
    'flavor': 'PRE_FETCH',
    'secureUrls': False,
    'supportPreviewContent': True,
    'forceClearStreams': False,
    'languages': ['de-DE'],
    'clientVersion': '4.0004.899.011',
    'uiVersion': 'akira'
}

For 0.14.0 and higher, Modify Base Profile in  Profiles.py adding the following line
PRK Profile
'hevc-main10-L30-dash-cenc-prk','hevc-main10-L31-dash-cenc-prk','hevc-main10-L40-dash-cenc-prk','hevc-main10-L41-dash-cenc-prk'
So It will look like this
PROFILES = {
'base': [
# PRK Profile
'hevc-main10-L30-dash-cenc-prk','hevc-main10-L31-dash-cenc-prk','hevc-main10-L40-dash-cenc-prk','hevc-main10-L41-dash-cenc-prk',
# Video
'playready-h264bpl30-dash', 'playready-h264mpl30-dash',
'playready-h264mpl31-dash', 'playready-h264mpl40-dash',
# Audio
'heaac-2-dash',
# 'heaac-5.1-dash',
# Subtiltes
'simplesdh',
# 'nflx-cmisc',
# Unkown
'BIF240', 'BIF320'],
'dolbysound': ['ddplus-2.0-dash', 'ddplus-5.1-dash'],
'atmos': ['ddplus-atmos-dash'],
'hevc':
_profile_strings(base=HEVC,
tails=[(BASE_LEVELS, CENC),
(CENC_TL_LEVELS, CENC_TL)]) +
_profile_strings(base=HEVC_M10,
tails=[(BASE_LEVELS, CENC),
(BASE_LEVELS[:4], CENC_PRK),
(CENC_TL_LEVELS, CENC_TL)]),
'hdr':
_profile_strings(base=HDR,
tails=[(BASE_LEVELS, CENC),
(BASE_LEVELS, CENC_PRK)]),
'dolbyvision':
_profile_strings(base=DV,
tails=[(BASE_LEVELS, CENC)]) +
_profile_strings(base=DV5,
tails=[(BASE_LEVELS, CENC_PRK)])
}
I think it is  just a workaround, because I dont have the Netflix API Documentation, I just did the Reverse Engineering and Request Traffic Pattern from Netflix Official Apps using Wireshark, Fiddler and Some HTTPS Proxies.
These are thew files I changed and worked for me and some others.
MSL.zip
profiles.zip

[x ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x ] Breaking change (fix or feature that would cause existing functionality to change)
[x ] I have read the CONTRIBUTING document.

All Submissions:

[x ] Have you followed the guidelines in our Contributing document?
[x ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Changes to Core Features:
Base Profile need to be changed since Netflixs expects an HEVC Ready device

[x ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ x] Have you successfully ran tests with your changes locally?

Screenshots (if appropriate):
[You can erase any parts of this template not applicable to your Pull Request.]

Adding HEVC profiles for libwidevine is wrong.


Customers can choose
to have a prescriptions filled automatically (i.e. once monthly)

done when: a customer can choose a prescription they want to filled automatically
and how often

2hr


Input field doesn't get focus because of floating label / placeholder

On an empty input field, the floating label (as placeholder) blocks clicks. When clicking on the label, the focus is not transferred to the input field. If the click point is outside the label area, the focus works as expected.
Tested on Chrome 51.0.
Steps to reproduce

Open page http://krescruz.github.io/angular-materialize/#input-field
Empty the input field.
Click outside the input field so that the floating label appears as placeholder.
Click on the input field where the placeholder label is.

What exactly is supposed to happen
The focus should go to the input field and user should be able to start typing.
What exactly does happen
The placeholder text gets the click and the focus never goes to the input field.
A link to a page clearly demonstrating the issue
http://krescruz.github.io/angular-materialize/#input-field

Can reproduce, will look at it later.

I think the floating label should have "for" attribute with the unique name same as the "id" attribute on the input to get the input focused when the floating label clicked.

Thanks #rockzgarf that was exactly what was needed.
But I think that it shouldn't have to be that way, so I added some code that puts in the id for pair, if it isn't there already.
Thereby fixing the issue.


Login failed, axios error

I have installed eWeLink Smart Home with  version: 1.2.6 successfully. Also, i can open to the web ui of eWeLink Smart Home. But, when i want to sign in my account, it shows "Login failed, axios error".   What is that mean? How can i solve it? Thanks!

You have to pay VIP access: vip.ewelink.cc

When the network fluctuates, the server will not be accessible; if a similar situation occurs, it is recommended that you provide the log of addon.
If you have any more questions, please reopen this issues. Thank you for your reply.

I have the same issue. I can easily log into my account on anroid app and also web. but keep getting this error on HA.
it is worth to be mentioned that on the configuration tab there is no box to enter auth token (just the network port). is it related?

I have the same issue. I can easily log into my account on anroid app and also web. but keep getting this error on HA. it is worth to be mentioned that on the configuration tab there is no box to enter auth token (just the network port). is it related?
here is the log on ewelink addon: _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/v2/user/login', method: 'POST', headers: [Object], agent: undefined, agents: [Object], auth: undefined, hostname: 'as-apia.coolkit.cc', port: null, nativeProtocols: [Object], pathname: '/v2/user/login' }, _ended: false, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 92, _requestBodyBuffers: [ [Object] ], _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: false, _headerSent: true, socket: [TLSSocket], _header: 'POST /v2/user/login HTTP/1.1\r\n' + 'Accept: application/json, text/plain, /\r\n' + 'Content-Type: application/json\r\n' + 'X-CK-Nonce: K1pdDJvq\r\n' + 'X-CK-Appid: 4s1FXKC9FaGfoqXhmXSJneb3qcm1gOak\r\n' + 'Authorization: Sign LP4PLS5ygWY2pNqcvcSsB1NH/o5dSrEmT/zPmXrLKe8=\r\n' + 'User-Agent: axios/0.21.4\r\n' + 'Content-Length: 92\r\n' + 'Host: as-apia.coolkit.cc\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/v2/user/login', _ended: false, res: null, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'as-apia.coolkit.cc', protocol: 'https:', _redirectable: [Circular *1], [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] }, _currentUrl: 'https://as-apia.coolkit.cc/v2/user/login', _timeout: null, [Symbol(kCapture)]: false }, response: undefined, isAxiosError: true, toJSON: [Function: toJSON] } 2023-09-15T12:02:12.422Z [ERROR] getDataSync: user.json -> no data 2023-09-15T12:02:12.467Z [ERROR] getDataSync: user.json -> no data 2023-09-15T12:02:12.467Z [ERROR] getDataSync: diy.json -> no data 2023-09-15T12:02:34.093Z [INFO] HA-WS heart beat result: "pong" 2023-09-15T12:04:34.099Z [INFO] HA-WS heart beat result: "pong" 2023-09-15T12:06:34.107Z [INFO] HA-WS heart beat result: "pong" 2023-09-15T12:08:34.112Z [INFO] HA-WS heart beat result: "pong" 2023-09-15T12:10:34.118Z [INFO] HA-WS heart beat result: "pong" 2023-09-15T12:12:11.170Z [ERROR] getDataSync: user.json -> no data 2023-09-15T12:12:11.189Z [ERROR] getDataSync: user.json -> no data 2023-09-15T12:12:11.190Z [ERROR] getDataSync: diy.json -> no data

I'm not really sure. I need to enter my account and password when I log in. Finally, my problem was solved by adding the country code in front of the account phone number.

Thanks for the reply. I eneded up creating another account with a different country code. and it somehome fixed the problem.


add "datetime" into elements of the "branches" record

This would allow to see where the most recent work was done (may be just in 'git-annex' branch which is the availability information only)
ATM, looking at the test
@pytest.mark.parametrize(
    "ds_name",
    [
        "empty_ds_annex",
        "two_files_ds_annex",
        "empty_ds_non_annex",
        "two_files_ds_non_annex",
    ],
)
def test_get_origin_branches(ds_name, request, tmp_path):
    ds: Dataset = request.getfixturevalue(ds_name)
    ds_clone = clone(source=ds.path, path=tmp_path)

    origin_branches = get_origin_branches(ds_clone)

    assert origin_branches == [
        {"name": branch_name, "hexsha": ds.repo.get_hexsha(branch_name)}
        for branch_name in ds.repo.get_branches()

we have only "name" and "hexsha" and greedy me wants to add also the datetime for that "hexsha" commit.

@yarikoptic I completed and merged #201. I think this issue can be closed now, but I can't be sure completely. Let me know if I have missed anything else to be done for this issue. Otherwise, let's close this issue.


AttributeError: 'str' object has no attribute 'items'

The problem
POST request containing JSON results in this error with traceback containing
../../.pyenv/versions/3.9.6/envs/ear/lib/python3.9/site-packages/requests_cache/session.py:120:
../../.pyenv/versions/3.9.6/envs/ear/lib/python3.9/site-packages/requests_cache/cache_keys.py:159:
../../.pyenv/versions/3.9.6/envs/ear/lib/python3.9/site-packages/requests_cache/cache_keys.py:173: AttributeError

The offending code appears to be
https://github.com/reclosedev/requests-cache/blob/5605db4a84c4ee15f4406ea872aa650e31f3348f/requests_cache/cache_keys.py#L156-L178
where items serialized JSON text.
In a debugger session, I notice data that is both str & Mapping.
(Pdb) tbreak ../../.pyenv/versions/3.9.6/envs/ear/lib/python3.9/site-packages/requests_cache/cache_keys.py:159
Breakpoint 1 at /home/LOM0227/.pyenv/versions/3.9.6/envs/ear/lib/python3.9/site-packages/requests_cache/cache_keys.py:159
>>>>>>>>>>> PDB continue (IO-capturing resumed) >>>>>>>>>>>>
> /home/LOM0227/.pyenv/versions/3.9.6/envs/ear/lib/python3.9/site-packages/requests_cache/cache_keys.py(159)normalize_dict()
-> return sort_dict(items)
(Pdb) p items
'{"searchText": "dt.redacted.com NOT (ext:html OR ext:md)", "$skip": 0, "$top": 1000}'
(Pdb) p isinstance(items, Mapping)
True
(Pdb) p issubclass(str, Mapping)
True

Expected behavior
Request to go through.
Environment

requests-cache==0.8.0
python 3.9.6

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute

Hmm, there must be something else going on here. str is not a Mapping, and Mapping by definition has a .items() method. I tried to reproduce your example in PDB in python 3.9.6:
(Pdb) from typing import Mapping
(Pdb) p isinstance('some string', Mapping)
False
(Pdb) p issubclass(str, Mapping)
False

Also, there are automated tests for POST with serialized request body that would have caught this. I can update normalize_dict() with an extra sanity check, but I'd like to understand the problem first.
Could you provide a complete code sample that reproduces this, and a full traceback?

Apologies: the issue occurred in a private repo, and it took me some time write a reduced reproduction.
The root cause wasn't immediately obvious to me, and I don't think this library could reasonably be expected to do much about it.
I attempted to define immutable, hashable mappings like the standard collection abstract base classes, by defining it to require the same required special methods as Hashable, Mapping, & Collection.
It also registered any class with those required methods as a virtual subclass.
Coincidentally, str has all those required methods: it's hashable, immutable, and includes the minimal special methods needed to define a mapping.
Defining that class unexpectedly made str a Mapping.
Before I knew this, the error looked like a mistaken statement order in this library, which I simply 'fixed' by changing the order:

check for text first
then check for mapping

I'm not sure this change is worth implementing anymore, since I doubt defining an abstract base class like this is commonly done.
Sincerest apologies on reporting this prematurely: it honestly looked like a bug in the library.

Interesting! No worries, there's no harm in reporting something that looks like a bug. I'll go ahead and close this issue, but feel free to open another one if you run into more problems.
As for your HashableMapping ABC, you could consider checking for the other read-only Mapping methods in your __subclasshook__:
class HashableMapping(CA.Mapping[_V_contra, _V_co], CA.Hashable, metaclass=A.ABCMeta):
  """Immutable, hashable mapping."""
  @classmethod
  def __subclasshook__(cls, other_class: type):
    """Any hashable mapping class is a subclass."""
    return (
      cls is HashableMapping
      and True == CA.Hashable.__subclasshook__(other_class) # type: ignore
      and True == CA.Collection.__subclasshook__(other_class) # type: ignore
      and True == check_methods(other_class, '__getitem__', '__eq__', '__ne__', 'keys', 'items', 'values', 'get')
      or NotImplemented
    )


Model conversion error

After running download.sh,  I am trying to convert  face_detection_front.pb to quantized tflite model. I have tried all scripts inside 30_BlazeFace/01_float32 directory but all gets failed with the following error:
ValueError: This converter can only convert a single ConcreteFunction. Converting multiple functions is under development.
I am using TensorFlow 2.2.0 on MacOS. Also, tried with a Linux machine with 2.1.0 and 2.2.0.
NOTE: I am trying to rebuild quantized model to run on microcontroller. The quantized model for the blazeface provided in your repo download.sh has error while running on the microcontroller: "Didn't find op for builtin opcode 'CONV_2D' version '3'" or "Didn't find op for builtin opcode 'QUANTIZE' version '2'".

Please try using Tensorflow v1.15.2.
https://github.com/PINTO0309/PINTO_model_zoo/blob/a86a7bb18ced20e841cc86f6362ec3a04baf9c2c/30_BlazeFace/01_float32/01_blazeface_tflite_to_pb.py#L1

Thanks! It works but I still get  "Didn't find op for builtin opcode 'QUANTIZE' version '2'". while allocating tensors on the microcontroller. May be some ops are missing.

I think it's just that the OP on the TF Lite micro side doesn't support it. There is nothing wrong with the conversion script itself.
https://github.com/tensorflow/tensorflow/blob/3ebdec47df6c1afaa31ea6f0aa980f0f90729e87/tensorflow/lite/micro/kernels/quantize.cc#L156-L169
// This Op (QUANTIZE) quantizes the input and produces quantized output.
// AffineQuantize takes scale and zero point and quantizes the float value to
// quantized output, in int8 or uint8 format.
TfLiteRegistration* Register_QUANTIZE() {
  static TfLiteRegistration r = {/*init=*/quantize::Init,
                                 /*free=*/nullptr,
                                 /*prepare=*/quantize::Prepare,
                                 /*invoke=*/quantize::Eval,
                                 /*profiling_string=*/nullptr,
                                 /*builtin_code=*/0,
                                 /*custom_name=*/nullptr,
                                 /*version=*/0};
  return &r;
}

https://github.com/PINTO0309/PINTO_model_zoo/blob/f5926277170a4c59a802c0cf9cd2cafa573d9fdc/30_BlazeFace/01_float32/03_integer_quantization.py#L1

Yes I used TF 2.2.0 for the conversion.  But the models generated by  03_interger_quantization.py or 04_full_integer_quantization.py have same error.

Also I am using TF Lite Micro library generated by TF 2.2.0 branch. May be it is TF Lite Micro issue.

I empathize with you.

Thanks for your understanding. I am struggling with this issue for 3 days.

Same issue. tensorflow/tensorflow - Didn't find op for builtin opcode 'QUANTIZE' version '2' #38488

Yes, I have seen that before. But I just have seen TF Lite Micro has pushed new changes 1 hour ago: https://github.com/tensorflow/tensorflow/commit/3ebdec47df6c1afaa31ea6f0aa980f0f90729e87
I will try with latest. changes to see if the issue is resolved.

It's very interesting!!

 Thanks for your help, I appreciate it. But now I am facing another issue which is related to the size of the model. The full integer quantized model needs a little over 500KB  RAM (tensor allocation, weight/activation) but the microcontroller has only 512 KB RAM. Is there any way to decrease the size (Blazeface) further?

It is a very difficult problem. The following is a model pruning project, but it is still under development, and I could only find a sample of Keras. I haven't tried it yet, so I'm not sure if it's helpful yet.
https://github.com/tensorflow/model-optimization.git
https://blog.tensorflow.org/2019/05/tf-model-optimization-toolkit-pruning-API.html

Thanks for the clue. i guess I need to load "pb" saved model into TF keras.

For example, there are model conversion tools like this one.
https://github.com/microsoft/MMdnn.git

I am trying to use model-optimization. I was able to load the model into Keras but can't see the model summary.
>>> import tensorflow as tf
>>> from tensorflow import keras
>>> print(tf.version.VERSION)
2.2.0
>>> model = tf.keras.models.load_model('saved_model')
>>> model
<tensorflow.python.training.tracking.tracking.AutoTrackable object at 0x101726890>
>>> model.summary()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'AutoTrackable' object has no attribute 'summary'

I suffer from the same phenomenon. It may be that I used tf.compat.v1.saved_model.simple_save when I first exported the model to the saved_model format. I may need to review the initial steps to generate saved_model using v2.x, but I don't see the answer right now.

Yes, it would be good if we can reduce the model size further for TFlite micro.

The quantized model is only around 50% of the 32-bit float model. Ideally it should be reduced by 70-75%.
face_detection_front.tflite:  413K
face_detection_front_128_full_integer_quant.tflite: 197K
If we can achieve at least 70% reduction, it would be really great. I am wondering if it is related to TF1 to TF2 conversion?

Ideally, it should be reduced by 70-75%.

It may be difficult to reduce the size to this level. Even if you have pruned the branches. The model I have generated is as follows.

face_detection_front_128_weight_quant.tflite 163.8KB download here
face_detection_front_128_integer_quant.tflite 201.6KB download here

What do you mean by the 70% reduction that you say is below?

face_detection_front_128_weight_quant.tflite 49.14KB (70% reduced)
face_detection_front_128_integer_quant.tflite 60.48KB (70% reduced)

I am wondering if it is related to TF1 to TF2 conversion?

My script that generates saved_model uses the v1 API. However, the saved_model generated by the v1 API seems to lack some information about Keras due to backward compatibility. If I could replace my .tflite to saved_model conversion script with a v2 base, I might be able to avoid the no attribute error.

I mean 70% of the default 32-bit float model.
Currently: 413K --> 197K
ideally:      413K --> 124K
Please see here for the reference:
https://www.tensorflow.org/lite/performance/model_optimization#quantization

I understand. In a normal model, it is reduced to a quarter of the size after quantization. However, the original size of the BlazeFace is too small, so the size reduction effect after quantization seems to be small.

The size of  the mediapipe/blazeface model  is 224 KB which is available here: https://github.com/google/mediapipe/blob/master/mediapipe/models/face_detection_front.tflite.
I believe this model is FP16. So it is around 1/2 of the FP32. How come integer quantized can't be reduced further? My assumption may be not correct but  Int8 quantization should reduce the size further. From where did you get the TFLite 32FP model?

Also, there is an example here which shows a very simple model conversion,
https://www.tensorflow.org/lite/performance/post_training_integer_quant
83424. -->  23368

The .tflite in the link you presented to me is the Float16 model. It's about the same size as the Float16 model I produced on hand.

From where did you get the TFLite FP32 model? I could not find it at the mediapipe GitHub repo.

The model on MediaPipe's official site was updated from Float32 to Float16 10 days ago.  The Float32 model I downloaded 15 days ago is the one I downloaded.

Also, there is an example here which shows a very simple model conversion,

I'm not sure about the internal behavior of the TensorflowLite Converter as I'm performing the same procedure to quantize it.

As per documentation pruning may not reduce the RAM requirement of the model, it will only reduce the model disk size (compression). It would be interesting to see if the size can be reduced further after you will  change your script to TF v2. Thanks for your time!

memorandum of understanding*
https://github.com/minus31/BlazeFace
It may be possible to perform the training from the beginning with pruning enabled in Keras.

I am also thinking to train it from scratch. Is training data available somewhere? Or, schema of the training data so that I can prepare my own.

The six key points (eyes, nose, ears, and mouth) do not seem to be detectable, but a training script with FDDB dataset is available. I'm exhausted from my day job, so I'll try it tomorrow.
https://github.com/vietanhdev/blazeface_keras

I have started training for BlazeFace by Keras. I'm going to try pruning after the 160 epoch is done.

Great! It would be interesting to see the final model size.

That's sad. But I think pruning won't help in the RAM usage, it would only make the model size smaller for storage.


Fortran detection causing issues with AVX512 building-Gnu fortran12

Platform:
Neofetch:
OS: Pop!_OS 22.04 LTS x86_64
Kernel: 5.19.0-local-fclc
Shell: bash 5.1.16
CPU: 12th Gen Intel i7-12700K (16)
GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
GPU: Intel AlderLake-S GT1
Memory: 13152MiB / 31801MiB
Compilers: GCC/G++/Gfort-12

Whilst I work on PR #3754 I've come across a problem with detection and propagation of AVX512 which will subsequently cause a build to fail.
Initially, any build target including make, make TARGET=SKYLAKEX, make TARGET=COOPERLAKE etc. (targets that enable AVX512) would fail.
I was able to track this down to my gfortran-12 being linked to /usr/bin/fortcom where as OpenBLAS expected /usr/bin/fortc
thinking this could be related I then tried soft linking gfortran-12 to fortc.
This allowed AVX512 builds when using a specified target.
Currently this only leaves builds using make with no target being problematic.
Something else I've noticed is that, while building with --silent (to make catching errors easier to find) OpenBLAS still seems to be strugling with Gfortran-12, sending out the error message of
OpenBLAS: Detecting fortran compiler failed. Can only compile BLAS and f2c-converted LAPACK.

There is nothing in the build system that expects either "fortcom" or "fortc", however inizial detection tries to use the environment variable FC (which on your system may be set erroneously to either name). If FC is not set, a fixed list of executable names is tried, which happens to contain "fort" without a terminal "c" among others, and plain "gfortran" without any version number.  Most likely there is something wrong with your build host, such as wrong FC variable or missing symlinks.

There is nothing in the build system that expects either "fortcom" or "fortc", however inizial detection tries to use the environment variable FC (which on your system may be set erroneously to either name). If FC is not set, a fixed list of executable names is tried, which happens to contain "fort" without a terminal "c" among others, and plain "gfortran" without any version number. Most likely there is something wrong with your build host, such as wrong FC variable or missing symlinks.

Strange, as I installed directly from the package manager. Just in case I also re-sourced bashrc for good measure to no avail.
The interesting part is that the build used to fail before symlinking to fortc specifically and using target
so
make + no fortc = fail
make TARGET=SAPPHIRERAPIDS + no fortc = fail
make + fortc = fail
make TARGET=SAPPHIRERAPIDS + fortc = success
All circumstances com back with:
OpenBLAS: Detecting fortran compiler failed. Can only compile BLAS and f2c-converted LAPACK.
As an extra measure I've attempted with the Intel fortran compiler (2021.5.0) to the same result.

Now looks like recent breakage from #3722 (excessive quoting added to Makefile.prebuild) but how your fortc Voodoo manages to work around this is still a mystery to me. (Or are you using fortc interchangeably with FC here ? I am not aware of any actual compiler of that name, nor a convention that "fortc" should be the default Fortran compiler name  on a system, similar to "cc")

how your fortc Voodoo manages to work around this is still a mystery to me

I'm not certain, but I remember seeing it somewhere.

(Or are you using fortc interchangeably with FC here ? I am not aware of any actual compiler of that name, nor a convention that "fortc" should be the default Fortran compiler name on a system, similar to "cc")

I'm using and testing each separately (testing fortc and fc).
I've also tried linking gfortran-12 to /usr/bin/fc but the result is the same as prior, where I get a complaint about fortran version detection as well as avx512 errors if I don't specify an avx512 target (or avx2 target If that was wanted).
I've also added gfortran-11.2 to the list of attempted compilers with no success.

Just pulled  #3758 and checked in a fully clean directory to see what the results would be, seems to have done the trick for detecting fortran.

Still have the detection issue with avx512 when target isnt specified, but that's a separate issue.

I had installed  Pop!_OS 22.04 LTS in a VM in the meantime, and found that this appears to install a /usr/bin/gfortran" symlink along with at least the gfortran-11 package (which matches the system default gcc-11), just like other distributions do. So I think there should be no need to add versioned program names to the list in f_check (which would incur the risk of picking a gfortran that does not match the selected gcc)


Skip some code blocks

Is your feature request related to a problem? Please describe.
In some cases, I don't want all the code blocks on a page to be numbered. Although it is currently possible by using block-by-block initialization (hljs.lineNumbersBlock(block)), it would be great if somehow I can mark code blocks to be skipped even with hljs.initLineNumbersOnLoad() initialization.
Describe the solution you'd like
A custom class that can be set to <code> element, marking it for skipping.
Describe alternatives you've considered
N/A
Additional context
N/A

Actually, I've already implemented that in my fork, and I've created a PR here: https://github.com/wcoder/highlightjs-line-numbers.js/pull/65


v0.3.0

Coverage decreased (-0.4%) to 93.186% when pulling 28cb1057bd730ebb287f95d6830aae939be6661e on develop into b9eca61015bea26553135b7649666f5dd0ca5a10 on master.


Optimize getting apps

The home view (apps) seems to take quite some time under certain setups/DB when it tries to get the apps. So we need to investigate this issue and eventually optimize what's being done in those functions/queries.

ref  #193

@joaquimrocha this can be closed now

This is fixed by the patches that fixed #182 as well.


Ported the Drupal zen base theme to Hugo

A port of the Drupal zen base theme with libsass and gulp support.
https://github.com/frjo/hugo-theme-zen

Hello @frjo,
thank you very much for sharing this theme with the Hugo community. Your theme looks fine but the build script for the theme as wel as a manual check of the them failed to build.
When doing
hugo new site foo
cd foo/themes
git clone https://github.com/frjo/hugo-theme-zen
cd ..
hugo server -t=hugo-theme-zen

I get the following error message:
ERROR 2017/03/20 20:29:22 Error while rendering "page ": template: /tmp/foo/themes/hugo-theme-zen/layouts/_default/baseof.html:5:48: executing "/tmp/foo/themes/hugo-theme-zen/layouts/_default/baseof.html" at <readFile "/themes/ze...>: error calling readFile: stat /tmp/foo/themes/zen/static/css/styles.css: no such file or directory

The usage of the readFile template func causes this error because the linked CSS file can't be found. It's seems you want to add the SHA1-hash of the stylesheet's content to change the URL for caching purposes. If so I would suggest to hash just the filename with a random value, e.g. the built time as a UNIX timestamp. This increases the build performance too.
Regards,
Digitalcraftsman

My mistake, used the theme path when I should be using /public path. Fixed now.
Thanks of the suggestion regarding generating the case busing hash.
I prefer to use the hash of the file to only generate a new hash if the file actually have changed. Hugo is so blasting fast so I think it is worth the small extra cost. Made them optional now with default off.

If you haven't already, you should consider loading those via partialCached, which gets you best of both worlds.

@bep Thanks, implemented partialCached now where appropriate. Didn't change the build time mush for my small site, but it builds in 12 ms so I'm not exactly complaining.

Great, I've merged your theme in d34b780bcda69ba6885f53a3e1f8b9ef46efd909.


feat: add hover styling and select image buttons to image gallery

This PR adds styling to the hovered images in the image gallery.
It also adds a select image button that sets the source url to the selected image and closes the model on click.
📹
https://user-images.githubusercontent.com/16711614/125366118-775f9980-e343-11eb-8811-1cbc5ab36087.mov
Changes

.hidden utility style Dialogue.css
on hover styling for images
on focus styling for images
selected image button that saves selection and closes modal
refactored Gallery to organize imports
refactored Gallery to extract image component for images in gallery

Discussion
The organization I went here was to place each new component in a folder. With our component count growing, it felt easier to organize styles and component files into folders.
The moving of the lifecycle methods to the top of the component is standard React practice, but it can be undone if it's not preferred.

Closing this to rebase on #39. Will open new PR.


"Testing your first application" instructions inaccurate (inconsistent)?

I'm following the tutorial at https://learn.cypress.io/testing-your-first-application
However, the instructions for some sections seem to be disconnected from previous lessons/pages.
I've completed the page App Installation & Overview.  At the end of this page, the following is true: dev server is running at http://localhost:3000/
I continue to the next lesson: Installing Cypress and writing your first test.  I am attempting to complete the step Breaking down the home spec file. Users are instructed to change the cypress/e2e/home.cy.ts file to:
describe("home page", () => {
  it("the h1 contains the correct text", () => {
    cy.visit("http://localhost:3000")
  })
})

However, the screenshot right below that shows it set to https://localhost:3000 and not http://localhost:3000.

The rest of the screenshots reference the https variant of localhost, but the tutorial doesn't include steps, or make mention of configuring node to run the dev server with a certificate in place. In the next lesson (How to test forms & custom Cypress commands) it goes back to referencing http://localhost.

It's after this spot that things "break down". The cypress app is still in the run tests mode from the end of Installing Cypress step. Users are not instructed to end that test. There's an info note that to launch cypress they need to run npx cypress open but that appears to be an informational message and not a distinct step.
The last section before the Debugging our first error step indicates the test failed. As we continue into the Debugging step, the user is informed the test failed because the dev server is not running. HOWEVER, if a user is following from lesson-to-lesson, the dev server is still running from the first lesson. There seems to be a step missing between the first lesson and the second lesson instructing the user to stop the dev server.
If a user then attempts to start a second instance of Cypress, they'll be unable to as Chrome from the first instance is still running in the first tab, and a second instance of Cypress opens a second Chrome tab. I'm assuming this goes back to Cypress being unable to control multiple browsers at the same time?  Since it does not appear that users should be running two instances of Cypress, a step is missing to inform the user that only if they've Close(d) the test and exited Cypress should they reopen Cypress. For everyone else, a step should be added instructing users to close the running test before continuing?

Possibly unrelated (and if so, let me know and I'll start a second issue): when viewing the test, and clicking each step on the left, i do NOT see cypress highlighting what it did ("time travel debugging"), but instead get a blank page of output. This was the same when testing in chrome v125, firefox v125, and Edge v125. Previous experiences with Cypress and testing my own apps worked as expected (showing the steps). It's only in this tutorial app where it does not work.  My tests show a "hidden" icon for each of these steps

It's similar in behavior to this github issue, with the difference being I'm following the tutorial verbatim and haven't changed anything in this example app. The "this element is not visible" icon continues (so far) with the other lessons.

An issue has been reported in the : cypress-realworld-testing-course-app repository
Please find the solution:
https://github.com/cypress-io/cypress-realworld-testing-course-app/issues/33


Care about fees

Fix local aspect in unit tests  …
For an obscure reason, the cultureinfo constructor does not build the culture with expected culture settings.
On a counter pater, it looks like the GetCultureInfo really reflects the expected culture parameters (like date format).
Add fee support + partial buy  …
Fee : The test TestBacktestWithFeesAsync illustrates how you can declare a flat fee
that will be applied on any transaction. In this sample we the target currency is alway reduced by 0.1%
Partial buy :

by default, the runner will continue to buy complete base currencies only
if specified, the runner will buy base currency with all available quote currency (cash)

@blaise-braye Thanks for the PR. The PR is merged, and I will do a in-depth test later.


Add shareable replication components

Coverage remained the same at 56.796% when pulling 227b44095629579e2b2f7d25cd501c895b987d18 on wknet123:master-replication into d45ef78eaf5d5393b7b321b8601694c84b1898cb on vmware:master.

Coverage remained the same at 56.787% when pulling 5d3ed05a09940312f9c9796d238f7661ca4efbcd on wknet123:master-replication into 4884ec7835e512cd44282d2f013ad2ed98eabd54 on vmware:master.

Coverage remained the same at 56.787% when pulling 5d3ed05a09940312f9c9796d238f7661ca4efbcd on wknet123:master-replication into 4884ec7835e512cd44282d2f013ad2ed98eabd54 on vmware:master.

@steven-zou next time let's do "squash and merge" so there will not be so may commits on master branch.


[Mirror] [Computer Vision] Create CV API v3.0

Mirror from https://github.com/Azure/azure-rest-api-specs/pull/7402

/azp run


support providing project-name via hooks, env vars and template value file

Fixes #522
Fixes #637

@sassman I could use a little help here - don't know why it fails on windos and mac - and I don't have access to either atm. :-(

Had a hunch, tried it - and it worked...
I do not understand why it was a problem though, and that bothers my slightly autistic brain though!

@sassman have you left us dear friend? Still busy with real life?

@sassman have you left us dear friend? Still busy with real life?

@taurr just taking a break and traveling at the moment. BRB in mid September.

@sassman what's the status on this?
on another note: gratz with the new surname :-)

on another note: gratz with the new surname :-)

Thanks a lot, as you can guess a lot of things have been going on.

@sassman what's the status on this?

So I hope that things will settle a bit in the next week and I hope to have it reviewed soon.
Also, a release is more than overdue.

@sassman all ready - please take a look


Mixed precision or FP16 support!

Great Work! Do you have a plan to add support for FP16 mode or conversion to TensorRT to improve the performance?
It will be great if we can convert the SparseTensor to a lower precision like Pytorch tensors.

If mixed precision would significantly reduce memory footprint, I would be interested if we could get support for it, even if it doesn't affect inference time. I think my models would benefit from being able to increase the number of points, and the memory of the GPU is quite limiting. I would be happy to help development of it!


mutes

There is a issue with mutes for what ever legth we mute a player for e.g. 24hrs they reconnect it comes on they are muted for 30 days @AleksCore fix!

I don't know. It works good here

Ok found the problem, fixing

9d71a506907fbc44172bab1b3c65c4081a387636 possibly fixed

"possibly" not fixed. Still says 26 days..

@Megas97 there is no bugs as far as I see. The only bug is MadKiller

So what now? It says 26 days still.

@Megas97 this questions not to me as I not muted you, so I can't unmute you or do something anyways

Would be nice to have any proofs of this bug and how to reproduce it. I can't fix fictional bug

I still think there was no any bugs related to mute length. There was missing logs for mute from admin panel and second bug -  "muted JohnDoe by JohnDoe's account".
Couldn't reproduce the bug. Somebody abused mutes (pointing at @f1madkiller).


chrome driver

i have the latest chrome driver and chrome virsion but it still tells me i need to update my chrome driver to the latest virsion

i have the latest chrome driver and chrome virsion but it still tells me i need to update my chrome driver to the latest virsion

Hello, please send a screenshot of the error. This will make it easier for me to understand how to help you

Screenshot.pdf

You provided a link to the account, but you just have to enter his name

I have done exactly as the photo above and i still get the same error

So try the following:

Reinstall google chrome
Reinstall BoMbEr
Uninstall chrome drive (BoMbEr will install the right one)

If this does not help you, try to install BoMbEr like this: pip install ebankoff-bomber
Run it like this: BoMbEr

followed all the steps the problem is still there

same shit

fix that

The problem seems to be on your side, because I did not find any errors in the program. Download and run this version of BoMbEr: click and send me a screenshot of the error. This will help me figure out how to help you.

Try this: click I added something there, maybe it will help you

You probably did something wrong. You should get an error on startup, not just the text "ERROR". In any case, try to install it: click Run it and send me a screenshot of the error

Before you download what I sent, delete the previous version of BoMbEr

Hi, I'm sorry I haven't responded for a while. I released a new version of BoMbEr, try to install it. If that doesn't help either, it's a problem on your end. BoMbEr might not work because you run it with python2 and it needs python3. That's all I can help you with.
Good luck!

Hi, I'm sorry I haven't responded for a while. I released a new version of BoMbEr, try to install it. If that doesn't help either, it's a problem on your end. BoMbEr might not work because you run it with python2 and it needs python3. That's all I can help you with.
Good luck!


Fix the website responsiveness issue

Current condition:
When the screen size is reduced, there is no menu or navigation bar at the top of the website. It just shows menu lines(three lines). When we click on it, it does not show anything.
After resolving this issue:
After resolving, the menu list will be shown for all screen sizes.

I would like to work on this issue ,please assign it to me.
please add label gssoc-ext 24,hactoberfest and level 1,2 and level 3


Nuitka can't compile anything using msvc 14.1

Platform: Windows 7 64 bit
Python: 3.7.2
Nuitka: 0.6.5 - Dev
Virtual environment: None
Current compiler: msvc 14.1
Whenever I try to build any code with nuitka, it gives the same error.
Here is output from scons when trying to build.
nuitka --module --show-scons testme.py
Scons command: C:\python37\python.exe -W ignore C:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\inline_copy\bin\scons.py -f C:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\SingleExe.scons --jobs 4 --warn=no-deprecated --no-site-dir --debug=explain name=testme result_name=testme source_dir=testme.build debug_mode=false python_debug=false unstripped_mode=false module_mode=true full_compat=false experimental= trace_mode=false python_version=3.7 target_arch=x86_64 python_prefix=C:\python37 nuitka_src=C:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build nuitka_cache=C:\Users\You\AppData\Local\Nuitka\Nuitka\Cache module_count=2 cache_mode=true show_scons=true noelf_mode=true
scons: Reading SConscript files ...
SCONS:  Tools= ['default']
scons: warning: MSVC_USE_SCRIPT set to False, assuming environment set correctly.
File "C:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\SingleExe.scons", line 497, in createEnvironment
Initial CC: cl
Initial CCVERSION: None
Initial CXX: $CC
Initial CXXVERSION: None
SCONS:  Picked compiler: cl
SCONS:  Picked name: cl
Scons compiler: Using C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe (MSVC 14.1)
Scons: Using resource mode: win_resource
scons: Told to run compilation on 4 CPUs.
scons: Unable to find clcache.exe, consider user manual.
scons: Using scons cache inside build directory.
Scons: Launching target: ['testme.pyd']
scons: done reading SConscript files.
scons: Building targets ...
scons: building testme.build\module.testme.obj' because it doesn't exist cl /Fotestme.build\module.testme.obj /c testme.build\module.testme.cpp /TP /nologo /EHsc /J /Gd /Ox /LD /D_NUITKA_SYSFLAG_BYTES_WARNING=0 /D_NUITKA_SYSFLAG_NO_SITE=0 /D_NUITKA_SYSFLAG_VERBOSE=0 /D_NUITKA_SYSFLAG_UTF8=0 /D_NUITKA_SYSFLAG_OPTIMIZE=0 /D__NUITKA_NO_ASSERT__ /D_NUITKA_CONSTANTS_FROM_RESOURCE /D_NUITKA_FROZEN=0 /D_NUITKA_MODULE_COUNT=2 /D_NUITKA_MODULE /IC:\python37\include /IC:\python37\PC /Itestme.build /IC:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\include /IC:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\static_src scons: building testme.build__constants.obj' because it doesn't exist
cl /Fotestme.build_constants.obj /c testme.build_constants.cpp /TP /nologo /EHsc /J /Gd /Ox /LD /D_NUITKA_SYSFLAG_BYTES_WARNING=0 /D_NUITKA_SYSFLAG_NO_SITE=0 /D_NUITKA_SYSFLAG_VERBOSE=0 /D_NUITKA_SYSFLAG_UTF8=0 /D_NUITKA_SYSFLAG_OPTIMIZE=0 /D__NUITKA_NO_ASSERT /D_NUITKA_CONSTANTS_FROM_RESOURCE /D_NUITKA_FROZEN=0 /D_NUITKA_MODULE_COUNT=2 /D_NUITKA_MODULE /IC:\python37\include /IC:\python37\PC /Itestme.build /IC:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\include /IC:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\static_src
scons: building testme.build\__frozen.obj' because it doesn't exist cl /Fotestme.build\__frozen.obj /c testme.build\__frozen.cpp /TP /nologo /EHsc /J /Gd /Ox /LD /D_NUITKA_SYSFLAG_BYTES_WARNING=0 /D_NUITKA_SYSFLAG_NO_SITE=0 /D_NUITKA_SYSFLAG_VERBOSE=0 /D_NUITKA_SYSFLAG_UTF8=0 /D_NUITKA_SYSFLAG_OPTIMIZE=0 /D__NUITKA_NO_ASSERT__ /D_NUITKA_CONSTANTS_FROM_RESOURCE /D_NUITKA_FROZEN=0 /D_NUITKA_MODULE_COUNT=2 /D_NUITKA_MODULE /IC:\python37\include /IC:\python37\PC /Itestme.build /IC:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\include /IC:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\static_src scons: building testme.build__helpers.obj' because it doesn't exist
cl /Fotestme.build_helpers.obj /c testme.build_helpers.cpp /TP /nologo /EHsc /J /Gd /Ox /LD /D_NUITKA_SYSFLAG_BYTES_WARNING=0 /D_NUITKA_SYSFLAG_NO_SITE=0 /D_NUITKA_SYSFLAG_VERBOSE=0 /D_NUITKA_SYSFLAG_UTF8=0 /D_NUITKA_SYSFLAG_OPTIMIZE=0 /D__NUITKA_NO_ASSERT /D_NUITKA_CONSTANTS_FROM_RESOURCE /D_NUITKA_FROZEN=0 /D_NUITKA_MODULE_COUNT=2 /D_NUITKA_MODULE /IC:\python37\include /IC:\python37\PC /Itestme.build /IC:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\include /IC:\python37\lib\site-packages\nuitka-0.6.5rc2-py3.7.egg\nuitka\build\static_src
c:\python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directoryc:\python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directoryscons: *** [testme.build__constants.obj] Error 2
scons: *** [testme.build__frozen.obj] Error 2
c:\python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directoryc:\python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directoryscons: *** [testme.build\module.testme.obj] Error 2
scons: *** [testme.build__helpers.obj] Error 2
scons: building terminated because of errors.
It feels like it might not be including files from the windows kits that I also have installed.
Judging by the command line parameters, Cython does this, and it compiles without any problems.
I'd still like to use Nuitka though, but it doesn't work with msvc for me.

Which environment have you activated when you compile, because I think it would have to be the problem, although normally they work from my experience.

scons: warning: MSVC_USE_SCRIPT set to False, assuming environment set correctly.

If you don't do it, Scons picks it, and potentially better. The Windows SDK (which would be the one with io.h is normally well detected.
Yours,
Kay

Hi,
I barely even knew about nuitka environments and I certainly didn't have a default set. SCons probably did that.
Come to think, that scons line, the one about nuitka_use_script_environment being set to false, wasn't there before.
Can you tell me how to set it to windows SDK so it loads io.h and other required files?

I am surprised to consider an Visual Studio 2017 installation without the SDK. No idea what is going on here.

The new release has a newer Scons, maybe it works better.

Using Initial CC: cl may well mean, it's compiling with the wrong architecture. That could mean it cannot open resources for it, although that's only a theory.
We are checking arches for MinGW64. Can you show its output too?
Yours,
Kay

Closing for lack of feedback and hope that new scons does the trick.

@kayhayen as reported in another bug thread this is the same issue i am also facing VS2019 used.
More details here if you wish to get the details https://github.com/Nuitka/Nuitka/issues/547
can you detail this what to do so that i can try with that ,i am also getting the same waring
what to set as environment variable please
@kayhayen  Which environment have you activated when you compile, because I think it would have to be the problem, although normally they work from my experience.
scons: warning: MSVC_USE_SCRIPT set to False, assuming environment set correctly.


skipped flakey reporting tests

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Hi @sumukhswamy I don't see file changes, did you/I missed anything?

Hi @sumukhswamy, in general, we're not going to accept PR that simply skip flaky tests unless there is a good reason, as this will introduce quality concern. I hope you can understand, apologize.

https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/770 This is an issue associated with this PR.


Support getting API Lifecycle History information for Publisher REST API v1.0

Description:
Support getting API Lifecycle History information for Publisher REST API v1.0

Closed as fixed as above


RCell with a Mutating Reference Trait

To avoid GC I have some pooled objects which can copy state from another object. I want a way to have a RCell which will hold such an object and I want to map assignment (:=) to map to this functionality while other functionality like events RCell stay the same.
Event notification and := function may need synchonisation perhaps using something like https://github.com/LMAX-Exchange/disruptor-proxy

Could you post a concise snippet of code demonstrating what you would like to achieve?
In almost all cases, you should avoid synchronization, and rely on reactor instances to achieve concurrent execution.

A code snippet may not convey the message. Let me better explain it.
I have marix assigned to RCell. Row of data changes. Now I need assignments which will copy the underlying data structure to the updated matrix. This functionality is there but if I use := function each update I have to create a new very large object where at most I can have GC only once a day.

Can you, for example, do the following:
class RMatrix(private val rawMatrix: YourMatrixClass) {
  private var subscription: Subscription = Subscription.empty
  private val updates = new Event.Emitter[XY]

  def apply(x: Int, y: Int): Double = rawMatrix.get(x, y)

  def update(x: Int, y: Int, d: Double): Unit = {
    rawMatrix.set(x, y, d)
    updates.react(XY(x, y))
  }

  def incrementalCopy: RMatrix = {
    val m = new RMatrix
    m.subscription = updates.onEvent { xy =>
      m(xy.x, xy.y) = this(xy.x, xy.y)
    }
    m
  }
}

If I use RMatrix I cannot have the operations in Breeze or ND4J so I have to sometimes use them.

Why not have Breeze operations on the RMatrix class?
class RMatrix(private val rawMatrix: BreezeMatrix) {
  private var subscription: Subscription = Subscription.empty
  private val updates = new Event.Emitter[XY]
  private val breezeOperations = new Event.Emitter[BreezeArgType]

  def apply(x: Int, y: Int): Double = rawMatrix.get(x, y)

  def update(x: Int, y: Int, d: Double): Unit = {
    rawMatrix.set(x, y, d)
    updates.react(XY(x, y))
  }

  def someBreezeOperation(arg: BreezeArgType): Unit = {
    rawMatrix.breezeOperation(arg)
    breezeOperations.react(arg)
  }

  def incrementalCopy: RMatrix = {
    val m = new RMatrix(BreezeMatrix.copy(rawMatrix))
    m.subscription = new Subscription.Composite(
      updates.onEvent { xy =>
        m(xy.x, xy.y) = this(xy.x, xy.y)
      },
      breezeOperations.onEvent { arg =>
        rawMatrix.breezeOperation(arg)
      }
    }
    m
  }
}

OK. Is it too much trouble to have it backed by either nd4s and breeze

If the above snippet meets your needs, then there should be no need to introduce a dependency on either nd4s or breeze in Reactors.IO. It seems to me that you should, in your application, add a library dependency on nd4s, breeze and Reactors.IO, and then create an RMatrix class like the one shown above.
Is there any specific reason why the proposed solution does not work for you?

My bad. I did not fully understand you meant. This seems pretty straightforward. There are few things I am not sure not to get about.

I do not want RMetrix being tied to a particular matrix type should be able to change it.
If the JIT does not inline the raw matix there is 2 referencing operations which I want to avoid.
I would like to avoid to having define and delegate to all the underlying classes operations.

No problem! I would suggest the following:

I do not want RMatrix being tied to a particular matrix type should be able to change it. Better still if it can be any data structure.

In this case, you should create a class that is parametric in the underlying matrix:
trait Matrix {
  def apply(x: Int, y: Int): Double
  def update(x: Int, y: Int, v: Double): Unit
}

class BreezeMatrix(val m: breeze.Matrix) {
  // ... implementation of the methods ...
}

class ND4SMatrix(val m: nd4s.Matrix) {
  // ... ditto ...
}

class RMatrix(private val rawMatrix: Matrix) {
  private var subscription: Subscription = Subscription.empty
  private val updates = new Event.Emitter[XY]
  private val breezeOperations = new Event.Emitter[BreezeArgType]

  def apply(x: Int, y: Int): Double = rawMatrix.get(x, y)

  def update(x: Int, y: Int, d: Double): Unit = {
    rawMatrix.set(x, y, d)
    updates.react(XY(x, y))
  }

  def someBreezeOperation(arg: BreezeArgType): Unit = {
    rawMatrix.breezeOperation(arg)
    breezeOperations.react(arg)
  }

  def incrementalCopy: RMatrix = {
    val m = new RMatrix(BreezeMatrix.copy(rawMatrix))
    m.subscription = new Subscription.Composite(
      updates.onEvent { xy =>
        m(xy.x, xy.y) = this(xy.x, xy.y)
      },
      breezeOperations.onEvent { arg =>
        rawMatrix.breezeOperation(arg)
      }
    }
    m
  }
}

If the JIT does not inline the raw matrix there is 2 referencing operations which I want to avoid.

It is very unlikely that this is a problem. JVM optimizing compilers are usually very aggressive at inlining methods, that's the core prerequisite for their optimizations.

I would like to avoid to having define and delegate to all the underlying classes operations. This will get out of hand when there more than one data structures and also lot of re working when new version of the library comes out. So like in (1) it should be injected but behave like the underlying structure.

This could be regarded as a kind of aspect-oriented programming - you want to mimic the interface. In static languages, this is typically done using compile-time metaprogramming - in the case of Scala, macros. You could create a macro that generates the operations for you.
In your case, it seems cheaper to just implement the methods that you need.

OK. Thanks.


Create 221015-FirstTweetSuggestion.tweet

Wording is a bit strange, twitter-together is the name of the github action, I think we need to make it clear something like "Ethereum Classic Twitter Accounts @eth_classic and @ETC_Network are open to tweet suggestions ... "

Also notice the weird hashtag formatting which would appear when tweeting.
Perhaps we should just rename the discord channel to TweetSuggestions

Wording is a bit strange, twitter-together is the name of the github action, I think we need to make it clear something like "Ethereum Classic Twitter Accounts @eth_classic and @ETC_Network are open to tweet suggestions ... "
Also please use double spacing between lines.

I like the Twitter-Together name, people generally don't know that it is the name of the GitHub action.

Also notice the weird hashtag formatting which would appear when tweeting.
Perhaps we should just rename the discord channel to TweetSuggestions

That was a little test of mine, I renamed the hashtag to see what happens.

Oh right, I see, you are referring to the twitter-together Discord channel, but seems confusing when we can point them directly to the thread.
The @eth_classic and @ETC_Network are now accepting suggestions for tweets via Discord!

Join https://discord.gg/ethereumclassic and suggest a tweet! hugs

I refer to Twitter-Together as a feature, we all Tweet together 🤗
@bobsummerwill also used it to spread awareness, it's catchy and great marketing term imho.

Yes, Bob used it, but not to refer to our project:
https://twitter.com/eth_classic/status/1580266564133208064

You're right, he used “tweeting together” which is even better! 💪
https://twitter.com/eth_classic/status/1579334928336097280

So how about
We are now tweeting together in the #ETCTweetSuggestions thread on Discord.

Join https://discord.gg/ethereumclassic and suggest a tweet for `@eth_classic` and `@ETC_Network`! hugs

[#EthereumClassic](https://twitter.com/search?q=%23EthereumClassic)

Edit, we should include "Or use the hashtag Blah blah "

Edit, we should include "Or use the hashtag Blah blah "

Yes, my thoughts exactly!

@w1g0 shall we update this tweet with the new wording and info about the #ETCtweets hahtaga?


The example for building a custom image isn't working

Hello!
Copying the contents of https://github.com/gliderlabs/logspout/tree/master/custom and trying to build a custom image I get the following error:
$ docker build  .
Sending build context to Docker daemon 3.072 kB
Step 1 : FROM gliderlabs/logspout:master
# Executing 3 build triggers...
Step 1 : COPY ./build.sh /src/build.sh
lstat build.sh: no such file or directory

Looks like the addition of ONBUILD COPY ./build.sh /src/build.sh  in the Dockerfile is causing the custom image build to fail.  A quick fix is to copy the build.sh file from the root folder to where your modules.go file is.  It will then work.

Any updates on this? Stuck until this is fixed :/
Thanks,

I just ran into this as well.  As a workaround, I got it working by copying the build.sh file into my local directory with the Dockerfile as @chosenken suggested.

Does someone want to update the custom image docs to make this explicit? Thanks.

I can probably do it but I need to solve my gcc issue first.

@josegonzalez https://github.com/gliderlabs/logspout/pull/228


Gallery, selection controls, toggles all shadow when I tap the activated toggle

Go to Gallery, Components, Selection Controls. Tap the toggle at the bottom.
Expected:

only the toggle that I tap is shadowed

Actual:

All three toggles are shadowed on tap

cc @HansMuller

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain zyapps.com has exceeded the max emails per hour (404/400 (101%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext6.iad.github.net ([<IP_ADDRESS>]:47575 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by serveur.ex2-p10.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86_1)
(envelope-from<EMAIL_ADDRESS>id 1afmLg-000aXR-7h
for<EMAIL_ADDRESS>Tue, 15 Mar 2016 11:37:22 +0100
Date: Mon, 14 Mar 2016 13:28:40 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1457987320;
bh=arHyZIbgpXDeoLihw2FklzBo64nIxkzW19XB1omFh+w=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=Aodc0rjriDA6Uq3uxeg+N8sYOBlYvcrDtoTU3CwpnjmSwV+DI/+SOfYaoEV7qtkL2
Ccg/pr1S5xoiuaLy/PL1QZeruRel9xwnGwjjG/6OWrLajkNxoooFdCAxMHtb0CkzD0
bHHBN4EH10fPCYUBX99DYwRFCqa2PjmORkkTiDz4=
From: Seth Ladd<EMAIL_ADDRESS>Reply-To: flutter/flutter<EMAIL_ADDRESS>To: flutter/flutter<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [flutter] Gallery, selection controls, toggles all shadow when I
tap the activated toggle (#2675)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_56e71ef85326d_4e1b3fea655fd2c02876d";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: sethladd
X-GitHub-Recipient: yanndupuy
List-ID: flutter/flutter <flutter.flutter.github.com>
List-Archive: https://github.com/flutter/flutter
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA3w3LSu4O8qKSbj5o54uYpVSZK_0BBKks5ptcT4gaJpZM4HwcPL
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-2.7
X-Spam-Score: -26
X-Spam-Bar: --
X-Ham-Report: Spam detection software, running on the system "serveur.ex2-p10.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  cc @HansMuller --- Reply to this email directly or view it
on GitHub: https://github.com/flutter/flutter/issues/2675#issuecomment-196508318
cc @HansMuller [...]
Content analysis details:   (-2.7 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
[<IP_ADDRESS> listed in wl.mailspike.net]
0.8 DATE_IN_PAST_12_24     Date: is 12 to 24 hours before Received: date
-0.0 SPF_PASS               SPF: sender matches SPF record
1.6 HTML_IMAGE_ONLY_12     BODY: HTML: images with 800-1200 bytes of words
0.0 HTML_MESSAGE           BODY: HTML included in message
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
X-Spam-Flag: NO
----==_mimepart_56e71ef85326d_4e1b3fea655fd2c02876d
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
cc @HansMuller

Reply to this email directly or view it on GitHub:
https://github.com/flutter/flutter/issues/2675#issuecomment-196508318
----==_mimepart_56e71ef85326d_4e1b3fea655fd2c02876d
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
cc @HansMuller
—Reply to this email directly or view it on GitHub.

----==_mimepart_56e71ef85326d_4e1b3fea655fd2c02876d--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain zyapps.com has exceeded the max emails per hour (434/400 (108%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext2.iad.github.net ([<IP_ADDRESS>]:58815 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by serveur.ex2-p10.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86_1)
(envelope-from<EMAIL_ADDRESS>id 1afmNY-000axA-Dj
for<EMAIL_ADDRESS>Tue, 15 Mar 2016 11:39:14 +0100
Date: Mon, 14 Mar 2016 13:28:34 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1457987314;
bh=MGN7Bi8MbxgU55QNNHPxuc+uZ39tgh3kjv7ijJoDFPw=;
h=From:Reply-To:To:Subject:List-ID:List-Archive:List-Post:
List-Unsubscribe:From;
b=czUPFE/Q18DDSqxR0Ci56BN4GLquNy/U44YeFXbpWcBV2zP9nj2VGmAFLEfOKN1Hv
dBiwt+RVl/tgjXHUEKyT0KEUZ+HWPf61xnV7gaqo9k+g2CCOuXVU5KxfJrQjTIMUPN
dHjzSfgutnVxHQH4cyZj3t2sifWT9ftYR+oepvs0=
From: Seth Ladd<EMAIL_ADDRESS>Reply-To: flutter/flutter<EMAIL_ADDRESS>To: flutter/flutter<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>Subject: [flutter] Gallery, selection controls, toggles all shadow when I tap
the activated toggle (#2675)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_56e71ef2c6e7e_29973f811da1d2bc74809a";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: sethladd
X-GitHub-Recipient: yanndupuy
List-ID: flutter/flutter <flutter.flutter.github.com>
List-Archive: https://github.com/flutter/flutter
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA3w3NsZV-DSVxNp0CNVe9H-XmOjBK_iks5ptcTygaJpZM4HwcPL
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-2.7
X-Spam-Score: -26
X-Spam-Bar: --
X-Ham-Report: Spam detection software, running on the system "serveur.ex2-p10.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Go to Gallery, Components, Selection Controls. Tap the toggle
at the bottom. Expected: * only the toggle that I tap is shadowed [...]
Content analysis details:   (-2.7 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
[<IP_ADDRESS> listed in wl.mailspike.net]
0.8 DATE_IN_PAST_12_24     Date: is 12 to 24 hours before Received: date
-0.0 SPF_PASS               SPF: sender matches SPF record
1.6 HTML_IMAGE_ONLY_12     BODY: HTML: images with 800-1200 bytes of words
0.0 HTML_MESSAGE           BODY: HTML included in message
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
X-Spam-Flag: NO
----==_mimepart_56e71ef2c6e7e_29973f811da1d2bc74809a
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Go to Gallery, Components, Selection Controls. Tap the toggle at the bottom.
Expected:

only the toggle that I tap is shadowed

Actual:

All three toggles are shadowed on tap

Reply to this email directly or view it on GitHub:
https://github.com/flutter/flutter/issues/2675
----==_mimepart_56e71ef2c6e7e_29973f811da1d2bc74809a
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Go to Gallery, Components, Selection Controls. Tap the toggle at the bottom.
Expected:

only the toggle that I tap is shadowed

Actual:

All three toggles are shadowed on tap

—Reply to this email directly or view it on GitHub.

----==_mimepart_56e71ef2c6e7e_29973f811da1d2bc74809a--

Should be fixed now.


⚠ GitLab Server has degraded performance

In aabb332, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 5091 ms

Resolved: GitLab Server performance has improved in 7f3c0bc.


For builtin, the line number not correct.

Funnily enough, the search panel also has this problem and it doesn't seem to navigate to the file when you click on it 🙃.

This commit 67d1547 improves built-in support.

Line numbers are now correct.
Double clicking on a built-in todo now opens the file and jumps to the line
The 'Current' tab now supports built-in scripts.

There is a speed cost associated with scanning built-in scripts so it will still be off by default but I hope these improvements are useful 😊

I just submitted a new version with these changes to the asset library. It should be available in the next few days. Until then feel free to clone from the repo 😊


解决Confirm组件 input难聚焦的问题

Please makes sure the items are checked before submitting your PR, thank you!

[ ] Rebase before creating a PR to keep commit history clear.
[ ] Only One commit
[ ] No eslint errors

Codecov Report

Merging #2187 into v2 will decrease coverage by 0.13%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##               v2   #2187      +/-   ##
=========================================
- Coverage   20.64%   20.5%   -0.14%
=========================================
  Files         212     212
  Lines        5155    5156       +1
  Branches      576     576
=========================================
- Hits         1064    1057       -7
- Misses       3987    3996       +9
+ Partials      104     103       -1

Impacted Files
Coverage Δ

src/components/confirm/index.vue
12.5% <0%> (-0.55%)
:arrow_down:

src/components/qrcode/index.vue
6.45% <0%> (-6.46%)
:arrow_down:

src/components/x-img/index.vue
20% <0%> (-5%)
:arrow_down:

src/components/selector/index.vue
13.95% <0%> (-4.66%)
:arrow_down:

src/components/blur/blur.js
64.51% <0%> (-2.16%)
:arrow_down:

Continue to review full report at Codecov.

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


Can't resolve 'preact-context'

"preact-redux": "2.1.0" (2.0.3 works fine),
ERROR in ./node_modules/preact-redux/dist/preact-redux.esm.js
Module not found: Error: Can't resolve 'preact-context' in .\node_modules\preact-redux\dist'
@ ./node_modules/preact-redux/dist/preact-redux.esm.js 2:0-47 55:17-30

preact-context is a new peer dependency that you should add to your own project, so you can, for example, reuse it while using Preact 8 (avoiding duplicates if you already use preact-context on your project, for example).
It was added as a peer dependency to this project because Redux version was updated and it needs React's Context API to work, which the preact-context dependency implements successfully to Preact users.
Basically, to fix that problem you should run, on your project, npm install --save preact-context. Understood?

I consider this issue closed after the answer I posted yesterday.
If you have any new problems with the library, please, open a new issue. Or, if this same problem persists, please reopen the issue.
Thanks. :)


About Evaluation

Hi, thanks for your paper and your codes.
I've just read the script evaluate.py. In evaluation, you chose three metrics to evaluate the classification performance.
When evaluating auc or average_precision_score, you just use sklearn to calculate the metrics. However, when testing the f-score, you specifically set up a threshold to determine it's positive or negative. I think the result the f1_score is contradictory to the result of auc or average_precision. Could you please explain why you set up the threshold in f-score why you set up the threshold as 0.2 (intuitively speaking, different datasets should be set up different thresholds)?

Hi @fukien, we've included f1_score code but never used in the paper. The reason for writing is that some papers prefer to use f1-score metric. We've set the threshold to 0.2, but as you pointed out, that threshold value is data-specific and might vary when the model is trained on different datasets. The ideal use would be to have the threshold variable as an argument within the function definition. I'll try to fix it. Thanks for spotting it.

Thank you for your reply.


Declare to string method for GenericDataType and AmlipIdDataType

Added a __str__() method to AmlipIdDataType and GenericDataType. This method returns a string representation of the object by calling its to_string() method.
Previously, the default representation was generic and uninformative:
<amlip_swig.AmlipIdDataType; proxy of <Swig Object of type 'eprosima::amlip::types::AmlipIdDataType *' at 0x74eabaf50960> >
With the addition of __str__(), the output becomes descriptive:
AMLMainNode.89.8e.a5.7f

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 49.81%. Comparing base (583c04f) to head (75e21a7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
- Coverage   51.04%   49.81%   -1.23%
==========================================
  Files          64       64
  Lines        3013     3013
  Branches     1112     1112
==========================================
- Hits         1538     1501      -37
- Misses        653      682      +29
- Partials      822      830       +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Inconsistent behavior when stride is used

First of all, great work with SoftPool!
When I was adapting some code to test SoftPool for the first time, I left a stride=1 on the SoftPool2d constructor and noticed this inconsistent behavior on CPU (PyTorch implementation) vs GPU (CUDA implementation).
The shape of the output is different on the two implementations. With kernel 2 and stride 1 over a 3x3 input, I expected a 2x2 output, but the CUDA implementation gives 3x3. The example below illustrates well the difference.
In [1]: import torch

In [2]: from SoftPool import SoftPool2d

In [3]: x = torch.tensor([[[[1., 2., 3.], [4., 5., 6.], [7., 8., 9.]]]])

In [4]: x
Out[4]:
tensor([[[[1., 2., 3.],
          [4., 5., 6.],
          [7., 8., 9.]]]])

In [5]: SoftPool2d(kernel_size=2, stride=1)(x.cpu())
Out[5]:
tensor([[[[4.5888, 5.5888],
          [7.5888, 8.5888]]]])

In [6]: SoftPool2d(kernel_size=2, stride=1)(x.cuda())
Out[6]:
tensor([[[[1.0000, 1.7311, 2.7311],
          [3.8577, 4.5888, 5.5888],
          [6.8577, 7.5888, 8.5888]]]], device='cuda:0')

It looks to me that this is a bug on the way the CUDA path handles the output shape. On CUDA_SOFTPOOL2d, it does something like oH = H // stride[0] while it should do something like oH = (H - kernel_height) // stride[0] + 1. Of course some other parts of the code would need to be adapted as well.

I has found this problem.How did you solve this problem?

Hi @andreadps,
Thanks for this. The stride calculations should now be updated with the latest commit 70e7b3b.
Best,
Alex


Bumped helm chart from v0.18.4 to v0.19.1, CRDS aren't updated.

What steps did you take and what happened:
Bumped helm chart from version v0.18.4 to v0.19.1.
The helm release is deployed and upgraded using Terraform.
What did you expect to happen:
Everything to work as expected
Anything else you would like to add:
This is the list of CRDS on the cluster after upgrading:

And this is the list of CRDS of a fresh install of the same version (v0.19.1):

This is the error I receive when not doing a fresh install, but just an upgrade:
unable to run trivy operator: starting controllers manager: failed to wait for clustersbomreport caches to sync: timed out waiting for cache to be synced for Kind *v1alpha1.ClusterSbomReport
Also,
"error":"failed to get restmapping: no matches for kind \"ClusterSbomReportList\" in group \"aquasecurity.github.io\"","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"}

On the fresh install, none for the moment, on the upgraded one:
error: the server doesn't have a resource type "clustersbom"
0

I think you are right regarding helm upgrade.
this is how you delete clustersbom crd :
kubectl delete crd clustersbomreports.aquasecurity.github.io
CRD  folder is here in-case CRD is not deployed again. you can deploy it manually

Thank you! I've searched for that folder but couldn't find it. Have a nice day!


Feat:adding the  tilty efect to all cards in about us section.

Describe the feature
Using the react-tilty library i would like to  add the tilt effect to all cards  in about us section.
Add ScreenShots
https://github.com/anuragverma108/SwapReads/assets/138770813/dd194dec-8aef-4b91-b03b-d61e39294d70
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@happyrao78 Assigned!
Make sure to attach before & after screenshots in your PR. Also, star the repo before working on it. While creating your PR, ensure you pull all existing changes beforehand to avoid conflicts.
Happy open-source contributing!


Popup window with title is flickering on gVim.exe

This PR will be fix the flickering.
before

after

Op vr 20 nov. 2020 11:40 schreef Naruhiko Nishino<EMAIL_ADDRESS>
:

This PR will be fix the flickering.

  if (0 < title_len)

  {

Personally, I find this inverted condition hard to read. Could you
change it to tl>0?
Thanks!
Christ van Willegen

Personally, I find this inverted condition hard to read. Could you
change it to tl>0?
Thanks!
Christ van Willegen

Thank you for this reviewing. I fixed the inverted condition.

Any relation with #7317 ?  Or are the two completely separate?

These are the two completely separate.