Lighthouse images are not pulled locally with kind when deploying from scratch

What happened:
When making a deployment (make deploy from https://github.com/submariner-io/submariner) from scratch and submariner related images are not in local "docker images", the lighthouse images (lighthouse-agent and lighthouse-coredns) are not pulled.
The lighthouse deployment pods have the "ImagePullBackOff" status.
$ kubectl --kubeconfig output/kubeconfigs/kind-config-cluster2 -n submariner-operator get pods
NAME                                            READY   STATUS             RESTARTS   AGE
submariner-gateway-zcrw9                        1/1     Running            0          109s
submariner-lighthouse-agent-ccdbc9659-t8bv5     0/1     ImagePullBackOff   0          108s
submariner-lighthouse-coredns-557485fbc-pn45l   0/1     ImagePullBackOff       0          107s
submariner-lighthouse-coredns-557485fbc-wwm89   0/1     ImagePullBackOff   0          107s
submariner-operator-6675977db7-l5nl7            1/1     Running            0          2m2s
submariner-routeagent-276tw                     1/1     Running            0          109s
submariner-routeagent-z89p5                     1/1     Running            0          108s
submariner-routeagent-zth62                     1/1     Running            0          108s

Deployments request the following images:
$ kubectl --kubeconfig output/kubeconfigs/kind-config-cluster2 -n submariner-operator describe deployment submariner-lighthouse-agent | grep -i image
    Image:      localhost:5000/lighthouse-agent:local

$ kubectl --kubeconfig output/kubeconfigs/kind-config-cluster2 -n submariner-operator describe deployment submariner-lighthouse-coredns | grep -i image
    Image:      localhost:5000/lighthouse-coredns:local

The "docker images" output (lighthouse image are missing):
$ docker images
REPOSITORY                                           TAG                 IMAGE ID            CREATED             SIZE
quay.io/submariner/submariner-networkplugin-syncer   dev                 3b82d8483bdc        4 minutes ago       110MB
quay.io/submariner/submariner-networkplugin-syncer   devel               3b82d8483bdc        4 minutes ago       110MB
submariner                                           master              f2814c74b8f7        11 minutes ago      800MB
quay.io/submariner/submariner-globalnet              <none>              460ad9783141        50 minutes ago      124MB
quay.io/submariner/submariner-globalnet              dev                 6b44c121f332        50 minutes ago      124MB
quay.io/submariner/submariner-globalnet              devel               6b44c121f332        50 minutes ago      124MB
localhost:5000/submariner-route-agent                local               ad6c3273b6d4        50 minutes ago      124MB
quay.io/submariner/submariner-route-agent            dev                 ad6c3273b6d4        50 minutes ago      124MB
quay.io/submariner/submariner-route-agent            devel               ad6c3273b6d4        50 minutes ago      124MB
quay.io/submariner/submariner-route-agent            <none>              1a3ee61d89bc        50 minutes ago      124MB
quay.io/submariner/submariner                        <none>              32c193e4b57b        50 minutes ago      245MB
localhost:5000/submariner                            local               c17d290c5a16        50 minutes ago      245MB
quay.io/submariner/submariner                        dev                 c17d290c5a16        50 minutes ago      245MB
quay.io/submariner/submariner                        devel               c17d290c5a16        50 minutes ago      245MB
localhost:5000/submariner-operator                   local               5dab07c69884        11 hours ago        10MB
quay.io/submariner/submariner-operator               dev                 5dab07c69884        11 hours ago        10MB
quay.io/submariner/submariner-operator               devel               5dab07c69884        11 hours ago        10MB
quay.io/submariner/shipyard-dapper-base              devel               45c574b97e56        17 hours ago        800MB
fedora                                               33                  b3048463dcef        5 days ago          175MB
registry.access.redhat.com/ubi8/ubi-minimal          latest              c103a05423dd        2 weeks ago         103MB
localhost:5000/nettest                               local               ed8d90d0ba28        3 weeks ago         24.3MB
quay.io/submariner/nettest                           dev                 ed8d90d0ba28        3 weeks ago         24.3MB
quay.io/submariner/nettest                           devel               ed8d90d0ba28        3 weeks ago         24.3MB
quay.io/submariner/submariner-networkplugin-syncer   <none>              1554c6f5835a        3 weeks ago         165MB
registry                                             2                   2d4f4b5309b1        5 months ago        26.2MB
kindest/node                                         v1.17.0             ec6ab22d89ef        10 months ago       1.23GB

If I pull the images manually, everything is working.
What you expected to happen:
The "make deploy" command should pull all requested images and prepare the environment.
How to reproduce it (as minimally and precisely as possible):
Delete all submariner related images from docker images.
Environment:

Submariner version: v0.7.0
Kubectl version: Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-11T13:17:17Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Kind version: 0.9.0
OS: Fedora 33
Kernel: Linux max 5.9.8-200.fc33.x86_64 #1 SMP Tue Nov 10 21:58:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

The docs troubleshooting guide is mentioning the lighthouse image issue, but I think that it should be happen automatically.

This is not considered a bug, see the discussion in https://github.com/submariner-io/shipyard/pull/350; if you want Lighthouse you need to deploy from Lighthouse.

@skitt Stephen,
I read your pull request and the final decision made.
If I get it right, the user will need to provide additional arguments to make it work with the "make deploy" command.
Is it true?
Doesn't "make deploy" command just need to make it work?

@mangelajo explained to me during conversation the submariner-operator should be used instead of submariner.


fixed dovecot config for new version and generate dhparams in docker …

…image
fixes #1147
The tests are running again. The dhparams for dovecot are no longer generated by dovecot and must be generated beforehand. Not sure if we should regenerate that weekly since the dovecot wiki says it would not have much of a security gain (https://wiki.dovecot.org/SSL/DovecotConfiguration#SSL_security_settings). I don't know much about dhparams but I think on my server I will generate those outside of the container and mount them so I won't use a "public" version of the dhparams.
For the other change, you have to specify the minimum ssl protocol instead of the protocols to use (or in our case exclude).

You know why these tests fail?
https://travis-ci.org/tomav/docker-mailserver/jobs/510615402#L2706

No, but these tests failed before too. Generally I think those tests that just verify that a specific number of mails were received are hard to comprehend. It's unclear which mails should be received and which actually have been received. And without that, debugging is hard. Maybe one test per expected mail would be better, but currently I don't really know which mails should be received and which not. But even then we won't get more feedback than "the mail was not received". Not sure if bats is capable of printing the log file in case the test fails...

@johansmitsnl as far as I can see the changes were approved here but they are not in the master branch? I think they are needed. The tests fail yes, but at least for me they fail in the master branch as well (or at least they hang). I was about to create a new pull request for this when I found there was a perfectly good one from March.

Actually I may have been a bit too quick. I still think this is an improvement, but it should probably be combined with https://github.com/tomav/docker-mailserver/pull/710 to generate a new unique file for each installation.

@erik-wramner I don't manage this repo anymore. You should ask the owner who took over.

Right, sorry. I added my own pull request after all, so now there are three slightly different fixes for the same problem. Hopefully one of them will get in.

Question on this, if I understand correctly this should be regenerated at first boot (or when initializing a new container) to be sure that all users of the same versions don't have the same key.
Am I right? What do you suggest for this?

I think this PR has been superseded by #1177 which does generate unique files at startup. @danielpanteleit please close this PR if it is no longer needed.

I'll close this as it has been fixed. Please protest if you don't agree.


Add dnd-character

I don't see a way of having students actually use randomly generated numbers, but I feel like it'd be evident in a mentoring discussion if a student didn't do that.
The test generator had trouble with the last three tests so tomorrow, I'll file another issue with the specifics.

Related to #172

@kotp, should I bump the difficulty? It's at 3, but students will need to figure out how to generate random numbers. A difficulty of 4 would mark it as a medium difficulty exercise.
I'm also thinking we add a test where we create two characters and compare their total ability score across the six attributes. Then, students can't hardcode ability scores. The chance of a false positive with two totals being the same and randomly generated should be fairly low, but we can add a comment inline for students to rerun that test if needed. I'd hope you'd only need to rerun that once or twice to get it to pass.

@kotp, should I bump the difficulty? It's at 3, but students will need to figure out how to generate random numbers. A difficulty of 4 would mark it as a medium difficulty exercise.

I think making it medium would be good.  We can leave it and get a feeling back via feedback, as well for the students that do the exercise.

I'm also thinking we add a test where we create two characters and compare their total ability score across the six attributes. Then, students can't hardcode ability scores. The chance of a false positive with two totals being the same and randomly generated should be fairly low, but we can add a comment inline for students to rerun that test if needed. I'd hope you'd only need to rerun that once or twice to get it to pass.

We may not need the student to run the tests more than once.  If the chances of the same result are fairly low, then we run the tests that threshold, and expect that the numbers do not stay the same total.  If they change even once in 4 generations for that test, then the test is probably confirming random.  Also, we can use srand() to force the sequence and check in that way as well.  We would know what we would expect from the next generation.

Ooh, I didn't realize Vim had srand and rand for a while now. That'll help clean up the example.vim file as well.

Updated the difficulty and the stub. I'll work on the test suite. The randomness is in the dice roll, not the public-facing ability and modifier functions so I'll need to figure something out or just say good enough.

Yeah, the Java track generates a reference D&D character and then up to 1000 more characters, checking each time if at least one of the character's ability scores differ from the reference character's. Therefore, it'll fail quickly if values are hardcoded. That doesn't seem like it'd take a lot of time to run so we can stick with 1000 iterations too.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 12:06:29 on 2023.06.19
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 2, errors out: 0
Original problem ID: 28914
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=28914

Problem has been resolved in 9m 0s at 12:15:29 on 2023.06.19
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 28914


❤🅰🖤 Anarchy Flag emoji

Anarchists have been using several distinct symbols, e.g. a circled (red) uppercase letter ‘A’: Ⓐ 🅐. There is already a similar emoji dedicated to the blood type A: 🅰.
They are also often using a black-and-red Anarchist Flag, usually divided diagonally.

The flag may feature the circled ‘A’ symbol or a five-spoked star ⭐ 🌟 ✪ ✩ ★ ☆ ✯ .

The red triangular part may be replaced by a different color to represent a related political subgroup.

Sometimes, a simple Black Flag 🏴 is used instead (like the Red Flag for Communism #204 or Socialism).

In mocking the flag of Nazi Germany, the symbol may be shown on a white solid circle over a red background.

Possible Emoji ZWJ Sequences: ❤🖤, 🖤❤, ❤🅰🖤, ❤⭐🖤, ❤✝🖤, 🏴🅰 …
Also see other political flags at Wikimedia Commons.

Mockups
Emojitwo:

In mocking the flag of Nazi Germany, the symbol may be shown on a white solid circle over a red background.

I haven't seen this combination before and wonder if you could share context of this one.

https://commons.wikimedia.org/wiki/File:Anarchy_flag2.svg

🏴🅰, ‘🚩🅐’, ⚑Ⓐ

i think the black/white version of
❤🅰🖤
would confuse delivery drivers
(they might NOT know it's actually Anarchy Flag emoji on my door. they might think it's door number 4255-A)
so i guess i'll copy the black/white version of ❤⭐🖤 (even though that star seems yellow right now)

🏴🚫📐 - i'm making my own (instead of coping yours). it means WITHOUT RULERS (rulers prohibited)....

they probably want: "THE BLACK FLAG" + '3' SYMBOLS EOM
🏴🚫📐📏

👻🐵

THE 'A' COULD BE CONFUSING IF FOR INSTANCE IT WAS RIGHT NEXT TO AN ADDRESS NUMBER.
On 3/10/2021 5:40 AM, Sam Hocevar wrote:

I would like to second the suggestion of 🏴🅰
(1F3F4-FE0F-200D-1F170-FE0F) for the ZWJ sequence. If/when this
happens, that combination is probably the one that offers the most
meaningful fall-back glyph sequence.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Crissov/unicode-proposals/issues/275#issuecomment-795427504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APPE4K553AM33ORNL7RJNKLTC5ZGDANCNFSM4DBBOGZA.

--
__Here's some
information for you
on how God DOESN'T
exist!  It's about
Discrimination
against Atheism!
Always keep on
fighting (my friend)
about Religious
persecution
involving: Atheism,
Anarchy & Truth.
I am offended by the
Nonsense of Religion.
OFFENDED. RELIGOUS
WARS MAKE MORE
CONFORMISTS!!! You
are NOT crazy. The
Bible is a made—up
story for adults who
have Fear of the dark.
It's called:
Propaganda.  Some
examples of Fallacy
used to Pervert or Lie
are: Circular
reasoning, Argument
from authority, and
Begging the question.
Conceptions of God
in the Religious text
is Brainwashing.  The
Existence of God is
just a Proposition of
the Theocracy.
  THE
GENESIS CREATION
NARRATIVE IS ONE
OF THE CREATION
MYTHS.  NO  GODS,
NO MASTERS

🏴🚫📐📏 ** WITHOUT RULERS (anarchy subscripts)....
On 3/10/2021 5:40 AM, Sam Hocevar wrote:

I would like to second the suggestion of 🏴🅰
(1F3F4-FE0F-200D-1F170-FE0F) for the ZWJ sequence. If/when this
happens, that combination is probably the one that offers the most
meaningful fall-back glyph sequence.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Crissov/unicode-proposals/issues/275#issuecomment-795427504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APPE4K553AM33ORNL7RJNKLTC5ZGDANCNFSM4DBBOGZA.

--
__Here's some
information for you
on how God DOESN'T
exist!  It's about
Discrimination
against Atheism!
Always keep on
fighting (my friend)
about Religious
persecution
involving: Atheism,
Anarchy & Truth.
I am offended by the
Nonsense of Religion.
OFFENDED. RELIGOUS
WARS MAKE MORE
CONFORMISTS!!! You
are NOT crazy. The
Bible is a made—up
story for adults who
have Fear of the dark.
It's called:
Propaganda.  Some
examples of Fallacy
used to Pervert or Lie
are: Circular
reasoning, Argument
from authority, and
Begging the question.
Conceptions of God
in the Religious text
is Brainwashing.  The
Existence of God is
just a Proposition of
the Theocracy.
  THE
GENESIS CREATION
NARRATIVE IS ONE
OF THE CREATION
MYTHS.  NO  GODS,
NO MASTERS

🏴🅰📐🚫📏
On 3/10/2021 5:40 AM, Sam Hocevar wrote:

I would like to second the suggestion of 🏴🅰
(1F3F4-FE0F-200D-1F170-FE0F) for the ZWJ sequence. If/when this
happens, that combination is probably the one that offers the most
meaningful fall-back glyph sequence.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Crissov/unicode-proposals/issues/275#issuecomment-795427504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APPE4K553AM33ORNL7RJNKLTC5ZGDANCNFSM4DBBOGZA.

--
__Here's some
information for you
on how God DOESN'T
exist!  It's about
Discrimination
against Atheism!
Always keep on
fighting (my friend)
about Religious
persecution
involving: Atheism,
Anarchy & Truth.
I am offended by the
Nonsense of Religion.
OFFENDED. RELIGOUS
WARS MAKE MORE
CONFORMISTS!!! You
are NOT crazy. The
Bible is a made—up
story for adults who
have Fear of the dark.
It's called:
Propaganda.  Some
examples of Fallacy
used to Pervert or Lie
are: Circular
reasoning, Argument
from authority, and
Begging the question.
Conceptions of God
in the Religious text
is Brainwashing.  The
Existence of God is
just a Proposition of
the Theocracy.
  THE
GENESIS CREATION
NARRATIVE IS ONE
OF THE CREATION
MYTHS.  NO  GODS,
NO MASTERS

I saw an anarchist on Youtube use this: 🌹🖤

thank you. it's for my front-yard sign.... instead of saying something
extremist like '1312' 'ACAB' - i want the sign to say KHAOS LEGIONS -
with some sort of symbol  ** https://en.wikipedia.org/wiki/Khaos_Legions
KHAOS LEGIONS
🌹🖤
On 3/22/2021 11:07 PM, Holden Green wrote:

I saw an anarchist on Youtube use this: 🌹🖤
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Crissov/unicode-proposals/issues/275#issuecomment-804644658,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APPE4K3BEQR5BS4N3PLEL6LTFAV3JANCNFSM4DBBOGZA.

--
__Here's some
information for you
on how God DOESN'T
exist!  It's about
Discrimination
against Atheism!
Always keep on
fighting (my friend)
about Religious
persecution
involving: Atheism,
Anarchy & Truth.
I am offended by the
Nonsense of Religion.
OFFENDED. RELIGOUS
WARS MAKE MORE
CONFORMISTS!!! You
are NOT crazy. The
Bible is a made—up
story for adults who
have Fear of the dark.
It's called:
Propaganda.  Some
examples of Fallacy
used to Pervert or Lie
are: Circular
reasoning, Argument
from authority, and
Begging the question.
Conceptions of God
in the Religious text
is Brainwashing.  The
Existence of God is
just a Proposition of
the Theocracy.
  THE
GENESIS CREATION
NARRATIVE IS ONE
OF THE CREATION
MYTHS.  NO  GODS,
NO MASTERS

Openmoji has actually released a diagonal red/black anarchist flag. It's just cool that now I can use it im my browser but sad that like nowhere else. [https://github.com/hfg-gmuend/openmoji/releases/tag/13.1.0] It uses the sequence "1F3F4-FE0F-200D-1F170-FE0F" and was made by @samhocevar #306
This one --> 🏴🅰

On 7/18/2021 1:54 PM, castellgalie wrote:

Openmoji has actually released a diagonal red/black anarchist flag.

excellent ** https://openmoji.org/library/#search=anarchist
--
owning a pet right now
is like owning a slave
hundreds & hundreds of
years ago -
there's totally nothing
wrong with it &
pets like it too!
**
https://aeon.co/essays/why-keeping-a-pet-is-fundamentally-unethical

Proposal: CNT wildcat. I think it's recognizable as the anarchists symbol but also it is more distinct than a black flag or an A in the circle (bus stop sign).


OWASP Dependency Check - gradle Plugin: JFrog/Artifactory artifactory repo which requires authorisation

Hi Jeremy,
regarding the issue https://github.com/jeremylong/DependencyCheck/issues/3028 I had a similar problem with  the grade plugin for the OWASP Dependency Check.
I did not find anything useful regarding the documentation https://jeremylong.github.io/DependencyCheck/dependency-check-gradle/configuration.html.
So I tried the following configuration which worked somehow:
cve {
  urlBase='authorization_required_artifactory_url'
  urlModified='authorization_required_artifactory_url'
  user='artifactory_username'
  password='artifactory_apitoken'
}

Question: Did this work by accident or did I stumble over the correct configuration?
Question: How to update the gradle plugin configuration documentation so future dudes like me don't run into the same problem?

I hope this is the correct way to ask?
Regards,
Christian

Regarding 1) I would have to consult the sources of the plugin, but suspect that you managed to guess the appropriate configuration by accident.
Regarding 2) might be done by a PR against its source: https://github.com/jeremylong/DependencyCheck/blob/main/src/site/markdown/dependency-check-gradle/configuration.md
Currently preparing for the summer holidays, otherwise I might have picked up the source-digging to verify that your config 'works according to the intentions of the siurce', but if you've got the skill you might give it a try to research deeper with these references.

I'm glad you kind of confirmed my assumption. Regarding the digging task: unfortunately I'm not a developer so my groovy knowledge is quiet limited.

Back from holiday I checked and you did indeed succeed in guessing the correct and intended config


Cleaned up source to make golangci-lint pass

Description
Stylistic and whitespace changes to make golangci-lint pass.
Motivation and Context
Out of the box, I couldn't get make to work on my system with master.
How Has This Been Tested?
make works, and make test also works now.
Checklist:

[ ] My change requires a change to the documentation or CHANGELOG.
[ ] I have updated the documentation/CHANGELOG accordingly.
[x] I have created a feature (non-master) branch for my PR.

@syscll thanks for the review, I think I've addressed your earlier comments.


PC-430: Add page shown if os api is throttled

do not merge yet

havent fully tested, need to do some http intercepting 🕵


Datastore getting corrupted on workers during reload

Do you want to request a feature or report a bug?
bug
What did you do?
I am using traefik with consul and consul_catalog and acme backend. Fresh startup (ie. with empty /traefik in consul) sometimes fails with:
Error in watch datastore: invalid character 'c' after top-level value, retrying in 3.626249661s

The reason for this error is unclear to me, ie. I am not able to understand where this error is coming from. When this error shows up however no frontends are being served. Clearing the consul kv and restarting traefik sometimes helps.
What did you expect to see?
No error, served frontends.
Output of traefik version: (What version of Traefik are you using?)
1.4.0
What is your environment & configuration (arguments, toml, provider, platform, ...)?
          "--debug",
          "--loglevel=DEBUG",
          "--defaultentrypoints=http,https",
          "--entrypoints=Name:http Address::80",
          "--entrypoints=Name:https Address::443 TLS",
          "--web.readonly",
          "--consul",
          "--consul.trace=true",
          "--consulcatalog",
          "--consulcatalog.exposedbydefault=false",
          "--consulcatalog.trace=true",
          "--consulcatalog.prefix=traefik",
          "--consulcatalog.watch",
          "--acme",
          "--acme.acmelogging",
          "--acme.entrypoint=https",
<EMAIL_ADDRESS>          "--acme.onhostrule",
          "--acme.storage=traefik/acme/account"

If applicable, please paste the log output in debug mode (--debug switch)
https://gist.github.com/else/9af633551036c5372a4112fe93aa8f33

Analyzed this further and logged the contents of the datastore meta: https://gist.github.com/else/c520f06d0252dfdb3ec6cb0a8edcc7bc
Somehow the contents is getting garbled.

The problem seems to be linked to #2153

Indeed, looks like #2153 patched the wrong function (Load instead of reload).

Closed by #2340.


feat: add ServicesContext Extension

This pull request introduces a new ServicesContext trait and its corresponding derive macro to the context-derive crate, along with updates to existing test files to incorporate this new trait. The most important changes include adding the ServicesContext module, implementing the derive macro, generating the context implementation, and updating the test cases to use the new trait.
New ServicesContext Trait and Derive Macro:

macros/context-derive/src/lib.rs: Added the services module and implemented the derive_services_context function to generate the ServicesContext trait implementation. [1] [2]
macros/context-derive/src/services.rs: Implemented the generate_context_impl function to generate the ServicesContext implementation for the given struct.

Test Updates:

macros/context-derive/tests/ui/01_basic.rs: Updated to derive ServicesContext and added async block to test the new trait methods.
macros/context-derive/tests/ui/02_unnamed_fields.rs: Updated to derive ServicesContext and added async block to test the new trait methods.
macros/context-derive/tests/ui/03_generic_struct.rs: Updated to derive ServicesContext and added async block to test the new trait methods. [1] [2]

SDK Integration:

sdk/src/ctx.rs: Added the ServicesContext trait definition and its methods.
sdk/src/lib.rs: Exported necessary modules for ServicesContext.

Part of #265

CC @Tjemmmic here we will need an integration with the Eigenlayer service manager contract to


[WebView2.ahk] In some rare cases WebView2.create(placeholder.Hwnd) returns 0

Hi thqby,
I am using your WebView2 library to great effect in a script of mine that has a tabbed interface. Each tab has its own WebView.
I create a new WebView like this and insert it into the "WebBrowsers"-array:
placeholder := PopupGUI.Add("Text", "x0 y+0 +Border w" winW)
placeholder.GetPos(, &sizeOfTabControl)
placeholder.Move(,,, winH - sizeOfTabControl +1)
WebBrowsers.InsertAt(index, { plHold : placeholder, view : WebView2.create(placeholder.Hwnd) } )

In some rare cases WebView2.create(placeholder.Hwnd) returns 0 instead of the desired WebView object. Thus whenever I try this:
wb := WebBrowsers[tabCtrl.Value].view.CoreWebView2
I get the error:

This value of type "Integer" has no property named "CoreWebView2".

I can't reproduce the error on my machine, but it has occured multiple times on other people's machines. They run Windows 10.0.19045 (x64). The AutoHotkey version didn't make a difference, it occured with quite a few different versions. I currently use v2.0.11.
What could cause the .create() routine to return 0 instead of the WebView object? Can I prevent that? Or should I just try to create the object again if this happens?
Help from your side would be greatly appreciated.
Warm regards and thank you for publishing this and many other useful libraries!
Thomas

WebView2.create has only one return statement and one throw statement. It cannot return 0, I don't know how that happens.

Thank you for your quick reply. I think I found the error and you were right: It was not caused by the Create method but rather a concurrency issue in my own code. When switching through tabs in quick succession the problem was that sometimes the WebView of one tab wasn't initialized yet when the script tried to access its properties. Only the WebView of the first tab would get initialized right away, the others only when the user clicks on the specific tab. This isn't clear in the code above.


Fix CStage選曲.cs

It has been fixed, so close it.

Thank you for your PR!
At the same time you created this patch, I've also come up with a similar solution.
However, I still appreciate your help!


i52

The code changes:

improve FFDC
retrieve record totals and store them in the pipe run document
address a retrieval issue related to the bitcoin table, which can result in an excessive number of fetch requests (and ultimately causing a failure)

Ran multiple stripe pipes (one table, all tables) without noticing any issues or undesired side effects.


text doesnt show up correctly in grid cells in the new built-in table feature (v1.5.3)

Describe the Bug
text doesnt show the first written words correctly till you write something long.
or drag/highlight the text with your cursor.
To Reproduce
Steps to reproduce the behavior, e.g.

insert a new table
type in a grid cell

In which mode does the bug occur?

[ ] Reading/Preview Mode
[X] Source Mode
[ ] Live Preview

Which editor are you using?

[ ] Legacy Editor
[X] New Editor

Which version of Obsidian are you using?

[X] Public Release (Desktop)
[ ] Public Release (Mobile)
[ ] Insider Release (Desktop)
[ ] Insider Release (Mobile)

Checklist

[X] I have updated to the latest version of the theme (Obsidian Settings → Appearance → Themes - Manage → Update).
[X] I made sure that the issue is related to this theme, by checking that the issue does not occur with other themes or the default theme.

This also happens for me in Live Preview mode. Thanks for working on it!

Thanks for the report! I've fixed it in 2.8.3 which just went live


:book: 📖 docs Update pre-reqs.md; fixed capitalization of Kubestellar

Summary
Related issue(s)
Fixes #2327

/lgtm
/approve

/ok-to-test


Build documentation for individual package in monorepository

With 0.21, TypeDoc now has a --packages option, which I think could be used instead of entry points. It does the "main" resolution from package.json, handles monorepos that use npm/yarn workspaces, and just works better for most use cases...

Originally posted by @Gerrit0 in https://github.com/TypeStrong/typedoc/issues/1485#issuecomment-869095126
I tried using this for shivjm/remark-extensions, which is a monorepo. It does work and I get a list of modules, but the process is complicated by the fact that I really only want to update the docs for one package at a time. If I just run typedoc --entryPointStrategy packages, it tries to build the documentation for all the packages in the repository, including all the unreleased changes to other packages. If I specify a single package as the target, it can’t link to its siblings, since those aren’t being processed.
This is the sort of thing I’d like to be able to do:

Check out my current gh-pages.
Regenerate just the documentation for a single package, while still being able to link to sibling packages.
Build/update a root index.html that provides a list of (linked) packages and versions.

This would be really nice to do, there's quite a lot of architectural changes needed in order for this to be able to work well... I think it needs to be some combination of #1646, #1180, and a third issue to merge previously generated projects to do this properly.
It isn't necessarily safe to re-render just one project, since removing something might result in a broken link, or if something changes from, say, an interface to an abstract class, the URL would change.

This would be really nice to do, there's quite a lot of architectural changes needed in order for this to be able to work well... I think it needs to be some combination of #1646, #1180, and a third issue to merge previously generated projects to do this properly.

Yeah, I can imagine there’s a lot to it.

It isn't necessarily safe to re-render just one project, since removing something might result in a broken link, or if something changes from, say, an interface to an abstract class, the URL would change.

That’s something I was wondering about. I don’t have a good solution. It isn’t TypeDoc’s responsibility (or a good idea, either, for that matter) to reach into the history and generate the docs for each package at a given revision, but then how does one avoid generating documentation for un-released changes to sibling packages in the same revision?

Right now, there's not really a way to do it besides checking out parts of the tree to the released commit when building docs, which is a horrible solution, but...

Right now, there's not really a way to do it besides checking out parts of the tree to the released commit when building docs, which is a horrible solution, but...

What if you set it up, for watch, or add a setting where devs can specify that monorepo packages don't talk to each other?

I'm not sure if that's 100% related. I tried to use typedoc in a NX monorepo. I added "entryPointStrategy": "packages" to my typedoc.json and referenced the tsconfig.base.json which also includes the paths to the different packages. My expectation was, that the name from package.json or at least the displayName would show up as module in the documentation. But actually the name from the base package.json was taken and only the first package from the list of entryPoints was added to the documentation.

v0.24.0 has released with the necessary tools to do this. There is now --entryPointStrategy merge, which can take JSON files previously generated with TypeDoc's --json option and merge them together to create a single project.

@Gerrit0 that is great news. Is there an example of this? I am trying to combine multiple packages from a mono repo? I am referencing your repo https://github.com/Gerrit0/typedoc-packages-example but it's using the 'packages' strategy.

I've updated that repo with the manual option now, it boils down to this:
# Or for more control over when each package is built, we can manually build each
# package and save the output of --json
# Cross-package links will be invalid here, they will be validated when merging
npx typedoc --json docs-json/bar.json --options packages/bar/typedoc.json --validation.invalidLink false
npx typedoc --json docs-json/baz.json --options packages/baz/typedoc.json --validation.invalidLink false
npx typedoc --json docs-json/foo.json --options packages/foo/typedoc.json --validation.invalidLink false
# Merge previously generated documentation together into a site
npx typedoc --entryPointStrategy merge "docs-json/*.json"

I didn’t get around to trying it for a long time, but I wanted to confirm that the new feature and @Gerrit0’s suggestion in the last comment worked perfectly for my case too. Thank you for implementing this extremely useful feature.


Ensure all data stored in the RDS is securely encrypted at rest

Possible check to target the following resource

[ ] aws_db_instance

Is this fixed by #492?

closing, tracking in spreadsheet

closing, tracking in spreadsheet


2PI- Organization Filters reflect the wrong count

STR-
Log on as 2PI user
Go to Organization filters
RESULTS - The count does not reflect the accurate restricted amount of listings displayed to 2PI user.  Instead it displays the overall count of listings available to all restricted/nonrestricted users. This is confusing.If the filter count displays 90 listings but the results display 10 because 80 are restricted.
EXPECTED RESULTS - This filter count should match the amount of listings displayed in results.

 If we are getting a higher count that would mean that the 2PI user could actually see all of the filters.

logic located in ozpcenter/api/listing/model_access.py method:
def put_counts_in_listings_endpoint(queryset):
    .....

@mannyrivera2010 - what is the status?

This is fixed on Staging.


npm i -S && npm i -D

--save is aliased to -S and --save-dev is aliased to -D
Terse++

good to know, thanks.


NTR insulin-like growth factor protein secretion

Term: insulin-like growth factor protein secretion
Definition:  The regulated release of a member of the insulin-like growth factor family of proteins from a cell.  The insulin-like growth factor family is a complex system (often referred to as the IGF "axis") which includes two cell-surface receptors (IGF1R and IGF2R), two ligands (Insulin-like growth factor 1 (IGF-I) and Insulin-like growth factor 2 (IGF-2)), and a family of six high-affinity IGF-binding proteins (IGFBP-1 to IGFBP-6). From Wikipedia
is_a GO:0009306 protein secretion
PMID: 1280399 PMID: 1384804
I am unclear if the IGFs can be considered to constitute their own family, since the IGFBPs are termed a family and does IGFI and II fall under the super family of insulin?
Reported by: mikerice7
Original Ticket: geneontology/ontology-requests/11230

Hi Mike,
We recently decided not to make new x protein secretion terms. Can you use annotation extensions? This is the way to get the specificity you need.
-David


High risk of data loss on collaboration

From https://github.com/rakyll/drive/issues/59
Do NOT use this application when you're working with classmates on a project. The risk of losing data in files is way too damn high. Here's why:
The merging mechanism isn't just stupid, it's nonexistent. Have this situation:
a/
   b.txt
   c.txt

Have one example. It's the absolute worst one:

Edit b.txt
drive pull a
b.txt will show an "M", stating it's modified. If you proceed with pulling, b.txt will be overwritten with an older file.

Why would you want to pull the folder? Well, your teammates might have edit c.txt, or maybe they have even edited b.txt. When you see that b.txt was modified, you're led to believe that your teammates modified it. The fact is that it could mean that, but it's probably because you edited b.txt yourself. There is no way to tell.
In a project I handed in today I was very careful to push and pull per file. Luckily no one else edited files at the same time I did, that would have put me in deep trouble. That or maybe that did happen, drive wouldn't have told me so there would be no way for me to find out unless they actually told me. Despite the per file push/pulling I still lost data, most likely because I pulled the folder thinking I had pushed my per file changes.
Files just get overwritten. Both on push and on pull. No merging, no conflict mechanism, no warnings that you're overwriting unsaved changes (or haven't merged with the latest version yet) and a downright misleading status message. This tool is not safe for projects in which people cooperate.
Here's the example of what I'm talking about:

