Amendment: Jeton_Network_follow_up.md

https://github.com/w3f/Grants-Program/pull/433
We have been rebranding to Ajuna Network.
We would like to ask for more time for the delivery of Milestone 2, 3 & 4. (added expected date)
As we got a major change with monthly-2021-10, which allowed us to move towards a fully generated C# API, we were working on that approach and dropping the manual coded types, since we in parallel are working on Ajuna Networks Layer 2 solution, which is used for the Milestone 4 use-cases, we will need more time.  We hope we can get confirmation that we can extend the timeline for the open grant. I added the deliverables for the generator, which will be part of the grant.
If there is more information needed why we delay, then I'm happy to explain.
Best,
Cedric

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

signed, 👍

Hey @darkfriend77. I see plenty of activity on the Ajuna repos, so I assume you are still working on this grant. Can you give us an estimate of when you are planning to submit the next milestone? It might be worth amending the contract again, or, if you don't know if you can deliver at all, we can cancel the grant for now. You would be able to reapply, of course.

@semuelle Yes, will deliver at the start of July, after the Decoded.


Selecting specific tracks for manual scrobbling

I've been really appreciating the album search + manual scrobbling feature for offline listening and unsupported devices. I was wondering if it would be possible to select specific tracks before scrobbling (e.g. scrobbling from where one paused previously, only scrobbling disc 1, etc.). Much thanks for the app! Cheers,

Great idea! I'll add it to my list.

This feature is part of v2.1.0+28 which is available on web now and will be available on other platforms once approved.


Investigate green notifications [..\ui\notifications?]

ｅｌｉｍｉｎａｔｅ  ａｌｌ  ｇｒｅｅｎ

I think it may actually already be fixed, unsure.

nvm still happening at the end of MvM and therefore probably ring notifications too.............

Controlled in ..\ui\econ\ notificationqueuepanel.res

Added missing TanLight entry (no idea what update made that vanish..) -- this may be the reason TanLight entries were defaulting to green (possibly the default "missing color" color?)

Apparently I forgot to include the commit that added the missing TanLight entry, so this has been fixed.


fix: v2 api compatibility

Adaptation of the code to API v2 and update of unit tests.
I'm not sure if the way is good, in any case the tests pass on my fork.

Thanks @swenske for this.
Please @Kamori merge this.  the library is unusable without this.
For ppl using this lib with poetry  in the meantime we can  :
pylertalertmanager = {git = "https://github.com/swenske/PylertAlertManager.git", branch = "master" }


intel-adsp: fix ACE power-off assembly

A recent commit fb53d2ef8dde ("ace: power: replace pseudo-assembly movi") contained a bug: the Xtensa "movi" assembly instruction must be written with the immediate argument already shifted left by 8, the compiler doesn't do that automatically. This still somehow worked on MTL but failed on LNL. Fix both occurrences.
Fixes: #75700
This is an alternative to reverting the offending commit as submitted in #75689

Still not completely fixed?

https://github.com/thesofproject/sof/issues/9308


add PGO for JAVA

Hey, how many % increase does this yield for you?
Graalvm is already taking the most time to run in the workflow and the free tier is limited so I don't want it eating up my minutes. So I  might have to ignore this if it's not a significant speed up.

Hey !
The processing time without IO on my machine now takes 38ms instead of 60ms for GraalVM, and the current go version takes ~ the same time, but I understand the build time issue with Graal, so don't merge the PR yet I'll include the profiling file and the agent file in the PR to cut down build time.

Alright, sounds good

I included the profiling file and removed the need for the agent file.


antsimulator: 3.1 -> 4.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/johnBuffer/AntSimulator/releases.
meta.description for antsimulator is: Simple Ants simulator
meta.homepage for antsimulator is: https://github.com/johnBuffer/AntSimulator
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.2 with grep in /nix/store/n22hlxim5ablmyqr8lxr0skj0krw00k1-antsimulator-4.2
found 4.2 in filename of file in /nix/store/n22hlxim5ablmyqr8lxr0skj0krw00k1-antsimulator-4.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

antsimulator

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/n22hlxim5ablmyqr8lxr0skj0krw00k1-antsimulator-4.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A antsimulator https://github.com/r-ryantm/nixpkgs/archive/de16abb57e8fb869190d1dcd9b04eb5332ecc8c6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/de16abb57e8fb869190d1dcd9b04eb5332ecc8c6#antsimulator

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/n22hlxim5ablmyqr8lxr0skj0krw00k1-antsimulator-4.2
ls -la /nix/store/n22hlxim5ablmyqr8lxr0skj0krw00k1-antsimulator-4.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

antsimulator

Maintainer pings

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

https://github.com/NixOS/nixpkgs/pull/162690#issuecomment-1060016976


Does not install after fresh GIMP installation with Python scripting enabled

What went wrong?
"It appears that your GIMP installation does not support Python scripting. Please install GIMP with enabled support for Python scripting before proceeding."
If you can, tell us the steps to reproduce the problem.

Clean install GIMP with Python scripting enabled on Windows 10
Attempt to install this via the provided executable

Configuration
Version of Export Layers: 3.3.1
Version of GIMP: 2.10.12
Operating system: Windows 10 x64

I checked your installer code and this path is met within my GIMP directory:
possiblePythonDirpaths.Add(GimpDirpath + '\lib\python2.7');

Not sure what's up with your code but my folder hierarchy is correct.

I quickly realized after sweeping the installer code that it's not asking for the GIMP executable but the GIMP folder itself, so after bumping up the paths it installer throws "Internal error: An attempt was made to expand the app constant before it was initialized." Love it.

After clicking "back" for a few slides in the installer and repeating the installation in the same installer instance it seems to work. Problem solved but not fixed so I'm not closing it. Installer has some issues,

Thanks beaucoup for this.  Thanks a lot!

