GCE auto detection broken in GCS library

It seems that the GCE detection is broken for Cloud Run (and presumably things like Google App Engine Flex).  The /sys file system does not include the file used here:
https://github.com/googleapis/google-cloud-cpp/blob/cc0004e045237e0133cc5acd155d02d2d80abddb/google/cloud/storage/internal/compute_engine_util.cc#L93
The gRPC detection changed over the last year to use the metadata server as a fallback even if we cannot assert that the machine is a GCE instance.  We should probably do the same.

Good news: GKE, AppEngine Flex and GCE work.
Bad news: after pretty deep digging, I don't know how to address Cloud Run.
Contrary to others, Cloud Run uses gVisor, which does a pretty good job at hiding what it runs on. It is pretty easy to tell it's gVisor, but it I have no idea how to tell if it's running inside Google.
FWIW, there is a somewhat related bug: https://github.com/google/gvisor/issues/54
This is what I tried to get some data:

grep the whole VFS for google, appengine
read the kernel log (/dev/kmsg is missing, but syslog(SYSLOG_ACTION_READ_ALL) works) - you can tell it's gVisor
grepping vdso, vsyscall, vvar
dumping a process' memory and grepping it
uname (it is hardcoded to Linux ef89c97e0a83 4.4.0 #1 SMP Sun Jan 10 15:06:54 PST 2016 x86_64 x86_64 x86_64 GNU/Linux, but it doesn't tell if it's Cloud Run or not)
cpuinfo (nothing specific)
dmidecode (/dev/mem is unavailable)

I think that if we want to solve it reliably, we need either need support in gVisor or an internal service which would tell you if you're inside or not.

Actually, I did find a way - rev DNS the main DNS server.
$ host $(cat /etc/resolv.conf | grep ^nameserver | cut -f2- -d ' ')
<IP_ADDRESS>.in-addr.arpa domain name pointer metadata.google.internal.

It's pretty brittle, though. Especially that:

if the user starts a systemd-resolver or dnsmasq, it no longer works
if the user changes the nameserver, it no longer works
if the user uses some NSS magic, it might not work

gRPC seems to query metadata.google.internal without checking for any other conditions. I think the argument is basically: "if it works, and the credentials are valid, then you were on GCE or something that behaves like GCE and produces good credentials".  If the application does not want us to try metadata.google.internal. they can set GOOGLE_APPLICATION_CREDENTIALS. GCE is the last resort, right?

@coryan following your request, I'm describing how to run on App Engine Flex
Apply this patch and compile (under Fedora 31):
diff --git a/google/cloud/storage/examples/CMakeLists.txt b/google/cloud/storage/examples/CMakeLists.txt
index b82d3b459..6112987e3 100644
--- a/google/cloud/storage/examples/CMakeLists.txt
+++ b/google/cloud/storage/examples/CMakeLists.txt
@@ -47,6 +47,7 @@ set(storage_examples
     storage_service_account_samples.cc
     storage_signed_url_v2_samples.cc
     storage_signed_url_v4_samples.cc
+    storage_test_gce_creds.cc
     storage_website_samples.cc)

 set(storage_examples_unit_tests
diff --git a/google/cloud/storage/examples/storage_test_gce_creds.cc b/google/cloud/storage/examples/storage_test_gce_creds.cc
new file mode 100644
index 000000000..b4f164e77
--- /dev/null
+++ b/google/cloud/storage/examples/storage_test_gce_creds.cc
@@ -0,0 +1,22 @@
+#include "google/cloud/storage/client.h"
+#include "google/cloud/storage/oauth2/compute_engine_credentials.h"
+#include "google/cloud/storage/oauth2/google_credentials.h"
+#include <iostream>
+
+int main() {
+  auto creds = google::cloud::storage::oauth2::GoogleDefaultCredentials();
+  std::cout << "Got " << (!creds ? "no " : "") << "credentials" << std::endl;
+  if (!creds) {
+    std::cout << "Cred error: " << creds.status() << std::endl;
+    return 1;
+  }
+  auto* ptr = creds->get();
+  std::cout
+      << "Credentials are "
+      << ((typeid(*ptr) !=
+           typeid(google::cloud::storage::oauth2::ComputeEngineCredentials<>))
+              ? "not "
+              : "")
+      << "ComputeEngineCredentials" << std::endl;
+  return 0;
+}

Prepare a directory containing:

results of compilation:  libcrc32c.so.1,  libcrc32c.so.1.1.0, storage_test_gce_creds
Dockerfile:

FROM fedora:31

COPY . /pkg

ENV LD_LIBRARY_PATH=/pkg
ENTRYPOINT /pkg/storage_test_gce_creds

app.yml

runtime: custom
env: flex

In order to run on App Engine Flex run: gcloud app deploy.
In order to run on Cloud Run, in that directory run:
$ docker build -t gcr.io/grass-clump-479/detect
$ docker push gcr.io/grass-clump-479/detect:latest
$ gcloud run deploy --image gcr.io/grass-clump-479/detect --platform managed

In order to run on K8s:
Create a directory with a file containing:
apiVersion: v1
kind: Pod
metadata:
  name: detect-test
spec:
  containers:
  - name: detect-test
    image: gcr.io/grass-clump-479/detect:latest

In that directory run
$ gcloud container clusters create detect-test --num-nodes=1 --zone us-central1-c
$ kubectl apply -f .
$ kubectl logs detect-test


Extracting the label/mask for a specific category

I had come across a previous example for background removal that relied on usage of semantic segmentation.However instead of removing the background,I am currently more focused on  removing the pixels corresponding to a specific class.Plus,I am interested in using the concept of panoptic to approach this problem.
For example in below image

Let's say we want to white out all pixels belonging to the class grass.
So how would I go about it, i am thinking i select the mask corresponding to the grass label and then subtract it from the output result's mask.
As the ADE dataset consists of a larger vocabulary,that was my first choice and I was glad to discover your work on panoptic trained on ADE.
Would appreciate it if you can give me some tips on how to extract the mask corresponding to certain label .
the work on background removal uses the foll code.
def decode_segmap(image, source, nc=21):

  label_colors = np.array([(0, 0, 0),  # 0=background
               # 1=aeroplane, 2=bicycle, 3=bird, 4=boat, 5=bottle
               (128, 0, 0), (0, 128, 0), (128, 128, 0), (0, 0, 128), (128, 0, 128),
               # 6=bus, 7=car, 8=cat, 9=chair, 10=cow
               (0, 128, 128), (128, 128, 128), (64, 0, 0), (192, 0, 0), (64, 128, 0),
               # 11=dining table, 12=dog, 13=horse, 14=motorbike, 15=person
               (192, 128, 0), (64, 0, 128), (192, 0, 128), (64, 128, 128), (192, 128, 128),
               # 16=potted plant, 17=sheep, 18=sofa, 19=train, 20=tv/monitor
               (0, 64, 0), (128, 64, 0), (0, 192, 0), (128, 192, 0), (0, 64, 128)])

  r = np.zeros_like(image).astype(np.uint8)
  g = np.zeros_like(image).astype(np.uint8)
  b = np.zeros_like(image).astype(np.uint8)

  for l in range(0, nc):
    idx = image == l
    r[idx] = label_colors[l, 0]
    g[idx] = label_colors[l, 1]
    b[idx] = label_colors[l, 2]

  rgb = np.stack([r, g, b], axis=2)

  # Load the foreground input image
  foreground = cv2.imread(source)

  # Change the color of foreground image to RGB
  # and resize image to match shape of R-band in RGB output map
  foreground = cv2.cvtColor(foreground, cv2.COLOR_BGR2RGB)
  foreground = cv2.resize(foreground,(r.shape[1],r.shape[0]))

  # Create a background array to hold white pixels
  # with the same size as RGB output map
  background = 255 * np.ones_like(rgb).astype(np.uint8)

  # Convert uint8 to float
  foreground = foreground.astype(float)
  background = background.astype(float)

  # Create a binary mask of the RGB output map using the threshold value 0
  th, alpha = cv2.threshold(np.array(rgb),0,255, cv2.THRESH_BINARY)

  # Apply a slight blur to the mask to soften edges
  alpha = cv2.GaussianBlur(alpha, (7,7),0)

  # Normalize the alpha mask to keep intensity between 0 and 1
  alpha = alpha.astype(float)/255

  # Multiply the foreground with the alpha matte
  foreground = cv2.multiply(alpha, foreground)

  # Multiply the background with ( 1 - alpha )
  background = cv2.multiply(1.0 - alpha, background)

  # Add the masked foreground and background
  outImage = cv2.add(foreground, background)

  # Return a normalized output image for display
  return outImage/255

the above code performs segmentation,and then uses its mask to replace the foreground's background with white color.I would like to do the same thing,but instead of setting entire background to white I am interested in setting the mask belonging to specific category to white.

I feel the above approach may not be suitable for generalization purposes.As such ,is there a way to convert the mask to polygon and then extract the polygon for specific class.
I know that in detecron2 we can convert the mask to polygon as shown below
https://github.com/facebookresearch/detectron2/issues/2245
Any help will be appreciated. thanks

Hi @sparshgarg23, to extract the binary mask corresponding to a specific category. you can directly perform an if equals operation on the semantic segmentation result:
https://github.com/SHI-Labs/OneFormer/blob/4962ef6a96ffb76a76771bfa3e8b3587f209752b/oneformer/oneformer_model.py#L376
specific_categiry_mask = (sem_seg == category_id).float()

If you are working with panoptic results, you can loop through the segments_info to collect the id for all masks belonging to a category_id and obtain the specific masks from the panoptic_map output.
https://github.com/SHI-Labs/OneFormer/blob/4962ef6a96ffb76a76771bfa3e8b3587f209752b/oneformer/oneformer_model.py#L434
For instance segmentation, you can loop through results.pred_classes and collect masks from corresponding indices (ones that match the target category_id) in result.masks.
https://github.com/SHI-Labs/OneFormer/blob/4962ef6a96ffb76a76771bfa3e8b3587f209752b/oneformer/oneformer_model.py#L486


Enable cloud_tenant based RBAC for additional models

Fixes RBAC for select cloud_tenant based models when tenant_mapping_enabled is turned on. Previously, anyone can see any tenant's objects. The fix adds CloudTenancyMixin to a model which in turn causes the correct AR joins and where clauses to be generated during tenant scoping in Filterer.search.
This patch adds CloudTenancyMixin to
CloudNetwork
CloudObjectStoreContainer
CloudObjectStoreObject
CloudSubnet
CloudTenant
CloudVolumeSnapshot
Flavor
FloatingIp
LoadBalancer
NetworkPort
NetworkRouter
SecurityGroup
Modified OpenStack CloudManager to also update the network
provider's tenant_mapping_enabled value.
Depends on ManageIQ#13535
Steps for Testing/QA

In your OpenStack cloud environment, create two projects and as admin of each project create an object for each of the models listed above.
Tenant Mapping Enabled should be turned on for the cloud provider in ManageIQ.
Create admin groups and admin users for he two projects. The admin should have the EvmRole-super_administrator role.
Login as an admin of each project and verify you can only see that project's objects.

@rwsu Can you add specs for CloudTenant and Flavor, please ?

@lpichler, specs added for CloudTenant and Flavor.

@gtanzillo, can you review? I think @lpichler might be ooto.


Not able to access context menu on anchor point

I am using the latest Safari release on macOS. When in Routing mode I am trying to open the context menu to do a split. Unfortunately the context menu does not appear on new anchor points (new ones that appear under my cursor), they do appear on already visible anchor points, but the split option is not (yet) present.
This works fine with the original version. I am not sure if this is a known limitation of the current version or a bug. I decided to share it anyway.
Another small remark. On a Mac Ctrl-Z to undo is less natural than using Command-Z. It would be nice to use Command-Z when on a Mac.
Fantastic tool by the way. I always use it to merge Mountainbike tracks that can be found on mtbroutes.nl.
Thanks for all the good work. The new version even looks nicer than the previous one.
Kind regards, Abko

Splitting and cropping files can now be done with the "Scissors" tool, and no longer within the routing tool.
If you use any other browser than Safari, all shortcuts are displayed with Command. Unfortunately, some shortcuts with Command clash with some native Safari ones.

Ah, great. Sorry, I should have noticed ;-) Fantastic App. Thanks @vcoppe  for the great work !!


Update Tables page

[x] Add Inline images in tables section to page
[x] Link out from figures page - under 'Unlabelled images in the article file', add the sentence 'Inline images may also be present within tables - for more about this, see here.' before the final sentence of the first paragraph.
[x] Add schematron message and action about titles of appendix tables ending in fullstops.
[ ] Becky approved page
[x] Melissa approved page
[ ] Fred approved page
[x] James approved page
[ ] Naushin approved page
[ ] Share page with Exeter if relevant

Definition of done

[ ] Team reviewed and approved page?
[ ] Add changelog to page
[ ] Assign Fred to update the Schematron if relevant

@bcollins14, @naushinthomson, @JGilbert-eLife, @Melissa37, I've updated this page with a small section on inline images. Any further information need adding here?
https://elifesciences.gitbook.io/productionhowto/-M1eY9ikxECYR-0OcnGt/article-details/content/allowed-assets/tables#inline-images

Looks good to me

@FAtherden-eLife Have you yet to add some of the images, or have they been lost somehow? I think I'm only seeing one out of three (?).

@JGilbert-eLife, sorry not sure i understand the question. Do you want me to add images of the tables in that section?

This bit seems to be missing images referred to in the text, but there wasn't anything in your initial comment about still needing to add images:

The 'Here' text is linked to examples. I will also add images, since it seems that's unclear.

Ah, sorry! Yes, that's really obvious and I can only plead having a hard time distinguishing bold text in GitBook today.

No problem - also agree that we should be consistent if that's what's been done elsewhere. I've added the images.

Looks good to me!

Looks good to me also, thanks!


[wip] adds warning about semver and links in postinstall

this would fix #738

Wouldn't it make sense to actually depict the actual breaking changes by version. What you have here would be a constant error which kinda is worthless if it is shown every time as people will just ignore it. Having a error popup once you upgrade to a version introducing a major breaking change would instead of that be certainly visible enough

I'm not sure I agree. As said, if the message pops up always, regardless of what you do, it just adds additional noise to your npm install log and thus might be overseen. On the other hand, if it's used to be shown only when sever changes, like the current, happen it might add the opportunity for people to realize it.
That said this is, as discussed in the linked issue, the sole purpose of this feature. A workaround for informing users about breaking changes resulting due to not conforming to SemVer, which as said is the de-facto standard for npm packages.

since major has to be the same as jest.

If you're already imposing such a restriction upon yourself for consistency sake (or whatever reason there is), why not just do it right and align your own breaking changes with major releases on jest.
New major bump upcoming in 1-2 months next jest milestone? Great time to dump in the rewrite you've been working on for a while. Versions stay aligned and you're following semver. It's all possible!
Recommended reading:

http://sentimentalversioning.org/
http://tonsky.me/blog/disenchantment/

Pull Request Test Coverage Report for Build 1866

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.901%

Totals

Change from base Build 1862:
0.0%

Covered Lines:
950

Relevant Lines:
1005

💛  - Coveralls

@kulshekhar Appreciate the straightforward reply.

We have no visibility on Jest's release schedule.

Fair enough, they don't have any sort of milestone or planning in public. Shame. Have you tried asking them if they'd be able to give some heads up or perhaps try to improve this? Any library near that kind of popularity that depends on plugin authors for a healthy landscape should have some basic communication. You're on their front page so they ought to care about what you have to say

@zewa666 I want to close related issue, and so this needs to be fixed:

I'm not sure I agree. As said, if the message pops up always, regardless of what you do, it just adds additional noise to your npm install log and thus might be overseen. On the other hand, if it's used to be shown only when sever changes, like the current, happen it might add the opportunity for people to realize it.

How can we know the version that was installed in the user's project during install?? it could be not installed, or a very old version, ... I'd never know as the script is ran once the bundle has been downloaded and unpacked into node_modules/ts-jest. I can either:

print a warning all the time
not print anything

Well we actually just need the currently installed ts-jest version.
What I had in mind is something like this, I'll dummy down the numbers to start from 1.0.0 so it's easier to follow:

1.0.0 all is good
more releases still no issues
1.1.0 is the first Breaking change. All subsequent patches should still inform the user about a breaking change
Your rule becomes "~1.1.0" or "1.1.x"
If  1.1.0 or 1.1.1 or 1.1.99 is installed user receives "BC 1"

Next breaking changes happens at 1.2.8
Your rule becomes "~1.2.8"
Means every 1.2.8 and every patch version install will show "BC 2"

Now you introduce a bc at 1.2.20
You change the previous rule to 1.2.8 - 1.2.19
And set the new one to ~1.2.20
Users see with version 1.2.20 and larger patches "BC 3"

Instead of having patch regions as ranges for showing the message you can also switch to minor level using the caret instead of the tilde but that feels like a too long range so more narrowing would be good.
Here's a sample, using npm semver to calculate the ranges:
const currentVersion = require("./package.json").version;
const semver = require('semver');

// Breaking change from 1.1.0
if (semver.satisfies(currentVersion, "1.1.*")) {
    console.log("BC 1")
}

// Next breaking change from 1.2.8
if (semver.satisfies(currentVersion, "1.2.8 - 1.2.19")) {
    console.log("BC2")
}

// One more at 1.2.20
if (semver.satisfies(currentVersion, "~1.2.20")) {
    console.log("BC3")
}

So at the end we print out the last BC. So I'll look into this kind of solution.

This has been abandoned for several months. Closing as housekeeping.


[Smoke Tests] Add smoke test attribute for spawned processes and update key manager test.

Motivation
This PR offers two incremental improvements for our smoke test infrastructure:

First, it adds a new "#[smoke_test]" attribute that can be added to individual smoke tests to spawn them in new processes and automatically fail them after a specific amount of time (e.g., 2 minutes). It does this using the rusty fork crate (https://github.com/AltSysrq/rusty-fork) and a new "smoke-test/attribute" crate.
Second, it updates the key manager smoke test to adopt a spawned thread approach, as opposed to using workspace builder to build and run the key manager as a separate process binary. The benefit of this is that the key manager test now completes in seconds, as opposed to minutes. Moreover, it also makes the key manager test much less flaky (I've yet to see it flake, so we no longer need to ignore it! 😄).

Why do we need to use the rusty fork library?

Currently, this is because Rust doesn't have great support for killing threads. If we didn't spawn the test as a new process it would mean that when the test completed, we'd either have to kill the thread manually, which is hacky (e.g., see the draft PR linked below), or just let it run in the background, which isn't great. Instead, now that each test is run using its own process, when the test completes, the process dies and the spawned threads go with it!

Do we plan on using this for other smoke tests?

Yes, that's the plan. Obviously, it'll require a lot more work to allow us to spawn Libra nodes using threads instead of processes, but once we do that, we'll be able to use the "#[smoke_test]" attribute to help us clean up deployments after each test. This will mean potentially removing the workspace builder and having faster smoke tests. We do this for the key manager test now first, as it's a simple proof of concept that is easy to reason about.

Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
The tests pass locally.
Related PRs
This PR builds on a previous draft that tried to adopt a spawned thread approach for the key manager test: https://github.com/libra/libra/pull/6266/files. The old PR was closed because we didn't have a great way to kill the key manager thread after the test completed. Now we do!

So great improvement to test result, but with serious downsides.

spawning processes means debugging the test and code under test isn't as straight forward as it might otherwise be, or depending on tooling might not be and option.
Sound like the threading model needs handled appropriately then.    If we can't find ways to spawn/kill threads safely then passing work to an existing thread pool like tokio that we can interrupt and kill may be needed....   This crate claims to have figured it out:  https://docs.rs/thread-pool/0.1.1/thread_pool/struct.ThreadPool.html.  Don't have a ton of time to dig in to it, but seems that this underlying problem should be treated as a high priority as it's a fundamental building block of testing and robust systems.

Can we also trigger the tests in threaded mode for debugging purposes? Alternatively, is there a way to launch the test process directly for debugging?

@JoshLind I think this is a great step forward and I'm glad that it looks like you've been able to eliminate some of the flakiness from this particular test. My only concern is that I think we probably need to completely rethink the testing architecture (maybe not even using standard rust #[test] attributes) in order to make even more improvements to smoketests as a whole (as well as making things easier to share with cluster test)

@rexhoffman, I think you make a good point, when we spawn the test fork, does the output and maybe even error propagate to the originating thread? At least well enough so that we could potentially see how far into the "smoke test" the framework got before crashing?

Can we also trigger the tests in threaded mode for debugging purposes? Alternatively, is there a way to launch the test process directly for debugging?

@JoshLind I think the answer is eventually? Maybe it would be good to create a github issue that lies out your plan?

@JoshLind I think this is a great step forward and I'm glad that it looks like you've been able to eliminate some of the flakiness from this particular test. My only concern is that I think we probably need to completely rethink the testing architecture (maybe not even using standard rust #[test] attributes) in order to make even more improvements to smoketests as a whole (as well as making things easier to share with cluster test)

@bmwill, agreed, let's make sure that this puts us on the right path before we land it although it does improve the UX quite a bit... I can imagine the B&R smoke test will be an even better cleanup.

Thanks all! 😄 (returning to this..)

@bmwill, agreed, let's make sure that this puts us on the right path before we land it although it does improve the UX quite a bit... I can imagine the B&R smoke test will be an even better cleanup.

@davidiw, FYI: @bmwill and I had a sync before the break and it seems that this work should line up pretty well with the bigger testing changes we have in mind -- so nothing should be blocking us for now with these smaller PRs.

@rexhoffman, I think you make a good point, when we spawn the test fork, does the output and maybe even error propagate to the originating thread? At least well enough so that we could potentially see how far into the "smoke test" the framework got before crashing?

@davidiw + @rexhoffman, regarding test debugging, nothing has changed in this PR. The key manager thread is still logging using the same logger used by the libra node. If a failure occurs, the log shows both the node and the key manager logs, so it's the same to debug as the current model. (Note: the current model has to explicit attach to the parent process, but we no longer have to do this because loggers are a per-process entity).

Can we also trigger the tests in threaded mode for debugging purposes? Alternatively, is there a way to launch the test process directly for debugging?
@JoshLind I think the answer is eventually? Maybe it would be good to create a github issue that lies out your plan?

@davidiw, @metajack, This is something that will be more obvious in the next PR (where we actually adopt the threading approach for the libra nodes), however, from a test debugging point of view, nothing changes --the nodes will still log to the log files and the test process will still output any errors to the console, so it's all the same as our current model.

Regarding supporting both a threading and process model for libra swarm, this is TBD. My feeling is that supporting both will allow us to easily roll back if we encounter any issues. However, FWIW, I've worked through a proof of concept PR that updates our tests to adopt the threading approach and nothing should change from the developers' perspective/experience.
Regarding an issue to outline the current plans I have, I've created one here: https://github.com/libra/libra/issues/6758. I'll update it as I go along.

(Will land this tonight -- just giving some time to make sure there isn't any pushback. But given that nothing big is really changing in this PR, I suspect not)

/land


fix: support "disabled" state in MultiSelect

Closes #1349
📑 Description
Currently, MultiSelect remains receptive to user input even if disabled=true is passed
This PR minimally addresses that issue by introducing disabled state and adjusting the UI to accommodate. The cursor changes to "not-allowed", elements gray out, and user input is denied.
 I'm not especially interested in putting a lot of time into this project (sorry!) just trying to be kind and upstream a patch for a bug I encountered.
Status

[ ] Not Completed
[x] Completed

✅ Checks
If someone would like to go through these checks - by all means. I tested locally on my own project by copy/pasting the existing component into my codebase and it works on my machine.

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] I have checked the page with https://validator.unl.edu/
[ ] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

Summary by CodeRabbit

New Features

Added a disabled property to the MultiSelect component, allowing users to control the component's interactivity. When set to true, the component will be non-interactive.

Thank you for your contribution. Your function is applied but not from this PR.
https://flowbite-svelte.com/docs/forms/select#Disabled_option


Make C++11 support mandatory for Shogun 4.x.x

Let's vote here. Immediate benefits -

We can use all the cool stuffs in linalg without having to worry about HAVE_CXX11 guards
@lisitsyn can use std::shared_ptr for Some
GSoC students can use cool C++11 things this year only - for_each, lambdas, type traits.

@iglesias and @karlnapf are already on board. @vigsterkr @sonney2k @lisitsyn @besser82 what do you think? We just say that in order to build Shogun v4.x.x, you got to have a C++11 supported compiler - I don't see any harm in that.

+1. See also #2711.

We can do that. I am sure that it will make shogun not compile on some cc's and archs. But we have to name the release that requires it 5.0!
So Ok from my side.

+1 And also on the renaming, which is true.

Shall we do a 5.0 release soon then so from pre-gsoc time people can start
using c++11 with no problem?
What does Viktor think?
On 19 Feb 2015 18:59, "Heiko Strathmann"<EMAIL_ADDRESS>wrote:

+1 And also on the renaming, which is true.
—
Reply to this email directly or view it on GitHub
https://github.com/shogun-toolbox/shogun/issues/2719#issuecomment-75102381
.

@vigsterkr @lisitsyn @besser82 ??
I'll vote for pre-gsoc. Its redundant to write useful things from scratch when we have it there already in c++11. Of course we can write those on our own but
(1) they need to be properly tested for bugs which is tricky sometimes.
(2) students will feel more comfy with existing c++ stuffs.

Lets move soon. But not sure whether we should do another release before GSoC.
5.0 after GSoC is fine.
If you want to release before this switch, also good! But we did not fix too many things since then right?
Releasing as often as possible is a good practice though

5.0 is a bit too much for just this change I think! :D
major version change should include some major modification I think! how about we do it in our next cleaned up version within 4.x.x.?

In 4.x.x. sounds good to me. Soeren, any reason why it should be 5.0?
On 20 Feb 2015 19:15, "Soumyajit De"<EMAIL_ADDRESS>wrote:

5.0 is a bit too much for just this change I think! :D
major version change should include some major modification I think!
how about we do it in our next cleaned up version within 4.x.x.?
—
Reply to this email directly or view it on GitHub
https://github.com/shogun-toolbox/shogun/issues/2719#issuecomment-75290847
.

Requiring a new standard is a major change in my eyes too. But well, it is a matter of taste, just change it in the Dev branch and we can discuss numbers later

@lambday Well just require C++11 from now on but don't do a release until it's ready. So no need to do things twice/cumbersome.
If we have bugfixes - lets make a 4.0.X release.

Already resolved. Closing.


Invite to the quartz user support group?

Hi there!
Can you add me to the quartz user support group? Google groups doesn't let you request membership.
Thank you!

No... since your email address isn't visible to me on GitHub. I am working on getting the quartz group opened up again (not sure how/why it became private in the first place).  I'll comment back when this is done.

Should be fixed... see if you can add yourself now.

Looks good now. Thanks


Add right click for IM option

Enhancement to chat functionality. Ability to right click a block (or a little D as I like to call them) for option to send IM. Maybe right click contains other menu options as well.

Closing to merge with #15


Matching users to their classifications

This seems to be a recurring issue with Ouroboros - I don't know if is has been addressed in Panoptes (apologies if it has) but I wanted to note it.
In the current Mongodb database for each of projects there are two tables (technically collections in the Mongo terminology) called project_classifications and project_users. For each classification, if the user is logged in, that classification record (stored in project_classifications) contains a field called "user_name". You can use this field to then look up the user in the project_users table where each user instance also has a field called "user_name" (or just "user"). In the users instance there is also a "classification_count" field.
My understanding is that if classification_count equals 10 (for example), then I should be able to find 10 classifications in that projects classification table from that user. That user may have other classifications from when they weren't logged in (and I don't care about those) but those 10 classifications should exist.
Unfortunately, this is not always the case. I have found regular instances in both Snapshot Serengeti and Penguin Watch (haven't checked others) where a user is listed in the user table and with a classification_count (sometimes in the 100s) but I can't find those classifications.
In the current state this really limits how useful the user table is.

Yes I think this is an issue with how the counts are denormalized in MongoDB in Ouroboros. We save each classification with a user_id (if it exists) and a user_ip address. We'll denormalize the counts in a background workers, but they shouldn't be considered 100% reliable, since the transaction to update the counts can fail, and are mostly for displaying to the user.
Beyond an identifier for a user (which will always be accurate or the classification itself won't be saved), what else do you need from the users table?

I can't speak for every possibility - I only encountered this issue for the first time yesterday which was because of the specific analysis I was doing. So it is possible that in the future, I come across something new. But it would just be really nice if, for example, when a user's classification count says 25, I can find those 25 classifications.

Panoptes will link the logged in user when submitting a classification on the classification model. The user model has a count of submitted classifications that "should" be in sync with the classification models.
Ideally I think doing some spark processing to group the classifications via users (when set) is the best way to go.
I'm going to close this now but feel free to open back up if there's more we should discuss.


Spinning wheel when importing a file

I installed PoSE on my Windows machine (Windows 10 x64) with Matlab runtime R2020a v. <IP_ADDRESS>3502.
When I go to import a file I hear a ding and then a spinning wheel over the majority of the window. I can attempt to import another file or exit the program. I have left the spinning wheel for ~15 minutes and nothing changes.
Any assistance in getting PoSE running would be greatly appreciated. This software is exactly what I have been looking for.
Best,
Abigail

Abigail,
Could you please open a Windows command prompt and launch the app from there?  Then, try running the steps again.  If there are any errors, these will appear in the Windows command prompt.
•	Launch Windows Command Prompt app (From Windows start menu, type cmd)
•	Navigate to the location where the application is installed:

cd "C:\Program Files\PoSE\application"
•	Type PoSE.exe to launch the app
PoSE.exe

As tries to import the file,  any errors logged to the Windows command prompt?
Thank you,

I don't know if this makes a difference but it is installed under C:\Program Files\BasemlTranslatorTool\application and the application is called BasemlTranslatorTool.exe.
(I installed the program from PoSE-1.2beta.exe downloaded yesterday)
I launched BasemlTranslatorTool.exe, the GUI opened up, and I tried to import the test file.
There were no errors logged on the Windows command prompt.
Thank you so much for your prompt response!
Abigail

Sorry for the confusion.
Yes. It should be "BasemlTranslatorTool.exe".   We will change the name later, but that's the current program name.  Glad that it works and let us know if further assistance is needed.
Thanks.
Kun

I'm still getting the spinning wheel even though no errors showed up. Sorry for the confusion.

The installation folder should not make a difference.  Could you please provide a screenshot of the app after you import the test file?  Would it also be possible for you to share the file?
Here is my email<EMAIL_ADDRESS>We can try to reproduce this.
We are also happy to debug this over a webex with you if that’s easier/possible.  Thank you.

Hi, I am trying to use PoSE to visualize the output of PAML. When I install it on different computers (win10 home version and server version), there is no problem. But when I loaded the example data(baseml_rst-win.txt and codeml_rst-win.txt), the software interface kept loading, and I waited overnight without visualizing the example data. I am running CMD with administrator privileges and executing commands as you said. The software did not report an error but still did not visualize the example data correctly. Kindly ask for your help, thank you

Gustin Zhang,
Could you please confirm that you are using "PoSE-1.2-beta.exe"?  Thank you.

Gustin Zhang,
Could you please confirm that you are using "PoSE-1.2-beta.exe"?  Thank you.

Gustin Zhang,
Could you please confirm:

you are using "PoSE-1.2-beta.exe".
baseml_rst and codeml_rst were loaded into their corresponding button correctly.

Thank you.
Kun

Yes, I have previously downloaded matlab runtime 2020a from the official website and installed it correctly in the default path (C:\Program Files\MATLAB\MATLAB Runtime\v98), then downloaded the PoSE software from github, double-clicked to install PoSE-1.2-beta.exe, and used After installing the software in the default installation path and the default matlab runtime path (C:\Program Files\MATLAB\MATLAB Runtime\v98), open BasemlTranslatorTool.exe, File -> import and import the sample data (baseml_rst-win. txt or codeml_rst-win.txt). The software reports no errors, but it still cannot visualize the sample data correctly.

Gustin Zhang,
Could you please confirm:

you are using "PoSE-1.2-beta.exe".
baseml_rst and codeml_rst were loaded into their corresponding button correctly.

Thank you.
Kun

Yes, I have previously downloaded matlab runtime 2020a from the official website and installed it correctly in the default path (C:\Program Files\MATLAB\MATLAB Runtime\v98), then downloaded the PoSE software from github, double-clicked to install PoSE-1.2-beta.exe, and used After installing the software in the default installation path and the default matlab runtime path (C:\Program Files\MATLAB\MATLAB Runtime\v98), open BasemlTranslatorTool.exe, File -> import and import the sample data (baseml_rst-win. txt or codeml_rst-win.txt). The software reports no errors, but it still cannot visualize the sample data correctly.

Gustin,
Sorry for the delay in the response. I figured out the error was
associated with unix coding in the test files downloaded with the program.
Once I re-coded the files in windows format they worked fine.
Abbe
Dr. Abigail Leavitt LaBella
Postdoctoral Scholar, Vanderbilt University
PhD University Program in Genetics and Genomics
<EMAIL_ADDRESS>On Tue, Jan 5, 2021 at 1:28 AM gustinzhang<EMAIL_ADDRESS>wrote:

Gustin Zhang,
Could you please confirm:

you are using "PoSE-1.2-beta.exe".
baseml_rst and codeml_rst were loaded into their corresponding
button correctly.

Thank you.
Kun
Yes, I have previously downloaded matlab runtime 2020a from the official
website and installed it correctly in the default path (C:\Program
Files\MATLAB\MATLAB Runtime\v98), then downloaded the PoSE software from
github, double-clicked to install PoSE-1.2-beta.exe, and used After
installing the software in the default installation path and the default
matlab runtime path (C:\Program Files\MATLAB\MATLAB Runtime\v98), open
BasemlTranslatorTool.exe, File -> import and import the sample data
(baseml_rst-win. txt or codeml_rst-win.txt). The software reports no
errors, but it still cannot visualize the sample data correctly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CDCgov/PoSE/issues/2#issuecomment-754457621, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALMLAGDEQW2RDBYUKG7XAZ3SYK5RHANCNFSM4R7FMV6Q
.

Gustin,
Sorry for the delay in the response. I figured out the error was
associated with unix coding in the test files downloaded with the program.
Once I re-coded the files in windows format they worked fine.
Abbe
Dr. Abigail Leavitt LaBella
Postdoctoral Scholar, Vanderbilt University
PhD University Program in Genetics and Genomics
<EMAIL_ADDRESS>On Tue, Jan 5, 2021 at 1:28 AM gustinzhang<EMAIL_ADDRESS>wrote:

Gustin Zhang,
Could you please confirm:

you are using "PoSE-1.2-beta.exe".
baseml_rst and codeml_rst were loaded into their corresponding
button correctly.

Thank you.
Kun
Yes, I have previously downloaded matlab runtime 2020a from the official
website and installed it correctly in the default path (C:\Program
Files\MATLAB\MATLAB Runtime\v98), then downloaded the PoSE software from
github, double-clicked to install PoSE-1.2-beta.exe, and used After
installing the software in the default installation path and the default
matlab runtime path (C:\Program Files\MATLAB\MATLAB Runtime\v98), open
BasemlTranslatorTool.exe, File -> import and import the sample data
(baseml_rst-win. txt or codeml_rst-win.txt). The software reports no
errors, but it still cannot visualize the sample data correctly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CDCgov/PoSE/issues/2#issuecomment-754457621, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALMLAGDEQW2RDBYUKG7XAZ3SYK5RHANCNFSM4R7FMV6Q
.

Yes, there is no error when the example file format is changed to the windows encoding format.
Thanks

Yes, there is no error when the example file format is changed to the windows encoding format.
Thanks

Hi!
I have the same issue.
The program never shows de results of example data.
How fix the problem?
For example, @alabella19 re-coded the data. How I can do this?
I´m don´t have sufficient experience in programming.
Can you suggest how you fix the problem?

Yes, there is no error when the example file format is changed to the windows encoding format.
Thanks

Glad it works.  Thank you.


Batch set blob tier to cold tier not working

Which service(blob, file, queue, table) does this issue concern?
Blob
Which version of the SDK was used?
Azure.Storage.Blobs,12.16.0
Azure.Storage.Blobs.Batch, 12.13.0
Which platform are you using? (ex: .NET Core 2.1)
.Net 6
What problem was encountered?
I have enable preview  for ColdTier and run some tests.
batch.SetBlobsAccessTierAsync to Cold tier throw exception.
{Azure.RequestFailedException: The value for one of the HTTP headers is not in the correct format.
RequestId:beee5c35-701e-001b-2e48-9803c21e25ce
Time:2023-06-06T07:25:48.3504850Z
Status: 400 (The value for one of the HTTP headers is not in the correct format.)
ErrorCode: InvalidHeaderValue

Content:
<?xml version="1.0" encoding="utf-8"?>
<Error>InvalidHeaderValue<Message>The value for one of the HTTP headers is not in the correct format.
RequestId:beee5c35-701e-001b-2e48-9803c21e25ce
Time:2023-06-06T07:25:48.3504850Z</Message></Error>

Headers:
x-ms-error-code: InvalidHeaderValue
x-ms-request-id: beee5c35-701e-001b-2e48-9803c21e25ce
x-ms-version: 2022-11-02
x-ms-client-request-id: ab938e5f-83b9-45d0-8005-a82f68282596
Content-Length: 255
Content-Type: application/xml
Server: Windows-Azure-Blob/1.0

   at Azure.Storage.Blobs.Specialized.BlobBatch.<SetBlobAccessTier>b__26_0(Response response)
   at Azure.Storage.Blobs.Specialized.DelayedResponse.SetLiveResponse(Response live, Boolean throwOnFailure)
   at Azure.Storage.Blobs.Specialized.BlobBatchClient.UpdateOperationResponses(IList`1 messages, Response rawResponse, Boolean throwOnAnyFailure, Boolean async, CancellationToken cancellationToken)}

How can we reproduce the problem in the simplest way?
Enable preview for ColdTier, create a storage account in Canada Central, upload a few blobs and run the following test code sample.
 var batchUris = new List<Uri>();
   var service = new BlobServiceClient(connectionString);
   var container = service.GetBlobContainerClient(containerName);
   await foreach (var blob in container.GetBlobsAsync())
   {
       var blobClient = container.GetBlobClient(blob.Name);
       var p = await blobClient.GetPropertiesAsync();
       System.Console.WriteLine($"{blobClient.Uri},{p.Value.AccessTier}");
       if (p.Value.AccessTier == "Cool")
       {
           batchUris.Add(blobClient.Uri);
       }
   }
   var batch = service.GetBlobBatchClient();
   var rsp = await batch.SetBlobsAccessTierAsync(batchUris, AccessTier.Cold);

Have you found a mitigation/solution?
I try to use blobClient.SetAccessTierAsync(AccessTier.Cold), it works.
But we have storage account with billions of blobs, I prefer to use batch to reduce the request calls.

Hi, So this isn't a SDK issue so I have to close the issue.
I can still answer your question about this though. Cold Tier isn't supported by the Blob Batch API.
We're looking to update documentation around this to ensure this gets communicated.
Any follow up you would have to submit an Azure Support Ticket for the Storage Service.
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

Thanks @amnguye, I will submit an Azure support ticket.

Unrelated to the SDK:
As an update to anyone who finds this post, Azure Blob Storage Cold tier is GA for Blob Batch operations now.
See this announcement:
https://azure.microsoft.com/en-us/updates/generally-available-azure-blob-storage-cold-tier-support-on-blob-batch-operations/


5.0.0-preview ProducesResponseTypeAttribute with void type produces type ProblemDetails

Thanks for contributing to Swashbuckle.AspNetCore! As per the contributing guidelines, please adhere to the following rules of thumb before submitting your issue:

If it's not a bug report, feature request or PR, don't submit it here. Post to Stackoverflow instead.
If your issue is specifically a UI concern, don't submit it here. Post to the swagger-ui repo.
For bug reports, specify the version your using and provide clear repro steps.

[ProducesResponseType(typeof(void),(int)HttpStatusCode.NotAcceptable)]
is producing a response type of ProblemDetails, where it should be returning a response type of void.
[ProducesResponseType((int)HttpStatusCode.NotAcceptable)] is doing the same thing unsurprisingly since it is the equivalent to the above.

Swashbuckle relies on the low-level API Description abstractions surfaced by the ASP.NET Core framework to generate corresponding Swagger/OAI Operations. I've been able to repro your issue in ASP.NET Core 2.2 and can confirm that the framework itself is surfacing the wrong information here.
That is, the corresponding ApiResponseType.Type is set to ProblemDetails instead of null.
Could you please post an issue to the following repo?
https://github.com/aspnet/AspNetCore/issues

As a workaround, you can also disable the default mapping to a ProblemDetails when an error occurred.
https://stackoverflow.com/questions/56341749/hide-swagger-bad-response-example-model-in-net-core-2-2

Closing as external.

Workaround: Add this to your startup code:
builder.Services.AddControllers()
	.ConfigureApiBehaviorOptions(options =>
	{
		options.SuppressMapClientErrors = true;
	});


Unhandled type 3

Hi there! I've been using this great tool and it looks like it's working out of the box for most of my machines.
For some reason I can't get it to work on Archer2.
For this specific machine I need to use an SSH key pair and I also have to type my password (https://docs.archer2.ac.uk/user-guide/connecting/).
The Authentication step is successful, but then I get this:
************************ Running jupyter sanity checks *************************
conda activate jupyter && sh -c "command -v jupyter"
Oops, unhandled type 3 ('unimplemented')

Nothing happens after that, it just hangs.
Any idea?

Does conda activate work or do you do source activate?

conda activate works

@malmans2, do you still experience this issue with the latest version (v2021.5.11)?

Hi @andersy005, yes I'm getting the same error...

Hmmm... Do you mind posting the full traceback when you get a moment?

This is all I get:
$ jupyter-forward archer2 --conda-env jupyter --port 8181
******************************** Authentication ********************************
Authenticating user (malmans) from client (mattia-XPS-13-9380) to remote host
(login.archer2.ac.uk)
Password:
✅ The client is authenticated successfully
************************ Running jupyter sanity checks *************************
source activate jupyter && sh -c "command -v jupyter"
Oops, unhandled type 3 ('unimplemented')

After that, it hangs forever.
My .ssh/config:
Host *
  IgnoreUnknown UseKeychain
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/id_rsa
  ForwardAgent yes

Host archer2
  User malmans
  HostName login.archer2.ac.uk
  IdentityFile ~/.ssh/id_rsa_archer


added why typescript new  blog in resources

Added Why Typescript blog, link in resourses

Hey @vijaytembugade thanks for opening the PR! Appreciate you trying to help curate the resources on the site.
I think the article itself (the one you've written) is great! And accurate. Kudos for helping educate developers.
Unfortunately, I don't see a compelling reason to include your article since we have 3 above it that already answer the same question (What is typescript and Why use typescript?) that have historical context and are links that many people are already aware of due to their popularity and influence on the community.
If you ever write an article that goes into advanced typescript practices or even presents a new perspective on why a dev might use typescript in their React project - I'm happy to take another look and reference your material.
But this would be adding more links that effectively say the same message; therefore, it would just add noise to the page IMO.
I hope this isn't discouraging for you! We're always happy to consider new additions. Thanks again for opening the PR!


QoL tweaks

Nothing particularly visible, just a few tweaks for end user QoL

Made the "Kills Only" and "Show Minor" switches persist across navigation and reloads
Capped checklist %s at 100 in production builds - dev server will still show >100 for debugging purposes
Added helper function module.removeHook, not that people really need it

In looking around for a test case for the second - most of the ones that have been brought up recently have been fixed already, so great work to all involved w/ speedmod changes!

:+1: from me as well, and I already have a use queued up for removeHook so I'm excited for that.

Use could be something like event toggled processing of events.
Some event happened -> Add Hook and process something that would be considered at that point -> Something else happens -> We no longer need to consider, so remove hook and skip execution of function entirely for other events.


Benchmark vs. other CSS in JS libraries

Use https://github.com/atlassian-labs/storybook-addon-performance

done.


[Feature]: Optimize RPC Audit Log Filtering Rules

Backround:
The audit log is a key basic component of each project and fully records the entire process of each request. However, in high-concurrency HTTP services, too many detailed audit logs will bring some problems, such as reducing service performance, occupying storage capacity, and wasting log indexing services. So a set of rules is needed to filter useful audit logs.
high-quality code, tests, and documentation
Requirement：
audit log is a kind of structured data, maybe the Query DSL design of ES will provide some help,  filter performance require in nanoseconds

Hi, I am very interested in this feature and I will submit my application report before the deadline.

@shouao How is the progress, welcome to come here to discuss together

Hi，How is the progress?  welcome to come here to discuss together

Hi, guys I am very interested in this feature, I have internship experience in the infrastructure team of a tech company. I will apply for this task at OSPP and submit a feature report before the deadline of OSPP.

Hi, How is the progress? welcome to come here to discuss together

done


Fix typo

a Azure -> an Azure

@changeworld : Thanks for your contribution! The author, @tomarchermsft, has been notified to review your proposed change.

#sign-off


dls-pmac-control crashes if values are invalid

bl02i-mo-step-09 is currently experiencing the problems reported in Jira ticket BC-1378
If I open dls-pmac-control.py it instantly closes, with the following message on the console:
Traceback (most recent call last):
  File "/dls_sw/prod/python3/RHEL7-x86_64/dls_pmaccontrol/3.0.0b3/prefix/lib/python3.7/site-packages/dls_pmaccontrol/motor.py", line 812, in customEvent
    self.updateMotors()
  File "/dls_sw/prod/python3/RHEL7-x86_64/dls_pmaccontrol/3.0.0b3/prefix/lib/python3.7/site-packages/dls_pmaccontrol/motor.py", line 663, in updateMotors
    self.CSStatusScreen.updateFeed(int(round(float(value[0]))))
  File "/dls_sw/prod/python3/RHEL7-x86_64/dls_pmaccontrol/3.0.0b3/prefix/lib/python3.7/site-packages/dls_pmaccontrol/CSstatus.py", line 575, in updateFeed
    self.feedSpin.setValue(feed)
OverflowError: argument 1 overflowed: value must be in the range -2147483648 to<PHONE_NUMBER>

It doesn't seem to like the feedrate reporting 0
However, if I open the 'old' version of dls-pmac-control.py, it doesn't crash

I have added a check for the overflow error here - this fix is available in the released v3.0.0.


pull request for e2e test at 12/21/2016 23:45:20

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Is v1.14.0-beta3 supposed to work with Bootstrap 5?

The README.MD states the component now has support for Bootstrap 5. But code that worked perfectly in Bootstrap 4 but was broken with Bootstrap 5 looks no different after upgrading to 1.14.0.
It functions okay. But it doesn't look right.

Again, this worked perfectly with version v1.13.14 and Bootstrap 4.

        Roles
        <select class="form-select selectpicker" multiple id="User_Roles" name="User.Roles">
            <option value="Staff">Staff</option>
            <option value="Manager">Manager</option>
            <option value="Admin">Admin</option>
        </select>

Guess this isn't monitored. Anyway, the issue was that if the <select> element has the form-select class, which appears to be recommended under Bootstrap 5, it hoses how the control looks. If I change form-select to form-control, it looks perfect.

Guess this isn't monitored. Anyway, the issue was that if the <select> element has the form-select class, which appears to be recommended under Bootstrap 5, it hoses how the control looks. If I change form-select to form-control, it looks perfect.


fix blt_combine_static_libraries

modified blt_combine_static_libraries macro to transfer include directories but not link libraries

We may want to add a temporary guard against windows in this macro and disable the windows test for now.  @kennyweiss thoughts?

I suggested the same to @rrsettgast yesterday.
If you do this, please add a note to the function's documentation that this function does not currently work on Windows.


permit the usage of non-singleton sources

@williamboxhall The current limitation that forces the user to guarantee singleton sources makes harder the adoption of Clump. For instance, it is common to have a parameter with the user's authentication information.
This pull request removes this limitation and permits the user to use Clump without worrying about the sources being singletons:
class TrackRepository(users: UserRepository) {

    private def trackSourceFor(session: Session) = Clump.source(tracksService.fetch(session, _))(_.trackId)

    def trackClump(session: Session, trackId: Long): Clump[Track] =
        for {
            track <- trackSourceFor(session).get(trackId)
            user <- users.userClump(session, track.userId)
        } yield {
            new EnrichedTrack(track, user)
        }
}

The FunctionIdentity class is capable to detect if the function has the same parameters from the outer scope (session) and batch the requests. It uses reflection, that isn't great solution, but there isn't an alternative afaik.
I've been using this approach for my persistence framework[0] queries for a long time without problems.
[0] http://github.com/fwbrasil/activate/

Coverage remained the same at 100.0% when pulling 01ef0cc4c474017c594839edee45bc73d6a8daf5 on non-singleton-sources into d3c6ed35743132aa6a9fe9672ebcf05b69ff4d0e on master.

Coverage remained the same at 100.0% when pulling c8a1308b39422a34d420fc8686cd87e8db4d3686 on non-singleton-sources into d3c6ed35743132aa6a9fe9672ebcf05b69ff4d0e on master.

really nice


Reflections: external_target is not parsed correctly

When specifying the external_target config option, the macro does not include the external_target in the SQL. Will need further investigation into the create_reflection macro.
Expected:
alter dataset "mySpace"."my_anchor"
    create external reflection "test_reflection"
    using "myExternalSource"."myExternalTable"

Actual:
alter dataset "mySpace"."my_anchor"
    create external reflection "test_reflection"
    using

Hi @ravjotbrar, this used to work. Could you please tell me how external_target and anchor (or the depends_on) are configured ?

I defined external target in a config block within the reflections sql file:
{{ config(materialized='reflection', reflection_type='external', external_target='my_target') }}
I configured anchor in a similar fashion for 'raw' and 'aggregate' types with more than one 'depends_on' clauses.
That being said, my investigation was fairly quick and these issues need to be reproduced before we definitively claim there is a bug.

using reflection_type raw with an external_target works fine


pkg/generator: Remove GitSHA from operator version file

Addressing @hasbro17 comment in PR #297

LGTM


Added dark mode

Created folder called dark-mode which has the same files but with inverted colors of all .png files except selection_small.png (was too dark with inverted colors)

@EvanPurkhiser are there any blockers for merging this? This would be really nice to have.

Can Someone Bring This Back?


Add  ai challenges and show results

Add  ai challenges and show results

Sure you can start working

sir please add label level3

I can't do that, if it was some major improvement to the working of the website, I would have added Level3

Done sir
On Fri, Oct 25, 2024, 11:56 AM Rakshit Sisodiya @.***>
wrote:

I can't do that, if it was some major improvement to the working of the
website, I would have added Level3
—
Reply to this email directly, view it on GitHub
https://github.com/Rakshit-gen/Slanine/issues/91#issuecomment-2436979679,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHOWNHDB3R3GSYRTNK55B2LZ5HQDFAVCNFSM6AAAAABQN6TBQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZWHE3TSNRXHE
.
You are receiving this because you were assigned.Message ID:
@.***>


Issues with PUT

have a resource hosted on a native (C++) OCF server, which has R W property.
Trying to change it using iotvity node  (PUT)
OicClient.update() method.
The resource object received when we discover - was saved and reused in the call.
Why does PUT fail in this case.

Probably because of #83 ...


Remote interpreter on CE ?

Is it possible to run/debug code on a remote interpreter using Comunity Edition ? If so any documentation available.

Fir just debugging instructions are here: https://github.com/Microsoft/PTVS/wiki/Cross-Platform-Remote-Debugging
They say they're cross platform but they should work with Windows as well.  There's no built in way to start remotely when you press F5 though.

From<EMAIL_ADDRESS>Sent: 3/18/2016 7:37 AM
To<EMAIL_ADDRESS>Subject: [PTVS] Remote interpreter on CE ? (#1165)
Is it possible to run/debug code on a remote interpreter using Comunity Edition ? If so any documentation available.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/PTVS/issues/1165

Thanks @DinoV , im really looking for the feature of running code on a remote interpreter similar to Pycharm Professional edition - https://www.jetbrains.com/help/pycharm/5.0/configuring-remote-python-interpreters.html?origin=old_help#d26878e117


[BP-1.10][FLINK-16510] Allow configuring shutdown behavior to avoid JVM freeze

Backport of #13042 to release-1.10

Manually merged via 8c134867dfab5c330da9458c3db9a54ed324ccab


Search View not working properly.

Hi, I'm from India. I used your library and it is working pretty awesome. But the problem is that the search view isn't working properly. It only shows some results. I have also set the search zone to India but still no luck. Well it is not that important to my application so I was thinking of removing it. Is there any way to remove it?

@honey-hoper first of all thanks for reporting these issues. Search Zone feature must be reworked due to it's not working properly because it's tied to Geocoder that does not always work as expected.
About enabling/disabling search view, I would need to add the option to the library. I'll try to add it as soon as possible.
Thanks for using this library and for your patience!

Thanks alot!
Great work, keep it up!
On 16 October 2017 at 13:43, Ferran Pons<EMAIL_ADDRESS>wrote:

@honey-hoper https://github.com/honey-hoper first of all thanks for
reporting these issues. Search Zone feature must be reworked due to it's
not working properly because it's tied to Geocoder that does not always
work as expected.
About enabling/disabling search view, I would need to add the option to
the library. I'll try to add it as soon as possible.
Thanks for using this library and for your patience!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SchibstedSpain/Leku/issues/114#issuecomment-336812841,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcVDtz2MLiUHpQstXJSyHtngC5VKMCiMks5ssxA7gaJpZM4P25On
.

Hi, someone have new about this? thanks.

@ch4rl3s not working

Sorry, I still had no time to work on it. 😞

np, take your time

@honey-hoper @ch4rl3s I've just published a new version of the library that should solve the issues that are you experiencing with the search view. (v3.6.0)
I'm closing the issue, if you are still experiencing this issue please re-open it again.
Many thanks for reporting the issue and for your patience!


MWPW-137181 -  sign and rotate eventwrapper test

Resolves: https://jira.corp.adobe.com/browse/MWPW-137181
Ticket for rotate-pdf page: https://jira.corp.adobe.com/browse/MWPW-137378
Ticket for sign-pdf page: https://jira.corp.adobe.com/browse/MWPW-137439

Codecov Report

Merging #402 (cffa99e) into stage (d5f016f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            stage     #402   +/-   ##
=======================================
  Coverage   93.53%   93.53%
=======================================
  Files          26       26
  Lines        2969     2969
=======================================
  Hits         2777     2777
  Misses        192      192

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


How about creating a prom metrics module loaded by apache?

In this way, we can scrapt from /metrics directly, without an exporter.

I guess it's an option, but not in the scope of this repo/project


Fixed #32813 -- Display development server address after server bind

Changelog
So far Django displays the server name and port before actual binding;
If a user selects port 0, [wildcard port]:
$ ./manage.py runserver <IP_ADDRESS>:0
...
Starting development server at http://<IP_ADDRESS>:0/
Quit the server with CONTROL-C.

Now if the user opens a browser with this address they will not find the app running here. Because for the wildcard port, the actual physical port is selected by the operating system.
After this change Django will be able to pick up the correct port:
$ ./manage.py runserver <IP_ADDRESS>:0
...
Starting development server at http://<IP_ADDRESS>:25837/
Quit the server with CONTROL-C.

Ref - https://code.djangoproject.com/ticket/32813
Backstory
I was looking for tickets for my first contribution to Django and I landed on this task, the original PR https://github.com/django/django/pull/14250 was closed so I picked it up from there.

I've checked Patch needs improvement on the ticket-32813. Please uncheck that when you've updated 👍

Hi @carltongibson @felixxm
I don't understand why MySQL builds are failing. Can you please help me solve this?

Hi @carltongibson @felixxm
I don't understand why MySQL builds are failing. Can you please help me solve this?

Apparently re-running the test cases worked.

Updated the branch, please let me know what you think.

Updated in #16319.


How to see who sended the command?

How t osee who sended the command because I need to get the name in an string because I am creating an tokensystem so I need to save that :)

Here are some things I'd like to know:

What command are you talking about?
Is the user sending it as a private message or from a channel?
How old are you, is English your first language?

1: I check for a command in the IRC chat(in this instance !Tokens_add, then I want to save the value after that, and I want to add from who it is otherwhise I can't create an tokensystem)
2: channel
3: I am 14, and English is not my native language, sorry my grammar was bad in that question but most of the time I am pretty good with English.(I am learning C#, I know vb.net already)

And because there is no large community I ask the questions here.

This is how I would do it, note that the client is the same as before
http://pastebin.com/Q3g05zE7
Feel free to use and/or modify it to fit your needs.

If you have any other queries feel free peruse the main part of my own ChatShart implementation found here

Thanks :)


Dev packaging on Ubuntu 24 is broken

I have encountered problems when attempting to develop C++ plugins for Gazebo Harmonic on Ubuntu 24. See details in my Robotics SE question. I have identified the source of the problem and created a PR in the gazebo-release/gz-transport13-release repository, but I have not heard any feedback so far.
I've been directed to open an issue here to make the PR more visible.

Just in case you're not receiving notifications from the PR, I updated the PR.


Updated config example

Fixes RAI-13503

Should the config.spec file get corresponding updates as well?


AndroidDaydream input null check

I've had numerous crash reports on Galaxy S21 and S22 family devices with an NPE in AndroidDaydream.onConfigurationChanged(). My best guess of what's happening is that these devices are calling onConfigurationChanged() before onAttachedToWindow(), so input is still null.
This change should be safe because

If onConfigurationChanged() is called before onAttachedToWindow(), the keyboard state will be updated in the user's initialize() call.
It's a screen-saver.

I don't have one of the offending devices to test on, but I also don't know how many of you actually use AndroidDaydream. If I don't get any feedback in a couple of weeks, I plan to go ahead and pull this.

Worth a shot. Best-case scenario this fixes it; worst it does nothing. Like you, I don't have a problematic device to test on. I don't know if you're aware that live wallpapers also seem screwed on them (#6729).

@cypherdare Have you been able to confirm this fix works?


Enabled goPath to be set via config

This PR will enable GOPATH to be set using the atom config.
This solves the following problems:

Per project GOPATH using atom-project-manager package.
Because the GOPATH can be explicitly set, GB (and similar) project structures, where the vendor folder exists outside the GOPATH and the source folder, now works.

Can you expand on the rationale for GB correctly resolving vendor packages as the GOPATH can be explicitly set?

Sorry, a typo from my side.

GB doesn't use GOPATH? I fully understand the per-project configuration desire; but I'm still not sure I get the GB portion...

GB uses gopath, but resolving GB vendor packages from within atom does not work, as the GB vendor folder isnt in the gopath per default.


(Feature request) Allow channels to exclude "unplayed content" from Plex

Hi,
This feature request, in short, is an option to have dizqueTV to exclude unplayed media when creating TV channels. This is a parity request that actually comes from Kodi's PseudoTV, where it would ignore unplayed media on channel scheduling.
Unsure of the exact difficulty to implement here as I don't know whether dizqueTV requests this type of information from Plex today.

When you say "ignore unplayed media" do you mean that it would only build and play channels of media thats already been previously viewed?

Hi Jon. You are interpreting my request correctly, yes.


DCOS-14696: Move Labels reducer

Checklist

[x] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

Split up the labels reducer. As the JSON part should be together but the Form Reducer should stand alone as it is the logic for the form and not for JSON output.
close DCOS-14696

LGTM! ✨  👍


Zenitech - The job type is hybrid for the "Data Engineer" position

ENVIRONMENT: production
URL: https://firme.peviitor.ro/
Browser: Safari
Device: Laptop
OS: macOS 14 Sonoma
STEPS TO REPRODUCE:

Open URL in browser
Type "Zenitech" in the search bar
Click on "Cauta"
Right-click and select "Inspect"
Copy the Request cURL: "https://api.peviitor.ro/v3/search/?company=zenitech&country=România&page=1"
Open Postman and create a new entry with GET request
Click on "Send"

EXPECTED RESULT:
The GET request should return a response with a status of 200 OK and information related to job openings retrieved from the API response should match the information related to job openings listed on the official website of Zenitech and on the peviitor.ro website.
ACTUAL RESULT:
The job type from the API response doesn't reflect the job type from the Zenitech website.

bug fixed


travis: cache node_modules for faster builds

This makes builds around 90 seconds faster. See here for an example: https://travis-ci.org/joseph-onsip/webtorrent/builds/83604415

http://blog.travis-ci.com/2013-12-05-speed-up-your-builds-cache-your-dependencies/

Sure, we can try this.


Batch name not uniq

hi, I am doing some RNA-seq analysis but I got this error if in my configuration (bcbio_fastRNAseq.yaml) when the Description is equal to the Batch Name:
2019-06-27 16:14:55,856 INFO -- [wu225job674_main] File "/usr/local/share/bcbio-nextgen/anaconda/lib/python3.6/site-packages/bcbio/pipeline/run_info.py", line 467, in _check_for_batch_clashes
2019-06-27 16:14:55,856 INFO -- [wu225job674_main] "Clashing batch names: %s" % sorted(list(dups)))
2019-06-27 16:14:55,856 INFO -- [wu225job674_main] ValueError: Batch names must be unique from sample descriptions.
2019-06-27 16:14:55,856 INFO -- [wu225job674_main] Clashing batch names: ['B09119TB02', 'B09143TB02']
2019-06-27 16:14:55,856 INFO -- [wu225job674_main] """
For the moment I just modify the Description value to add "Sample XXX" to be different, but I am not sure why bcbio is complaining about non-unique batch names if the values are different.
Here is the file causing the problem:
details:

algorithm:
aligner: hisat2
strandedness: unstranded
quality_format: standard
trim_reads: False
expression_caller: salmon
analysis: fastrna-seq
genome_build: hg38
description: B09119TB02
files:

"/scratch/inputresources/B09119TB02_R2.fastq.gz"
"/scratch/inputresources/B09119TB02_R1.fastq.gz"
metadata:
batch: "B09119TB02"

algorithm:
aligner: hisat2
strandedness: unstranded
quality_format: standard
trim_reads: False
expression_caller: salmon
analysis: fastrna-seq
genome_build: hg38
description: B09143TB02
files:

"/scratch/inputresources/B09143TB02_R2.fastq.gz"
"/scratch/inputresources/B09143TB02_R1.fastq.gz"
metadata:
batch: "B09143TB02"

Here is how we fixed:
details:

algorithm:
aligner: hisat2
strandedness: unstranded
quality_format: standard
trim_reads: False
expression_caller: salmon
analysis: fastrna-seq
genome_build: hg38
description: Sample B09119TB02
files:

"/scratch/inputresources/B09119TB02_R2.fastq.gz"
"/scratch/inputresources/B09119TB02_R1.fastq.gz"
metadata:
batch: "B09119TB02"

algorithm:
aligner: hisat2
strandedness: unstranded
quality_format: standard
trim_reads: False
expression_caller: salmon
analysis: fastrna-seq
genome_build: hg38
description: Sample B09143TB02
files:

"/scratch/inputresources/B09143TB02_R2.fastq.gz"
"/scratch/inputresources/B09143TB02_R1.fastq.gz"
metadata:
batch: "B09143TB02"

Juan;
Thanks for the message and sorry for any confusion. bcbio requires you to have separate sample and batch names, which is the error you're getting:
ValueError: Batch names must be unique from sample descriptions.

and the error message lists the two cases where that occurs to try and make them easier to identify and fix. Prefixing either the sample or batch name to make them different works great to resolve this. Hope this helps.


Upgradability

Checklist:

[ ] Code contains relevant tests for the problem you are solving
[ ] Ensure all new and existing tests pass
[ ] Update any relevant READMEs and docs
[x] Submit to the develop branch instead of master

Description:
This is a big overhaul. Most of the changes are for one of the following objectives:

support future upgradability of contracts with backwards compatibility
refactor and simplify our contracts

Merging this with the expectation that there may be bugs to fix before the next, next release 👍


Weighted graph support

I'm trying to implement this algorithm implementation on weighted graph.
Does the library support it? If yes, how can I use that feature?

The library doesn't support weighted graphs explicitly but you can easily work around that.
I'll assume you are using the weights as costs i.e. the more an edge is heavily weighted the less a random walker would want to take it.
In this case, you can simply take your weighted adjacency matrix A and create a corresponding transition matrix* T such that:
T[i, j] = 1/A[i, j]   (or some similar formula kind of inverts the values)
And then pass this matrix to the algorithm and it will work just fine.
Note that if you actually intend for a random walker to prefer heavily weighted edges (which a doubt but it's possible!), then you can pass the matrix to the algorithm directly.
*T has actually to be normalized along the columns to be a real transition matrix, but this will be done internally so no worries.


Curl and MQTT commands don't act as supposed

Describe the bug
A clear and concise description of what the bug is.
Some Curl commands are unclear.
Some MQTT commands are unclear
Upload your config
Press the "raw" button in the SmartEVSE webserver and upload the json settings file, so we can look at your configuration.
{"version":"v3.6.10","serialnr":75xx,"mode":"OFF","mode_id":0,"car_connected":true,"wifi":{"status":"WL_CONNECTED","ssid":"ZIGGO_3AE24","rssi":-73,"bssid":"BE:30:D9:40:D1:B5"},"evse":{"temp":16,"temp_max":65,"connected":true,"access":false,"mode":0,"loadbl":0,"pwm":1024,"solar_stop_timer":0,"state":"Charging Stopped","state_id":9,"error":"None","error_id":0,"rfid":"Not Installed"},"settings":{"charge_current":60,"override_current":0,"current_min":6,"current_max":16,"current_main":16,"current_max_circuit":16,"current_max_sum_mains":0,"max_sum_mains_time":0,"solar_max_import":0,"solar_start_current":4,"solar_stop_time":10,"enable_C2":"Always Off","mains_meter":"API","starttime":0,"stoptime":0,"repeat":0},"mqtt":{"host":"192.168.2.xx","port":1883,"topic_prefix":"SmartEVSE","username":"","password_set":false,"status":"Connected"},"home_battery":{"current":0,"last_update":0},"ev_meter":{"description":"Disabled","address":12,"import_active_power":0,"total_kwh":0,"charged_kwh":0,"currents":{"TOTAL":0,"L1":0,"L2":0,"L3":0},"import_active_energy":0,"export_active_energy":0},"mains_meter":{"import_active_energy":0,"export_active_energy":0},"phase_currents":{"TOTAL":0,"L1":0,"L2":0,"L3":0,"last_data_update":0,"original_data":{"TOTAL":0,"L1":0,"L2":0,"L3":0}},"backlight":{"timer":0,"status":"OFF"}}
Upload a debug log
Flash the debug version of the firmware (see https://github.com/dingo35/SmartEVSE-3.5/blob/master/SmartEVSE-3/HowToFlash.txt), telnet to your device, capture the debug log, cut it so that it shows JUST BEFORE and JUST AFTER the problem arises, and upload it here.
To Reproduce
Steps to reproduce the behavior:

What Mode are you in? Normal, Smart or Solar?
What steps do you take so the problem arises?
The Curl command:
curl -X POST http://<IP_ADDRESS>/settings?mode=0 -d '' works values 0,1 used
The MQTT command
'mosquitto_pub  -h <IP_ADDRESS> -t "SmartEVSE/Set/Mode" -m 0' values 0 and 1 used
doesn't give a reaction
However the MQTT command
'mosquitto_pub  -h <IP_ADDRESS> -t "SmartEVSE/Set/CurrentOverride" -m 60' works as expected
and curl -X POST http://<IP_ADDRESS>/settings?CurrentOverride=60 -d ''
nor curl -X POST http://<IP_ADDRESS>/settings?ChargeCurrentOverride=60 -d ''
show any reaction in the MQTT dump

Expected behavior
A clear and concise description of what you expected to happen; expected Charging Current?
I expect both Curl and MQTT to react.
Curl does not accept some commands and MQTT does not either.
It would be nice if the docs https://github.com/SmartEVSE/SmartEVSE-3/blob/master/docs/configuration.md, the REST API and the MQTT API could be updated with the proper commands that are accepted by the device.
Regards
PS I'm using Normal mode and send commands from Domoticz.

Thanks for your report; this is a typical thing that does not need any development knowledge; perfect for a community effort! You wouldnt want to leech only, would you?
I am looking forward to your Pull Request!

Hi,
Thanks for your answer.
I'm quite new on GitHub and honestly I don't understand what you intend to say.
Leech means take profit.
Ok,
But what should I do?
There's something missing in the docs.
I don't know how to add the right text as I don't know the proper commands.
What is a pull request supposed to do.
Please explain.
Regards
3 okt 2024 01:17:57 dingo35 @.***>:

Thanks for your report; this is a typical thing that does not need any development knowledge; perfect for a community effort! You wouldnt want to leech only, would you?
I am looking forward to your Pull Request!
—
Reply to this email directly, view it on GitHub[https://github.com/SmartEVSE/SmartEVSE-3/issues/64#issuecomment-2389966008], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AGA2NBLHNHTZ54VJ72AFYQTZZR5KLAVCNFSM6AAAAABPIRTV5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBZHE3DMMBQHA].
You are receiving this because you authored the thread.
[Tracking afbeelding][https://github.com/notifications/beacon/AGA2NBKDFE62CYP7OZRAJELZZR5KLA5CNFSM6AAAAABPIRTV5CWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUOOP6LQ.gif]

You are so lucky to live in the ages of the internet; no need to bike to a library, Google is your friend...
Some netiquette: you only ask questions you have searched for, and tried out yourself. So it is more about reading, then writing...

Good luck on your path to knowledge!
HeinvdW @.***> schreef op 2 oktober 2024 19:50:55 EDT:

Hi,
Thanks for your answer.
I'm quite new on GitHub and honestly I don't understand what you intend to say.
Leech means take profit.
Ok,
But what should I do?
There's something missing in the docs.
I don't know how to add the right text as I don't know the proper commands.
What is a pull request supposed to do.
Please explain.
Regards
3 okt 2024 01:17:57 dingo35 @.***>:

Thanks for your report; this is a typical thing that does not need any development knowledge; perfect for a community effort! You wouldnt want to leech only, would you?
I am looking forward to your Pull Request!
—
Reply to this email directly, view it on GitHub[https://github.com/SmartEVSE/SmartEVSE-3/issues/64#issuecomment-2389966008], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AGA2NBLHNHTZ54VJ72AFYQTZZR5KLAVCNFSM6AAAAABPIRTV5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBZHE3DMMBQHA].
You are receiving this because you authored the thread.
[Tracking afbeelding][https://github.com/notifications/beacon/AGA2NBKDFE62CYP7OZRAJELZZR5KLA5CNFSM6AAAAABPIRTV5CWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUOOP6LQ.gif]

--
Reply to this email directly or view it on GitHub:
https://github.com/SmartEVSE/SmartEVSE-3/issues/64#issuecomment-2389992495
You are receiving this because you commented.
Message ID: @.***>


Log level formatting

Right now log level is hardcoded to use LOGLEVEL in uppercasing. Is there any way I can manually set that so that I can be consistent with how we do it in our server side logging?

@hfjallemark it's an easy enough fix but requires some server-side work on our side; bet thing to do is add a feature request to our trello board.

I actually found an easier way to log errors where I have full control over the message:
(message, url, line, date, token) ->
    request = new XMLHttpRequest()
    request.open 'POST', "https://js.logentries.com/v1/logs/#{token}"
    request.send "#{date} | [Error] | #{message} | url=#{window.location.href}"

Thanks anyway, closing the issue.

@hfjallemark cool- just a heads-up that our JS API is not publicly documented and subject to change (although in practice this is unlikely)


Python 2.6 compatibility

Fixing Python 2.6 compatibility

Can this PR be closed or merged?  Python 2.6 EOLed 5 years ago.

Yes. This can be closed. It's not relevant anymore.


The diff has a transparent background

I can't make out the diff because it's overlaid over the line below and has a transparent background. I'm seeing both lines mangled into one.
version 0.5.0 on Atom 0.172.0 on Ubuntu 14.04

Oops. Didn't see there was an existing issue for this.

No problem, thanks for the feedback anyways


account login with saved old password

PHP Version
No response
Shopware Version
No response
Actual behaviour
When having logged in with a old password and want to call login again, the cli detects saved password. also it detects the password is wrong.
Expected behaviour
The cli should call relogging when saved password is wrong.
Additionally: remove shopware-api-client-token.json, too on every login.


[Question] How can I enumerate all GlyphIds in Face?

I can't find any info regarding how to enumerate all glyphs in a Face?
I want to dump all characters from a font, but I don't find a way to do it.
Thanks!

This would be:
for subtable in face.tables().cmap.unwrap().subtables {
    subtable.codepoints(|c| println!("{}", c));
}

Note that a "character" is a very abstract term in TrueType. The codepoints method will return u32, which could be a Unicode codepoint, but might not be. If you care only about Unicode, add subtable.is_unicode() check.

Thank you very much!


Distribute ArchWSL through the choco package manager

Describe the issue
I'm aware ArchWSL is distributed through scoop but is it possible to distribute ArchWSL through Chocolatey? I don't mind sharing a helping hand to package it for distribution through choco.

Duplicate of https://github.com/yuk7/ArchWSL/issues/104


Feature request: Add more GlInternalFormat enums

Hi! I am working on a texture converter, which extracts texture data from proprietary game files to DDS. I am planning to add KTX and KTX2 support, however, the games use ATC and PVRTC compression formats which this library doesn't have.
Here's a link to all formats for reference.
It would be great to add them, thanks

Do you have some sample texture files I could use for testing?

These samples are produced using AMD's Compressonator. They also support ATC formats for DDS containers, but they are not native to them and DirectXTex does not recognise them.
As for PVRTC, I don't have any, unfortunately.
The enums would be just enough, so that I can identify the formats easier

I added the ATC ones
https://github.com/mcraiha/libktxsharp/commit/ff218f2ec2f0a297760bc560e43fedef0473b4c5

I added the PVRTC ones
https://github.com/mcraiha/libktxsharp/commit/759db2ca0667fc7512d01ac2efc4b19c50856503

Thank you very much!
I am closing the issue


Ryujin Mission - EXECUTIVE LEVEL - (Dead Ularu)

Executive Level mission fails to (Que up or Start) due to Mission Trigger's for Ularu are required for character to be alive to start the Ryujin Final Story Mission that follows after Sabotage.

Details
Mission in question works fine while Ularu is alive but fails to start if Ularu is killed during Mission: 001EE0C8;Guilty Parties--- RI05
After mission trigger "(Optional) Confront Ularu on the Executive Offices Floor" I chose to kill her thus finding the mission Executive Level requires Ularu as a Key NPC.
Refernce for details from Mod source: https://www.nexusmods.com/starfield/mods/2927
Mission ID: 0018B717;Executive Level--- RI08
SQO 0018b717
100 Talk to Ularu DORMANT
200 Lobby Board Members (<Global=RI08_BoardMemberCount>/<Global=RI08_BoardMemberTotal>) DORMANT
201 For Infinity LTD (Y:<Global=RI08_InfinityYayCount> N: <Global=RI08_InfinityNayCount>) DORMANT
202 For Internal Neuroamp (Y:<Global=RI08_NeuroampYayCount> N:<GLobal=RI08_NeuroampNayCount>) DORMANT
203 For Ularu as CEO (Y:<Global=RI08_MasakoNayCount> N:<Global=RI08_MasakoYayCount>) DORMANT
900 Attend the Meeting DORMANT
925 Wait for Everyone to Arrive DORMANT
927 Take a Seat DORMANT
1000 Talk to Masako DORMANT
1100 Talk to Ularu DORMANT
Game Version
581063DD V<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
Kill Ularu during the mission 001EE0C8;Guilty Parties--- RI05
And attempt to complete the story with her character Dead will instantly Stall the start of Executive Level.

I keep thinking on this issue and I think the only Fix for it is to possibly check the error report log that gets spit out in the console. But I haven't got the Foggiest idea where to locate that report.
Or get the Quest trigger to flag on a different character thus requiring the Dev's to make the change.

The following commands can bypass this bug if performed beforehand:
prid 002BA8A1
resurrect
Same goes for the bug blocking the previous mission, sabotage


hope to support babel7

thx!

thx!

or move babel-* to devDependencies.

HI @chenhebing there is a reason for it to be in dependencies rather than dev #35 but I am happy to upgrade, have some time this weekend.


Improve logging on validator loading errors

PR Description
Currently we print only InvalidConfigurationException to default console log in MultithreadedValidatorLoader.loadValidators() and shutdown on any exception during validator startup. It could confuse user seeing exit without any visible cause (until user uses --log-destination=console, which is not default or check logs).

Validator loading errors in loadValidators()  could be not only InvalidConfigurationException
Validator loading errors could happen in addValidatorsFromSource, for example when local keys directory is provided which doesn't exist
Other Validator Service Loading errors should be displayed to the user in any case as we shutdown

Fixed Issue(s)

Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

3 acceptance tests fail because locally it's:
ERROR - Failed to load keystore, error: Keystore file /opt/teku/keys/9894149_validator.json.lock already in use.
ERROR - Unable to initialize validator client service, please manually correct errors and try again.

and on CI it's
ERROR - Failed to load keystore, error: Access Denied trying to access lock file /keys/8eff122_validator.json.lock
ERROR - Unable to initialize validator client service, please manually correct errors and try again.

Working to resolve this


FactiryMufin generate method

If we have a relation many-to-many in Doctrine, we shouldn't create a setter method. We can create add method.
Can we add some check for example when $key ended on "s" or "es"
#([^aeuiy])(?=es)es$|([^s])(?=s)s$#

we try use add prefix.

It's now working, because I have a cycle in my code. I resolve this problem by setCallback(). Thx


docs: compound ecosystem and integrations

Docs: compound ecosystem and integrations
Problem statement: We have a big overlap between the References/Integrations and Ecosystem/LongChain Ecosystem pages. It confuses users. It creates a situation when new integration is added only on one of these pages, which creates even more confusion.

removed References/Integrations page (but move all its information into the individual  integration pages - in the next PR).
renamed  Ecosystem/LongChain Ecosystem into Integrations/Integrations. I like the Ecosystem term. It is more generic and semantically richer than the Integration term. But it mentally overloads users. The integration term is more concrete.

As a result, a user gets a single place to start with the individual integration.
Who can review?
@dev2049

maybe im missing it but this doesn't seem to actually delete reference/integrations does it?

maybe im missing it but this doesn't seem to actually delete reference/integrations does it?

Oops. Yeah, reference to the page is deleted but not the page. Removing this page. Thanks for mention it!


FR: integration with log crate

I often write pretty uncomfortable code when processing anyhow::Result<()> just to call error!() on it. E.g. when I implement a trait function that doesn't allow returning Result, or when I do some call for side effects and I don't worry too much if it ends with an error. I was thinking that it would be very useful to have some basic integration with log crate. For example:
some_noncritical_call().log_error();
// is equivalent to:
if let Err(err) = some_noncritical_call() {
  error!("{:?}", err);
}

anyhow_log_error!{
  some_noncritical_call()?.another_noncritical_call()?;
}
// is equivalent to:
fn noncritical_call_chain() -> Result<()> {
  some_noncritical_call()?.another_noncritical_call()?;
  Ok(())
}
noncritical_call_chain().log_error();

I am not interested in building this into the anyhow crate — but someone could build the API you showed as extension methods provided by a separate crate.


Center views in rootston

[x] Center xdg shell views
[x] Center wl shell views
[ ] Center xwayland views
[x] Activate views when spawned?

Fixes #212

The only missing piece is centering xwayland clients. Not sure if we want/can do it, since clients send an explicit position. Thoughts?

I think we should override the explicit position Xwayland clients send. That's what other WMs do iiuc. But that can be separate.


Javascript not working after creating pdf

After creating pdf using html2pdf, the page is breaking completely in the safari browser. Click events and everything related to Javascript on that page are not at all working.

Did you find any solution to this? Apparently I am facing same issue.


4.x - RouteCollectorProxy

This is pull 7 out of 7 to complete the goals set in #2604
App now extends RouteCollectorProxy which provides all of the route mapping functionality.
App::group() Breaking Change
There is a breaking change with App::group(). Now the callable gets a RouteCollectorProxyInterface instance injected which used to be App. All of the original route mapping functionality remains intact.
The new interface implements the following methods:

RouteCollectorProxy::getCallableResolver()
RouteCollectorProxy::getContainer()
RouteCollectorProxy::getRouteCollector()
RouteCollectorProxy::get()
RouteCollectorProxy::post()
RouteCollectorProxy::put()
RouteCollectorProxy::patch()
RouteCollectorProxy::delete()
RouteCollectorProxy::options()
RouteCollectorProxy::any()
RouteCollectorProxy::getBasePath()
RouteCollectorProxy::setBasePath()

The following methods on RouteCollectorInterface are removed:

RouteCollectorInterface::pushGroup()
RouteCollectorInterface::popGroup()

The following method on RouteCollectorInterface is introduced:

RouteCollectorInterface::group() which replaces pushGroup() and popGroup()

Example Usage:
use Slim\App;
use Slim\Http\Factory\DecoratedResponseFactory;
use Slim\Http\ServerRequest;
use Slim\Interfaces\RouteCollectorProxyInterface;
use Slim\Psr7\Factory\ResponseFactory;
use Slim\Psr7\Factory\ServerRequestFactory;
use Slim\Psr7\Factory\StreamFactory;

$responseFactory = new DecoratedResponseFactory(new ResponseFactory(), new StreamFactory());
$app = new App($responseFactory);

/**
 * As mentioned above, the breaking change introduced here is
 * that we don't inject App in the route group callable anymore.
 */
$app->group('/app', function (RouteCollectorProxyInterface $group) {
    $group->get('/hello/{name}', function ($request, $response, $args) {
        return $response;
    });
});

$request = new ServerRequest(ServerRequestFactory::createFromGlobals());
$app->run($request);

Coverage decreased (-0.5%) to 97.997% when pulling a5f09ac02f71a0eaa8f54ea7f496c8331516155e on l0gicgate:4.x-RouteCollectorProxy into e65a4dc67e51a29abc9acb4596f9020e695c2204 on slimphp:4.x.


Added two new files LAB1 and LAB2 only for practice.

Summary
Describe your changes here.
Fixes #Issue_Number, dotnet/docs#Issue_Number or dotnet/dotnet-api-docs#Issue_Number (if available)

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

@SnehaV12
Did you open this PR in the correct repository? This repo is for samples that we include in the .NET documentation on Microsoft Docs.  I don't see any article that would reference this sample. Is it incomplete? Was it meant for some other location?
Let us know, and we can provide guidance to route you to the correct additions so this is ready to merge.


test: remove remains of TestBase

Risk Level: None
Testing: Existing tests
Docs Changes: N/A
Release Notes: N/A

@jmarantz I'm updating some internal code and I want to make sure this is gone so people don't accidently use it.


Question - How to transfer val3 from USB to the controller?

Hi there,
I'm not sure how I should transfer the val3 driver to the controller, you are writing as followed:
" There are multiple ways of transferring VAL 3 applications to the controller:

Copy the contents of val3 folder onto a USB memory stick (<2GB if using CS8), plugging the stick into the controller and using the teach pendant to copy the folders "

In my case, I have a CS8 controller and the controller can see the USB stick with ros_libs + ros_server.
But when I try to load the ros_server it says something with the incorrect type in SimpleRosMsg on the line 1.
I'm doing it correctly, or?

hi
exactly the same here, git cloned the repo in ubuntu 18.04, then copied the contents of /val3
controller: cs8c
val: 7.11.2

This starts to sound a bit like #27. Could you both take a look?

I have tried to clone and download zip on Linux and Windows. It doesn't work with the #27 solution,
What I have is :
Controller : cs8
System: s.7.9.1
Below is images of what I assume is needed information

When I see the Event loggers output

So both with the .zip as with git clone gives you these errors?

As this seems to be the same -- or a similar enough -- error as in #27, I'd like to suggest we re-open #27 and continue there.

I'm going to close this one, we'll continue in #27.


Fix Windows support

/!\ This PR is not from me, but from @backflip. He don't shows signs of life, so I decide to propose Pull Request from his fix.
This patch fix errors on Windows dues to usage of UNIX commands in scripts of package.json.

This can be closed, @doctyper fixed it a few months ago.

Yep sure.


Night CI 2023-01-23: Failed

action url: https://github.com/spidernet-io/spiderpool/actions/runs/3990196593

The e2e test source codes need to be improved.
https://github.com/spidernet-io/spiderpool/blob/c40f8003405bde8a04e5a54f0fd9f58878165848/test/e2e/common/spidersubnet.go#L261-L269
For the function 'WaitIPPoolNumberInSubnet' to call 'GetIPPoolsInSubnet'.
https://github.com/spidernet-io/spiderpool/blob/c40f8003405bde8a04e5a54f0fd9f58878165848/test/e2e/common/spiderpool.go#L639-L658
If we can not fetch IPPoolList, we should return the nil IPPoolList object. And for the upper function, we need to sleep in the circle loop once we met IPPoolList it nil or IPPoolList.Items are empty.

cc @ty-dc

Furthermore，The only way the function 'GetAllIppool' return nil is failing to call 'ListResource' but you do not return the error. You should also improve 'GetAllIppool' function.
https://github.com/spidernet-io/spiderpool/blob/c40f8003405bde8a04e5a54f0fd9f58878165848/test/e2e/common/spiderpool.go#L149-L160

The root cause of the problem is the same as #1274, while e2e also needs to improve the ''GetAllIppool' method', The e2e fix will close this issue, and the root cause of the problem is tracked by #1274.

#1301


No warning/errors about unreachable code when using the instanceof operator

TypeScript Version:  2.2.2
Code
class Foo {
}

class Bar {
}

const doOtherStuff = () => {
  console.log('Hello');
}

const test = new Foo()

  // Here, there is no warning or compilation error that doOtherStuff() is unreachable
if (test instanceof Bar) {
  doOtherStuff();
}

Expected behavior:
A compilation error, or a warning of some sort about unreachable or suspicious code.
Actual behavior:
Compiles successfully, with no warning.

The compiler does nto flag cases like so, since types are structural in nature, and are technically open.


Character sheet missing fields for Characteristics

The character sheet is missing the following section from the character sheet that exist on DnDBeyond. This causes an issue when using other modules, such as TidySheet and DnDImporter.
The fields on DnDBeyond:

DnDImporter converts them to text in the Appearance field:

TidySheet adds a section for them, which doesn't pick up the data:

Having a single spot that all modules can access this data would be preferable.

This is available now in the new sheet.


feat(ci): remove changes requirement from baremetal and Dockerfile jobs

Describe the changes and your approach

Verification Checklist

[x] I performed a self-review of my changes and approve them.
[x] I checked of the automated test results for any irregularities.
[x] I manually tested the code changes on my local environment.
[x] I considered changes to the README or test docs. (Check if not applicable.)

Won't do. To use the properties of changes, the most elegant way is to use needs: changes.
There are other approaches that could work like writing to a file, but they add significantly more complexity to the code.