Tested on the AUR version of drive (0.0.8-1 (Thu Feb  5 18:57:44 CET 2015))

Too bad that this happened to you, I saw the issue you raised of rakyll's project and that was using her version right?
To help you mitigate such issues, if you go through the README of this project
$ drive pull -no-clobber # Non-clobberable pull?
$ drive diff vegetable.text # See the differences

From the README

In deed, this project doesn't do any conflict resolution and in previous issues this had been outlined in
https://github.com/rakyll/drive/issues/49. In fact it is up to the user to decide if they want the changes or not as seen in your screenshot where the remote was 7Bytes and local was 5Bytes. If this were git you wouldn't even be prompted for, an automatic merge would have been made. If you want concurrent editing, I'd recommend using Google Docs.
Also I thought the intent was pretty obvious from reading the description of the README and project, pull or push Google Drive files.
Please let me know what you think.

No, I tested on the AUR version of drive (0.0.8-1)
The no-clobber leads to an error when it's the last parameter:
falco@manjaro ~/Drive> drive pull vegetable.txt -no-clobber
Resolving...
remote path doesn't exist

falco@manjaro ~/Drive [1]> drive pull vegetable.txt -no-clobber=true
Resolving...
remote path doesn't exist

falco@manjaro ~/Drive [1]> drive pull vegetable.txt
Resolving...
M /vegetable.txt