Thanks for reporting this issue. In the end, though, I decided to scrap the Windows installer (something that I'd been contemplating from the very start actually) for two reasons:

The installer (the .exe file) is not digitally signed and I'd rather not have Windows display a warning message about an unverified program. As I understand it, signing the installer would be very costly.
With the development of GIMP 3.0, a plug-in manager is expected to be a built-in feature of GIMP, so the installer won't be necessary anymore.

I'll keep this issue open just in case the Windows installer will be brought back.

Closing this as the Windows installer will not be brought back in the near future.


Bug in import-to-ida.py

Hi @williballenthin
Please fix 2 bugs in import-to-ida.py file:

https://github.com/mandiant/capa/blob/5196caabb53c9ee3a4565d345f40e499b2b367e9/scripts/import-to-ida.py#L76
Change to:
b = idc.retrieve_input_file_md5().hex()
https://github.com/mandiant/capa/blob/5196caabb53c9ee3a4565d345f40e499b2b367e9/scripts/import-to-ida.py#L54
Change to:

    if len(existing) > 0:
        new = existing + "\n" + cmt
    else:
        new = cmt

To avoid existing comment is empty (blank), capa comment set will have a blank line on top
Thank and brgds
TQN

can you clarify the difference between GetInputFileMD5 and retrieve_input_file_md5? the first one is documented on the website (https://www.hex-rays.com/products/ida/support/idapython_docs/idautils.html#idautils.GetInputFileMD5) so i have a small preference for it. does it not work in some cases?

ah the second function was moved to ida_nalt.retrieve_input_file_md5 which i like even better


Add release notes for FIAM M49

@mikehaney24 We've been trying to mix up the PR reviewers within the larger Firebase iOS group.


Scrollbar on PdfViewer not Appear on chrome.

Category

[x] Bug

Describe the bug
When a zoom of 200% or more is applied on pdf view on sharepoint librarie. the scrollbar not appear
Steps to reproduce

Open a Sharepoint Library
Open a pdf document.
Open DetailsPane
Set zoom to 200%

Expected behavior

Document amplified  and scrollbar shown

Developer environment

OS: Windows 10
Browser(s): Chrome 80.0.3987.132 (Official Build) (64-bit)

Additional context
Seems it's related with an error in plt.odsp-common.chunk.js.
Because when i access directly the file using a url, it work's fine.
And if i close the file then reopen it by the library it's work's too.
The bug is only when i load a library and then open a file.
Thanks for your contribution! Sharing is caring.

Can't repro this in Chrome setting Zoom to 200% and 250%...


Route filter and service community APIs

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as a link to the swagger spec, used to generate the code.
[ ] The project.json and AssemblyInfo.cs files have been updated with the new version of the SDK.

@dihan0604 please fill out the PR checklist, this includes adding the link to your spec update PR

Swagger changes for new resource: PR: https://github.com/Azure/azure-rest-api-specs/pull/855


w: not printing all outputs?

Hey, awesome work! Excuse my ignorance, I am a newbie with frameworks, proxies etc..! I've got a couple of questions..

Why doesn't the watcher log all the values in example below and just logs the first and the last one? I thought it would do something like $on/$off but with just a one-liner..
Since the watcher watches, why log immediately the function (for 25*10) since the data hasn't changed?
From the docs, I couldn't understand the use of $off in the example! Thanks!! Great work!

const data = r({
  price: 25,
  quantity: 10,
  logTotal: true
})

function total () {
  if (data.logTotal) {
    console.log(`Total: ${data.price * data.quantity}`);
  }
}

w(total)

data.price = 35
data.price = 66
data.price = 150

Watchers in arrow will always run eagerly, otherwise they don’t know what their dependencies are. You can provide a second argument which is a second callback that receives the result of the watcher, and then you can choose to do something else with that value.

Thanks a lot! Will try out, I think I got it!


CacheLoader returned node availability 'false' for node 'n1'.

Hi,
I've been playing around with this set up for a few days and have a problem with creating sessions and node availability being null it looks like. Just a little background it's a tomcat8 app running on two EC2 instances behind one LB. Using AWS memcache.
Error:
14-Mar-2018 18:03:39.395 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.RequestTrackingHostValve.invoke >>>>>> Request starting: GET /PublicGUI-SupportGUI/v1/login.xhtml (requestedSessionId 084A16D9D197B1A5F4CEFB2BD77E15E6) ==================
14-Mar-2018 18:03:39.395 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.MemcachedNodesManager.canHitMemcached The sessionId does not contain a nodeId so that the memcached node could not be identified.
14-Mar-2018 18:03:39.395 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.MemcachedNodesManager.canHitMemcached The sessionId does not contain a nodeId so that the memcached node could not be identified.
14-Mar-2018 18:03:39.396 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.MemcachedSessionService.createSession createSession invoked: null
14-Mar-2018 18:03:39.396 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.SessionIdFormat.createSessionId Creating new session id with orig id 'ping' and memcached id 'n1'.
14-Mar-2018 18:03:39.396 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.NodeAvailabilityCache.updateIsNodeAvailable CacheLoader returned node availability 'false' for node 'n1'.
14-Mar-2018 18:03:39.396 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.SessionIdFormat.createSessionId Creating new session id with orig id '791D9784D5A9DE011A30BA3957DCBD0B' and memcached id 'null'.
14-Mar-2018 18:03:39.396 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.MemcachedSessionService.createSession Created new session with id 791D9784D5A9DE011A30BA3957DCBD0B
14-Mar-2018 18:03:39.397 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.MemcachedNodesManager.canHitMemcached The sessionId does not contain a nodeId so that the memcached node could not be identified.
14-Mar-2018 18:03:39.407 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.BackupSessionService.backupSession Starting for session id 791D9784D5A9DE011A30BA3957DCBD0B
14-Mar-2018 18:03:39.407 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.BackupSessionService.backupSession Skipping backup for session id 791D9784D5A9DE011A30BA3957DCBD0B as the session id is not usable for memcached.
14-Mar-2018 18:03:39.407 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.RequestTrackingHostValve.logDebugRequestSessionCookie Have request session cookie: domain=null, maxAge=-1, path=null, value=084A16D9D197B1A5F4CEFB2BD77E15E6, version=0, secure=false
14-Mar-2018 18:03:39.407 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.RequestTrackingHostValve.logDebugResponseCookie Request finished, with Set-Cookie header: JSESSIONID=791D9784D5A9DE011A30BA3957DCBD0B; Path=/PublicGUI-SupportGUI/v1/; HttpOnly
14-Mar-2018 18:03:39.407 FINE [http-nio-<IP_ADDRESS>-8080-exec-8] de.javakaffee.web.msm.RequestTrackingHostValve.invoke <<<<<< Request finished: GET /PublicGUI-SupportGUI/v1/login.xhtml ==================
14-Mar-2018 18:03:40.611 FINE [http-nio-<IP_ADDRESS>-8080-exec-9] de.javakaffee.web.msm.RequestTrackingHostValve.invoke >>>>>> Request starting: GET /InternalService-TomcatContainerStatus/v1/services/appserverstatus (requestedSessionId null) ==================
14-Mar-2018 18:03:40.742 FINE [http-nio-<IP_ADDRESS>-8080-exec-9] de.javakaffee.web.msm.RequestTrackingHostValve.invoke <<<<<< Request finished: GET /InternalService-TomcatContainerStatus/v1/services/appserverstatus ==================
14-Mar-2018 18:03:40.879 FINE [http-nio-<IP_ADDRESS>-8080-exec-10] de.javakaffee.web.msm.RequestTrackingHostValve.invoke >>>>>> Request starting: GET /PublicGUI-SupportGUI/v1/login.xhtml (requestedSessionId 86AB32364781588C44F19A434B84732E) ==================
14-Mar-2018 18:03:40.879 FINE [http-nio-<IP_ADDRESS>-8080-exec-10] de.javakaffee.web.msm.MemcachedNodesManager.canHitMemcached The sessionId does not contain a nodeId so that the memcached node could not be identified.
14-Mar-2018 18:03:40.880 FINE [http-nio-<IP_ADDRESS>-8080-exec-10] de.javakaffee.web.msm.MemcachedNodesManager.canHitMemcached The sessionId does not contain a nodeId so that the memcached node could not be identified.
14-Mar-2018 18:03:40.880 FINE [http-nio-<IP_ADDRESS>-8080-exec-10] de.javakaffee.web.msm.MemcachedSessionService.createSession createSession invoked: null
14-Mar-2018 18:03:40.880 FINE [http-nio-<IP_ADDRESS>-8080-exec-10] de.javakaffee.web.msm.SessionIdFormat.createSessionId Creating new session id with orig id 'ping' and memcached id 'n1'.
14-Mar-2018 18:03:40.880 FINE [http-nio-<IP_ADDRESS>-8080-exec-10] de.javakaffee.web.msm.NodeAvailabilityCache.updateIsNodeAvailable CacheLoader returned node availability 'false' for node 'n1'.

Here is the config in my context.xml:
    <Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
        memcachedNodes="n1:memcache-one-node.drkx12.cfg.usw2.cache.amazonaws.com:11211"
             sticky="true"
             storageKeyPrefix="context"
             sessionBackupAsync="false"
             requestUriIgnorePattern=".*\.(ico|png|gif|jpg|css|js)$"
           />

Has this error been seen before?
I'll attach a longer error example.
exampleerror.txt

removing the n1: from my memcacheNodes seems to have fixed it. Any insight on why would be helpful.

Great that this solved it. Unfortunately I cannot tell what was the problem
with the node id. Surely it would require some analysis to understand the
cause of the issues.
Cheers,
Martin
davedennis<EMAIL_ADDRESS>schrieb am Mi., 14. März 2018, 19:29:

removing the n1: from my memcacheNodes seems to have fixed it. Any insight
on why would be helpful.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/magro/memcached-session-manager/issues/376#issuecomment-373128368,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD7Hc1yjFt0K9Q3j2XtcU-ML5CJ2g0jks5teWGigaJpZM4Sq7HI
.

D'oh, the github emails did not contain the update. Can you share logs including the tomcat startup, and then for requests after having cleared cookies?

@magro I'll post what I can. My startup logs are fairly large. Is this enough detail? I added some of the cookie logs at the end.
catalina.txt

You're using tomcat clustering, which might conflict with msm session management. Can you turn tomcat clustering off?

@magro That's a good question. I didn't even realize I was. I'll have to look at the context and see. That's something that could donk it up? I'll have to look at another one of my context files and compare contrast. Ideally I would not want to take it out. But if they are not compatible I can try.

Looks like issue 350.
Leave out the dash of your context (PublicGUI-SupportGUI) or use another storageKeyPrefix (eg. storageKeyPrefix="context" in your config).


Need to be explicit about permissions needed to hit this endpoint.

It's not clear what permissions are needed to hit this endpoint. (Still trying to figure that out...)

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

ID: 03e8cef3-b884-a61b-2784-e7cbffc262a6
Version Independent ID: 380b9051-bb14-69b2-95bc-7100071359aa
Content: List - Activities API
Content Source: CloudAppSecurityDocs/api-activities-list.md
Service: defender-for-cloud-apps
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

Thank you for your comment. We'll investigate and get back to you.

This page documents the permissions necessary:
https://docs.microsoft.com/en-us/defender-cloud-apps/manage-admins
Does that answer your question?

We haven't heard back from you, so we will now close this issue. If this remains an issue, please reply and we will gladly continue the discussion.


Selftest breaking with vanilla CasperJS on Mac OS X

Just ran a casperjs selftest here and it failed. I'm running on a Mac OS X version 10.8.4, with PhantomJS version 1.9.1 and CasperJS version 1.0.2, both installed from homebrew.
Here is the test output, without the passed output:
Test file: /usr/local/Cellar/casperjs/1.0.2/libexec/tests/suites/casper/formfill.js
# Casper.fill()
FAIL Casper.fill() can select a file to upload
#    type: assertEvalEquals
#    subject: false
#    fn: undefined
#    params: undefined
#    expected: true

# Casper.getFormValues()
FAIL Casper.getFormValues() retrieves filled values
#    type: assertEquals
#    subject: {"check":true,"checklist[]":["1","3"],"choice":"no","content":"Am watching thou","email":"chuck@norris.com","file":"","password":"chuck","submit":"submit","topic":"bar"}
#    expected: {"check":true,"checklist[]":["1","3"],"choice":"no","content":"Am watching thou","email":"chuck@norris.com","file":"C:\\fakepath\\README.md","password":"chuck","submit":"submit","topic":"bar"}

FAIL Casper.getFormValues() correctly retrieves values from radio inputs regardless of order
#    type: assertEquals
#    subject: {"check":true,"checklist[]":["1","3"],"choice":"yes","content":"Am watching thou","email":"chuck@norris.com","file":"","password":"chuck","submit":"submit","topic":"bar"}
#    expected: {"check":true,"checklist[]":["1","3"],"choice":"yes","content":"Am watching thou","email":"chuck@norris.com","file":"C:\\fakepath\\README.md","password":"chuck","submit":"submit","topic":"bar"}

Test file: /usr/local/Cellar/casperjs/1.0.2/libexec/tests/suites/tester.js
FAIL Tester.assertField() works as expected with file inputs
#    type: assertField
#    subject: false
#    inputName: "file"
#    actual: ""
#    expected: "C:\\fakepath\\README.md"

FAIL 707 tests executed in 52.625s, 703 passed, 4 failed.

Details for the 4 failed tests:

In /usr/local/Cellar/casperjs/1.0.2/libexec/tests/suites/casper/formfill.js:0
   assertEvalEquals: Casper.fill() can select a file to upload
In /usr/local/Cellar/casperjs/1.0.2/libexec/tests/suites/casper/formfill.js:0
   assertEquals: Casper.getFormValues() retrieves filled values
In /usr/local/Cellar/casperjs/1.0.2/libexec/tests/suites/casper/formfill.js:0
   assertEquals: Casper.getFormValues() correctly retrieves values from radio inputs regardless of order
In /usr/local/Cellar/casperjs/1.0.2/libexec/tests/suites/tester.js:0
   assertField: Tester.assertField() works as expected with file inputs

In addition, I created a gist with the entire output.

This is documented as of CasperJS version 1.0.3 within CHANGELOG.md and clearly visible in the Caveats.


chore: add FromStr for Endpoint

Motivation

This is particularly handy when combined with clap::value_t.
Here's demo of it working with Clap:
cargo +stable init --bin tonic-demo
cd tonic-demo
cat <<-EOF >> Cargo.toml
  clap = "*"
  tonic = { path = "../hyperium/tonic/tonic" }
EOF
cat <<-EOF > src/main.rs
    use clap::{value_t, App, Arg};
    use tonic::transport::Endpoint;
    fn main() {
        let matches = App::new("tonic-demo")
            .arg(Arg::with_name("host"))
            .get_matches();
        let x = value_t!(matches.value_of("host"), Endpoint);
        println!("{:?}", x);
    }
EOF
cargo +stable run -- https://<IP_ADDRESS>:443

Solution

Add a impl FromStr for Endpoint. It clones since the s's lifetime is too short otherwise.

I'm sorry -- I don't really know how to reconcile this.

Can you provide guidance?

@Hoverbear that was a very helpful error message from gh lol. Restarted the checks, lets see if it works this time...


Add a waiter to Athena

Hello 👋
I've been recently working with Athena, and I found it useful to create a waiter for the query to be successful (so the results can be accessed and used in one script).
Changes:

Add a waiter called QuerySucceeded to Athena's waiters.
Success: QueryExecution.Status.State = SUCCEEDED
Failure: QueryExecution.Status.State = CANCELLED or FAILED
Keep waiting (implicit): QueryExecution.Status.State = QUEUED or RUNNING

The way I see it there's no change to the actual logic, so no tests are required. But please let me know if I missed that.
Have a great day!

Codecov Report

Merging #1271 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1271   +/-   ##
========================================
  Coverage    98.05%   98.05%
========================================
  Files           45       45
  Lines         7389     7389
========================================
  Hits          7245     7245
  Misses         144      144

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 5a07b47...76003d2. Read the comment docs.


请问下面这个错误怎么解决？The current Dart SDK version is 2.1.0-dev.3.1.flutter-760a9690c2.

The current Dart SDK version is 2.1.0-dev.3.1.flutter-760a9690c2.
Because InfinateCards requires SDK version >=2.1.0 <3.0.0, version solving failed.
pub get failed (1)

更新一下flutter版本试试
$ flutter upgrade


Add time spent on legend

Add the time spent on language / IDE on the chart's legend :

Great idea, i will implement in next release soon as possible


[AutoRelease] t2-containerservice-2023-05-16-26153(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4144
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=982

issue link:https://github.com/Azure/sdk-release-request/issues/4144

/check-enforcer override


What about supporting Ripple effects to all controls ?

Hi
Have you got any example, what do you mean?

Hi, new release has got breaking changes
You should use TouchView (more info in Readme file on main page of the project)
Use FadeDuration/FadeEasing/RecoverDuration/RecoverEasing for achieving the same behavior :)

Can you please give an example code?
On Wed, Nov 21, 2018, 3:50 AM Andrei<EMAIL_ADDRESS>wrote:

Closed #5 https://github.com/AndreiMisiukevich/TouchEffect/issues/5.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndreiMisiukevich/TouchEffect/issues/5#event-1978625397,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIdg7Jd2Ha2BKo3mjJWNGZCZAn5c1Xboks5uxIAdgaJpZM4YrqXS
.

        <touch:TouchView
            FadeDuration="250"
            RecoverDuration="250"
            Completed="Handle_TouchCompleted">

            <Label Text="CLICK ME" />

        </touch:TouchView>

Play with:

FadeDuration
RecoverDuration
FadeEasing
RecoverEasing
PressedOpacity

       <touch:TouchView
            PressedAnimationDuration="800"
            RegularAnimationDuration="800"
            RippleCount="-1"
            Padding="10, 5"
            BackgroundColor="Black"
            VerticalOptions="CenterAndExpand"
            HorizontalOptions="CenterAndExpand"
            Completed="Handle_TouchCompleted">

            <Label Text="CLICK ME"
                   TextColor="White"
                   FontSize="60"/>

        </touch:TouchView>

Will be available in the next release

Thanks alot,
Can we put any view inside touchview?
On Thu, Nov 22, 2018, 4:09 AM Andrei<EMAIL_ADDRESS>wrote:

   <touch:TouchView
        PressedAnimationDuration="800"
        RegularAnimationDuration="800"
        RippleCount="-1"
        Padding="10, 5"
        BackgroundColor="Black"
        VerticalOptions="CenterAndExpand"
        HorizontalOptions="CenterAndExpand"
        Completed="Handle_TouchCompleted">

        <Label Text="CLICK ME"
               TextColor="White"
               FontSize="60"/>

    </touch:TouchView>

Will be available in the next release
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndreiMisiukevich/TouchEffect/issues/5#issuecomment-440833760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIdg7ES4h3HU5GBrnimnVXAAWjWz725Xks5uxdYXgaJpZM4YrqXS
.

@SagarPanwala yes, sure
TouchView is AbsoluteLayout


TextEditingController dispose error

I am getting a weird error:
The following assertion was thrown building _FormScope:A TextEditingController was used after being disposed. Once you have called dispose() on a TextEditingController, it can no longer be used. User-created ancestor of the error-causing widget was:   FormBuilder-[LabeledGlobalKey#30305]
When the exception was thrown, this was the stack:
#0   ChangeNotifier._debugAssertNotDisposed. (package:flutter/src/foundation/change_notifier.dart:105:9)
#1   ChangeNotifier._debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:111:6)
#2   ChangeNotifier.addListener (package:flutter/src/foundation/change_notifier.dart:141:12)
#3   FormBuilderTextFieldState.initState (package:flutter_form_builder/src/fields/form_builder_text_field.dart:111:26)
#4   StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4068:58)
I have no idea what is causing it, since I am not disposing any TextEditingController at all.
I am using version 3.5.3 of flutter_form_builder, because newer versions are incompatible with Intl 0.15.8 and newer versions of Intl are incompatible with flutter_localizations.

Hi @pulstar,
Seems like your app UI is frequently rebuilding during runtime thus causing the TextEditingController used in the TextField to be disposed of.
On the issue of dependency resolution, I'd suggest having a look at this video which will help to make sure you don't remain behind just because of dependency mismatch.

Thank you very much! I will try.

I know this is old - but I looked at my app UI a little more closely and realized I had an issue like @danvick  suggested. I use the Provider package and when a user hit the bottom navigator button named "home" I popped off everything on the stack with Navigator.of(context).popUntil((route) => route.isFirst); . This caused the state to be messed up when switching to the page with my TextEditingController because it disposed of the controller when I had popped everything off the stack.


Current MacOS Download Zip broken

I'm not sure this is the right place to bring this up, as technically this is not an issue with the program, but rather the current zip download for MacOS. Anyway, here are my steps to reproduce:

Navigate to the download page

Click on the download for mac option, for versions 10.10+

You should see the download zip in your downloads bar

Click on that download once complete

MacOS will automatically attempt to unzip the files, briefly showing a status bar, then returning this error

Unzipping with command line returns a more descriptive error

I was able to download VSCode by going to the release archive, but I thought this should be documented somewhere, as I didn't see any reports of this issue. I am running MacOS Catilina on a Macbook Pro 2015.

Weird, it must be related to the other catalina issues somehow although it doesn't look like them https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aissue+is%3Aopen+label%3Amacos-catalina+
The zip looks valid for me (on non-catalina)

@ntatko What is the SHA1 checksum of that file? What is its full byte size?


Full screen for real: auto hide task bar when window is maximized

Description of the new feature / enhancement
It would be nice to have a third possibility for the taskbar, in addition to "auto hide task bar and always visible, similat to the app "Smart Task bar" but more stable and integrated:
When using a window in full screen view, it would be nice to automatize the hidden task bar, and when out to show back the task bar.

-Attention-
What  I mean for more integrated in the system is to avoid overlays like this

in order to have a clean UI view

Scenario when this would be used?
Show up the task bar in window mode and on the desktop.
Hide the task bar in full screen windows mode.
Supporting information
No response

Duplicate of #13993

Thanks for your suggestion! This look like another issue :)
I'm linking this issue to #13993 to centralize the discussion thread, please go to that thread for discussion.
Thanks for your help to make PowerToys a better piece of software!

Thanks for attention! I just wanted to specify what I mean for maximized view: I'm not talking about "F11" function, but only a better functionality of task bar when using the usual maximized windows button.
This will be great even including touch usability w/o keyboard.

Great info but this is outside PowerToys.  Windows feedback hub is a better spot


chore(deps) Update all non-major dependencies

make dep updates trigger a rev

Codecov Report
Patch and project coverage have no change.

Comparison is base (8049903) 93.93% compared to head (da17081) 93.93%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #40   +/-   ##
=======================================
  Coverage   93.93%   93.93%
=======================================
  Files           1        1
  Lines          33       33
  Branches        5        5
=======================================
  Hits           31       31
  Misses          1        1
  Partials        1        1

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


Add V-Dem data

https://www.v-dem.net/en/data/data/v-dem-dataset-v111/

Hi @jaeltan, I took a look at the V-Dem and V-Party datasets you imported. Good job! From what we discussed and what I have seen, it seems that both datasets are quite big. I have also seen that they have an R-package with both the updated V-Dem and V-Party datasets that they actively maintain. We could use a similar strategy than for the C-Shapes import and create an interface function that imports, cleans, and converts the data from their package directly.
The disadvantage of this solution is that we would add a dependency to {qStates}.
What do you think? @jaeltan @henriquesposito

Could it being on GitHub only (for the moment) trigger issues like those we're dealing with qData?

No, this is unrelated to the GitHub actions issues. Basically, the two alternatives I am suggesting are:

We integrate the raw datasets in our package directly in a CSV file (the traditional workflow)

The raw data and the processed data would reside in our package in this case
This would make the package quite heavy

We create a function that retrieves the data from their data package, formats it correctly and loads it into the user's environment (like we did for the C-Shapes data)

The raw data and the processed data would not reside in our package but only the import_VDem() function
This would imply an additional dependency for qStates

What do you think of these approaches?

I think we could give it a try, at the moment the V-Dem dataset can't be pushed onto GitHub at all because of its size, unless we use GitHub Large File Storage (not sure how well this works), or drop some of the data.

Thank you @jaeltan and @BBieri for the good work and helpful comments looking for possible solutions.

If we decide to add/store the VDem data into qStates, we should perhaps look at different file formats that are lighter than CSV. On top of my head, and from some of my work I have done on text, Rds is much faster and occupy less disk space than CSV. There is also the feather format/package which can be helpful for these types of operation (https://bookdown.org/csgillespie/efficientR/input-output.html). If you are able to bring the data to less than 100 MB, then, GitHub will let you push and just give you a warning. It is true that the package gets heavier, but it really only slows down (noticeably) the package once the data is loaded into environment and starts to use memory (and I think that this is the case whether you download the data or have it stored).

Downloading the data as we do for CShapes is indeed a neat solution here. Especially if we expect the datasets to be updated from time to time, that is, we can keep up to date more easily. However, GitHub has an API download limit for "regular" R users. Depending on the size of the files we would download, we would have to pay attention to this issue. For example, qData::get_packages() only works a few times in a row or in a single day before exceeding the API rate limit and giving the famous 404 error.

I believe before making a decision here, we should see (a) whether the file size can be reduced and more efficiently stored, and (b) whether GitHub API limits would be an issue for creating a function for downloading this dataset specifically and, if so, whether there is a solution for it.
A decision on this issue may also be important for setting precedent for how to proceed when adding large datasets into various qPackages. Thank you.

Great job @BBieri, thank you!
standardise_titles() is designed to for agreement titles (sentences) and some of the things that take the most time to process relate to removing all punctuation from these sentences, for examples. These types of operations you are not need for country names or labels. Thus, if you are passing standardise_titles() to country names or country labels you can, instead, simply use the text wrangling cleaning/standardizing functions you need more specifically; if they are needed. Otherwise, no need for standardise_titles() as I see it.
Once again, great job in getting this done!

Thanks for the quick answer @henriquesposito !
Perfect! I'll remove these calls in that case then if that sounds good to @jaeltan too since she knows more about the data itself.
Have a good one!


Add subscription modes for java client doc.

Motivation
Add document for java client to describe how to use each subscription modes and the difference between each subscription modes.
Modifications
Add subscription modes section for java client doc.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (no)

@Jennifer88huang @Anonymitaet Please help review this PR, i copied the document to google doc: https://docs.google.com/document/d/1a0OD7azjAZpCmiYw9fV8kagtXSwTkD004oC3Mz636eU/edit?usp=sharing

Good idea, I'll give comments in the google doc.

@codelipenghui I've finished reviewing the file in Google doc, you can check my comments there. If there is any issue, feel free to contact me.

@Jennifer88huang Thanks for the review, i have synced updates to this PR.

@merlimat @sijie @jiazhai Please help review the document if you have time.

run java8 tests

run java8 tests


Links to images and animations

Description
Links to images and animations
Fixes #228
Fixes #229
Type of change

Documentation update

Testing steps
N/A

Codecov Report

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

@@           Coverage Diff           @@
##           master     #230   +/-   ##
=======================================
  Coverage   51.28%   51.28%
=======================================
  Files          12       12
  Lines        1129     1129
=======================================
  Hits          579      579
  Misses        480      480
  Partials       70       70

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 484a957...e030183. Read the comment docs.


configure Instana Agent repository conditionally

The new switch instana_agent_configure_repo allows to disable the configuration of the Instana Agent repository. This comes in useful, when a custom local Instana Agent repo mirror is setup and configured otherwise.

Addes fixes for file modes and adjusted the agent_update template to no change after instana-agent package upgrades.
Please merge.

Hi Frederik,
thank you for enhancing the ansible config and creating that pull request.
Greetings from Cologne,
Marcel


A mishmash of things

Please feel free to cherry-pick/ignore any of these, they were so small I didn't feel up to doing separate pull requests, sorry.
The commit hash in the README will need updating (or more easily, could just say look at rawgit I guess).

Brilliant stuff. Thank you!


feat(v1): v1 release of library

BREAKING CHANGE

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


performance issues

fixed performance issues:

avoid recalculate gradient colours everiytime on layout
avoid to resize images which width is lower that 250px

now gradient layer is always insert as background layer
fixed demo application - now image is subview in gradient view
added gitignore

Thanks for you help @krezzoid

@gkye welcome :)


Entry bundles are not generated with single runtimeChunk option

Bug report

What is the current behavior?
On webpack 4.17 when I add a single runtime option to my config runtimeChunk: { name: shared } my entry bundles are not generated.
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
I may be mistaken but my understanding of adding the single runtime option would extract the runtime code from each entry point into a single runtime chunk but leave the necessary module-exports within each entry bundle.

The issue I am currently experiencing is that splitChunks is creating multiple instances of my store for each entry point (The store we are using is extremely old and outdated, but that is out of my control ATM).
Without a single runtime option,  runtime code is being added to each entry point which executes the same module multiple times - I succeeded in recreating the issue in a sandboxed environment and when I added a single runtimeChunk to my config this extracted the runtime code into a single file and resolved my issue - however when I applied this to my application - a runtime file WAS created, but my entry bundles were not.
here is my optimization config:
optimization: {
  splitChunks: {
    cacheGroups: {
      commons: {
        name: 'commons',
        filename: "js/[name].js",
        test: /\.js(x)?$/,
        chunks: "initial",
        minChunks: 1
      }
    }
  },
  runtimeChunk: {
    name: 'shared',
  },
},

Other relevant information:
webpack version:  4.17
Node.js version: 8.9
Operating System: OSX
Additional tools:

Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem.

Hi @sokra,
On further inspection the issue seems to be caused by an inconsistency when using runtimeChunk with output.filename I recreated the scenario and steps to reproduce here:
https://github.com/Rody-Kirwan/webpack-single-runtime/blob/master/README.md

Would really appreciate an update on this as it's blocking our upgrade

output.filename is only used for chunks with runtime. All other chunks use output.chunkFilename. This is going to change with webpack 5, but that's the current state with webpack 4.
Your files are not missing, they just have another name. Best read the final filenames for the entries from the stats, as they are included there.

@sokra Hmm - Okay that solves that issue but it causes some difficulty when using chunkhash right?
'js/[id]-[name].[chunkhash].js'
Would it be possible to create a PR where chunkFilename accepts a function - something like
chunkFilename: (chunk) => (chunk.name === 'entry' ? 'js/[name].js : 'js/[id]-[name].[chunkhash].js')

No it's not possible to make chunkFilename a function (it need to generated at runtime).

Okay that solves that issue but it causes some difficulty when using chunkhash right?

When using chunkhash you should also use chunkhash in output.filename so it's not more difficult than doing it correctly.
Read the final filenames from the stats.

Sorry, I'm not sure I understand how this will work. Our index.html is server-side rendered as the inclusion of certain entry scripts is dependant on environment-specific configs. The src url of these files needs to be predetermined. i.e. - without knowing the hash of each chunk created during a build.

The src url of these files needs to be predetermined. i.e. - without knowing the hash of each chunk created during a build.

You should reconsider this. Otherwise you can't call it Long Term Caching. Filenames need to have hashes in their filenames.
You can get the filenames from stats.

Okay, thank you. Unfortunately I'm not sure we're in a position to change this at the moment.
If you can think of any "dirty" workaround using WP that would be great. Otherwise you can close this.
I appreciate the help.

In a plugin you can set the filenameTemplate property of chunks to override the filename. You can do this on all chunks referenced by compilation.entrypoints

Excellent. Thank you very much @sokra.
I found this https://www.npmjs.com/package/webpack-chunk-rename-plugin
Seems to do the trick

Great it does exactly this.


Example App Not Working

After cloning the example app and following the directions to replace the .js files (with my own paid version from Datatables.net) I'm unable to edit or delete data.  Any help is greatly appreciated.

Can you give me more information? What messages are in the browser console? What messages are there in Django?

The tables all load fine, and I can select a record to edit.    In the browser it says ‘a system error has occurred and has a link to the data tables.net site.  In my console I get an 500 and it says the ‘Artist’ object is not iterable.
Thanks for your help.  I really appreciate it and look forward to this working!
Nat
On May 17, 2019, 1:13 AM -0700, Vyacheslav V.V<EMAIL_ADDRESS>wrote:

Can you give me more information? What messages are in the browser console? What messages are there in Django?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I tested cloning and running the sample application again and everything works.
Did you use virtualenv? if you haven't used it, please try using.
If this does not help, please email me at<EMAIL_ADDRESS>and i will try to help you.

Ok. I am using a virtual env. I’ll try again and email with more details if I have trouble. Thanks for all your work and all your help. I greatly appreciate it!!
Nat
On May 18, 2019, 1:51 AM -0700, Vyacheslav V.V<EMAIL_ADDRESS>wrote:

I tested cloning and running the sample application again and everything works.
Did you use virtualenv? if you haven't used it, please try using.
If this does not help, please email me at<EMAIL_ADDRESS>and i will try to help you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Another crash in 1.11.1 for windows.

Further to issue #728 I switched to VLC which worked on twitch.tv streams, but crashes livestreamer on streams from livestream.com:
[cli][info] Found matching plugin livestream for URL http://new.livestream.com/c
hess24/grenkechess
[cli][info] Available streams: 24k (worst), 270p, 270p_hls, 432p, 432p_hls, 720p
(best), 720p_hls
[cli][info] Starting player: "C:\Program Files (x86)\VLC\vlc.exe"
[cli][info] Got HTTP request from unknown player
Traceback (most recent call last):
File "", line 6, in
File "main.py", line 128, in
File "main__livestreamer.py", line 9, in
File "livestreamer_cli\main.py", line 851, in main
File "livestreamer_cli\main.py", line 470, in handle_url
File "livestreamer_cli\main.py", line 353, in handle_stream
File "livestreamer_cli\main.py", line 168, in output_stream_http
UnboundLocalError: local variable 'prebuffer' referenced before assignment

Just to update, I tried with the current nightly build for windows (by just unzipping the files in the archive over the existing installation), and the same error occurs, although the traceback is more detailed:
[cli][info] Found matching plugin livestream for URL http://new.livestream.com/c
hess24/grenkechess
[cli][info] Available streams: 24k (worst), 270p, 270p_hls, 432p, 432p_hls, 720p
(best), 720p_hls
[cli][info] Starting player: "C:\Program Files (x86)\VLC\vlc.exe"
[cli][info] Got HTTP request from VLC/2.1.5 LibVLC/2.1.5
Traceback (most recent call last):
File "", line 6, in
File "main.py", line 128, in
File "C:\Program Files (x86)\Livestreamer\library.zip_main__livestreamer_.p
y", line 9, in
File "c:\program files (x86)\livestreamer\livestreamer-1.11.1-py2.7.egg\livest
reamer_cli\main.py", line 877, in main
handle_url()
File "c:\program files (x86)\livestreamer\livestreamer-1.11.1-py2.7.egg\livest
reamer_cli\main.py", line 489, in handle_url
handle_stream(plugin, streams, stream_name)
File "c:\program files (x86)\livestreamer\livestreamer-1.11.1-py2.7.egg\livest
reamer_cli\main.py", line 372, in handle_stream
return output_stream_http(plugin, streams)
File "c:\program files (x86)\livestreamer\livestreamer-1.11.1-py2.7.egg\livest
reamer_cli\main.py", line 184, in output_stream_http
read_stream(stream_fd, server, prebuffer)
UnboundLocalError: local variable 'prebuffer' referenced before assignment

I pushed a potential fix (652dab1be3e80c029a9900164f67619c1c4c5b54) that should avoid the crash at least. But I'm still quite puzzled how you would end up exiting the main loop at all without a stream object.


💭 [REQUEST] - Refactor out REST API

Reference Issues
#714
Summary
As we migrate to the new 4.0 baseline, there are tasks on the flip side that need to be completed. 4.0 includes refactoring out certain portions of the code base to new repositories. We need to be sure that those portions do get migrated to their new homes making use of the new 4.0 system. So, once we have rebaselined we will need to sort the work to re-implement the refactored out functionality.
Basic Example
All pertinent REST API pieces need refactored out to their new repository and updated to use the 4.0 API.
What are the drawbacks/impacts of your feature request?
Loss of the REST API functionality until the supporting pieces of the REST API and capability have been migrated over to their new home.
Unresolved questions
No response

Replicated this in its respective repository: https://github.com/DevOps-MBSE/rest-api/issues/1


fix(ms): blacklist + emitter/log

Released: v0.2.1 🎉
This has been released in v0.2.1!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i mocktory@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


Issue #18 Close menu on Mouseout of menu.

Keeps menu open when mousing over menu. Hides it when mouse out.
Still stays open if you mouse out of the anchor link. Couldn't find a
perfect quick solution for that.

:+1:


Provide a slightly more general Cassandra query

Widen the value type to double. Use CAST() to convert it if needed.
Add 'allow filtering' to provide for the case where there is a composite primary key,
albeit with the performance degradation associated with this clause.

Looks great, thank you! I'm to review it tomorrow morning.


Deal with n_neighbors <= n_samples

See here, basically not enough samples for number of labels so can use one of these approaches: https://stackoverflow.com/questions/49395939/smote-initialisation-expects-n-neighbors-n-samples-but-n-samples-n-neighbo

This is a data side issue and not worth fixing imo right now

This is a data side issue and not worth fixing imo right now


[Feature request] Ordinality based queries

Feature Request
Opening a feature request kicks off a discussion.
Requests may be closed if we're not actively planning to work on them.
Proposal:
Lets say that I store a point every second, and later want to query every n-th point from time x to time y. Since n might vary from query to query CQs aren't a good solution to solve this scenario.
Current behavior:
n/a
Desired behavior:
A query like SELECT * FROM h2o_feet WHERE time > now() - 7d ORDINALITY 10 should return every 10th point from hto_fleet for the last seven days.
Use case:
E.g. when showing a historical graph on a web page that is limited by the resolution  (size) of the screen, the resolution of data-points can be matched/calculated so that an more appropriate amount of data is queried from the db and bandwidth is saved and speed is optimized.

Thank for your response @jsternberg. However this is not the same as the feature request you mention. That feature wants to do calculations (average etc.) of n adjacent points, I am talking about just picking every n-th measurement as is.
There is a big difference in computational power needed for these two different things I believe.
Regards,
Peter

Ah, you are correct. Sorry about that.

Short update. CQs turned out to not work on this scenario, since it will rename the field tag to the operator that is used (first, max, min, mean, etc.) SO for now I have created duplicate measurements that I write to with lower resolution/more seldom. Really hope there is a more elegant way planned (or existing that I don't know of.)

@sveip you can use aliases to write operators using the correct name. Something like:
SELECT first(value) as value INTO ... FROM ...

Thanks @jsternberg, that sure does help. The problem is that some of the value are strings, and no operator let me pick single of those as far as I understand.

I would still really like to be able to query every n-th entry in a measurement, this would be very handy when working with large data sets.

Hope this can be implemented.

I would very much appreciate if this can be considered as a feature.


Telegram wrongly reports channel.db exceeds 5GB

Telegram reports channel.db size 4,953 gb exceeds 5 gb but it's not.

du -h ~/umbrel/lnd/data/graph/mainnet/channel.db reports a size of 4.7 GB

jet uses (https://www.geeksforgeeks.org/node-js-fs-statsync-method/)[statSync] method to determine files size. it is equivalent to ls -l, which will return the actual file size in bytes as opposed to du -h which shows disk usage. try ls -l instead to see if it returns the same size as jet.

The fix to the issue where it says that 4,953 exceeds 5gb will be part of the next git push.

Corrected message:
channel.db size 4,953 gb exceeds 2 gb
familiarize yourself with compacting & pruning procedure: https://plebnet.wiki/wiki/Compacting_Channel_DB


ISingleResultSpecification usage issue.

Let me start by giving a brief overview of ISingleResultSpecification. This interface does not affect and is not utilized by the specification infrastructure at all. This is just a marker interface used to constrain the specification usage in the repositories, more specifically the GetBySpec repository method. The initial idea was to help users to avoid doing mistakes and passing wrong specifications to GetBySpec. At first glance, it seemed a great idea, but it turned out to be really flawed. Unfortunately, it did more harm than good. Let me summarize the issues:
Issues:

This is the signature of GetBySpec methods.

Task<T?> GetBySpecAsync<Spec>(Spec specification, CancellationToken cancellationToken = default) where Spec : ISingleResultSpecification, ISpecification<T>;
Task<TResult?> GetBySpecAsync<TResult>(ISpecification<T, TResult> specification, CancellationToken cancellationToken = default);

As we can see, we have no constraint for the GetBySpecAsync<TResult> method. We can't apply the same constraint since we have a method generic parameter too. That said, whenever users mark a given Specification<T, TResult specification with ISingleResultSpecification, the usage can no longer be inferred correctly and the wrong method is called.
public class CustomerNameSpec : Specification<Customer, string>, ISingleResultSpecification
{
    public CustomerNameSpec(int id)
    {
        Query.Select(x => x.Name)
             .Where(x => x.Id == id);
    }
}

var spec = new CustomerNameSpec(1);

// This call will pick the wrong method GetBySpecAsync<Spec>, instead of GetBySpecAsync<TResult>
var result = await customerRepository.GetBySpecAsync(spec)

// To mitigate this, users have to explicitly define the `TResult` all the time, and that's tedious.
var result = await customerRepository.GetBySpecAsync<string>(spec)

We added this interface to help minimize the bugs, but actually, we introduced way more potential bugs on another front. The users get confused why they're getting T instead of TResult even though they have applied Select and working with Specification<T, TResult.

It gives a wrong impression that applying this interface somehow affects how the results are queried. The method still uses FirstOrDefaultAsync, not using SingleOrDefaultAsync. So, it provides a false sense of security.
We restricted how users design their specifications. It's not uncommon to have specifications with several constructors. For instance, one accepting int id, and an additional one IEnumerable<int> ids. Now, they must mark it with ISingleResultSpecification, which is confusing.

Proposal:
Perhaps we should admit our mistake and do the following:

Remove the constraint for the GetBySpec method. This will not be a breaking change, existing code will still work. All calls with Specification<T, TResult will be inferred correctly now again. The methods will have the following signature

Task<T?> GetBySpecAsync(ISpecification<T> specification, CancellationToken cancellationToken = default);
Task<TResult?> GetBySpecAsync<TResult>(ISpecification<T, TResult> specification, CancellationToken cancellationToken = default);

We won't delete the interface. We'll have ISingleResultSpecification, ISingleResultSpecification<T> and ISingleResultSpecification<T, TResult>. Users can utilize them as they wish.
If users want to add constrained repository methods, they can be explicit and define the following methods. These methods perhaps can use SingleOrDefaultAsync EF method, and that would be a more correct approach for these cases.

Task<T?> SingleOrDefaultAsync(ISingleResultSpecification<T> specification, CancellationToken cancellationToken = default);
Task<TResult?> SingleOrDefaultAsync<TResult>(ISingleResultSpecification<T, TResult> specification, CancellationToken cancellationToken = default);

For convenience, they can also create the following base specifications too
public class SingleResultSpecification<T> : Specification<T>, ISingleResultSpecification<T>
{
}
public class SingleResultSpecification<T, TResult> : Specification<T, TResult>, ISingleResultSpecification<T, TResult>
{
}

// Then use these base specs as following
public class CustomerNameSpec : SingleResultSpecification<Customer, string>
{
    public CustomerNameSpec(int id)
    {
        Query.Select(x => x.Name)
             .Where(x => x.Id == id);
    }
}

var spec = new CustomerNameSpec(1);
var result = await customerRepository.SingleOrDefaultAsync(spec);

Alternatively, we can implement the proposal and provide it as part of the library.
Implementation proposal:

Define the following specification types

public class SingleResultSpecification<T> : Specification<T>, ISingleResultSpecification<T>
{
}
public class SingleResultSpecification<T, TResult> : Specification<T, TResult>, ISingleResultSpecification<T, TResult>
{
}

I really do advocate for verbose repository method names. So, instead of GetBySpec we can define the following methods:

// These will work with any specification.
Task<T?> FirstOrDefaultAsync(ISpecification<T> specification, CancellationToken cancellationToken = default);
Task<TResult?> FirstOrDefaultAsync<TResult>(ISpecification<T, TResult> specification, CancellationToken cancellationToken = default);

// These will work only with SingleResultSpecification
Task<T?> SingleOrDefaultAsync(ISingleResultSpecification<T> specification, CancellationToken cancellationToken = default);
Task<TResult?> SingleOrDefaultAsync<TResult>(ISingleResultSpecification<T, TResult> specification, CancellationToken cancellationToken = default);

Mark the GetBySpec methods as obsolete, then we'll remove them in the next major release.

I think this will be a good approach. The new methods will offer consistent and reliable usage. Users can keep their existing code and have time for the transition until version 7.

Love the implementation proposal https://github.com/ardalis/Specification/issues/242#issuecomment-1037437210.
Maintaining a nuget package for personal and professional use, we're currently using the ISingleResultSpecification interface in some generic repository as GetBySpec does. I must say that I initially loved the concept of the single result specification. Used it, promoted it by introducing it in our package, and now regret having done that. It doesn't make the code cleaner. We're currently discussing to remove the usage of ISingleResultSpecification in our generic repo.

Do you think many folks would find these useful?
// These will work with any specification.
Task<T?> FirstOrDefaultAsync(ISpecification<T> specification, CancellationToken cancellationToken = default);
Task<TResult?> FirstOrDefaultAsync<TResult>(ISpecification<T, TResult> specification, CancellationToken cancellationToken = default);

Me 😆. I almost always use FirstOrDefault, and very rarely have use cases for SingleOrDefault. Let me elaborate with an example. Let's have the following specification
public class CustomerSpec : Specification<Customer>
{
  public CustomerSpec(string firstName, string lastName)
  {
    Query.Where(x => x.FirstName == firstName && x.LastName == lastName);
  }
}

If the business requirement is that we should never have two customers with the same FirstName and LastName, then I'd always check that while creating a new Customer. If by any chance you have persisted in such duplicate, then the damage is already done. No matter what approach you use to read the data, the bottom line is you have inconsistent data. By using SingleOrDefault you're not mitigating the issue, you'll just get an exception while running this query (always).
So, I personally won't use either SingleOrDefault or SingleResultSpecification very often. There are some valid use cases, so yea let's keep them around.

I found this issue today looking for something like FirstOrDefaultAsync; look forward to it landing!


Discord renders a black window on Wayland

Describe the bug
If you start the standalone (Electron-based) Discord client on Wayland, though possibly only Wayland-on-Nvidia, it renders an entirely black window.
This is not nixos-specific. Various workarounds are posted around the internet; the ones that work best are to run it with --disable-gpu, or (preferrably) --use-gl=desktop. I don't know what implications would come of making the second one the default.
Steps To Reproduce
Steps to reproduce the behavior:

nix run nixpkgs#discord

Expected behavior
The discord window should render. ;-)
Screenshots

Notify maintainers

@ldesgoui @MP2E @devins2518
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.16-lqx2, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `relaxed`
 - version: `nix-env (Nix) 2.6.0`
 - channels(svein): `""`
 - nixpkgs: `/etc/nixpkgs`

It renders fine if you disable hardware acceleration in settings first (obviously done on Xorg)

For anyone who just wants it to work, here's a workaround you can put in your environment.systemPackages:
    (pkgs.writeShellApplication {
      name = "discord";
      text = "${pkgs.discord}/bin/discord --use-gl=desktop";
    })
    (pkgs.makeDesktopItem {
      name = "discord";
      exec = "discord";
      desktopName = "Discord";
    })

Remove any existing 'discord' entry, of course.

Hey @Baughn , where do you write this work around? My discord is black screen as well and passing --use-gl=desktop in the terminal works. However, I do wan't to have to do that every time. I am relatively new to Linux, I feel like there is no environment.systemPackages file. So I'm lost exactly where to put this work around! Thanks!

Electron 17.3.1 with the upstream fix has been released. I guess we need to wait until Discord upgrades their Electron version.

discord --use-gl=desktop only works because it runs on xorg using xwayland.

Hey @Baughn , where do you write this work around? My discord is black screen as well and passing --use-gl=desktop in the terminal works. However, I don't want to have to do that every time. I am relatively new to Linux, I feel like there is no environment.systemPackages file. So I'm lost exactly where to put this work around! Thanks!
Edit: Built an executable file to just do it for me. Though still curious where you are talking about.

My comment was only relevant on NixOS, where it’s part of the system configuration file.
You sound like you’re just using Nix. In that case, home-manager does something similar.

Discord recently updated its Electron version. Does the issue still persist?

I can still reproduce it on Discord 0.0.21, Kubuntu 22.10. KDE 5.26

This also started happening for me when I started using nvidia drivers.

For anyone who just wants it to work, here's a workaround you can put in your environment.systemPackages:
    # Work around #159267
    (pkgs.writeShellApplication {
      name = "discord";
      text = "${pkgs.discord}/bin/discord --use-gl=desktop";
    })
    (pkgs.makeDesktopItem {
      name = "discord";
      exec = "discord";
      desktopName = "Discord";
    })

Remove any existing 'discord' entry, of course.

@Baughn This works for me but GNOME doesn't have an icon for Discord, any idea why or how to fix?

I solved it by downloading the icon locally and adding icon = ./discord.png

Why does --use-gl=desktop do anything at all? It looks like this is supposed to be the default: https://source.chromium.org/chromium/chromium/src/+/main:ui/gl/gl_switches.cc;l=100-101;drc=8bca1335dc7993df8e44307816092f9f9d25d4aa
(Also FWIW, Discord works perfectly fine for me on amdgpu and i915 when started normally but env -u NIXOS_OZONE_WL Discord --use-gl=desktop is required on the proprietary nvidia drivers.)

I solved it by downloading the icon locally and adding icon = ./discord.png

You can also directly reference the icon from your GTK icon theme, here's how I did it using Tela circle:
packages = [
  tela-circle-icon-theme
  (pkgs.makeDesktopItem {
    name = "discord";
    exec = "${pkgs.discord}/bin/discord --use-gl=desktop";
    desktopName = "Discord";
    icon = "${pkgs.tela-circle-icon-theme}/share/icons/Tela-circle/scalable/apps/discord.svg";
  })
];

This setup is probably better as you won't need to manually download the icon so this will make your system reproducible. The location of the icon file might differ depending on your icon theme though.

This graphical issue and other chromium / electron based applications graphical issues are probably related to #224332.

I can confirm that setting NIXOS_OZONE_WL=1 fixes the issue for me. How come that isn't the default?

Because it also breaks other things, for example:

https://github.com/NixOS/nixpkgs/issues/238416
https://github.com/NixOS/nixpkgs/issues/237978

I've found that
discord --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations
also works on Wayland

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/all-nividia-drivers-crash-or-do-not-work/47427/4

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/all-nividia-drivers-crash-or-do-not-work/47427/6


test: Detach "core" from "apache"

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Related Issue
none

Need Doc update
no

Describe your change
Move the setup of the Apache-based search client away from the package containing the actual test suite.
What problem is this fixing?
This actually extracts the last remaining dependency on the Apache client from the tests suite.

Re-based with the fix from test/split-core-apache, now tests are passing 👍

Thanks @BenoitPerrot 🎉


when use EasyFlipView with Android Tinder Swipe View back view invisibl

https://blog.mindorks.com/android-tinder-swipe-view-example-3eca9b0d4794
when use EasyFlipView  front is good but when flip back became invisible white screen and can not do any action in back view

i have the same problem
usage in viewpager 2


Chef initiated reboot results in fatal log messages.

Hello,
Rebooting a node via the reboot resource results in a FATAL message being printed along with the path to the stacktrace. This can cause users to think there is a problem that requires investigation.
Example:
  * reboot[app_requires_reboot] action request_reboot[2020-05-04T20:09:11+02:00] WARN: Reboot requested:'app_requires_reboot'
    - request a system reboot to occur if the run succeeds

Running handlers:
Running handlers complete
Chef Infra Client finished, 1/1 resources updated in 17 seconds
[2020-05-04T20:09:12+02:00] WARN: Rebooting server at a recipe's request. Details: {:delay_mins=>0, :reason=>"Need to reboot when the run completes successfully.", :timestamp=>2020-05-04 20:09:11 +0200, :requested_by=>"app_requires_reboot"}

Running handlers:
[2020-05-04T20:09:12+02:00] ERROR: Running exception handlers
Running handlers complete
[2020-05-04T20:09:12+02:00] ERROR: Exception handlers complete
Chef Infra Client failed. 1 resources updated in 17 seconds
[2020-05-04T20:09:12+02:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
[2020-05-04T20:09:12+02:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2020-05-04T20:09:12+02:00] FATAL: Chef::Exceptions::Reboot: Rebooting server at a recipe's request. Details: {:delay_mins=>0, :reason=>"Need to reboot when the run completes successfully.", :timestamp=>2020-05-04 20:09:11 +0200, :requested_by=>"app_requires_reboot"}

As this is a controlled reboot or termination of the chef-client (e.g. when performing chef-client upgrades), this shouldn't print a message containing "FATAL" or "Exception".
Could this please be changed to a more user friendly message when Chef is rebooting the server or terminating the chef-client process as per a recipe's instruction.

I completely agree with you!

this is brutal... makes me second guess my provisions everytime!


⚠ Processors has degraded performance

In 7770acf, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 58 ms

Resolved: Processors performance has improved in ff5ff00.


HOPS-82 Ignore unusable GPUs on NM

HOPS-82 Ignore unusable GPUs on NM

Can one of the admins verify this patch?

Jenkins test this please.

Jenkins test this please.

Jenkins test this please.

Jenkins test this please.


SUSE byol translation don't  fail when SUSEConnect commands failed

Clarifying in the logs which commands failed as a warning for the user. In both the translation serial port logs and in daisy main logs to be clear for the user.
/cc yswe
/cc @michaljankowiak

/hold
/lgtm

/unhold


[feature request]: Recursive loading of image folder

Could you add an option for recursive loading of image files, with any number of layers? So you can sort more then just having multiple folders?
So rather then
1_Character 1
1_Character 2
1_Character 3
1_Character 4
1_Character 5

You can have
Series 1
    Character 1
        1_Outfit 1
        1_Outfit 2
    1_Character 2
Series 2
    1_Character 1
    Character 2
        1_Outfit 1
        1_Outfit 2
    1_Character 3

Currently what i'm doing is prefixing the series or another tag to the beginning of the folder name, but it gets very cluttery with thousands of folders, yes im trying to train a Checkpoint.
1_Series 1 Character 1 Outfit 1
1_Series 1 Character 1 Outfit 2
1_Series 1 Character 2
1_Series 2 Character 1
1_Series 2 Character 2 Outfit 1
1_Series 2 Character 2 Outfit 2
1_Series 2 Character 3

But it has gotten so cluttery i am now thinking of using SymLinks as a temporary solution. So i can have one structured folder and then the unstructured training folder with SymLinks.

We recommend that you create a *.caption (or *.txt) file with the same base filename for each image, and write the caption there, so that you can place all your images (and text files) in one folder. Please use --caption_extension option to specify the extension of the caption files.

Im already doing that, the problem is with organizing a million images in the same folder. One way is to split it into multiple folders, but imo its not enough, i want subfolders ontop of that as well.


ci: Start using macos-14 ARM runners, bump latest OCIO

No more need for the paid macos13-arm-py311 runner and only use it on the ASWF repo selectively. An ARM-based MacOS-14 runner is now available for open source projects, so can run free on every PR and on user forks.

CI only, can't break anything -> merge


Writing the xmp to file changes the Creation date of the file

For files that have XMP embedded in the image file itself, like JPG. The PutXmp function is overwriting the Date Created property of that file. What's even weirder is it only changes it the first time I copy the photos from an IPhone that clicked the photos to my laptop. On subsequent runs only the Date Modified is changed, which is expected.
Expected Behaviour
Only the Date Modified should change and the Date Created should not be affected.
Actual Behaviour
Date Created is changed on the first run.
Steps to Reproduce
This is the equivalent code using the rust bindings. (I am not sure about the C++ code, but this just calls the C++ functions under the hood)
use xmp_toolkit::{OpenFileOptions, XmpFile, XmpValue};

fn set_image_metadata(
    file_path: &str,
    label: &str,
    rating: i32,
) -> Result<(), Box<dyn std::error::Error>> {
    let mut file = XmpFile::new().unwrap();
    file.open_file(file_path, OpenFileOptions::default().for_update())
        .unwrap();
    let mut xmp_meta = file.xmp().unwrap();

    xmp_meta.set_property(
        "http://ns.adobe.com/xap/1.0/",
        "Label",
        &XmpValue::from(label),
    )?;
    xmp_meta.set_property(
        "http://ns.adobe.com/xap/1.0/",
        "Rating",
        &XmpValue::from(rating.to_string()),
    )?;

    file.put_xmp(&xmp_meta).unwrap();
    file.try_close().unwrap();

    Ok(())
}

fn main() {
    let file_path = "";

    set_image_metadata(file_path, "Red", 1).unwrap();
}

Click a JPG photo from your phone.
Copy the photo over your PC.
Run the above code on your photo.
Watch the Creation Time change from when you clicked the photo to the time you ran the code.
On subsequent runs of the same code, the Creation Time is not changed anymore, it stays on the time you first ran the code.

Note to C++ XMP team: I don't think there's anything too special about the .put_xmp() method here. The Rust-to-C++ boundary call is here: https://github.com/adobe/xmp-toolkit-rs/blob/main/src/ffi.cpp#L265-L279. Most of the overhead there is in converting any C++ exceptions that might be thrown into Rust errors.


UI changes

on the published site, the description of the product is not consistent neither visible completely.
I would love to make changes in the ui regarding this.

@Prathamesh0901 It got changed. Please Fix UI

@Prathamesh0901 yeah fine.

Fixed


RC6 fails to start with customised configuration

starting the onezone (scenario 3_0 multihost) with the command ./run_onedata.sh --zone it fails with the following error message:

onezone-1                  | * service_onepanel: create_tables
onezone-1                  | Error: Service Error
onezone-1                  | Description: Action 'deploy' for a service 'onezone' terminated with an error.
onezone-1                  | Module: service_onepanel
onezone-1                  | Function: create_tables
onezone-1                  | Hosts: onezone.cloud.ba.infn.it

the differences between the original docker-compose file and the customised ones are the following:

7c7
<     hostname: onezone.cloud.ba.infn.it
---
>     hostname: node1.onezone.localhost
16c16
<         - "/opt/onedata/onezone/auth.conf:/volumes/persistence/var/lib/oz_worker/auth.config"
---
>         #- "${AUTH_PATH}:/volumes/persistence/var/lib/oz_worker/auth.config"
20,22c20,22
<         - "/opt/onedata/onezone/ssl/etc/oz_worker/certs/gui_key.pem:/volumes/persistence/etc/oz_panel/certs/key.pem"
<         - "/opt/onedata/onezone/ssl/etc/oz_worker/certs/gui_cert.pem:/volumes/persistence/etc/oz_panel/certs/cert.pem"
<         - "/opt/onedata/onezone/ssl/etc/oz_worker/cacerts/gui_cacert.pem:/volumes/persistence/etc/oz_panel/certs/cacert.pem"
---
>         #- "${OZ_PRIV_KEY_PATH}:/volumes/persistence/etc/oz_panel/certs/key.pem"
>         #- "${OZ_CERT_PATH}:/volumes/persistence/etc/oz_panel/certs/cert.pem"
>         #- "${OZ_CACERT_PATH}:/volumes/persistence/etc/oz_panel/certs/cacert.pem"
41c41
<           domainName: "cloud.ba.infn.it"
---
>           domainName: "onezone.localhost"
45c45
<               hostname: "onezone"
---
>               hostname: "node1"
57,58c57,58
<           name: "INFN-BA"
<           domainName: "onezone.cloud.ba.infn.it"
---
>           name: "Example"
>           domainName: "onezone.localhost"

as we managed to run onezoen on the same machine with version rc9, I consider that issue closed.


netpol: Use kube-router as a library

Proposed Changes

Before this change, we were copying a part of kube-router code to
pkg/agent/netpol directory with modifications, from which the biggest
one was consumption of k3s node config instead of kube-router config.
However, that approach made it hard to follow new upstream versions.
It's possible to use kube-router as a library, so it seems like a better
way to do that.
Instead of modifying kube-router network policy controller to comsume
k3s configuration, this change just converts k3s node config into
kube-router config. All the functionality of kube-router except netpol
is still disabled.
Types of Changes

Refactoring
Verification

So far I did a simple network policy test according to the following docs:
https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/
What I did was:

deploying k3s on Vagrant environment
creating an nginx deployment, exposing it as a service
checking if I can connect to the service from a busybox pod - I could, as expected
creating a simple network policy limiting access to nginx
checking again if I can connect to the service from a busybox pod - I could not, as expected

root@k3s-1-ubuntu2104:~# ./dist/artifacts/k3s kubectl get svc,pod
NAME                 TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)   AGE
service/kubernetes   ClusterIP   <IP_ADDRESS>       <none>        443/TCP   22m
service/nginx        ClusterIP   <IP_ADDRESS>   <none>        80/TCP    6m13s

NAME                         READY   STATUS    RESTARTS   AGE
pod/nginx-6799fc88d8-k7vqz   1/1     Running   0          14m

root@k3s-1-ubuntu2104:~# ./dist/artifacts/k3s kubectl run busybox --rm -ti --image=busybox -- /bin/sh
If you don't see a command prompt, try pressing enter.
/ # wget --spider --timeout=1 nginx
Connecting to nginx (<IP_ADDRESS>:80)
remote file exists
/ #
Session ended, resume using 'kubectl attach busybox -c busybox -i -t' command when the pod is running
pod "busybox" deleted

root@k3s-1-ubuntu2104:~# cat netpol.yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: access-nginx
spec:
  podSelector:
    matchLabels:
      app: nginx
  ingress:
  - from:
    - podSelector:
        matchLabels:
          access: "true"

root@k3s-1-ubuntu2104:~# ./dist/artifacts/k3s kubectl apply -f netpol.yaml
networkpolicy.networking.k8s.io/access-nginx created

root@k3s-1-ubuntu2104:~# ./dist/artifacts/k3s kubectl run busybox --rm -ti --image=busybox -- /bin/sh
If you don't see a command prompt, try pressing enter.
/ # wget --spider --timeout=1 nginx
Connecting to nginx (<IP_ADDRESS>:80)
wget: download timed out

Linked Issues

User-Facing Change

NONE

Further Comments

We need to be careful with testing it. With my simple test it works, but:

I was not present in k3s community when @erikwilson and @brandond were implementing the kube-router fork, I'm maybe missing some info
we need more tests to ensure that it really works for all scenarios

Codecov Report

Merging #4534 (9fa8357) into master (0348563) will decrease coverage by 0.71%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #4534      +/-   ##
==========================================
- Coverage   12.03%   11.32%   -0.72%
==========================================
  Files         135      127       -8
  Lines        9179     8017    -1162
==========================================
- Hits         1105      908     -197
+ Misses       7838     6910     -928
+ Partials      236      199      -37

Flag
Coverage Δ

inttests
0.79% <0.00%> (+0.03%)
:arrow_up:

unittests
10.82% <0.00%> (-0.78%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/agent/flannel/setup.go
0.00% <0.00%> (ø)

pkg/agent/netpol/netpol.go
0.00% <0.00%> (ø)

pkg/agent/run.go
0.00% <0.00%> (ø)

...bs/kube-router/pkg/controllers/netpol/namespace.go

...kg/controllers/netpol/network_policy_controller.go

...tivelabs/kube-router/pkg/controllers/netpol/pod.go

...elabs/kube-router/pkg/controllers/netpol/policy.go

...velabs/kube-router/pkg/controllers/netpol/utils.go

...com/cloudnativelabs/kube-router/pkg/utils/ipset.go

.../cloudnativelabs/kube-router/pkg/utils/iptables.go

... and 1 more

Continue to review full report at Codecov.

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

@vadorovsky can you take a look at before and after on the binary size for dist/artifacts/k3s? In discussing a change like this with @manuelbuil yesterday he did point out a legitimate concern that maybe the binary gets bigger which seems to be the case:
+ stat dist/artifacts/k3s
  File: dist/artifacts/k3s
  Size: 53260288        Blocks: 104024     IO Block: 4096   regular file
Device: 85h/133d        Inode: 10378572    Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

This is probably fine but with changes like this I would like to see the delta.

@dweomer
  master → origin U:1  ~/repos/k3s                                                                                  18:12:28  vadorovsky
❯ stat dist/artifacts/k3s
  File: dist/artifacts/k3s
  Size: 51650560  	Blocks: 100880     IO Block: 4096   regular file
Device: 0,38	Inode: 6015394     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 1000/vadorovsky)   Gid: (  100/   users)
Access: 2021-11-18 18:11:40.000000000 +0100
Modify: 2021-11-18 18:11:40.000000000 +0100
Change: 2021-11-18 18:12:25.726433631 +0100
 Birth: 2021-11-18 18:12:25.698433679 +0100

  use-kr-as-lib U:1  ~/repos/k3s                                                                                  18:15:15  vadorovsky
❯ stat dist/artifacts/k3s
  File: dist/artifacts/k3s
  Size: 51658752  	Blocks: 100896     IO Block: 4096   regular file
Device: 0,38	Inode: 6016096     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 1000/vadorovsky)   Gid: (  100/   users)
Access: 2021-11-18 18:14:24.000000000 +0100
Modify: 2021-11-18 18:14:24.000000000 +0100
Change: 2021-11-18 18:15:11.502156972 +0100
 Birth: 2021-11-18 18:15:11.474157019 +0100

To sum it up:

master: 51650560
this PR: 51658752
delta: 8192

Marking again as a draft. Since we don't want to support multiple/alternative CNIs in k3s and we want to support dual-stack in kube-router (from what @manuelbuil says), we will most likely end up forking kube-router, adding DS patches there and then vendoring the fork.

New PR #5079


Some Suggested features.

1.when the game gets stuck and above the min stack zone with below target stacks attempt to do a stack farm before restarting.
2. include a button on the script that will stack at or above the min stack zone then stop the script(which would effectively leave you in a online stacking state and give you a chance to fix issues before closing or resetting the adventure) for if you want to pre stack briv for another adventure without having to monitor it for when the reset happens.
3. When checking for game stuck state check if a window being open(like the chests or season window) is the reason for it if so just pause the script until the window is closed with a warning displayed. sometimes just want to do a quick check of things and having the whole client close potentially without stacks in the middle of such a check is not ideal.
4. on game stuck add zone stuck on to the message.
5. add to stats a display of the click damage level at last reset to make it easier to judge when to increase stack level.

Some solid suggestions but for the time being I am not planning to add new features to the script.
With that said, #3 in particular is not something I would want to add to the script because the pointer used to check if windows are open is notoriously unreliable and will almost certainly cause other problems in the script.

Partial workaround for #2:
Turn off "Auto Detect", enter 999999 (or some other ridiculously high number) for"Target haste stacks for next run" and click the save icon. This should put IC into a prolonged "offline restart loop". Not ideal, still but better than having your eyeballs glued to the screen while waiting for the right time to stop.


MINOR: Disable failing testDescribeConsumerGroupOffsets test case

Temporarily ignore this failing test until the fix is merged in #4856.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

LGTM!


FYI - cblas.h incompatibility

Hey Folks - I know it was awhile back, but regarding https://github.com/davisking/dlib/issues/570 . . .
Full disclosure - I work at Intel supporting Intel Math Kernel Library.
I came across the above cblas.h issue. There was an incompatibility between netlib's cblas.h and MKL's mkl_cblas.h. This 570 issue sounds like the same thing. We recently changed it in MKL so that if you were using cblas.h from netlib, you can just switch to mkl_cblas.h now (as of MKL 2019 update 4, released in May 2019). This works except for one enum: CBLAS_ORDER - that one has to be handled manually.
Cheers and happy coding :)

Cool :)


Sprint07_01

Tanzania 1st attempt

Module 01 - Logistic Regression & One-Hot Encoding
Overall: Well done!  Comment it to force a good habit of discipline. Future you will likely not remember what you meant with every line of code in past notebooks. Keep him in mind. Also, use a validation set, and leverage your coefficients!
Exploring/Cleaning data

Try the df.info() method. Might help you as an initial step.
For large dataframes, you need to pass include='all'to the describe() method in order to see all of the columns.
Here's a way to make checking for missing values functional:

def missing_values(data):
   total = data.isnull().sum()
   percent = data.isnull().sum().sort_values(ascending = False)/len(data)*100
   tp = pd.concat([total, percent], axis=1, keys=['Total', '%'])
   return(np.transpose(tp))

Remeber that they can be more than just NaNs or Nulls. Read the links in the lecture notebook to get more context on this.

Train/Val/Test Split

Nicely done 👍

One-Hot Encoding & Scaling

Nicely done! Kudos for evaluating cardinality of your features👍
Hint: are you sure you want all of those features in your model? Experiment and iterate!

Logistic Regression Model

Yep. That's how you do it 👍

💯 for creating a baseline!

Coefficients

Yup. But try and clean up the plot so it's legible.

Submit to Kaggle Competition

Aww yeah! How's it feel to be on the leaderboard?

Module 02 - Decision Trees
Overall: Gotta take at least a stab at the assignments! Otherwise we can't help 😢
Feedback: Comment your code! Also, keep your forked repo organized. Make sure you label each assignment accordingly and use commit messages!


Splitbar not moving all the way to right and left pane doesn't maximize.

ui-layout rel version: 1.4.1
Issue: Splitbar not moving all the way to right and left pane doesn't maximize.
Steps to reproduce:

move splitbar right or left by few pixels.
click on  > on the splitbar to maximize left pane. Notice that right pane hides but splitbar stays on same position and left pane doesn't maixmize. Also splitbar cannot be dragged now.

Expected result:
on step #2 splitpbar should move to all the way to right and left pane should be maximize.
(plnkr is from issue#161 https://github.com/angular-ui/ui-layout/issues/161)
http://plnkr.co/edit/HuvMv0qxEwwwF6val8v7?p=preview

Verified, thanks for the repro

Any thoughts on fixing?


Docs: Add event example

Document how an example event looks like, including type

/remove-lifecycle stale

Example from HEAD @daeb08e8 from VmPoweredOn generated with a vcsim VSphereSource:

Example Headers
{
  "Accept-Encoding": [
    "gzip"
  ],
  "Ce-Eventclass": [
    "event"
  ],
  "Ce-Id": [
    "41"
  ],
  "Ce-Knativearrivaltime": [
    "2022-03-21T16:35:41.2552037Z"
  ],
  "Ce-Source": [
    "vcsim.default.svc.cluster.local"
  ],
  "Ce-Specversion": [
    "1.0"
  ],
  "Ce-Time": [
    "2022-03-21T16:35:39.3101747Z"
  ],
  "Ce-Type": [
    "com.vmware.vsphere.VmPoweredOffEvent.v0.echo"
  ],
  "Ce-Vsphereapiversion": [
    "6.5"
  ],
  "Content-Length": [
    "560"
  ],
  "Content-Type": [
    "application/json"
  ],
  "Forwarded": [
    "for=<IP_ADDRESS>;proto=http"
  ],
  "K-Proxy-Request": [
    "activator"
  ],
  "Prefer": [
    "reply"
  ],
  "Traceparent": [
    "00-9a162bdbd2eeb4f551625dbaf38fc850-b0c91e957c0d55a4-00"
  ],
  "User-Agent": [
    "Go-http-client/1.1"
  ],
  "X-Forwarded-For": [
    "<IP_ADDRESS>, <IP_ADDRESS>"
  ],
  "X-Forwarded-Proto": [
    "http"
  ],
  "X-Request-Id": [
    "111a8255-1dec-4495-9aff-6300c27e7154"
  ]
}

Example Data Field (Payload)
{
  "Key": 41,
  "ChainId": 41,
  "CreatedTime": "2022-03-21T16:35:39.3101747Z",
  "UserName": "user",
  "Datacenter": {
    "Name": "DC0",
    "Datacenter": {
      "Type": "Datacenter",
      "Value": "datacenter-2"
    }
  },
  "ComputeResource": {
    "Name": "DC0_H0",
    "ComputeResource": {
      "Type": "ComputeResource",
      "Value": "computeresource-23"
    }
  },
  "Host": {
    "Name": "DC0_H0",
    "Host": {
      "Type": "HostSystem",
      "Value": "host-21"
    }
  },
  "Vm": {
    "Name": "DC0_H0_VM0",
    "Vm": {
      "Type": "VirtualMachine",
      "Value": "vm-57"
    }
  },
  "Ds": null,
  "Net": null,
  "Dvs": null,
  "FullFormattedMessage": "DC0_H0_VM0 on DC0_H0 in DC0 is powered off",
  "ChangeTag": "",
  "Template": false
}


use standard style

This pull request updates the main.js file to use standard javascript style.
@jlord

✨


Hotfix/name change update only

These two commits should fix all cases I could imagine. May be there are more cases people can think of?
I tried several upgrade paths to the newest version (all 64bit on Windows 10). So far all has worked out.

@aledeniz Can you give this a try?

@conitrade-as I have re-packaged my internal adobereader package with this, I have tried it in 1 computer, it did work, but it is asking a restart. I am not sure if it is specific to that given computer, I have asked a colleague if they could continue to test it on other computers, I may get their feedback during the day.
Interestingly, we have noticed that in some computers with the DisplayName "Adobe Acrobat (64-bit)" this seems to be able to upgrade both Acrobat Reader and the full fledged Acrobat. Actually, in those computers we only have 1 installed product, acting either as Acrobat Reader either as Acrobat, depending from the user licensing.

@conitrade-as my colleague never reported back, they were likely busy with some other workstream. I checked our reports, roughly 55 computers were updated, of those likely 20-25 with this patch, I haven't received any negative feedback so far.

@conitrade-as with a colleague we have pushed successfully this patch to around 600 machines.

I guess that makes #36 obsolete then? @sbaerlocher Can you proceed with merging and push a new release if you feel comfortable with this change?

I have closed #36. The two PRs do the same thing, #37 is more in line with the rest of the package.

Are we able to move this PR forward to get merged so that the package can be updated? @sbaerlocher has been pinged on both this PR and the related issue but has not added any updates. Can we move forward without him?

@aledeniz That's a huge tick in the box for it working! Thanks for trying it and confirming the results.

@olifre I'm following up from my previous comment. Can we move forward with this and get a fixed version pushed?

@pauby I don't have any permissions on this repository and am not affiliated with Open Circle AG; I'm just a technically versed Chocolatey user myself, so I'm sorry that I can't help out :cry: .

@olifre Thanks for letting me know. I appreciate it.
I'm genuinely having a difficult time with this one. I would rather not seem as if I'm pressuring maintainers, as I am most definitely not — I appreciate everything the Chocolatey Community and the maintainers do. But at the same time, we have a PR that has many comments, but no traction to get it merged. So, we're stuck.
As a maintainer who picked this up just to resolve the problems with the package, I feel like we need to move forward and get this fixed up. If there is no progress on the PR this week, I'll pick the package up, fix it and push a new version. I'll then ask the community packages repository maintainers if they would pick it up and move it there. To achieve this, I will need to remove the other maintainers from the packages so that their automation doesn't kick in, and we have two automations pushing packages.
This is the last resort, and I'm very reluctant to do this. I can't see any other option. Outside of @sbaerlocher, I don't know anybody else to tag to get their attention. If anybody else does know, please add a comment tagging them and pointing to this comment.
I will post an update comment here on anything that is done.

As a further update, I emailed the maintainers of this repository just now (email address in their profile). Hopefully, they will be able to provide additional information as they may not be the maintainers of the package, just the hosts of the source.

I've had no updates on this from any of the contacts I made. Just as a final confirmation, I'm going to copy the files for the adobereader package tomorrow, bring this PR over and when it is ready, remove the other maintainers on the package and push a fixed version.
Hopefully, somebody will step in today and resolve this.
@aledeniz You appear to have a lot of experience with the package, so I would really appreciate getting help, and a thumbs up from you and @conitrade-as before I push it. I still hope we don't have to, however.

@pauby Just to confirm: I have tested this PR internally for the last two releases, and it has worked fine in hundreds of computers.
That said, we tend to keep all our estate at the latest version or close by, so this limits the version distribution of our target computers.

I've created a PR for this over at https://github.com/pauby/ChocoPackages/pull/183. I have a couple of tests I want to run and will then push the package once they are complete. That may be today or may be this weekend.

I've removed all the maintainers from the package, except myself.
I've pushed a new version of the adobereader package.
I asked for the Testing Exemption to be removed from the package, as that was no longer needed.
The PR over on my repository has been merged https://github.com/pauby/ChocoPackages/pull/183

If there are any issues with the package going forward, please raise an issue on my repository, until the package has a final home. Thanks to everybody here for being responsive and creating the PR and providing input.
I think this PR can now be closed as it's no longer needed.

@pauby Thanks for taking the lead on this. I'll close this PR.


add the ISO 639-2 dataset

the ISO 639-2 dataset is currently missing from the dev env.
if the data hasn't been loaded yet, then run the scripts and load it.
make the components necessary to view the table for it.

data is there in the table, but you had told me to remove this table from showcase drawer menu


docs: Various improvements

This PR:

Adds table of contents to several main pages including "Getting Started"
Fixes missing links and broken emojis in ADRs
Changes the Storybook logo

Thanks for applying all those improvements so meticulously, Tonina! ✨
I confess I thought we were only replacing Storybook's favicon haha Excited to come up with a dedicated WiKit logo

mm which favicon? If this is too much, we can just scratch that and leave Storybook's logo.


DiffEditor does not respond to resize events

The normal editor seems fine, but the DiffEditor component's ResizeObserver does not receive callbacks when a window resize causes the editor compnent to change in size. This seems to be due to the position:relative in the .monaco-diff-editor element?

Update: not position: relative. Rather, the sizeToFit() function in DiffEditor is setting a fixed pixel width.

We could resolve this by just making sidecar 100% width always. It already is for "width constrained" splits.