It does do the job when running drive pull -no-clobber vegetable.txt.
The no-clobber function is deeply hidden away in the drive program. The readme doesn't mention it. It should be default behaviour. One could never reasonably expect that drive will overwrite modified files on pulls. extreme caution is to be taken when pulling. This contrasts with git, where a pull would fail when local files would be overwritten. With git you never lose data:
error: Your local changes to the following files would be overwritten by merge:
	gamemode/modules/chat/sv_chat.lua
Please, commit your changes or stash them before you can merge.
Aborting

This application's behaviour is really confusing. Having it behave in a logical way requires the use of a parameter that has a very odd name (clobber?) and is hidden deeply in the documentation.
This is mostly a usability problem. The program should have proper default behaviour, and people's data should be considered sacred. Accidental data loss should not be possible with a simple drive pull command.

You are using it wrong
$ drive pull -no-clobber vegetable.txt

instead of
$ drive pull vegetable.txt -no-clobber

Yeah the CLI args parser only parses options before the arguments.

Also git has the ability to merge, if a merge fails it aborts. This tool doesn't have that so far.
That was the purpose of `-no-clobber` as well `-force`

Like I said, it works fine when doing drive pull -no-clobber vegetable.txt
The issue still stands.

Look, you don't have to have advanced merge functionalities, these are hard to write. A conflict mechanism like in the Windows drive client and in dropbox shouldn't be too hard to make.
If remote file modified AND local file modified then abort with error
or
If remote file modified AND local file modified then download remote file as '(CONFLICT) filename'

The hardest part of that should be detecting whether a file was locally modified. You already have that logic in the drive push command.
A simple error would have saved my data.

That is true, except we don't have the ability to perform merges yet, this tool right performs a naive pull and push and cannot detect when merging has failed. It also provides a prompt if 'naive' clobbering is being done. Feel free to submit a PR with merging and conflict detection if you'd like. If you'd like pointers on this, I started a branch https://github.com/odeke-em/drive/tree/change-tracking that will able to track changes on files and avoid such problems, but then again I didn't want to mention this until I fully understood the problem and had provided a full implementation.

I see what you are saying. For sure, sounds good.

I'll get this in when I get home. Thanks for the discussion, that was actually a good idea of throwing the error.

Thanks for your help and understanding!

Got in the level one conflict detection mechanism. Feel free to close this if the current solution fulfills the purpose. A better version will be coming once I incorporate change tracking to tell when the local has been modified too and then drive can really detect when a real conflict is present.


Custom gradient aggregation methods

I would like a way to apply some custom gradient aggregation ops. Probably the simplest thing to do is just allow tf.gradients (and Optimizer.compute_gradients) to return un-aggregated gradients so I could work with those?
Anyway, seems like an easy fix? I will do this myself in a month or so (cant now as on holiday), but if someone else wants to do it/has some thoughts, I am interested.

@act65 it's not so straightforward because there's no explicit aggregation step. The "aggregation" happens as part of backprop. You need to create custom backprop to get per-example gradients. See thread https://github.com/tensorflow/tensorflow/issues/4897 for discussion and an example of using khatri-rao product to do this efficiently

@yaroslavvb Hi Yaroslav, I was hoping to get some help implementing the method discussed in https://arxiv.org/pdf/1510.01799.pdf.
@goodfeli suggested the pseudocode below:
examples = tf.split(batch)
weight_copies = [tf.identity(weights) for x in examples]
output = tf.stack(f(x, w) in zip(examples, weight_copies))
cost = cost_function(output)
per_example_gradients = tf.gradients(cost, weight_copies)

But I'm not sure how to implement this still. Would it be possible to show a toy example of this?


Intellisense is not working inside the nested-intilializer block

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-1-003177)
Product Information:
Version:            1.0.0-preview2-1-003177
Commit SHA-1 hash:  a2df9c2576
Runtime Environment:
OS Name:     ubuntu
OS Version:  16.04
OS Platform: Linux
RID:         ubuntu.16.04-x64
VS Code version: 1.8.1 Commit ee428b0
C# Extension version: 1.6.2
Steps to reproduce
    public class Order {
        public Customer Customer { get; set; }
    }

    public class Customer {
        public string Name { get; set; }
        public string Age { get; set; }
    }

    public class App
    {
        static void Main()
        {
            var o = new Order { Customer = new Customer {
               Name = "John"  // intellisense NOT working inside this block, it is not suggest the Name or Age
            }};
        }
    }

Expected  behavior
Intellisense should suggest Name, Age
Actual behavior
Intellisense didn't suggest anything

Hi, this is a duplicate of https://github.com/OmniSharp/omnisharp-vscode/issues/656.


Doc/v3.19.1 release

Summary
Closes #863
Checklist

[x] Scope: The referenced issue is addressed, there are no unrelated changes.
[x] Run Locally: Verified that the docs build using make server, posted screenshots, verified external links. Test with HUGO_PARAMS_SEARCH_ENABLED=true if style changes will affect the search bar.
[ ] New Features Marked: Documentation for new features is marked using the new-in-version shortcode, according to the guidelines in CONTRIBUTING.
[x] Style Guidelines: Documentation obeys style guidelines in CONTRIBUTING.
[x] Commits: Commit messages follow guidelines in CONTRIBUTING, there are no fixup commits left.

Not related to this PR, but it seems like we lost a flag descriptions?

maybe @benolayinka changed something in the way CLI docs are generated?


chore(main): release 0.7.1

:robot: I have created a release beep boop
0.7.1 (2022-09-20)
Features

pipelines: Add outputs (66d0c7a)

Miscellaneous Chores

Release 0.7.1 (06c52b7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-frontend/releases/tag/0.7.1 :sunflower:


Files in Portuguese - UTF-8

Good morning,
I have an issue, I work in a file that have Ç Ã and everything is ok, when open, and save in Brackets, but then in the website it appears a strange caracteres, so I open the file in a different editor and effectively the strange caracteres are there, so I change them, save it, and then I can edit it in Brackets.
So I don't know what can I do.....
Can you help me please?
There is a picture of what I mean.....

And this is after I open the file in CPANEL, change the character and then open and save it again in Brackets:

Thanks for reporting this issue.
What is the encoding in which you are editing the file? - Check the bottom right panel
Does the encoding in the bottom right panel match that of CPANEL? It appears that the CPANEL is not supporting the encoding format that Brackets is editing in.
Any more information or test files will help us resolve this issue.

Thanks for reporting this issue.
What is the encoding in which you are editing the file? - Check the bottom right panel
Does the encoding in the bottom right panel match that of CPANEL? It appears that the CPANEL is not supporting the encoding format that Brackets is editing in. See precomposed characters
Any more information or test files will help us resolve this issue.

Thank you for your help.
There is the file:
dt_tecnicos.php.zip
It appears ISO-8859-1 but when I try to change it to utf-8 it won't alow it.
So in cpanel, I open the file:

I choose the UTF-8:

And there you have the strange characters:

After I change the Character and save the file:

And the I can open this saved panel file in Brackets and change it to UTF-8.

And now yes, everything is fixed and works.
Hope you can replicate my issue.

@pealco821103 Thanks a lot for the detailed description. We'll look into this issue.


UserId order of params

This may not be the best ordering:
    public UserId(String name, String comment, String email) {
        this.name = name;
        this.comment = comment;
        this.email = email;
    }

Because the most likely input for me to want to enter is email, second is name, and comment is the least likely - I think it would ideally be ordered in that order.
Even better if there were overloads so that I could enter only email or only email + name.

I will look into it.

I will look into it.

But I understand that's it's a nasty incompatibility to introduce - if someone wrote UserId("Joe", ""<EMAIL_ADDRESS>then this would reshuffle their working code. On the other hand, it is in alpha stage.. I'll leave it up to you.

But I understand that's it's a nasty incompatibility to introduce - if someone wrote UserId("Joe", ""<EMAIL_ADDRESS>then this would reshuffle their working code. On the other hand, it is in alpha stage.. I'll leave it up to you.

I may make the Constructor of UserID private in favor of factory methods (UserID.fromEmail(String), UserID.fromName(String), etc.).
That should solve the disambiguity.

I may make the Constructor of UserID private in favor of factory methods (UserID.fromEmail(String), UserID.fromName(String), etc.).
That should solve the disambiguity.

Interesting. I didn't think that userid could have a name but no email. Theoretically it could. Maybe I'm warped by our specific usecase - I see emails everywhere.

Interesting. I didn't think that userid could have a name but no email. Theoretically it could. Maybe I'm warped by our specific usecase - I see emails everywhere.

Yeah, the UserID is pretty much a freeform text field which can contain arbitrary data but for emails they follow a convention.

Yeah, the UserID is pretty much a freeform text field which can contain arbitrary data but for emails they follow a convention.


[stable][selenium] Add the option of adding nodeSelectors

These can be applied globally or per Selenium component (hub, chrome, chromeDebug, firefox or firefoxDebug)

Thank you for contributing to kubernetes/charts. Before you submit this PR we'd like to
make sure you are aware of our technical requirements and best practices:

https://github.com/kubernetes/charts/blob/master/CONTRIBUTING.md#technical-requirements
https://github.com/kubernetes/helm/tree/master/docs/chart_best_practices

For a quick overview across what we will look at reviewing your PR, please read
our review guidelines:

https://github.com/kubernetes/charts/blob/master/REVIEW_GUIDELINES.md

Following our best practices right from the start will accelerate the review process and
help get your PR merged quicker.
When updates to your PR are requested, please add new commits and do not squash the
history. This will make it easier to identify new changes. The PR will be squashed
anyways when it is merged. Thanks.

/hold
Found some issues with this I will push a fix once I have sorted it

I have fixed a few issues I found, Let me know if yow want me to rebase and squash the changes into a single commit

/ok-to-test

I have rebased against master, updated the README.md and corrected the version then squashed all the changes into a single commit

No need to squash, they will be squashed when merged and for reviewers it's convenient to have all the changes serially applied instead. I'll take a look, though.

/lgtm

The way you implemented this, a global node selector takes precendence over individual ones. I would actually expect it the other way around. Any reason why you implemented it this way?

/assign

@unguiculus I think nodeselectors for the individual items was a afterthought so thats why global  took precedence but it makes sense what you say I have changed this and updated the Readme to make this clear

/lgtm


Crash after changing GUI from HTTPS to HTTP

Default config is to use HTTPS for the GUI.  Got everything configured and was working fine.  Changed GUI to use HTTP instead of HTTPS and got an interesting warning that the page should auto load and if not click here "<IP_ADDRESS>://<IP_ADDRESS>/blah/blah".  Somehow the variable for "http" is getting replaced with the LAN IP.  Bricked the box and won't boot up.  Console hung on interfaces and would never continue.   This has happened twice now on a nano image and a different box using the installer.

The bricking is unusual, it just switches the proto and reloads. I'll take a look...

Hi Rob,
Worked fine from here:

Had to click the link but that's a different story and why the link was added: Switching HTTP <-> HTTPS is a bit of a pickle as browsers don't like the downgrade or upgrade in the same window.
What browser are you using? What extra settings did you set?
Cheers,
Franco

PS: If "http://" or "https://" is ending up being displayed as IP:// that would mean something goes completely wrong on POST. It's not verified what the radio button pushes as a value so if there is an IP in there I can understand the brick afterwards... let me add a validation at least...

I just experienced the "brick": The browser refuses to open HTTP after having been warmed up to the idea of HTTPS. And it does a really bad job telling you it rather wants to open HTTPS while it shows HTTP not responding (Chrome). Opened Firefox, all good on HTTP....

Firefox and Safari show similar issues after switching around more than once. I think we can close this as there is not much we can do?

I'm assuming that's a yes. :)


dotnet command not found after upgrade to 5.0.403

Description

When updating to 5.0.403 on CentOS 7, in my case from 5.0.402 it is removing the link from /usr/bin causing the dotnet command to no longer be found. This happened in production but can replicate locally too. Update was done through yum.
bash: dotnet: command not found...
Workaround: Call dotnet directly from install location /usr/share/dotnet/dotnet or recreate the link from /usr/share/dotnet/dotnet -> /usr/bin/dotnet and set as executable.
Recreate link:
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
chmod +x /usr/bin/dotnet
Configuration
PRE-UPGRADE (info)
.NET SDK (reflecting any global.json):
Version:   5.0.402
Commit:    e9d3381880
Runtime Environment:
OS Name:     centos
OS Version:  7
OS Platform: Linux
RID:         centos.7-x64
Base Path:   /usr/share/dotnet/sdk/5.0.402/
Host (useful for support):
Version: 5.0.11
Commit:  f431858f8b
.NET SDKs installed:
5.0.402 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.11 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.11 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
[shawken@localhost ~]$ dotnet --info
.NET SDK (reflecting any global.json):
Version:   5.0.402
Commit:    e9d3381880
Runtime Environment:
OS Name:     centos
OS Version:  7
OS Platform: Linux
RID:         centos.7-x64
Base Path:   /usr/share/dotnet/sdk/5.0.402/
Host (useful for support):
Version: 5.0.11
Commit:  f431858f8b
.NET SDKs installed:
5.0.402 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.11 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.11 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
POST-UPGRADE (info)
.NET SDK (reflecting any global.json):
Version:   5.0.403
Commit:    bf9d168ac2
Runtime Environment:
OS Name:     centos
OS Version:  7
OS Platform: Linux
RID:         centos.7-x64
Base Path:   /usr/share/dotnet/sdk/5.0.403/
Host (useful for support):
Version: 5.0.12
Commit:  7211aa01b3
.NET SDKs installed:
5.0.403 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.12 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.12 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Regression?

Other information

@NikolaMilosavljevic as I don't recall which rpm is supposed to establish the simlink.

Seems like location was changed from /user/local/shared/dotnet/x86/dotnet to  /user/local/shared/dotnet/dotnet in new version. So, u should double check this and recreate ln in /usr/local//bin.
sudo ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/
Correct me if I am wrong, but I had this problem:)

I encountered this as well.
From what I can tell, it would appear that dotnet-host changed this behavior from 5.0.12-1 to 6.0.0-1.
yum install dotnet-host-5.0.12-1
[root@dotnetsvc-centos-7 /]# ls -la /usr/bin/dotnet
lrwxrwxrwx. 1 root root 24 Nov 15 22:43 /usr/bin/dotnet -> /usr/share/dotnet/dotnet

yum install dotnet-host-6.0.0-1
[root@dotnetsvc-centos-7 /]# ls -la /usr/bin/dotnet
ls: cannot access /usr/bin/dotnet: No such file or directory
[root@dotnetsvc-centos-7 /]# ls -la /usr/local/bin/dotnet
lrwxrwxrwx. 1 root root 24 Nov 15 22:45 /usr/local/bin/dotnet -> /usr/share/dotnet/dotnet


For larger point number, like 1000, this lib's perf is worse than the cpp lib

Currently, batch legalization is used for edge event, which kinda like: for edge, first do flipping, then legalize all affected triangles. This may introduce some wasted rotations, e.g. a  b  c  d, if b c is legalized first, then a b rotated. This rotation may break b c, so b c needs to rotate again.

It turns out I made a mistake while porting, missed a (!) for a flag, which basicly makes reverses an optimization.


Added an explicit yield (OP_SLEEP) to QUIC testing for cooperative threads

This is required for PUT models as a yield is required to catch the finalization (FIN) packet. Otherwise the test_quic_multistream test fails because the FIN is sometimes too slow to be read.
Fixes: #24442
Signed-off-by: Randall S. Becker<EMAIL_ADDRESS>

This fix is not required for unthreaded or kernel thread models. It is trivial and applicable to 3.4, 3.3, and 3.2.

Merged to the master, 3.3 and 3.2 branches. Thank you for your contribution.


Add config variable and check for platform warnings

Thanks so much for the contribution!
To make reviewing this PR a bit easier, please fill out answers to the following questions.
What was the end-user problem that led to this PR?
The user needed a way to turn off platform warnings.
What was your diagnosis of the problem?
Creating a config variable to solve the above problem.
What is your fix for the problem, implemented in this PR?
Added a key disable_platform_warnings in settings and placed check at the relevant place to disable warnings.
Why did you choose this fix out of the possible options?
We will by default show warnings but the user might want to disable them, so using a config variable looked a good option.
Addresses #6124

Thanks for helping make Bundler better! A couple of things that need to be done before we can merge this. This is going to need a test to make sure this is behaving as expected and so that we don't regress in the future, you will want to look at this test file. You will also need to document the new configuration option to the bundle config man page

Thanks! @bundlerbot r+


streamlit rerenders the page multiple times on launch

I've made a very simple app for the purposes of understanding this issue. But the print statement at the bottom runs displays multiple times on setup and when I click through nodes etc. Any idea what might cause this or how to fix this?
import pandas as pd
import streamlit as st
from st_cytoscape import cytoscape

# Define initial Cytoscape elements
elements = [
    {'data': {'id': 'a', 'label': 'Node A'}, 'position': {'x': 50, 'y': 100}},
    {'data': {'id': 'b', 'label': 'Node B'}, 'position': {'x': 200, 'y': 300}},
    {'data': {'source': 'a', 'target': 'b'}}
]

stylesheet = [
    {"selector": "node", "style": {"label": "data(id)", "width": 20, "height": 20}},
    {
        "selector": "edge",
        "style": {
            "width": 3,
            "curve-style": "bezier",
            "target-arrow-shape": "triangle",
        },
    },
]

st.write('Test')

# Render the component and capture the result
result = cytoscape(elements=elements, stylesheet=stylesheet)
st.write(result)

print(pd.Timestamp('now'))

Terminal output to see how many times it runs
2024-12-01 23:17:40.849152
2024-12-01 23:17:41.055289
2024-12-01 23:17:41.096002
2024-12-01 23:17:41.097032

after a bit of playing around I think I narrowed it down to the line where you call updateComponent(cy); after defining cy. I think this isn't needed?
https://github.com/vivien000/st-cytoscape/blob/d28d56da5a8e4863b881e43924f2f765474e8c1a/st_cytoscape/frontend/src/index.tsx#L81


Error npm

I asked 5 expirienced developers to install the Full setup and nobody was able to do that beceuse all they say is that this package has errors, Any chance you fix this?

Thank you so much.


Add DisplayData for composite IO transforms.

Superseded by https://github.com/apache/incubator-beam/pull/236


Black format pytorch_lightning/core/hooks.py

What does this PR do?
Split out changes from #3563 to make that PR easier to review. This formats the file according to the Black formatter
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[x] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

This just brings collision to all open PRs...


add tls-sans to api-server cert

Add TLS sans to api server cert. This seems to be related to https://github.com/rancher/k3s/issues/1452

This shouldn't be necessary. As far as I can tell, this cert isn't ever used for anything outside the cluster - k3s uses a different cert for the 6443 endpoint that is used for inter-node communication.

This shouldn't be necessary. As far as I can tell, this cert isn't ever used for anything outside the cluster - k3s uses a different cert for the 6443 endpoint that is used for inter-node communication.

@brandond
When I launch k3s, log state that it is running kube-apiserver with parameters including --tls-private-key-file=serving-kube-apiserver.key
This appears to be the code to generate the server-kube-apiserver.key

Yes, this controls the certificate that's used for the internal apiserver endpoint. As far as I can tell this is NOT the same endpoint as external clients (kubectl, etc) interact with on port 6443.

@brandond
I see. I confused advertise and secure-port, I probably grabbed an incorrect kubernetes client config file during testing.
The 6443 should already have a SAN see here https://github.com/rancher/k3s/blob/16c8554b5ca6636dbacaf5e00cee31dfea87e622/pkg/cluster/https.go#L40

As per above this is not needed.


app:ms_hintColor="@color/hint"

ms_hintColor not found

xmlns:app="http://schemas.android.com/apk/res-auto"
app:ms_hintColor="@color/yourcolor"

still its not working...

fixed in #100


Enzyme unit tests are failing in CI

I missed this in #1...
  ● setupEnzyme › uses a default prop value when not overridden

    TypeError: Cannot read property 'child' of undefined

      32 |       ...testProps,
      33 |     } as React.ComponentProps<ComponentType>;
    > 34 |     const wrapper = mount(<Component {...(props as any)} />);
         |                     ^
      35 |
      36 |     return { props, wrapper };
      37 |   };

      at getFiber (node_modules/enzyme-adapter-react-16/src/detectFiberTags.js:15:35)
      at detectFiberTags (node_modules/enzyme-adapter-react-16/src/detectFiberTags.js:76:15)
      at ReactSixteenAdapter.createMountRenderer (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:465:19)
      at ReactSixteenAdapter.createRenderer (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:820:51)
      at new ReactWrapper (node_modules/enzyme/src/ReactWrapper.js:113:32)
      at mount (node_modules/enzyme/src/mount.js:10:10)
      at renderWrapper (src/setupEnzyme.tsx:34:21)
      at Object.<anonymous> (src/setupEnzyme.test.tsx:18:25)

So what was the issue?


[Patch] Fixed focus sort in resultset table

Does it seem that maybe another outline is being applied?

It actually works well visually since the blue and the header purple blend a little. I would leave like that just knowing where these styles are coming from (or even applying the consciously in our component implementation) if we need to change them in the future...

Looks like it is applying the white border when outline style is auto or revert. If we change it to another value, it will not have rounded corners. Maybe changing outline to box-shadow?

Does it seem that maybe another outline is being applied?

It actually works well visually since the blue and the header purple blend a little. I would leave like that just knowing where these styles are coming from (or even applying the consciously in our component implementation) if we need to change them in the future...

Looks like it is applying the white border when outline style is auto or revert. If we change it to another value, it will not have rounded corners. Maybe changing outline to box-shadow?

Use solid instead


updateDiskOffering can't add/edit tag on existent disk Offering

ISSUE TYPE

Enhancement Request

COMPONENT NAME

DiskOffering

CLOUDSTACK VERSION

4.13

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

Edit tag on diskOffering with updateDiskOffering command

STEPS TO REPRODUCE

Try to add or edit tags on existent diskOffering

EXPECTED RESULTS

ACS update tags on diskOffering

ACTUAL RESULTS

ACS is unable to edit tag due updateDiskOffering does not accept tag as parameter

Hi @RodrigoDLopez,
Can you pls. let know that is there any plan to fix this?

Hello, @PranaliM
We have a fix for this issue, it was merged with this PR #4194 in version 4.15
I believe that users of cloud primate still cannot use this feature because we need to make changes to that project as well. However, my correction includes the standard graphical interface of the ACS.
Any other questions I am available.

Thanks @RodrigoDLopez, this helps.
Do we have a similar option for editing host tags in service offerings ? If not, could we consider adding that?

Hi @PranaliM
I will make this... but we will need help to merge this enchantment.
maybe if you could review and run some tests when I finish my work

sure, @RodrigoDLopez. Thanks.


Error when app shuts down after it failed to connect to kafka

As you can see from this log dump, requests are being normally handled, but then things happen and "Application failed to start" shows up after the app has been up for some time.

Oh, I think it happens even if Kafka connection happens normally.


Confirmation Popups

I noticed that we are using the default javascript confirm for delete confirmation.  What do you all think about using something like SweetAlert: https://atmospherejs.com/kevohagan/sweetalert?

Yes. Good idea.
SweetAlerts are great. But it should get some custom styles (Skeleton breaks the SweetAlert styles) so that it looks nice.

I have been experimenting with Sweet Alerts, what do you think of these?  For deleting a post and a message.

Looks like the border got cut off in my screenshot, but it is there.

Thank you! That looks great. Just submit a PR so I can merge it.


Problem with iPad on rotation

Running example app on the emulator, start Image picker, then rotate.
https://www.dropbox.com/s/6r0nbsrzie0gqog/Simulator Screen Shot - iPad Pro (9.7-inch) - 2020-08-28 at 22.34.35.png?dl=0

It won't work correct as this won't be called on modern iPads:
open override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
return .portrait
}
until you didn't set "Requires full screen" in General tab of your Target.
https://stackoverflow.com/questions/35274428/supportedinterfaceorientations-not-called-in-ipad
If 'Requires full screen' setting from 'General' is enable, will allow the orientation delegate methods shouldAutorotate, preferredInterfaceOrientation, and supportedInterfaceOrientations to fire.

I think this can be added to documentation or the whole Picker requires some fixes for handling iPad rotations correct way.

iPad Rotation on iPad does not work. Right side of picker is black. (version = XCode 12 release)

I tried something like the following inside YPImagePicker.swift, but without success.
Do you know how the landscape rotation can be done otherwise ?
open override var shouldAutorotate: Bool {
        return true
    }

    open override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {

        super.viewWillTransition(to: size, with: coordinator)

        coordinator.animate(alongsideTransition: { (context) in
            guard let windowInterfaceOrientation = self.windowInterfaceOrientation else { return }

            if windowInterfaceOrientation.isLandscape {
                // activate landscape changes
                print("landscape now")
                print(UIScreen.main.bounds.height)
                print(UIScreen.main.bounds.width)
                self.view.frame = CGRect(x: 0.0, y: 0.0, width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)
                self.view.setNeedsLayout()
                self.view.layoutSubviews()
            } else {
                // activate portrait changes
                print("portrait now")
                print(UIScreen.main.bounds.height)
                print(UIScreen.main.bounds.width)
                self.view.frame = CGRect(x: 0.0, y: 0.0, width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)
                self.view.setNeedsLayout()
                self.view.layoutSubviews()
            }
        })
    }

    private var windowInterfaceOrientation: UIInterfaceOrientation? {
        if #available(iOS 13.0, *) {
            return UIApplication.shared.windows.first?.windowScene?.interfaceOrientation
        } else {
            return UIApplication.shared.statusBarOrientation
        }
    }

@StephanKornerTrihow Did you find any solution for this issue? @nickeyzzz

no - not yet
Indeed, I observed that landscape rotation on iPhone is also error-prone. I am waiting on some input from the YPImagePicker cracks on this.

I'm having the same issue on ipad, any idea on the fix or when it will be fixed?

I'm having the same issue on ipad, any idea on the fix or when it will be fixed?

still get portrait in iPad. even parent screen is in landscape mode

Any update on this? We are facing this same issue where the selection view is broken on iPad in landscape.

im using other lib that handle all better

im using other lib that handle all better

Which one?

im using other lib that handle all better

Which one?

https://github.com/Yummypets/YPImagePicker/issues/550#issuecomment-1014732913

I am seeing the same issue and it is a show stopper for me.
@fukemy the referenced other library dos not unfortunately have video support etc so reduces the functionality somewhat.


scheduling send messages using crontab

Description
i want to use PyWhatkit and crontab to send messages once a day
To Reproduce
i use crontab, bash script to call environment in anaconda and run script PyWhatkit to send message
crontab -e
*/1 * * * * bash send.sh > /home/mypc/send.log 2>&1
send.sh
source /home/mypc/anaconda3/etc/profile.d/conda.sh && \
conda activate waapi && \
python WA_Instant.py &

WA_Instant.py
#!/usr/bin/env python
# coding: utf-8
import pywhatkit
from datetime import datetime
# datetime object containing current date and time
now = datetime.now()
#print("now =", now)
# dd/mm/YY H:M:S
dt_string = now.strftime("%d/%m/%Y %H:%M:%S")
#print("date and time =", dt_string)
pywhatkit.sendwhatmsg_instantly("+62***********", '*Send message at :* \n' + dt_string, 20, True, 5)

but I get an error message in the file send.log
Traceback (most recent call last):
  File "WA_Instant.py", line 7, in <module>
    import pywhatkit
  File "/home/mypc/PyWhatKit/pywhatkit/__init__.py", line 16, in <module>
    from pywhatkit.whats import (
  File "/home/mypc/PyWhatKit/pywhatkit/whats.py", line 7, in <module>
    import pyautogui as pg
  File "/home/mypc/anaconda3/envs/waapi/lib/python3.8/site-packages/pyautogui/__init__.py", line 249, in <module>
    import mouseinfo
  File "/home/mypc/anaconda3/envs/waapi/lib/python3.8/site-packages/mouseinfo/__init__.py", line 223, in <module>
    _display = Display(os.environ['DISPLAY'])
  File "/home/mypc/anaconda3/envs/waapi/lib/python3.8/os.py", line 675, in __getitem__
    raise KeyError(key) from None
KeyError: 'DISPLAY'

Version Information

OS: [e.g. Ubuntu 18.04]
Browser: [ Firefox, Google Chrome ]
Python: [ 3.8.12]
PyWhatKit: [e.g. 5.2]

How to fix this problem?

Hey @s33k3rs, thanks for reaching out. This bug usually occurs when you don't have a display attached to your PC or it is not configured properly. If you have a display attached then add these lines at the start of your script:
import os
os.environ['DISPLAY'] = ':0'

Thx, it's running well
alternative i added on crontab
DISPLAY=:0


[PROBLEM] 58. Length of Last Word

Difficulty
Easy
Problem Description

Given a string s consisting of words and spaces, return the length of the last word in the string.
A word is a maximal substring consisting of non-space characters only.
Example 1:
Input: s = "Hello World"
Output: 5
Explanation: The last word is "World" with length 5.

Example 2:
Input: s = "   fly me   to   the moon  "
Output: 4
Explanation: The last word is "moon" with length 4.

Example 3:
Input: s = "luffy is still joyboy"
Output: 6
Explanation: The last word is "joyboy" with length 6.

Constraints:

1 <= s.length <= 104
s consists of only English letters and spaces ' '.
There will be at least one word in s.

Link
https://leetcode.com/problems/length-of-last-word/

Hi @godkingjay ! I have done the task and made a PR. Have a look.


Unable to save changes to Icon images in preferences

NetBox version
v4.0.9
Topology Views version
v4.0.0
Steps to Reproduce

Click on Topology Views > Images
Make a change to the images, choosing a different icon for one of the categories
Press Save button to save changes
Error is shown and changes are not saved

Expected Behavior
Changes should be saved and the browser returns to the previous page.
This happens even after logging out & back in and clearing cache & cookies.
Observed Behavior
An error message is displayed in a pop up balloon, and the changes are not saved.
😢 {"detail":"CSRF Failed: CSRF token from the 'X-Csrftoken' HTTP header has incorrect length."}

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

I am not able to reproduce this error either in my dev system nor in my productive environment. To get closer to the root cause, we need more information.
We've had a somewhat similar question (#324) last year. Are you using Docker?
Have you tried a different browser?
Do you use any browser add-ons which could block things or deletes/manipulates cookies?
Do you work in a multi domain environment?
Do you use a (maybe transparent) proxy?
Have you tried setting up a test server with a clean installation of NetBox that follows the installation instructions exactly?

Thanks for looking into this @dreng
I'm not using Docker, this instance is installed on RHEL 9.4.
Just had a go using Edge & Firefox, both normal and private browsing (no plugins) windows and both give the same outcome.
Just tried accessing directly via the system IP and again, still the same issue.
I have not tried with a clean install, this is a previously working install that seems to have picked up this bug during an update, will try removing the plugin & related tables and reinstalling to see if that might have bee the issue.

Closing this issue now as I have managed to resolve it - don't think its an issue with the plugin, think it was an issue with my django configuration.
In-case anyone else stumbles across the same problem, in my case I had changed the value of CSRF_COOKIE_NAME in configuration.py, switching this back to its default value of "csrftoken" has solved the problem.


undefined: sendgrid

Hi,
I get this error at go get:
go get -u github.com/kennygrant/gohackernews
# github.com/kennygrant/gohackernews/src/lib/mail
../github.com/kennygrant/gohackernews/src/lib/mail/mail.go:35: undefined: sendgrid.NewSendGridClientWithApiKey
../github.com/kennygrant/gohackernews/src/lib/mail/mail.go:37: undefined: sendgrid.NewMail

And at build also:
me@pc:~/go/src/github.com/kennygrant/gohackernews$ go build
# github.com/kennygrant/gohackernews/src/lib/mail
src/lib/mail/mail.go:35: undefined: sendgrid.NewSendGridClientWithApiKey
src/lib/mail/mail.go:37: undefined: sendgrid.NewMail

How to fix these?
Thanks

Sorry for the late reply. I'll look into it to see, sounds like an older version of the sendgrid library was linked and it has been updated (I know they changed their API recently).

Yep, looks like they broke their API:
https://github.com/sendgrid/sendgrid-go/issues/81
I'll fix on this end.


Support fees for foreign currency transfers in credit cards on Consor…

…sbank
I ran into a problem where the parser did not recognize the an entry for foreign currency data. The reason was that the initial limit of >5 chars for new entries was to low, since it only was "EREF+". It seems that there is no special party in this kind of transactions and it is therefor left empty. To support it, I added the ability to allow exactly this "EREF+" definition.

Yes, that is better, I just wanted to use the least intrusive way to support it. Updated it.


Fix up more of the test_edge_cases.py tests

I have tried to update the remaining tests in this file to be more compatible with v2. This entails:

Updating the expected errors/etc. and removing the xfail for some tests
Updating the expected errors/etc. where possible but still leaving the xfail for some tests where I could update some things but not quite get it to pass
Add some notes about why tests are failing and/or asking how they should be resolved

In several cases, I was unsure if we intended to preserve the v1 behavior and/or whether there was a plan for how we intend to achieve it. I tried to add a TODO: note with a question in each such instance. I'm happy whether we try to resolve those questions before merging, or after (down the road).
Also, on a tangential note — a significant fraction of the remaining failures in this file relate to validators — @adriangb for your context I've been trying to add  - validators in the xfail reason for tests failing for things related to validators (both here and in other non-test_validators.py files); searching for that might help you find other tests to get passing that aren't in the test_validators.py file.

Update: I have added comments below indicating everywhere that I wasn't 100% sure what the right thing to do in v2 was.

please update.

I updated all the TODO comments I asked for more detail about; let's get this merged now as it fixes up otherwise-working tests and address the issues in separate PRs.

please review


Nonlinearsolver package and compat

Is your feature request related to a problem? Please describe.
Nonlinear solvers works on GPUs - we may want to use that instead of NLSolve
Add compat helpers.
Please link to any related issues/PRs.
Describe the solution you'd like
Switch from NLSolve to Nonlinear solvers if applicable
Use CompatDevTools or add compat entries for test Project.toml.
(These are improvements that were suggested during a pair program session with Charlie)

I think this issue is stale, can we close it?

fine with me!


Add tests for python 3.7

See original issue on GitLab
In GitLab by [Gitlab user @cs-shadow] on Jan 2, 2019, 13:01
Background
We aim to support python3.7 but none of our testsuite images have it covered at the moment.
If we had tests for python3.7, there may be some hope of capturing things like https://gitlab.com/BuildStream/buildstream/issues/836.
Task description

[x] Add a teststuite image with Python 3.7 to buildstream-docker-images - https://gitlab.com/BuildStream/buildstream-docker-images/issues/29
[ ] Add that image to our CI pipeline

Acceptance Criteria
BuildStream's CI covers Python 3.7

In GitLab by [Gitlab user @cs-shadow] on Jan 2, 2019, 13:03
changed the description

In GitLab by [Gitlab user @nanonyme] on Jan 6, 2019, 23:17
Note that that specific category of a failure was really hard to catch through tests. It was only noticed when an end-user investigated Python verbose output looking for reason for slow performance on process startup. Stale bytecode is non-fatal and Python will automatically silently generate bytecode on every startup if necessary.

In GitLab by [Gitlab user @toscalix] on Jan 7, 2019, 09:14
marked this issue as related to #836

In GitLab by [Gitlab user @cs-shadow] on Jan 15, 2019, 21:30
marked the task Add a teststuite image with Python 3.7 to buildstream-docker-images - https://gitlab.com/BuildStream/buildstream-docker-images/issues/29 as completed

In GitLab by [Gitlab user @cs-shadow] on Jan 15, 2019, 21:31
mentioned in commit 4b5445558b03bc2ec1b4060e22cd70f1a0e90c96

In GitLab by [Gitlab user @cs-shadow] on Jan 15, 2019, 22:44
mentioned in merge request !1074

In GitLab by [Gitlab user @jjardon] on Jan 15, 2019, 22:48
closed via merge request !1074

In GitLab by [Gitlab user @jjardon] on Jan 15, 2019, 22:48
mentioned in commit 80fe0d9a843688e5286ddb819a08fafc1819db93


Availability of ifx?

Hey all
Since this feedstock repacks intel-fortran-rt, or:

Runtime for Intel® Fortran Compiler Classic and Intel® Fortran Compiler (Beta)

I'm wondering if it's also planned to repack ifort for conda-forge? For scipy, we've been stuck with using an unholy combination of MSVC+gfortran because there's no other available fortran compiler on windows in conda-forge. Now that scipy is switching to meson (which enforces a cleaner toolchain than this hack; details), we're really in need of a fortran compiler, and llvm-flang resp. LFortran aren't ready for primetime yet.
The reason I'm asking is that I cannot really imagine the usefulness of the intel fortran runtime in conda-forge, unless there are packages that require it, which would presumably be those that have been compiled with ifort.
Thanks!

Hi @h-vetinari,
thanks for inquiry.
Runtime

Think this is just part of all compiler runtimes distribution including C++ and SYCL.
Initial aim was to provide runtimes for other applications build based on Intel Compilers so runtime dependency can be resolved via this package.  So non necessary conda-forge build ecosystem but user ecosystem that relay on this runtime packages.

Compiler:

Compiler itself is publicly available via apt/yum channels but there are additional steps were required for legal part of redistribution to conda. This was done for C++ and SYCL compilers. And technically can be done.
ifort is old compiler that wouldn't be developed further, so it for sure wouldn't be deployed.  But ifx is current replacement for ifort - so it probably have chances to get here if there would be enough interest for it.

This wouldn't be fast...

Hi @napetrov, thanks for the reply!

But ifx is current replacement for ifort - so it probably have chances to get here if there would be enough interest for it.

I wasn't aware how the new Fortran compiler is called,  but this would be hugely helpful! Please let me know what I can do to make that case (including gathering feedback or support from conda-forge/core)
For context: We've had big problems serving packages with Fortran components (mainly on windows), because we have no compilers available for that in conda-forge, except gfortran-through-MinGW, which comes with a long list of headaches though.
Having a production grade compiler available in our infrastructure would be incredibly beneficial.

Having a production grade compiler available in our infrastructure would be incredibly beneficial.

+1. I'd also add that this would make it a lot easier to use ifx in CI of mainstream packages like SciPy, especially on Windows. The separate installers and .bat scripts that Intel provides aren't really workable; a simple conda install ifx (or intel-compilers) would be way easier. As a data point, I did put time into that at https://github.com/scipy/scipy/pull/16957, but it was too painful to finish.

Since the compiler sources are not available, only intel can provide ifx; we have no way to build it ourselves. In the meantime, you can try using flang 17 or 18 as a MSVC-compatible compiler on windows. It's what we're using for SciPy for example (background).

Thank you for the response!
Okay, then I'll shift my efforts to the flang compiler.
(A really interesting article btw.)
Best Regards
Kristoffer

Note: it appears that Intel now has the ifx compiler available on their conda channel. It's ifx_linux-64 in https://software.repos.intel.com/python/conda/
see: https://www.intel.com/content/www/us/en/developer/tools/oneapi/fortran-compiler-download.html?operatingsystem=linux&distribution-linux=conda

Windows as well as ifx_win-64 !

Note: it appears that Intel now has the ifx compiler available on their conda channel. It's ifx_linux-64 in https://software.repos.intel.com/python/conda/
see: https://www.intel.com/content/www/us/en/developer/tools/oneapi/fortran-compiler-download.html?operatingsystem=linux&distribution-linux=conda

But I am guessing that the availability of ifx on intel's conda channel doesnt get things any closer for us to use it for conda-forge packages?

But I am guessing that the availability of ifx on intel's conda channel doesnt get things any closer for us to use it for conda-forge packages?

yes. actually IFX was available on Intel channel for a while, so there is nothing changed dramatically on that front.  Would try running another interaction internally to see if things get changes from internal perspective


The Backpack Bug

Describe the bug
It seems that there is a bug related to adding blocks in the backpack. After adding any block to the backpack if we click (a simple left click) on that block, the block gets added/duplicated in the backpack on every simple click.

Affects

The blocks are duplicated in the backpack
Expected behavior
No block should be added to backpack on simple click

Steps to reproduce

Drag any block in the block editor

Add that block in the backpack by simple drag and drop

After the block is added, try to simply click on the block

Attaching video below(.zip file)
MIT App Inventor - Google Chrome 2020-04-07 17-14-52.zip

@Vaibhav-creator Thanks for the report. I am able to replicate the issue. @BeksOmega Do you want to take a look at this?

@BeksOmega Do you want to take a look at this?
I would love to!


Arachnid has... 7 hearts?

Humans have 10 hearts.
Spiders have 8 hearts.
Why do arachnids have 7 hearts? A total of eight would be the same as a spider, and nine would be halfway between human and spider. Why seven?
Not really a bug, but a curiosity. An extra heart wouldn't do much for gameplay, but would resolve the strange inconsistency.

technically you are not a spider but a type of arachnid so there is no inconsistency.

Or maybe instead reduce fall damage, the only real problem in having only 7 hearts is that it is really easy to die from fall damage while climbing IMHO.


[1.0.3-dev] Glitch while opening the menu

Hey,
I installed today the last version of WkWebView plugin 1.0.3-dev.
As you can see in the following video, when I open the menu by clicking the hamburger button, there is really quick (white) glitch happening on that top left corner.
https://www.dropbox.com/s/0aniu6lwcngewit/WkWebView_Menu_Glitch.mov?dl=0
I don't see that glitch while debugging (ionic serve) or on my android phone, therefore I think it's related to WkWebView plugin.
(currently installing 1.0.2 to try with older version)
Best regards

I just compared my app with previous version and it seems it was already glitchy, therefore I guess the problem may come from my side, that's why I close my issue


Pop doesnt work with latest release 2.2.12

I found that popup isnt working with v2.2.12 if you initialize popup on button. It works with  tag but not on button as shown in demos. I didnt tested it other elements. Below is the demo and my dev environment details.
Demo : https://jsfiddle.net/amitpatil321/cuzL3465/ and https://codepen.io/amitpatil/pen/yoWmyo
OS X Sierra
Chrome 60.0.3112.113

Hi @amitpatil321, you’re not using it correctly, please refer to the examples in the documentation to correct it.
Thank you for posting, but although it’s a valid usage question, we’ve limited GitHub Issues to bug reports and feature requests, keeping the board more manageable for maintainers; see the contributing guidelines for more information on what kind of posts should find themselves into the GitHub Issues board.
To get answers or feedback that might allow you to repost or reopen this issue, please use one of our other support resources:

Gitter chatroom
Official forums
StackOverflow


Enhancement: Add option to check for videos/images in Archive.org/Wayback Machine

With the Wayback Machine, you can check old twitter and tumblr posts and not just the main page also tweets and individual posts with put a * at the end of the main blog/profile or at the "URLs" page.
There can be a lot of twitter posts in the Wayback Machine, but currently there's no gui to download them all.
So adding support to add blogs with urls like https://web.archive.org/web/*/(url of profile)/* for all of the archived posts or https://web.archive.org/web/20240000000000*/(url of profile)/ for just the archives of the front page, would be nice.
Alternately, you can just make it into a check box instead, and have an option to download into it's own folder or the same one.
Just note that with tumblr, the Wayback Machine sometime gets confuse on tumblr's older urls like https://(user).tumblr.com/ and can auto redirects to the new url https://www.tumblr.com/(user). Also there's other web archive sties like archive.today as well.
Edit: Also discovered in tumblr some of files can be still in it's servers (most likely from others rebloging), add a check box for find url like, https://web.archive.org/web/(date)/http://(number).media.tumblr.com/(id)/tumblr_(id)_500.jpg into http://(number).media.tumblr.com/(id)/tumblr_(id)_1280.jpg to check if the file is still on tumblr and then download it.

Currently there is no plan to integrate this site.
If enough people are interested in it and someone likes to implement, we welcome it.
For now moving it to the ideas section.


Query: 64x64 Datasets

Thank you authors for sharing the interesting work you have done in deep generative modeling. I have a rather small doubt regarding changing the architecture for training smaller 64x64 or 32x32 datasets. It would be great if you could guide me.

Hi, just change the --size 1024 to --size 64 or --size 32 to train on smaller datasets.


upgrade to rails 5.2 causes errors with existing jobs

after we upgraded from 5.1 -> 5.2 we started seeing these errors for jobs that were created under 5.1:
 Job has failed and won't be retried anymore: Job failed to load: undefined method `allocate' for "ActiveModel::Attribute::FromDatabase":String. Handler:

ActiveRecord objects serialized under 5.1 can't be deserialized under 5.2 because rails changed the ActiveRecord object structure. You will need to manually recover and re-queue any jobs serializing AR objects from before your deploy. This goes for anything that was serializing AR objects to YAML and back, not just delayed job.


Fix/custom fixes

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CI: tolerate DROP_EP_NOT_READY in e2e workflows

Background:
https://github.com/cilium/cilium/pull/32151 introduced a distinct drop reason for packets that get dropped due to an inherent race condition in datapath initialization. This allows to differentiate them for genuine tail-call related bugs (which get reported with DROP_MISSED_TAIL_CALL).
Proposal:
Ignore packets dropped with DROP_EP_NOT_READY in the CI error reporting, by setting up --expected-drop-reasons accordingly.

Could you describe a bit more about the inherent race conditions?
The whole idea behind the CI error reporting is to pick up on stuff that users are going to report to us, so if we're going to ignore this in CI then it'd be good to have a clear pre-canned answer as to why users might see behaviour like that.

Could you describe a bit more about the inherent race conditions?

Some BPF program calls eg. ipv*_local_delivery() , attempting to deliver the packet to an endpoint via tail-call to the endpoint's entry in the policy map. At the same time that endpoint is torn down, and its entry in the policy map gets deleted by the agent. We don't have ref-counting to prevent this ("keep the policy entry alive as long as anyone is referencing the endpoint's map entry").

I see, makes sense. Could we also solve this by removing the references to the endpoint from the shared maps to prevent new packets hitting these, then after a grace period do the final cleanup of the endpoint's maps/progs?


Allow use of unsized readers and writers

This fixes #104, but also will require every custom implementation of read_options/write_options/parse_with/write_with to also change their constraints. I don’t know if I am smart enough to really say whether or not this is a good idea, but it was easy to do!

Correct me if I'm wrong but the choice here is a decision between "should every parser implementation include ?Sized" or "should unsized readers require an addition layer of indirection"?
Because tbh if so I think it's a bad idea. It'd maybe be possible to make a unified trait to take the place of the trait bounds but that's still a lot of churn to avoid rare indirection...

When you say usability regression you are talking about how anyone who manually writes a function has to write binrw::io::Read/Write + binrw::io::Seek + ?Sized instead of just binrw::io::Read/Write + binrw::io::Seek, right? And the workaround is to &mut Box<dyn T> instead of being able to &mut dyn T? Want to make sure it is clear before I go back and reject the corresponding issue.

another workaround could be to wrap the &mut dyn T in a newtype, meaning that it doesn't have to be on the heap.

@csnover correct

What if there were a macro for people to write the stand-alone custom parser/serialiser functions like:
binread_fn!(fn foo(reader, options, args: Args) -> Ret {
  // …
});

binwrite_fn!(fn foo(writer, options, args: Args) {
  // …
});

What if there were a macro for people to write the stand-alone custom parser/serialiser functions like:
binread_fn!(fn foo(reader, options, args: Args) -> Ret {
  // …
});

binwrite_fn!(fn foo(writer, options, args: Args) {
  // …
});

I think making custom functions easier is potentially beneficial (albeit I can't think of a syntax I would really like tbh? so maybe not...) but I don't think it would actually solve the problem at hand.
I know it's a bit ironic given the whole point of the crate is "macro magic" but without a good enough idea for how to make it feel natural, I'm not sure a macro helps that much. (For example, I'd want the transition from writing the most basic custom parser to one that is generic in some form to feel natural.
Honestly the best I can think of is like... this? I guess?
#[binrw::parse_fn(reader, options)]
fn foo() -> u64 {
    // implementation that takes no args
}

#[binrw::parse_fn(reader)] // read options can be omitted
fn foo(x: u32, y: u32) -> u32 {
    // implementation that takes an args of (u32, u32)
}

#[binrw::parse_fn(reader)]
fn foo<T: BinRead<Args = ()>>() -> T {
    // ...
}

Which... I don't hate. But I'm still not sure how I feel about the ?Sized bound even with this, idk.


typo : pythonImportCheck instead of pythonImportsCheck

Describe the bug
4 packages have the pythonImportCheck attribute, which is a typo for pythonImportsCheck
Steps To Reproduce
Steps to reproduce the behavior:

rg pythonImportCheck
see 4 packages:

pkgs/development/python-modules/pyfunctional/default.nix
37:  pythonImportCheck = "pyfunctional";

pkgs/development/python-modules/python-ffmpeg/default.nix
22:  pythonImportCheck = [ "ffmpeg" ];

pkgs/development/python-modules/pyairports/default.nix
22:  pythonImportChecks = [ "pyairports" ];

pkgs/development/python-modules/geoparquet/default.nix
37:  pythonImportCheck = "geoparquet";

Expected behavior
no result
Notify maintainers

[ ] pyfunctional & geoparquet: @Sigmanificient
[ ] python_ffmpeg: @roshaen
[ ] pyairports: @cfhammill

Add a :+1: reaction to issues you find important.

I do wish we used lib.strings.levenshteinAtMost or such to warn about typos in derivation attrs

I do wish we used lib.strings.levenshteinAtMost or such to warn about typos in derivation attrs

Or at least had a CI check for things like this


[Google Maps Places Client] - Add the ability to impersonate a service account

A screenshot that you have tested with "Try this API".

What would you like to see in the library?
When using the PlacesClient with Application Default Credentials the client works fine.
When you setup ADC with Service Account Impersonation then the client error's out with a Getting metadata from plugin failed with error: INVALID_ARGUMENT: unable to impersonate: Request contains an invalid argument. error.
I'm assuming that the client is setup to utilize the impersonation credentials properly from the ~/.conifg/gcloud/application_default_credentials.json file. The structure is different depending on if using your own Google account vs impersonating a service account.
Describe alternatives you've considered
I've tried overriding the Place Client client options with an Auth client that uses an API Key. I wasn't able to get the API Key approach to work either.
Additional context/notes
No response

I was able to resolve this by manually setting the scopes in the Places Client.
import {PlacesClient} from '@googlemaps/places';
const placesClient = new PlacesClient({
    scopes: ['https://www.googleapis.com/auth/cloud-platform']
 });

It would appear that the Google Map Places Client doesn't set any auth scopes by default:
places_client.js:263
static get scopes() {
        return [];
}

I would suggest at least adding in the default scope of 'https://www.googleapis.com/auth/cloud-platform'.