Not a pretty or complete commit (due to the .NET SDK issues discussed…

… in Gitter).
Bugs: "clean" serializer in the default serializer has to respect casing (otherwise e.g. contains queries [ContainmentWhereFragment] will result in unexpected matches, which is dangerous). This needs to be fixed prior to CamelCasing being pushed to production.
API Changes: lift StorageFeatures to AdvancedOptions.StorageFeatures. Rationale: Mappings, amonst other things, can be accessed this way.
The rest: Start fixing test cases not to assume casing. Notes:
*a subset of tests goes outside of the shared setup -> test session specific customizations need to be applied in these cases too
*a subset of tests assumes string formatting. Some of these are contained within docs -> resort to extensions that adjust expectations
*harness: changed harness to check env variables for customizations -> Rake build script currently runs harness twice: default & CamelCase. (not reflected in build.sh atm)
While I'm not happy with this commit (due to reasons above), at least the bug with containtment needs to be addressed before 2.0 is released.

To add (based on some previous discussion): it's after all a damn good idea to run the whole harness against store customizations that propagate to query model execution, e.g. serialization, even if it results in reduntant test runs. Rationale through counterargument: saved 100 LOC and 100 ms on harness, lost 1 read from DB.


Memory leak of rancher-agent and rancher-nfs

Rancher versions:

rancher/server:v1.6.17
rancher/agent:v1.2.10

Infrastructure Stack versions:

healthcheck:v0.3.6
network-services:v0.7.20
scheduler:v0.8.3
storage-nfs:v0.9.1

Docker version: (docker version,docker info preferred)

17.03.2-ce

Operating system and kernel: (cat /etc/os-release, uname -r preferred)

ubuntu 16.04.4 (kernel: 4.4.0-87-generic)

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)

Bare-metal

Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)

HA rancher,  external DB

Environment Template: (Cattle/Kubernetes/Swarm/Mesos)

Cattle

Steps to Reproduce:
Test 1：

Check the memory usage of the agent container on this host, using 20M memory；
Create an stack and run 10 services, run one container per service.
Configure the wrong health check port for the service，make the service keep rebuilding(This is our expected result);
After a few hours, check the memory usage of the agent container and the memory usage does not exceed 80M；

Test 2：

Based on test 1, create a second stack, run 10 services, 1 container per service, and configure the rancher-nfs volume for the service;
Configure the wrong health check port for the service，make the service keep rebuilding(This is our expected result);
After a few hours, check the memory usage of the agent container, memory usage increased from 80M to 350M；

Results:
The host only runs 50 containers, run the netstat -apn command to check the number of connections:

Attachments are collected by netstat -apn
netstat.dump.zip

while testing this, can you try some failure scenarios where you delete the rancher socket file, try to do some volume related stuff, and then recreate it?
I dont even know exactly what scenarios to try, but the fix is going to keep a connection open and around for the life of the rancher agent, so I want to make sure we dont get into a scenario where we are in a perpetual error state because the connection has "gone bad." @StrongMonkey please assist in coming up with scenarios to test this

Reproduced the issue with rancher v1.6.18.

create a second stack, run 10 services, 1 container per service, and configure the rancher-nfs volume for the service;
Configure the wrong health check port for the service，make the service keep rebuilding(This is our expected result);

After a few hours, check the memory usage of the agent container, memory usage increased from 37M to 380M as shown below

Tested with v1.6.19-rc6 with the same steps. The memory usage of the agent container did not increase rapidly as in the other case. It was around 47MB


Upgrade minio to recent version

Is there any particular reason for this PR, or just to run up-to-date local version?

No particular reason. Just run up-to-date local version.
(I actually had a problem related to ufw where I tried everything to fix it including this update - but it is not necessary)


Add non-sequential responding and improve result of fetching

Resolves #5

Do we leave it as it is yet?


SeAct dataset problem about AFE

Hello，Thank you for your invaluable work.I've met some problems using (AFE)SeAct_dataset.py to divide the SeAct dataset.
Some divided results have different numbers from the paths' numbers provided in SeAct_sampled_train.txt.
For example, m6-yexin-0002 was divided to only one .png file，but there are more paths in the text.
the parameters of the SeAct_dataset.py aren't changed.
self.sample_event_num_min = 100000
self.sample_event_threshold = 40
So what might be the reasons of this problem? Thanks.

Hello, maybe lower down the self.sample_event_threshold.

Hello, consider lowering the self.sample_event_threshold and experimenting with different sampling parameters.

Thanks for your advice!


License upgradation

I would like to extend the number of users of RDP?

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

ID: a9d8e4f9-6717-41fb-cca8-64e936965cf0
Version Independent ID: a208cb51-3070-9be2-f8e3-1b61ffaf8ade
Content: Remote Access
Content Source: WindowsServerDocs/remote/remote-access/Remote-Access.md
Product: windows-server
Technology: networking-ras
GitHub Login: @eross-msft
Microsoft Alias: lizross

Hello @shahmanthan1209. GitHub issues for this repo are for reporting problems with our documentation.  Please open a support ticket or post your question on Microsoft Q&A.


Not supported exception on struct override ToString()

TinyCLR 0.9.0
VS2017
FEZ Spider (EMX)
After upgrading to the to 0.9.0, I'm getting the CLR_E_UNSUPPORTED_INSTRUCTION exception.  I read the release notes and my issue may be related to the ToString() on an enum and so I looked at the referenced forum thread link.  However, after reading the forum thread link, I don't see how it has anything to do with this topic.  Was that the correct link? I'll feel silly if it was.
Regardless, I've got a case where an override of ToString() for a class works but the same code on a Struct throws the exception.
Here's my example:
    class Program
    {
        public class ColorClass     // THIS WORKS
        {
            public enum Palette : uint
            {
                Black = 0x000000,
                Blue = 0xFF0000,
            }
            public Palette CurrentColor;
            public ColorClass(Palette defaultColor)
            {
                CurrentColor = defaultColor;
            }
            public override string ToString()
            {
                switch (CurrentColor)
                {
                    case Palette.Black: return nameof(Palette.Black);
                    case Palette.Blue: return nameof(Palette.Blue);
                    default: return "unknown";
                }
            }
        }

        public struct ColorStruct   // THIS DOES NOT WORK
        {
            public enum Palette : uint
            {
                Black = 0x000000,
                Blue = 0xFF0000,
            }
            public Palette CurrentColor;
            public ColorStruct(Palette defaultColor)
            {
                CurrentColor = defaultColor;
            }
            public override string ToString()
            {
                switch (CurrentColor)
                {
                    case Palette.Black: return nameof(Palette.Black);
                    case Palette.Blue: return nameof(Palette.Blue);
                    default: return "unknown";
                }
            }
        }

        static void Main()
        {
            ColorClass colorClass = new ColorClass(ColorClass.Palette.Black);
            Trace.WriteLine($"ColorClass is {colorClass.ToString()}");

            ColorStruct colorStruct = new ColorStruct(ColorStruct.Palette.Black);
            Trace.WriteLine($"ColorStruct is {colorStruct.ToString()}");    // This line throws the exception
        }
    }

And the output I get is:
ColorClass is Black
    #### Exception System.Exception - CLR_E_UNSUPPORTED_INSTRUCTION (1) ####
    #### Message:
    #### Test_enum_tostring.Program::Main [IP: 002e] ####
An unhandled exception of type 'System.Exception' occurred in Test-enum_tostring.exe

I didn't have this problem with 0.8.0.
Is this a bug or now not supported?
Thanks,
Rick

This is indeed the known issue mentioned in the release notes and the thread in question is the correct one, at least it's the original report and discussion of the issue. Before the instruction was silently ignored, in this release it throws an exception so we can gather more examples of failure. As you discovered for your case, using a class works around the issue since it doesn't cause the unsupported instruction to be emitted.


Feature/remove tracker blocker opt in experiment

Task/Issue URL: https://app.asana.com/0/inbox/608920331025313/1124559077805103/1124564911302529
Tech Design URL:
CC:
Description:
Remove tracker blocker opt-in experiment from onboarding
Steps to test this PR:

Perform fresh install of the app; verify the tracker blocker opt-in page doesn't show (no matter which variant is allocated)

Internal references:
Software Engineering Expectations
Technical Design Template

Pushing this through PR as there is a desire to do a release today and no other reviewers are available.
@subsymbolic, for your retrospective-review when you're around.


Upstream KFP has hardcoded pointer to minio-service.kubeflow for object storage

This results in kfp only being deployable to the kubeflow namespace with a service called minio-service that points to the object storage.  See #387 for more background.
If we're really pedantic, kfp could probably be deployed to any namespace so long as a service minio-service existed in namespace kubeflow, but that's a hacky workaround.

#387 patches this for charmed kubeflow so our solution currently works, but this issue will stay open until upstream has fixed this and we've updated to the new upstream (see https://github.com/canonical/minio-operator/pull/151 for more details on what needs to be done upstream)


feat: show pyciemss errors

Description
I am using the operator state to save the error message. For some reason when I update the errorMessage using update-state the changes aren't seen immediately in the drilldown. I have to go in and out of the drilldown to see the message. I at least have the logger error to show immediately.
https://github.com/DARPA-ASKEM/terarium/assets/28237258/62fff607-73c0-4e14-b95b-1ee6facd2cfa

Why this is not visible right away?

Why this is not visible right away?

I am stuck on this - it should update but it doesn't

This is fixed now.


Hack to add more latent builders in case of ill-timed restart

We should never have more than two active, but when one builder "dies" for w/e reason, for the duration of the buildbot run, the machine will not be restarted. This adds 3, getting us to 5, an arbitrary number that I hope will keep us at our 2 live instances at any point in time until we can either pull the trigger on reserved instances or get better about Graceful Shutdown, etc.
Also, removed servo-linux1, which is no longer around but was still on the waterfall page.
r? @edunham @metajack @Manishearth

Aha, this will create more than 2 live instances in the case where there is both a real build and a try build going at the same time.

I'm not a huge fan of this, since it will make the real problem harder to debug and easier to ignore.

@bors-servo r+

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

:pushpin: Commit adc255d has been approved by metajack

:hourglass: Testing commit adc255d with merge a18eb67...

:sunny: Test successful - travis


Segue is not working

Performing a segue from NavButtonBarExampleViewController results in this:

How to fix this?

Hey @MHX792 !
That happens because the buttonBarView is added as a subview of the navigationBar, and the navigationBar itself is a subview of the navigationController rather the visibleViewController and so it persists after you push another viewController.
As a workaround you can show/hide the buttonBarView in the viewWillAppear & viewWillDisappear respectively, like so:
override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)

    buttonBarView.isHidden = false
}

override func viewWillDisappear(_ animated: Bool) {
    super.viewWillDisappear(animated)

    buttonBarView.isHidden = true
}

Hope this helps you!
Cheers

Closing due to lack of response.


Refactor queue remove to use goog.array.removeLast()

Thanks for putting this together.  Before we can merge, we're going to need you to squash these to a single commit on top of our master branch (note, you'll need to use git push -f after rebasing to avoid having to pull and merge).


pubring.db.lock after unclean shutdown breaks gpg related actions

Description
Commits page loads for a very, very long time if unclean shutdown has happened before.
Reason:
Since gpg creates lock file in /var/lib/gitea/home/.gnupg/public-keys.d/ , which is on a persistent volume, unclean shutdown leaves pubring.db.lock, and after following startup gpg operations fail because of the locked database.
Proposed fix:
I would suggest checking for the gpg database lock file during container startup, and remove it if it exists.
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No, requires ability to crash the container
How are you running Gitea?
Docker compose with /var/lib/gitea persisted in volume

fwiw i experienced this on forgejo too. a workaround that worked for me was to specify a different $GNUPGHOME, i.e.:
services:
  gitea:
    image: gitea/gitea:latest
    environment:
      GNUPGHOME: /.gnupg
# ...
    volumes:
      - ./data/gitea/gnupg:/.gnupg

Maybe we can have a check to delete these lock files when Gitea startup.

I run into this sporadically as well, despite not having an unclean shutdown (from my perspective). The Gitea server is stopped every night for backup using docker compose stop. So maybe it's unclean there, but that would be an issue in itself.
A check for stale lock files would be very useful

I also have this issue when I do docker compose stop to shutdown the container.  I am using the image gitea/gitea:1.22.3.
My current setup is based on the docker-compose.yml file from the Installation with Docker page.  I solved the issue by deleting the lock file at the startup of the container.  I added this to the service definition:
version: "3"

networks:
  gitea:
    external: false

services:
  server:
    image: gitea/gitea:1.22.3
    container_name: gitea
    environment:
      - USER_UID=1000
      - USER_GID=1000
    restart: always
    networks:
      - gitea
    volumes:
      - ./gitea:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - "3000:3000"
      - "222:22"
+   command: sh -c "rm /data/gitea/home/.gnupg/public-keys.d/pubring.db.lock; /bin/s6-svscan /etc/s6"

The path /data/gitea/home/.gnupg/public-keys.d/pubring.db.lock is my problematic lock file.  Then it runs the command that starts the container: /bin/s6-svscan /etc/s6.
When the lock file does not exists, it just logs a message and continues.


Custom ConfigurationFactory implementation added to the classpath are not loaded

Description
The document here under Understanding ConfigurationFactory says
3. A ConfigurationFactory implementation can be added to the classpath
and configured as a plugin in the "ConfigurationFactory" category.
The Order annotation can be used to specify the relative priority
when multiple applicable ConfigurationFactories are found.

This is not true. We need to explicitly specify the packages to look for  using
PluginManager.addPackage("com.abc.xyl"); during start up before log4j initialization.
This is not documented anywhere.
Configuration
Version: [2.22.0]
Operating system: [ALL]
JDK: [ALL]
Reproduction
https://github.com/eugenp/tutorials/blob/master/logging-modules/log4j2/src/test/java/com/baeldung/logging/log4j2/xmlconfiguration/XMLConfigLogIntegrationTest.java#L24
[An isolated test reproducing the test.
JUnit tests similar to the ones in the code base are extremely appreciated.]

@thejas-stripe,
In order to be automatically detected, plugins must be compiled with the annotation processor present in log4j-core. In your project you explicitly pass -proc:none to your compiler's options. Remove that line and your example should work.


Added DF Robot BLE Serial

I'm trying to use this but no luck.  The DfRobot forum tells me that the Bluno will only talk to their own gear and app.. but I guess that the inclusion of DfRBLE here suggests that it can be done.
Do you have an example please ?  I can't see the Bluno through the sample code or through the Remote Arduino Experience App :(

Closing as duplicate of https://social.msdn.microsoft.com/Forums/en-US/5fe6733a-d99e-45cc-b5ae-debc2ab212ea/windows-remote-arduino-and-dfrobot-bluno-nano?forum=WindowsIoT


Fix CocoaPods spelling

Just a couple of minor spelling corrections: Cocoapods->CocoaPods, Github->GitHub.

Thanks @friederbluemle


Publish main to live on 11/4 @ 10:30 am

Learn Build status updates of commit a05b8b0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsOnlineUser.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Unable to find/add the extension in Visual studio 2017 via the marketplace

I found the plugin via https://marketplace.visualstudio.com/items?itemName=mauve.terraform
Yet I'm unable to find/add the extension via marketplace in Visual Studio, does it still exist ?

this plugin is for Visual Studio Code, not for the big Visual Studio.


Ending sequence is stretched

Dunno if that's even possible to fix, but just in case.
The ending sequence -spoiler-where-everyone-dances-spoiler- is stretched to the ultrawide resolution. Perhaps it's pre-rendered and that's why.
If possible, the mod should probably use the black bars at that time.

Nice catch! I haven't gotten that far yet. If it is pre-rendered video, then I've added to a fix for video playback to the latest release. If you still have the save do you want to give that a try and see if it works?

I've been using 1.0.3, should have said that, sorry.
I guess it's not pre-rendered in that case.

I updated to 1.0.4 and started the sequence, it's still stretched I'm afraid.

Personally I don't mind leaving it stretched until you get there yourself.
I've attached the manual save that's just before the sequence, if you don't care about spoilers, but if you care about the story at all I'd advise you not to use it. Even poking around in the UI would be a big spoiler! At the very least, skip the "recap" that appears when you load it.
Manual.zip

Also, I played around with the mod's cfg file a little. The Fullscreen and UI_Fixes settings don't make a difference, the sequence is stretched anyway.


not possible to turn off auto-selection

(Original issue 33 created by None on 2013-06-12T13:48:45+00:00)
There is no "setAutoSelection" delegate on the TableFilterHeader class and
since FilterHandler is private the only way to prevent auto-selection is to do this
via the global settings singleton.

The ugly workaround I found is to use custom "RowSorter" that ignores the
"addRowSorterListener" call performed in the "FilterHandler".

Original issue reported on code.google.com by vojta.janota on 2013-06-12 13:48:45

(Original issue 33 last updated on 2013-06-12T13:48:45+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by coderazzi on 2013-06-16T16:15:00+00:00)
Why don't you better use the global settings?
Once that you define one table to have the autoselection enabled, the user would likely
expect the same behavior in all the tables with filters, right?
At least, that was my reasoning to avoid defining it in the TableFilterHeader' API,
using instead a global variable.
It is an easy to implement feature, just not sure whether it provides real value.

Original issue reported on code.google.com by coderazzi on 2013-06-16 16:15:00

(Original comment by None on 2013-06-16T17:23:14+00:00)
I'm using tablefilter in two different contexts. In one the auto-select makes sense,
in other it does not. The first case is the usual scenario where I want the toolbar
actions to reflect the only existing row. In the other however the auto-selection is
problematic. The table there is used to allow selection of (many) choices out of many.
Auto-selection causes filtered row to be auto-selected (zero column holds a checkbox)
which is not the desired behaviour. The filter should simply narrow the list of available
choices, but there is no reason to assume that the user really wants to toggle given
choice.

Original issue reported on code.google.com by vojta.janota on 2013-06-16 17:23:14

(Original comment by coderazzi on 2013-06-17T22:10:47+00:00)
(No text was entered with this change)

Original issue reported on code.google.com by coderazzi on 2013-06-17 22:10:47

(Original comment by coderazzi on 2013-06-29T19:57:06+00:00)
Released version 5.1.1 with this update.

Original issue reported on code.google.com by coderazzi on 2013-06-29 19:57:06


feat(producer): can not support async send anymore

What is the purpose of the change
remove deprecated APIs
Brief changelog
remove async send message function.

Codecov Report

Merging #68 into ctypes will increase coverage by 1.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           ctypes      #68      +/-   ##
==========================================
+ Coverage   79.66%   80.99%   +1.33%
==========================================
  Files           4        4
  Lines         595      563      -32
==========================================
- Hits          474      456      -18
+ Misses        121      107      -14

Impacted Files
Coverage Δ

rocketmq/client.py
64.66% <ø> (+0.85%)
:arrow_up:

Continue to review full report at Codecov.

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


Redis output: support Hash object type

May we consider to support Redis hashes data type(https://redis.io/commands#hash)? That's really helpful when we want enrichment/parse data in processor then cache it in Redis.

Hey @drushman, it would be possible. We could create an output type where the id of each entry is interpolated similar to how the files, hdfs and s3 outputs work. How would you imagine the hash type would be constructed? Would you expect to specify the key/value pairs with interpolation, something like this:
redis_hash:
  table:
    foo: ${!json_field:foo.bar}
    baz: ${!json_field:foo.baz}

Or would you expect the JSON structure to automatically be serialised into a hash type? In which case how would you expect nested JSON objects to be stored?

Redis Hash does not support nested structure, we must define simple model or use redis-json data structure.

Took me a while but I got around to it.
Implemented: https://github.com/Jeffail/benthos/commit/0fdf920356446d4325046dca2f237c0eb86e3c8c
I'll probably put a release out tomorrow.

Released: https://github.com/Jeffail/benthos/releases/tag/v2.10.0


Cursor keys not responding as they should on M1 MacBook Pro

Hello! Just got a new MacBook Pro with M1. I've got the latest version of Among Key as of this writing but the cursor behavior doesn't seem to be working for me. Here's a YouTube video of what I'm seeing: https://www.youtube.com/watch?v=P7Mut8YlB5I&feature=youtu.be
In the video I am only controlling the character with the WASD keys.
Thanks for making this! It's rad.

Fixed with #7


Enable retry on websocket

What does this PR do?
Enable retry on websocket
Motivation
Having retry on websocket
More

[x] Added/updated tests

LGTM


Lab 5 Level 1: How to check if string is null

Summary
Description of the question / problem here.
Description:
tried to use .flatMap(Optional::ofNullable) to check if string is null but when i run
jshell> try { Log.of(5, null); }
...> catch (Exception e) { System.out.println(e); }
java.lang.IllegalArgumentException: Invalid arguments
the illegak argument exception does not trigger
Code Snippets
Attach code snippets (if any)
Screenshots
Screenshots (if any)

I flatMap my Optional.ofNullable(value) x -> Optional.ofNullable(String).map(...). If Optional.ofNullable(String) is null then I am flatMapping my value to null which will then trigger orElseThrow

what i did was i return Optional.ofNullable then filter flatMap orElseThrow

You can try to use Optional.ofNullable(t) to check if the value is null, followed by the filter method to filter out any Log instances, then followed by the flatMap, whereby the value will be parsed onto another Optional.ofNullable, but this time with the string inside! The value can then be mapped to return a new Log object if it is not null. Don't forget your orElseThrow too, which is the last operation after the flatMap!
It will look something like this : .flatMap(x -> Optional.ofNullable(log).map(y -> new Log(x,y)))

try to use the ofNullable method found in optional to check the value before proceeding

managed to use @LimZiXiong's idea and managed to get the answer by filtering for the instance of Log before using flatmap


Implement debouncing

I'm still not sure, but might be good to have in v4

Okay, that would be a great improvement.

@harshzalavadiya I can pick this up. If it's okay for you to implement in the current version.

@harshzalavadiya raised PR. Please review #154

Released v3.0.4


chore(workspace): update deps

chore(workspace): update deps

Codecov Report

Merging #22 (8947c3a) into master (595c84b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   97.50%   97.50%
=======================================
  Files           7        7
  Lines         440      440
  Branches       73       73
=======================================
  Hits          429      429
  Misses         11       11

Flag
Coverage Δ

core
100.00% <ø> (ø)

shared
92.76% <ø> (ø)

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

Continue to review full report at Codecov.

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


Do fast ordered deletes work with columnstore indexes?

Followup on my fast ordered deletes post.

Done, will go live this week.


3: added hot module reloading and example fetch

This PR adds hot module reloading for the client. To start the client, run:
cd client/
yarn run start

@Cooryd I suggest using the pattern of having a single webpack.config.js that exports a development and production objects with a webpack.parts.js exporting functions with common functionality. This is the pattern used in survive.js webpack book:
https://survivejs.com/webpack/developing/composing-configuration/


playground.ipynb of OWL-ViT starts having dependency and import error on Google Colab since Nov. 15

I was able to run the playground demo as late as last Friday, although at the time, there was also dependency conflicts as I run first code block to install libraries (as shown below)
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
lida 0.0.10 requires fastapi, which is not installed.
lida 0.0.10 requires kaleido, which is not installed.
lida 0.0.10 requires python-multipart, which is not installed.
lida 0.0.10 requires uvicorn, which is not installed.

Starting as early as this morning, the playground demo script would fail to import owl_vit models at this line
from scenic.projects.owl_vit import models
due to following error
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-2-732db45ee9f0>](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <cell line: 10>()
      8 import numpy as np
      9 from scenic.projects.owl_vit import configs
---> 10 from scenic.projects.owl_vit import models
     11
     12 from scenic.projects.owl_vit.notebooks import inference

14 frames
[/content/scenic/projects/owl_vit/models.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
      9 import jax.numpy as jnp
     10 import ml_collections
---> 11 from scenic.projects.owl_vit import layers
     12 from scenic.projects.owl_vit import matching_base_models
     13 from scenic.projects.owl_vit import utils

[/content/scenic/projects/owl_vit/layers.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     15 import numpy as np
     16 from scenic.model_lib.base_models import box_utils
---> 17 from scenic.projects.owl_vit import utils
     18 from scenic.projects.owl_vit.clip import layers as clip_layers
     19 from scenic.projects.owl_vit.clip import model as clip_model

[/content/scenic/projects/owl_vit/utils.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
      8 import jax.numpy as jnp
      9 import numpy as np
---> 10 from scenic.train_lib import train_utils
     11 import scipy
     12

[/content/scenic/train_lib/train_utils.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     34 import ml_collections
     35 import numpy as np
---> 36 import optax
     37 from scenic.common_lib import debug_utils
     38 from scenic.dataset_lib import dataset_utils

[/usr/local/lib/python3.10/dist-packages/optax/__init__.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     15 """Optax: composable gradient processing and optimization, in JAX."""
     16
---> 17 from optax import contrib
     18 from optax import losses
     19 from optax import monte_carlo

[/usr/local/lib/python3.10/dist-packages/optax/contrib/__init__.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     19 from optax.contrib.complex_valued import split_real_and_imaginary
     20 from optax.contrib.complex_valued import SplitRealAndImaginaryState
---> 21 from optax.contrib.mechanic import MechanicState
     22 from optax.contrib.mechanic import mechanize
     23 from optax.contrib.privacy import differentially_private_aggregate

[/usr/local/lib/python3.10/dist-packages/optax/contrib/mechanic.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     36 import jax.numpy as jnp
     37 from optax._src import base
---> 38 from optax._src import utils
     39
     40

[/usr/local/lib/python3.10/dist-packages/optax/_src/utils.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     20 import jax
     21 import jax.numpy as jnp
---> 22 import jax.scipy.stats.norm as multivariate_normal
     23
     24 from optax._src import linear_algebra

[/usr/local/lib/python3.10/dist-packages/jax/scipy/stats/__init__.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     16 # See PEP 484 & https://github.com/google/jax/issues/7570
     17
---> 18 from jax.scipy.stats import bernoulli as bernoulli
     19 from jax.scipy.stats import beta as beta
     20 from jax.scipy.stats import binom as binom

[/usr/local/lib/python3.10/dist-packages/jax/scipy/stats/bernoulli.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     16 # See PEP 484 & https://github.com/google/jax/issues/7570
     17
---> 18 from jax._src.scipy.stats.bernoulli import (
     19   logpmf as logpmf,
     20   pmf as pmf,

[/usr/local/lib/python3.10/dist-packages/jax/_src/scipy/stats/bernoulli.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     14
     15
---> 16 import scipy.stats as osp_stats
     17
     18 from jax import lax

[/usr/local/lib/python3.10/dist-packages/scipy/stats/__init__.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
    606 from ._warnings_errors import (ConstantInputWarning, NearConstantInputWarning,
    607                                DegenerateDataWarning, FitError)
--> 608 from ._stats_py import *
    609 from ._variation import variation
    610 from .distributions import *

[/usr/local/lib/python3.10/dist-packages/scipy/stats/_stats_py.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     35 from numpy import array, asarray, ma
     36 from numpy.lib import NumpyVersion
---> 37 from numpy.testing import suppress_warnings
     38
     39 from scipy.spatial.distance import cdist

[/usr/local/lib/python3.10/dist-packages/numpy/testing/__init__.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
      9
     10 from . import _private
---> 11 from ._private.utils import *
     12 from ._private.utils import (_assert_valid_refcount, _gen_alignment_data)
     13 from ._private import extbuild

[/usr/local/lib/python3.10/dist-packages/numpy/testing/_private/utils.py](https://x9qogj82r87-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231114-060201_RC00_582258937#) in <module>
     55 IS_PYSTON = hasattr(sys, "pyston_version_info")
     56 HAS_REFCOUNT = getattr(sys, 'getrefcount', None) is not None and not IS_PYSTON
---> 57 HAS_LAPACK64 = numpy.linalg._umath_linalg._ilp64
     58
     59 _OLD_PROMOTION = lambda: np._get_promotion_state() == 'legacy'

AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64'

It appears that the imported numpyhas version 1.23.5 (numpy.__version__ is 1.23.5), although the installed version shown by pip is 1.26.2 (shown by !python -m pip show numpy)
The running instance was T4GPU Python 3 Google Compute Engine backend (GPU)

Found that numpy 1.24.1 works.

@SigmaBM but the OWL_ViT_minimal_example notebook installs bigvision requirements, and in that file there is:
numpy>=1.26
So how do we resolve it?

Maybe you can try reinstalling numpy after installing bigvision.

i restarted the environment without running the first cell and it seemed to work..


add client ID to cluster subtoken payload where relevant

#1288  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jlewitt1 and the rest of your teammates on  Graphite


Fix four-oh-fours on tippy styles

Importing tippy css files from the node modules was implemented in an invalid manner. Resulting in proxied import statements in the parsed application.css file.
This was remedied by following the Sass guidelines for importing external styles.
See links in commit message for further reading
See: https://wiki.surfnet.nl/display/coininfra/Bevindingen+januari+2021

Nice detective work on this one!

Nice detective work on this one!


Hue, Python, and psycopg2

I am failing to understand why the c6/hue-c6.sh goes to all the effort to install compilers, pip, and dummy RPMs when a simpler solution is to deploy a pre-built python-psycopg2 RPM that meets Hue's requirements.
In fact, I am kind of appalled that Cloudera's solution to the overall problem of the OS shipping old versions of pyscopg2 is to install pip and build from source.

This issue was resolved with the release of Cloudera Manager 6.1. See the Director release notes on the subject for details.
https://docs.cloudera.com/documentation/director/latest/topics/director_rn_known_issues.html#DIR-8665


Padmaksham update 7.4.4

Padmaksha has a CLA (and he authored these).
2016-06-29 17:17 GMT+02:00 googlebot<EMAIL_ADDRESS>
We found a Contributor License Agreement for you (the sender of this pull
request) and all commit authors, but as best as we can tell these commits
were authored by someone else. If that's the case, please add them to this
pull request and have them confirm that they're okay with these commits
being contributed to Google. If we're mistaken and you did author these
commits, just reply here to confirm.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/libphonenumber/pull/1183#issuecomment-229389493,
or mute the thread
https://github.com/notifications/unsubscribe/AIjis6vx8a2s9FfjOhXiOr-nSFnw2ZHJks5qQoyngaJpZM4JBK5L
.


write performance decrease in web worker via Chrome

First of all, thanks for such well-documented wrapper for indexedDB.
I'm trying to improve the performance of writing huge amount (~800k) of small objects to indexedDB via dexie. I tried to add parallel writing via web workers, but I observed performance decrease in web worker compared to the main thread. Here is logs from Google Chrome Version 59.0.3071.86 for storing 100k of document like { i: <number> }:
definitions store (main thread) in ms: 2955.4000000000005
definitions store (worker thread) in ms: 21477.850000000006
But I can't reproduce such behavior with Firefox 56.0 (64-bit). Here are logs:
definitions store (main thread) in ms: 4634.715
definitions store (worker thread) in ms: 5633.075
Do you know the reason of such slow downing indexedDB via web workers in Chrome? Are there any other preferable solutions for paralleling storing to indexedDB?
Below is code that I launched. Files main and myWorker should be js and issue should be html.
issue.txt
myWorker.txt
main.txt
Steps to reproduce:

Load and change files extension.
Execute python -m SimpleHTTPServer 8000 in a folder with the downloaded file.
Visit localhost:8000/issue.html

Thanks! Generally, I don't think it's possible to gain any more performance by loading indexedDB from multiple threads, since at the end, the backend store will still have to do the operations one by one.  In your sample though, you are accesing different databases, so the lock shouldn't be an issue, but still, it's the same engine taking care of all requests.
By using Dexie's bulkAdd() and bulkPut() from the main thread, you will not load the browser's thread so much because it will not listen to success events of every single operation. I don't believe it can go any faster from a worker, but I wouldn't expect it to be slower either... Regarding multiple reads (for example if you apply a JS filter to a Collection, or use Collection.each()), you should actually see a great performance benefits of doing that from a worker, because browser thread can be busy with other stuff when IDB triggers each and every event + IDB may disturb the user interface (animations etc). But if you can utilize simple queries that works with IDBObjectStore.getAll() (like db.friends.where("age").between(20,25).toArray()) will not disturb the browser animations and will never be faster from a worker than from the main thread, because IDB will only bother you when it's done reading.
Worker communication is also a heavy task for the browser, so any gain of letting workers to the IDB communication can be eaten up by the time it takes to perform the communication to the worker.
I'm still surprised that IDB would be slower from a worker. In your repro, may you should try db.open().then(...) and measure from there in case the opening / creation of the database could take time. Also make sure to measure the worker while the main thread is silent with indexedDB. Otherwise it could be that the main thread got IDB attention first and worker has to wait because it's too busy while dealing with the main thread's requests.

Thanks for detailed explanation. May you share some links to article with explanation how indexedDB works underhood? Maybe it's my inattention, but I didn't notice such information at MDN

the backend store will still have to do the operations one by one

I opened db and made measurements of bulkAdd operation. Here are logs:
definitions store (main thread) in ms: 1984.6550000000004
definitions store (worker thread) in ms: 20557.810000000005
Updated sources are attached.
myWorker.txt
main.txt
Also, I noticed another interesting behaviour of indexedDB in a worker thread. When I wrote the same 100k object by chunks with 1k length, it works so much faster, than writing 100k objects by one bulkAdd operation.
Here are logs for a recursive function of writing 100k array by chunks in main and worker threads:
definitions store (main thread) in ms: 2437.5600000000004
definitions store (worker thread) in ms: 3962.675
I'll appreciate any information (articles, documentations, etc) that may explain such behaviour.
Sources are attached.
myWorker.txt
main.txt


giving errors when downloading algorithms specialization

dl_coursera --cookies Desktop/cookies.txt --slug algorithms --isSpec --outdir alg --how builtin
Other specialization downloaded successfully but above is giving errors

When Coursera API is called intensively, errors might show up. So try using only one worker:
$ dl_coursera --cookies Desktop/cookies.txt --slug algorithms --isSpec --outdir alg --how builtin --n-worker 1

Thanks it worked.

Thanks it worked.


Unify group for deploy commands

At this point this is out of date. Closing in favor of https://github.com/Microsoft/vscode-azurefunctions/pull/824


Upgrade Pi4 heat management and case

Description and how to

https://www.youtube.com/watch?v=WMIniPIvYjM

Tasks

[x] Flash firmware sudo apt full-upgrade should do the trick
[x] Buy heat sinks
[x] Buy case and fan

Completed on Sunday, August 18th. Just in time for dinner and Alien: Romulus.


Remove underscore from search mode parameter name

The text refers to the parameter as searchmode but the metadata.json example uses search_mode. The latter doesn't actually seem to work.

Good catch, thanks!


Document indigo IAM integration

Short Description of the issue
With screenshot of the preparation of the client.
Edit here: https://github.com/interTwin-eu/interLink/blob/main/docs/docs/tutorial-admins/04-oidc-IAM.md

Environment

Operating System:
Other related components versions:

Steps to reproduce

Logs, stacktrace, or other symptoms

output

Summary of proposed changes

Done on latest release


Add Mermaid support

Mermaid is a well-known extension to any Markdown-like editors:
https://mermaid-js.github.io/mermaid/#/
It allows to create various diagrams: class, gantt, state, entity relationship...
It is purely text-based so no additional elements in editor is required. Rendering is made with dedicated JS+CSS.

Sorry, we do not accept customization requests. All extensions are expected to be done by volunteers via plugins.

Hi @cadavre
You can try

    flowchart TD
    A[Start] --> B{Is it?}
    B -->|Yes| C[OK]
    C --> D[Rethink]
    D --> B
    B ---->|No| E[End]

see example and output


Error number in VS and command line should match

while working on other code I found this a bit weird

Ready for merge


How can I read the XYZ euler angles from a q3Mat3?

I am having a bit of trouble extracting the XYZ euler angles from a 3x3 rotation matrix. I have this code that updates the position based on the transform given from the GetTransform() function.
const q3Transform& tr = body->GetTransform();
m_transform.SetPosition(tr.position)

I want to be able to set a rotation aswell, but I am not sure how to extract euler angles from the rotation matrix in the transform variable.
How would I go about getting euler angles from a rotation q3Mat3?

Hi there, this is a math question unrelated to qu3e, but we can find some solutions with a google search on converting a rotation matrix to euler angles: http://www.close-range.com/docs/Computing_Euler_angles_from_a_rotation_matrix.pdf
There are multiple different sets of euler angles for a single rotation matrix. Typically in 3D games euler angles aren't used by the lower level parts of the engine due to inconvenience in doing so. Sometimes artists or similar like to input euler angles through a user interface, but generally those angles are converted to a rotation matrix for the runtime.
So there's no built-in function in qu3e to do this. But you can write the code to do this yourself, if you like :)


Fixed typo

Replaced pools with polls. Seems more reasonable to me.

Great - thanks for spotting!


Possible markdownlint improvements

Details
Markdownlint has big potential for us, but the rules are not refined enough yet.
Some possible things to catch in addition to what is happening now. (there is a separate ticket to fix already existing rules for our usecase):

double spaces
spaces at the end of a line
space before a  . at the end of sentences
double .

Can it be made to catch ".." at the end of a sentence without barfing about "..." as shorthand for "more"?  That would be wonderful


Login validations and navigation

Summary
Validations for login were added and if you click "Login" or "Sign Up" Buttons you'll be redirected to "Home page" or "Register page" respectively.
Login credentials are being saved with shared preferences.
"Terms and Conditions" redirects to wolox web page.
Screenshot
Login Layout updated

Validations

Validate email when field lost focus

Validate email when login

Restart the app, credentials saved.

Login Button Pressed - Home Page

Sign Up Button Pressed -

Tems and Conditions Pressed

Trello Card
https://trello.com/c/ilQlLgcV/17-u1-frontend-login-validaciones
https://trello.com/c/fIUDNYZa/18-u1-frontend-login-navegación

A new push has been created @lmiotti

@lmiotti nullability in methods was added


Fix issue 5728: Emulated Hue UPnP crashes on special characters.

Description:
Me and others have reported issues where Alexa (and Google home) were note able to connect to the Emulated Hue bridge as it's UPnP thread crashed by UPnP traffic coming from another device using a non-utf-8 character before Alexa has a chance to complete discovery. The proposed fix from the thread improves the components stability and allowed Alexa to discover my devices.
Related issue (if applicable): fixes #5728>
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @SqyD,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


7 some svg files do not have xml declaration   fix image file format detection in svm read writer

This now works cleanly on every svg file I can find.
Some sloppy heuristics but they seem to work well.

@pavel-krivanek @akevalion @tesonep Could one of you take a look and merge this please?  Fixes some problems I found with my previous PR.  Thanks.

Any chance I can get this merged so I can go back to the official distro?


Jesse: Watch wordpress.org/plugins/media-library-tools/

Jesse requests the watch of the watch_keyword wordpress\.org\/plugins\/media-library-tools\/. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

I just realized this pattern doesn't match anything because of the slash at the end. That will probably need to be removed before being added to the watchlist.

Rejected by Jeff Schaller in Charcoal HQ. Reason: 'as noted, the trailing slash should be omitted; will re-submit without the trailing slash'


updates wording for member data to types of data. adds non readonly f…

…ields to reviewable filter. removes dataset owners from entity header

Coverage remained the same at 27.608% when pulling bda8f23c0937f04862e6df46808f1f23a15a572d on theseyi:meta-addendum into acb5b19bccfefb51eecfc27df7a8cf43ab4c668d on linkedin:master.

Codecov Report

Merging #1006 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1006      +/-   ##
==========================================
+ Coverage   29.02%   29.03%   +0.01%
==========================================
  Files         173      173
  Lines        4586     4587       +1
  Branches     1201     1202       +1
==========================================
+ Hits         1331     1332       +1
  Misses       3255     3255

Impacted Files
Coverage Δ

wherehows-web/app/components/dataset-compliance.ts
22.29% <ø> (ø)
:arrow_up:

...rehows-web/app/utils/datasets/compliance-policy.js
28.84% <100%> (+1.39%)
:arrow_up:

Continue to review full report at Codecov.

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


Binary release for Linux AMD64

Hello,
Could you please provide a binary release for Linux AMD64 architecture?
Thanks a lot,
Regards

Prometheus pve exporter is written in pure python and released as a wheel on pypi.
Please see the readme file for installation instructions.


Get Params Without Parsing Url

Hi.
I'm writing an application where we need to access common queryParams for every page. Right now, the package don't allow to parse separately url and queryParams. I'm forced to use a hack:
type Route
  = Films
  | Film Int
  | Vehicles
  | Vehicle Int
  | Settings
  | NotFound

type alias RouteParams =
  { route : Route
  , params : Params
  }

parseRoute : Parser (Route -> a) a
parseRoute =
  UrlParser.oneOf
    [ map Films top
    , map Film (s "films" </> int)
    , map Films (s "films")
    , map Vehicle (s "vehicles" </> int)
    , map Vehicles (s "vehicles")
    , map Settings (s "settings")
    ]

parseParams : Parser (Params -> a) a
parseParams =
  map Params <|
    top
      <?> UrlParser.intParam "page"
      <?> UrlParser.stringParam "color"

parseRouteParams : Parser (RouteParams -> a) a
parseRouteParams =
  map RouteParams <|
    parseRoute </> parseParams

parseLocation : Location -> RouteParams
parseLocation location =
  case (UrlParser.parsePath parseRouteParams location) of
    Just route ->
      route
    Nothing ->
      { route = NotFound
      , params = Params Nothing Nothing
      }

It works perfectly well, but not with NotFound page. If I'm typing address.com/foo?page=3, I can't get the queryParams. (And it's perfectly logic, as the path /foo does not exists, and top can not match it.)
Is there a way to get it working anyway?
Edit: After a quick search, I could use RouteParser.QueryString, but tbh, I find that the opinion of UrlParser generating a record much better than a Dict.

I do not see why you think this is a hack. To me it just looks like composing parsers. If you write it this way, I'm not sure how much clearer it could get with a different design:
type alias RouteParams = { route : Route, params : Params }
type alias Params = { page : Maybe Int, color : Maybe String }

parser : Parser (RouteParams -> a) a
parser =
  let
    route =
      oneOf
        [ map Films top
        , map Film (s "films" </> int)
        , map Films (s "films")
        , map Vehicle (s "vehicles" </> int)
        , map Vehicles (s "vehicles")
        , map Settings (s "settings")
        ]

    params =
      map Params <|
        top
          <?> UrlParser.intParam "page"
          <?> UrlParser.stringParam "color"
  in
    map RouteParams (route </> params)

So I don't really see an alternate design that will do what you want. If you have a specific idea, please share it in another issue.

Ah, I guess the root question is actually about how to get info even on a NotFound address.
This is tracked in #40.


Add multiarch for fbc 4.17 pipelineRun

/retest

Draft CRC / Deploy Integration tests expected to fail


Fix: Fix UI category display mismatch for approved transfers - 2752

This pull request addresses a bug where a few approved credit transfer transactions were displaying an incorrect category in the user interface.
Please review the method used to choose the category to ensure it's correct and meets our needs.
Closes #2752

The unit tests will need to be updated for this section. just run npm run test and you will see the issues.

Thank you, Alex, for reviewing my code. I have made the requested changes. Please see the screenshot below.


Add documentation for releasing GOV.UK Frontend from a support branch

Closes https://github.com/alphagov/govuk-frontend/issues/1958
Documentation for releasing a patch fix (e.g: urgent or security fix) when there are unreleased changes on main that can't go out yet. This process was trialled for the 3.14.0 release in an artificial scenario (in reality, we'd likely only follow this process for patch fixes)

@EoinShaughnessy Does this need to go through pre-i/2i?

@vanitabarrett Yeah, this should probably go through pre-i and 2i. Even if we're the ones using it, it might yet reach eyes outside of the team (like if we ever surface it in the Tech Docs Template). If that sounds ok, I'll ask for pre-i/2i.

Sounds good to me, thanks @EoinShaughnessy !

Have sent content for pre-i.

@jonathanglassman Thanks for the brilliant review! Think we've actioned your feedback now. Ok if I send this content for 2i? :)

@jonathanglassman Thanks for the brilliant review! Think we've actioned your feedback now. Ok if I send this content for 2i? :)

Thanks @EoinShaughnessy - I think it's ready for 2i, once the last comments have been actioned.

@vanitabarrett Doc has passed pre-i - thanks @jonathanglassman! - so I've now sent it for 2i.

@vanitabarrett Doc has passed 2i. Before we merge this - should the doc title match the filename? Currently, the doc title (i.e., displayed at the top of the doc) is 'Publish GOV.UK Frontend when main branch has unreleasable changes', and the filename is 'publishing-from-a-support-branch.md'.

Thanks @EoinShaughnessy ! Yeah I wasn't too sure on the best filename for this to be honest. Trying to make "Publish GOV.UK Frontend when main branch has unreleasable changes" into a filename seemed a bit difficult 😅

@vanitabarrett Ha, yeah tricky alright! Have changed doc title to match filename. Hope that's ok. Did this because:

those 2 things should match ideally
it means a less verbose title
it mirrors the approach of other doc titles ('Publishing', 'Testing and linting') in the same folder
the first line of the doc basically reiterated the previous title - "This document is for GOV.UK Design System developers who need to publish a support branch of GOV.UK Frontend when the main branch contains unreleasable changes."

Thanks @EoinShaughnessy , seems sensible. Do you think we still need that second heading 'publish GOV.UK Frontend from a support branch' in that case?

@vanitabarrett You're right, that heading can go. I've deleted it and made the headings after it into either H2s (if they were H3s before) or H3s (if they were H4s before).


Add option to HTTP::StaticFileHandler initializer to disable directory listing

This PR follows the discussion on #4398.
Reason:
At this time, using HTTP::StaticFileHandler one can configure which directory to serve static files from by passing its path to the constructor:
HTTP::StaticFileHandler.new("public/")

This will serve files from public/ in the root path / and currently there is no way to change it. Additionally, it will display by default a directory list if a path to a directory is given.
In some cases, such as web frameworks, it's preferable not to let the user list files under a public directory for reasons like security.
In this sense, this PR adds an option to HTTP::StaticFileHandler that enables the user to turn off directory listing, preserving the default behaviour.
Code Changes:

Removed duplicate Dir.exists? call, resulting in one less system call.
Added an optional argument to HTTP::StaticFileHandler. The name of the argument is list_dirs and defaults to true, as it was before. This is the best name I could came up with, but it can be changed.
Added a spec to ensure this option prevents directory listing.

The default behaviour remains the same.

As this feature is commonly referred to as directory listing, I would suggest to name the flag argument directory_listing  for convenience.

I wonder if there shouldn't be two handlers: one for listing and navigating directory indexes, and another for serving static files.

@straight-shoota that was my first thought. I ended up renaming it to list_dirs because it implies an action, and it's shorter. directory_listing is more like disabling a feature, which does makes sense as well. I'm not keen on any of them and would happily change it, so perhaps we should wait for someone else to comment on this?

@ysbaddaden the first time I saw mentioned the static file handler, I imagined it just as it is, an handler that serves static files and directories. What I mean is that, for me, it's implicit that an handler that handles static files, also handles directories. This is good user experience.
If the handlers are to be split, I foresee a lot of the same logic in both places (knowing that one can extract the shared bit, of course). Another downside is perhaps the fact that it would be a breaking change of the current API.

I don't think splitting this into two handlers would be a good idea. As @joaodiogocosta mentioned, most of the logic is the same. There are only a few specific parts for the directory listing apart from the ECR template.
If someone wants to implement their own listing class, they can just disable the directory listing and add their own handler.

Well, serving assets is checking whether the file exists and serve it. Indexing directories is checking whether a directory exists and list its contents. I don't see much overlap, except for expanding request.path from the public path.

I thought of proposing to split them, but it's hard to imagine that someone will want directory listing without static file. Splitting them will mean to configure two handlers in the same way. Although currently is just the directory to serve, if we add in the future the path to where be mounted it will be more setting to duplicate if the handlers are split.
I like the directory_listing suggestion of @straight-shoota .

@bcardiff agree. As a user, like me, it just seems strange to have to set up separate handlers for this.
directory_listing it is!

LGTM too. @bcardiff, anything else left before merging?

Great 👍

Thanks @joaodiogocosta ! Happy first contribution :-)

Yey! Looking forward to use this in soil 👍


Audit and update google/golang/org/grpc instrumentation to comply with RPC semantic conventions

https://github.com/open-telemetry/opentelemetry-specification/blob/84a5fa3d1ef42caae8f99f1b431504d7cdb9fffe/specification/trace/semantic_conventions/rpc.md

Latest RPC conventions: https://github.com/open-telemetry/semantic-conventions/blob/02ecf0c71e9fa74d09d81c48e04a132db2b7060b/docs/rpc/rpc-spans.md and specifically the gRPC conventions (which extend and override RPC): https://github.com/open-telemetry/semantic-conventions/blob/02ecf0c71e9fa74d09d81c48e04a132db2b7060b/docs/rpc/grpc.md

Common remote procedure call conventions

For outgoing requests, the SpanKind MUST be set to CLIENT and for incoming requests to SERVER.

Correct - client
Correct - server

Remote procedure calls can only be represented with these semantic conventions, when the names of the called service and method are known and available.

Span name
The span name MUST be the full RPC method name formatted as:
$package.$service/$method

(where $service MUST NOT contain dots and $method MUST NOT contain slashes)

We don’t seem to currently fit this in our example, see the gRPC test spans, which for example set name to /helloworld.Greeter/SayHello which has a leading /. However, this is coming directly from the upstream example code which sets the full method name to that exact string.
We are grabbing this value directly from the grpc.Invoke() arguments (client, server) so it’s possible that this is just one case where /helloworld is $service as set by the go gRPC library’s generated code.

If there is no package name or if it is unknown, the $package. part (including the period) is omitted.

Service name

On the server process receiving and handling the remote procedure call, the service name provided in rpc.service does not necessarily have to match the [service.name][] resource attribute.
One process can expose multiple RPC endpoints and thus have multiple RPC service names. From a deployment perspective, as expressed by the service.* resource attributes, it will be treated as one deployed service with one service.name.
Likewise, on clients sending RPC requests to a server, the service name provided in rpc.service does not have to match the [peer.service][] span attribute.

As an example, given a process deployed as QuoteService, this would be the name that goes into the service.name resource attribute which applies to the entire process.
This process could expose two RPC endpoints, one called CurrencyQuotes (= rpc.service) with a method called getMeanRate (= rpc.method) and the other endpoint called StockQuotes  (= rpc.service) with two methods getCurrentBid and getLastClose (= rpc.method).
In this example, spans representing client request should have their peer.service attribute set to QuoteService as well to match the server's service.name resource attribute.
Generally, a user SHOULD NOT set peer.service to a fully qualified RPC service name.

Client attributes

The following attributes are required:

rpc.system (set)
server.address (set)
server.port (conditionally, “if the port is supported by the network transport used for communication”) (not set)

rpc.system has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

Only one that applies to us is grpc, which we set in both server and client

Server attributes

The following are required:

rpc.system (set)
server.address (not set)
server.port (conditionally, “if the port is supported by the network transport used for communication”) (not set)

gRPC specific conventions
See https://github.com/open-telemetry/semantic-conventions/blob/02ecf0c71e9fa74d09d81c48e04a132db2b7060b/docs/rpc/grpc.md
The following attributes are required on both server and client:

rpc.grpc.status_code (not set)

Updates needed

[ ] Confirm service.name is inherited from the Go gRPC library, which in theory should be compliant with the standard by default
[ ] Set server.port in client
[ ] Set server.address in server
[ ] Set server.port in server
[ ] Set rpc.grpc.status_code in client and server

For rcp.grpc.status_code, I think if we update our return probe instrumentation for Invoke to read the returned error object, that should get us what we need. gRPC seems to return these as a Status struct with another embedded `*spb.Status struct inside it. From there, the code is just an int which we can map to an actual code in Go. So we should just be able to generate the appropriate offsets and read the int value from those.
@RonFed do we have any way to read the return values for an instrumented function?

@damemi The returned error is an interface. Assuming we know the concrete type of the error returned, we can add that type and its relevant fields to offsetgen and read them in the return probe. If the concrete type is not always the same it will be more challenging since we'll have to understand what struct is being returned in the error.

@RonFed yeah, that's what I'm saying is that gRPC should always return the error's concrete type as a Status struct. Because I think it's expected that you can use the gRPC status package to parse this response code, I'm pretty sure that's a safe assumption.
Do we have any examples of reading return values? I know we read the method arguments

@damemi Yes,
Here we are reading the returned pointer from a register:
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/68865cc10e60bfeeed351827a596c34a993093d4/internal/pkg/instrumentation/bpf/go.opentelemetry.io/otel/traceglobal/bpf/probe.bpf.c#L388-L389
Here we are reading the returned value of the stack:
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/68865cc10e60bfeeed351827a596c34a993093d4/internal/pkg/instrumentation/bpf/github.com/segmentio/kafka-go/consumer/bpf/probe.bpf.c#L166-L167
In the error case it will be returned as a pointer in a register, we can read the pointer and then the fields.

Awesome, thanks! I'll try to follow that and implement it for grpc


Is the readme correct?

https://docs.google.com/presentation/d/1214p4CFjsF-NY4z9in0GEcJtjbyVQgU0A-UqEvovzCs/edit#slide=id.g192721b519_1_40
this suggests V8 doesn't only look for (, but only for (function(){})() (see slide 24)

That looks like V8 already had finished some optimizations too.
Same as this issue, I double checked latest implementation of V8, below pattern will be treated as "likely to be called" and should do eagerly parsing:
!function (){}()
Below the related commit:
Treat a '!' preceding a function literal as eager-compile hint.


fix: 🐛 Enhanced README with contributors section

✅ Closes: #5
This PR includes changes that involves integrating a dynamic URL to showcase stargazers & forkers in the project.

Stargazers

Forkers

It also includes an action workflow that fetches the contributors profiles and display in the contributors section in the Footer area.

Documentation Improvements:

README.md: Reformatted the project title and introduction for better readability and added a table to display project statistics.
README.md: Enhanced the "How it works" section with bold headings and better formatting for parameters and example URLs.
README.md: Added a new "Contributors" section to acknowledge contributors and included dynamic badges for stargazers and forkers.

Automation:

.github/workflows/add-contributors.yml: Added a GitHub Actions workflow to automatically update the contributors list in the README file.

Gityzer-5.webm

@vansh-codes Can you review this PR and add labels to it gssoc-ext, hacktoberfest, hacktoberfest-accepted.

Please update the contributors dynamic update to be in a new file named CONTRIBUTORS.md and not in README.md
I told this in your issue also
Create a new file and all the contributors should be listed there along with their usernames
Do this update

@vansh-codes no worries, I will update them the files and commit changes as per your requests

@vansh-codes will this email work<EMAIL_ADDRESS>it is your github registered email right

Update the commit details:-

@yashksaini-coder
Contributors are not updating in CONTRIBUTORS.md

The default branch is master in this repo, is this the reason its not working?

See this @yashksaini-coder

I had to make it run manually then it worked!

@vansh-codes  if it fine please add relevant level label

@vansh-codes if it fine please add relevant level label

thx @Hemu21 i forgot about this PR level


add exceptional handling in X509_STORE_CTX_init

Please read #375  for reference.Thanks.

done in master; thanks!
can 375 be closed now?


📃: RANDOM QUOTE GENERATOR - NEW PROJECT

🔴 Title :RANDOM QUOTE GENERATOR - NEW PROJECT
🔴 Tech stack : HTML, CSS, JS
🔴 Objective : ADDING A NEW PROJECT RANDOM QUOTE GENERATOR
🔴 Summary :
📸 Screenshots

✅ Details to Include When Taking the Issue:
Name : SHRIYA DINDI
Participant Role: GSSOC, Hacktoberfest

Happy Contributing! 🚀
Wishing you all the best on your open source journey. Enjoy! 😎

The project already exist, Do not be demotivated and raise a new issue.


Add a space to search bar in Extensions page when choosing a dropdown option

On the Extensions sidebar, when we choose an option from the dropdown, like "Show installed extensions", and then @installed replaces the search box, please also add a space at the end of that, so we don't have to add a space ourselves if we want to add to the search.
Just a small quality-of-life change, I think, that would be nice.

Thanks for reporting this @garyking


feat: add intialize and finalize for AstAnalyser.analyze API

Fixes #268
Signed-off-by: Tony Gorez<EMAIL_ADDRESS>

All tests should failed, I'd like to confirm that we are okay with the API first.

Note: we need the same for analyseFile (it use analyse but interfaces/options should be the same)

Hey @fraxken could you PTAL?

Note: we need the same for analyseFile (it use analyse but interfaces/options should be the same)

Lets do it into a subsequent PR, if you don't mind.


support for parameter nodes

** Do not merge yet

To inform everyone, this change introduces something that we did not allow before. Now the graphs can have multiple root nodes, one computational entry as before, but additional nodes that can exist without any input into them. Please ping if this breaks anything.


Meta data optional

Please, consider making save metadata to image (legacy and new) and history optional.
maybe arguments would be nice:
--metadata
--history
While history is quite easy to turn off in the code base, the metadata flow logic is way too invasive be turn off elegantly. While these are a nice features, they should be optional.

adding to pngwriter.py:
# saves image named _image_ to outdir/name
# returns full path of output
def save_image(self, image, name):
    path = os.path.join(self.outdir, name)
    image.save(path, 'PNG')
    return path

invoke.py at write image + grid
if opt.metadata:
save_image_and_prompt_to_png
else:
save_image
something around those lines would do the trick!

Sure, I could turn metadata saving off. Any particular reason you need this?

Hi lstein, thank you for considering the proposal. As it's stands, the metadata is only relevant to InvokeAI because it does not follow any standard regarding read/write accessibility. Which outside InvokeAI (or custom tools) has no utilities and may leaves unwanted footprints for some users.

The metadata is used for some core features of the web UI - that is, recalling generation parameters. But I agree that an option to store nothing except the image itself would be nice.


Could I get a pre-trained model?

Hello Sir,
I want to use pre-trained model because I need inference for Other datasets. not CT images. (just some .png images)
So I want to ask you pre-trained SACNN model.pkl .
please contact me<EMAIL_ADDRESS>.
thank you.

Sorry, the relevant files have been lost due to work reasons.


fix(Codebytes): use width 100 for iframe

Overview

Small change to make the width 100% for the iframe version so it takes up the full width and length of the page. Prior to this, we were getting a fixed width.
PR Checklist

[x] I have run this code to verify it works

📬Published Alpha Packages:@codecademy/codebytes@0.6.3-alpha.e74dd5.0


RUMM-727 Provide docs for SDK performance metrics

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #393 into master will increase coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #393      +/-   ##
============================================
+ Coverage     91.19%   91.25%   +0.05%
- Complexity     1168     1169       +1
============================================
  Files           138      138
  Lines          3918     3918
  Branches        454      454
============================================
+ Hits           3573     3575       +2
  Misses          205      205
+ Partials        140      138       -2

Impacted Files
Coverage Δ
Complexity Δ

...g/android/rum/internal/domain/scope/RumEventExt.kt
85.88% <0.00%> (-2.35%)
0.00% <0.00%> (ø%)

...droid/rum/tracking/ActivityViewTrackingStrategy.kt
83.33% <0.00%> (ø)
10.00% <0.00%> (ø%)

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
81.05% <0.00%> (ø)
28.00% <0.00%> (ø%)

...oid/src/main/kotlin/com/datadog/android/Datadog.kt
92.39% <0.00%> (+1.09%)
26.00% <0.00%> (+1.00%)

.../kotlin/com/datadog/android/rum/RumResourceKind.kt
95.45% <0.00%> (+13.64%)
2.00% <0.00%> (ø%)

Codecov Report

Merging #393 into master will decrease coverage by 0.10%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #393      +/-   ##
============================================
- Coverage     91.11%   91.01%   -0.10%
+ Complexity     1168     1167       -1
============================================
  Files           138      138
  Lines          3938     3938
  Branches        461      461
============================================
- Hits           3588     3584       -4
- Misses          202      207       +5
+ Partials        148      147       -1

Impacted Files
Coverage Δ
Complexity Δ

...internal/tracking/JetpackViewAttributesProvider.kt
73.68% <0.00%> (-15.79%)
8.00% <0.00%> (-1.00%)

...tadog/android/tracing/internal/data/TraceWriter.kt
83.87% <0.00%> (-9.68%)
9.00% <0.00%> (-2.00%)

...oid/rum/tracking/NavigationViewTrackingStrategy.kt
86.27% <0.00%> (-1.96%)
14.00% <0.00%> (-1.00%)

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
81.05% <0.00%> (-1.05%)
28.00% <0.00%> (-1.00%)

...ernal/instrumentation/gestures/GesturesListener.kt
92.17% <0.00%> (-0.87%)
44.00% <0.00%> (ø%)

...droid/rum/tracking/ActivityViewTrackingStrategy.kt
83.33% <0.00%> (ø)
10.00% <0.00%> (ø%)

...roid/rum/internal/domain/scope/RumResourceScope.kt
96.80% <0.00%> (+0.80%)
39.00% <0.00%> (+1.00%)

...oid/src/main/kotlin/com/datadog/android/Datadog.kt
92.39% <0.00%> (+2.17%)
26.00% <0.00%> (+2.00%)

...nternal/tracking/OreoFragmentLifecycleCallbacks.kt
94.74% <0.00%> (+5.26%)
15.00% <0.00%> (+1.00%)


Add an API to access the language and pretty name of a dataset

It would be super nice to have an API to get some metadata of the dataset from the name and args passed to load_dataset. This way we could programmatically infer the language and the name of a dataset when creating model cards automatically in the Transformers examples scripts.

maybe use the hub-backed dataset_info method? (so there's only one parser of README.md metadata)?

What dataset_info method are you talking about @julien-c ? In huggingface_hub I can only see model_info.

hmm the equivalent method in datasets (which could go into huggingface_hub at some point)

Indeed, this info can now be fetched with huggingface_hub.dataset_info, so I think we can close this issue.


Added timer component for time sensitive promotions.

I've made a timer component.
it's easy to use.
<CountDownTimer date="Mon, 12 Jan 2022 08:43:00 GMT" />
I saw that previous time-sensitive promotions had an end date set in GMT so I made sure that format works with this timer component. you can drop it in anywhere you need a countdown.
I wasn't sure if it would be better to have it disappear when time is up or display a temporary message. I went with a temporary message but If there are any changes you'd like me to make just let me know.

Thanks a lot. @mosonyi may I ask you to have look and test this?

@anizeani please review this. thanks.

I approve:

the countdown timer works, just needs to be adapted to the ui.
I would suggest to hardcode the enddate, which can be calculated from the final block, or just directly passed as hardcoded string to the props of the countdown component.
Is this date correct: 'Mon, 14 Feb 2022 04:20:00 GMT' ? (I'm not sure if GMT is correct!

I picked GMT as the input because I'd seen that format used on the site before, but it works with UTC as well. It can parse a string containing a numeric UTC offset from any time zone.
I can look into getting the end date from an API call as I learn more about the substrate front-end template. sounds like a fun learning exercise.
If there are any changes you want me to make, just let me know.

Great thanks. From what I understood, you can get from the query i mentioned above the end block. Knowing the estimated block time (i think its 6 min) you can estimate the end time. But I'm not sure if there is a more accurate way to know the end time. Maybe ask @brenzi, he probably knows better


Support resizeable swap

Problem description / Motivation
For neondatabase/neon#7239, we'd like to resize swap when compute_ctl receives the compute spec. We'd still like to keep swap on a separate disk, like the current implementation.
The current neonvm swap implementation mounts an entire disk as swap (see #801 for more). This cannot easily be resized by the guest.
Feature idea(s) / DoD
Swap enabled with .spec.guest.settings.swap can be resized from within the VM.
Implementation ideas
To decrease the size of swap from within the VM, we have a few options:

Use a swapfile
Mount the swap as a resizeable partition (and then to resize, we swapoff, shrink the partition, mkswap, and swapon)
Mount individual disks for swap "chunks" so they can be individually turned off or on

Swapfiles apparently have a performance overhead compared to a "raw" swap disk. We could go with the "chunks" method, especially if we wanted to control swap amounts at runtime — but this is quite complex, and AFAIK we don't really need this (at least, not right now).

With the partition approach, there's separate issues around initialization — basically: how do we mkswap the partition inside the file? I think this is possible by getting the partition offset within the file and dd'ing a separate mkswap'd file into place, but tbh I'm not entirely sure. It may also be possible with GNU mkswap (which supports the -o/--offset flag), but there doesn't appear to be an easy way to get GNU mkswap into alpine, which is neonvm-runner's base image.
We could also initialize from within the VM as well.

Carrying discussion from #887 over here.
@Omrigan

Are you sure we can't just use the swapfile residing on a main disk? This would drop the need for this patch (and, actually, #801) and the entire thing would be replaced by a fallocate and mkswap in compute_ctl. Right?

A few things:

Swapfiles may have different performance characteristics, so I viewed a swap partition as something that's more likely to be stable. As far as I could find, the most concrete thing is that swapon will take longer to build a map from logical location to physical location, but I would also imagine that because swapfiles are not guaranteed to be contiguous, it may be slower due to cache issues (because we tell QEMU to use a 2MiB cluster size). Either way, it's enough different from a swap disk that we'd have to test it more.
In general, swpafiles are not supposed to be sparse. If we did fallocate and mkswap by compute_ctl, we'd be asking it to write many GiBs of data, whereas a swap disk can be sparse on the host. (Maybe there's ways around this, I'm not sure)
We still need some program that compute_ctl is allowed to run as root (or maybe the program has the setuid bit, or something). IMO it's cleaner if we (autoscaling / neonvm) provide that, rather than that being added into the compute image in neondatabase/neon.


Bug report: The versions to main repo migration told me that a cask was moved to Homebrew

Description of issue
pycharm-ce was moved from caskroom/versions to this repo, it seems. However, brew update told me that it was moved to Homebrew - I got confused for a while, because they don't accept GUI apps!
After this happened, it appears Cask automatically attempted to reinstall it, but then failed because it was already installed. Was that meant to happen?
Output of `brew update`
<list of new, updated and renamed formulae, standard brew update output>
==> pycharm-ce has been moved to Homebrew.
To uninstall the cask run:
  brew cask uninstall --force pycharm-ce
==> Installing pycharm-ce...
==> brew cask install caskroom/cask/pycharm-ce
Warning: A Cask for pycharm-ce is already installed.

To re-install pycharm-ce, run:
  brew cask reinstall pycharm-ce

Output of `brew doctor`
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /Applications/Wine Devel.app/Contents/Resources/wine/bin/xml2-config
  /Applications/Wine Devel.app/Contents/Resources/wine/bin/xslt-config

Warning: Your Xcode (8.1) is outdated.
Please update to Xcode 8.2 (or delete it).
Xcode can be updated from the App Store.

Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
  brew install gdbm sqlite

Run `brew missing` for more details.

Output of `brew cask doctor`
==> macOS Release:
10.12.3
==> Hardware Architecture:
intel-64
==> Ruby Version:
2.0.0-p648
==> Ruby Path:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
==> Homebrew Version:
Homebrew 1.1.9-2-gb6f3399
Homebrew/homebrew-core (git revision f331d77; last commit 2017-02-02)
==> Homebrew Executable Path:
/usr/local/bin/brew
==> Homebrew Cellar Path:
/usr/local/Cellar
==> Homebrew Repository Path:
/usr/local/Homebrew
==> Homebrew Origin:
https://github.com/Homebrew/brew
==> Homebrew-Cask Version:
Homebrew-Cask 1.1.9-2-gb6f3399
caskroom/homebrew-cask (git revision 0e701; last commit 2017-02-03)
==> Homebrew-Cask Install Location:
<NONE>
==> Homebrew-Cask Staging Location:
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads:
~/Library/Caches/Homebrew/Cask
0 files, 0B
==> Homebrew-Cask Default Tap Path:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask
==> Homebrew-Cask Alternate Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions
==> Homebrew-Cask Default Tap Cask Count:
3530
==> Contents of $LOAD_PATH:
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Gems/2.0.0/gems/json-2.0.2/lib
/Library/Ruby/Gems/2.0.0/extensions/universal-darwin-16/2.0.0/json-2.0.2
/Library/Ruby/Gems/2.0.0/gems/psych-2.1.1/lib
/Library/Ruby/Gems/2.0.0/extensions/universal-darwin-16/2.0.0/psych-2.1.1
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Contents of $RUBYLIB Environment Variable:
<NONE>
==> Contents of $RUBYOPT Environment Variable:
<NONE>
==> Contents of $RUBYPATH Environment Variable:
<NONE>
==> Contents of $RBENV_VERSION Environment Variable:
<NONE>
==> Contents of $CHRUBY_VERSION Environment Variable:
<NONE>
==> Contents of $GEM_HOME Environment Variable:
<NONE>
==> Contents of $GEM_PATH Environment Variable:
<NONE>
==> Contents of $BUNDLE_PATH Environment Variable:
<NONE>
==> Contents of $PATH Environment Variable:
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/Wine Devel.app/Contents/Resources/start/bin:/Applications/Wine Devel.app/Contents/Resources/wine/bin:/usr/local/Homebrew/Library/Taps/buo/homebrew-cask-upgrade/cmd:/usr/local/Homebrew/Library/Homebrew/cask/cmd:/usr/local/Homebrew/Library/Homebrew/shims/scm"
==> Contents of $SHELL Environment Variable:
SHELL="/bin/bash"
==> Contents of Locale Environment Variables:
LANG="en_AU.UTF-8"

Thanks for the report @Numbermaniac, this definitely seems like a bug.

It’s second report of this I’ve seen.
Seems like our interpretation of the tap_migrations JSON needs a little tweaking. Pinging @reitermarkus.

From https://github.com/caskroom/homebrew-drivers/pull/57#issuecomment-304353806

I ran brew update and got this…

==> sonos has been moved to Homebrew.
To uninstall the cask run:
  brew cask uninstall --force sonos
==> Installing sonos...
Error: No available formula with the name "caskroom/drivers/sonos"
==> Searching for a previously deleted formula...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.


P.STRING index not coercible with pandera[modin-ray]

Describe the bug
A clear and concise description of what the bug is.
P.STRING fails validation / coercion when using pandera[modin-ray].

[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of pandera.
[x] (optional) I have confirmed this bug exists on the master branch of pandera.

Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
import modin.pandas as pd
import pandera as pa
import pandera.typing as P

class Example(pa.SchemaModel):
    strings: P.Index[P.STRING]

    class Config:
        coerce = True

@pa.decorators.check_types()
def main() -> P.DataFrame[Example]:
    return pd.DataFrame(
        index=[
            "should",
            "not",
            "throw",
            "during",
            "schema",
            "validate",
        ],
    )

if __name__ == "__main__":
    main()

Expected behavior
A clear and concise description of what you expected to happen.
When using pandera[modin-ray], we should be able to coerce "object"-strings to pandas.StringDtype strings, even in an index.
Desktop (please complete the following information):

OS: Windows 10 (WSL2: Ubuntu 20.04)
Browser: ???
Version: 0.8.0

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Repro repository is available here:
git clone git@github.com:zevisert/pandera-modin-index-type-repro
cd pandera-modin-index-type-repro
poetry install
poetry run repro

hi @zevisert, it doesn't look like modin can handle string[python] dtypes for indexes (it'll just silently convert it to object)
index = pd.Index(
    [
        "should",
        "not",
        "throw",
        "during",
        "schema",
        "validate",
    ],
    dtype="string[python]"
)
series = pd.Series(
    [
        "should",
        "not",
        "throw",
        "during",
        "schema",
        "validate",
    ],
    dtype="string[python]"
)
print("Index:", index)
print("Series:", series)

output:
Index: Index(['should', 'not', 'throw', 'during', 'schema', 'validate'], dtype='object')
Series: 0      should
1         not
2       throw
3      during
4      schema
5    validate
dtype: string

You can specify the str or object types in your schema, which should work just fine:
class Example(pa.SchemaModel):
    index: P.Index[str]

    class Config:
        coerce = True

would probably make sense to raise an error for cases like these where the pandas-like implementation (modin, koalas, etc.) silently casts types to some fallback type

Interesting, I didn't notice that this was on modin. Thanks!


Relations

Relation members in OSM have type and role properties. How do we store that data in osm-p2p-db?

This could be a top-level method.

Right now, the metadata lives in the member documents themselves, which is slightly wrong. The breaking way to fix this is to force member records to be objects, not string ids.

This is fixed in 3.4.0 and I've updated the main docs, architecture document, and osm-p2p docs:
osm.create({
  type: 'relation',
  members: [
    { type: 'relation', role: 'outer', ref: 'abc123' },
    { type: 'relation', role: 'inner', ref: '555fff' },
  ]
})


Find sound effects for map

singular footstep
door opening
some form of alert sound ("like a secretary bell) when new items are picked up
one action sound (like sliding, scraping, or clicking when a puzzle piece is interacted with)

one action sound (like sliding, scraping, or clicking when a puzzle piece is interacted with)

I think this is a priority for basic polish. (along with having faint borders around pieces?

Potentially on the piece borders. The only one it might matter for is the sliding puzzle, and that has somewhat distinct piece borders already


Subtle Change in Netlisting

We have a unit test test_spice_netlister, which checks text netlist output to look like this:
        .SUBCKT DUT
        + a_4 a_3 a_2 a_1 a_0 b_4 b_3 b_2 b_1 b_0
        + * No parameters

        rres
        + a_0 b_0
        + 10000.0
        + * No parameters

        ccap
        + a_1 b_1
        + 1e-11
        + * No parameters

        lind
        + a_2 b_2
        + 1e-08
        + * No parameters

        .ENDS

It changed to this:
.SUBCKT DUT
+ a_4 a_3 a_2 a_1 a_0 b_4 b_3 b_2 b_1 b_0
* No parameters

rres
+ a_0 b_0
+ 10000.0
* No parameters

ccap
+ a_1 b_1
+ 1e-11
* No parameters

lind
+ a_2 b_2
+ 1e-08
* No parameters

.ENDS

That change may be hard to spot - it's to these lines:
        + * No parameters

Particularly, the + continuation got dropped.
Now there happens to be nothing after them on the instance declaration, and they only write comments. So the "semantic netlist" remains the same. But I can't really see why this is happening.

This was an edit made by me in a branch that I didn't think was merged yet.
The reason for this edit is that some simulators (ahem NGSPICE) don't like a line continuation that does not actually contain anything. Functionally, I don't think any of the other simulators care about this (atleast SPECTRE does not), which is why the change was in the upstream generic netlister, not the NGSPICE specific netlister.

Ah yes - I forgot I had your feature branch of Vlsir!

I suppose the other question here is should HDL21 have any specific netlist-strings to test against.
Maybe we should check against the VLSIR schema instead, and just see that it can netlist.
Given a fixed version of VLSIR, not "whatever topic branch shows up in the environment", the specific netlist tests should continue to work. Question is whether they add value.

@aviralpandey said he agreed with that last comment

We didn't totally rip the netlisting out (comparing against VLSIR protobuf literals is even more verbose). But scaled back its strictness quite a bit.
Maybe that change should go further, but for now, it works.


Rename discontinuedColumn for pixel product

On the pixel page, both the columns for release date and discontinuation date are named "Released". I renamed the later to "Discontinued".

According to the preview, that didn't work. I'll to find what's up

It looks like the problem is with releaseDateColumnLabel here:
https://github.com/endoflife-date/endoflife.date/blob/c9b74657b73f418c8b94166a1a3dcfe56cdaf2b8/_layouts/product.html#L24

It looks like the problem is with releaseDateColumnLabel here:
https://github.com/endoflife-date/endoflife.date/blob/c9b74657b73f418c8b94166a1a3dcfe56cdaf2b8/_layouts/product.html#L24
Blame says it's from #2539, please have a look @marcwrobel

Oh so the original issue wasn't with the product file but the layout

Oh so the original issue wasn't with the product file but the layout

Yes. My mistake, it was a copy-paste error... Will be fixed by #2669.

Thanks @Welteam for spotting this mistake / opening this PR !

Looks good now : https://endoflife.date/pixel.

@marcwrobel :point_down:

https://github.com/adriens/endoflife-date-exports/issues/1


[FLINK-20352][docs] Updated CLI documentation.

What is the purpose of the change
The CLI documentation was updated in the context of the efforts around FLINK-20341.

@zentol @rmetzger @tillrohrmann first version of the CLI docs is ready. Looking forward to your feedback.

@kl0u it would be nice to get some feedback from you as well

Another thing I stumbled across is the deployment example for a Python job. Maybe we add it here or we create a dedicated page for how to interact with Python programs. The latter is probably the better solution.

Thanks for looking into the changes @kl0u & @tillrohrmann . I addressed your comments. Feel free to check out the new version.


TypeError: You need a shiboken-based type

Installation issue:
When I try to run the "maya_launcher.py", I get:
# Error: TypeError: file  line 15: You need a shiboken-based type. #
Can I get some clarification? What am I missing here?
Not very familiar with these modules, so I don't know how basic that might be.
Thanks.

@Falxo more details please. Are you on windows? Are you installed everything correctly to maya?

@IlgarLunin
OS: Mac OSX (10.13.1)
Python: Ver3.6 (pip 20.0.2)
Application: Maya 2019.2
Tried both manual and direct-pip installations.
Made sure to get all the required packages listed.
Copied all repository content to Maya's default "script" directory just in case of references.
Thanks for the response.

Not tested maya launcher on Mac at all. I think you shout check how to use shiboken on mac, maybe there are some differences from windows

Issue has been resolved, there were conflicting modules from packages installed by pip, pip2 and pip3. I did "pip list" and started removing duplicates/unnecessary packages until the namespace conflict was resolved. I had loads of packages clogging up everything. It had nothing to do with it being on a Mac.

Thank you) Good point to start using virtualenv))


test: add cases about unquoted workbook prefixes

Workbook names in unquoted reference prefixes are currently permitted to include spaces and double-quote characters.
Rules about this are not specified in any published grammar, I think. Some other parsers permit it too, though not Excel itself (it gives you the “We found a typo in your formula and tried to correct it to” dialog box). Because of the square brackets it does not cause any lexical ambiguity, so seems harmless.
This just adds test cases to make it clear and to guard against regressions.

Very nice!


Carol

I added the drinkData for the userData array. Thinking we need drinks in db to return...

DONT DO ANYTHING WITH THIS REQUEST YET


Use -fmacro-prefix-map to strip build path, when available

This PR applies the same change as https://github.com/swaywm/sway/pull/4282.
I have tested this change with Clang (8.0.0) and GCC (9.1.0, has -fmacro-prefix-map), with --buildtype release, and with wlroots built both standalone and as a subproject of sway.
To check that -fmacro-prefix-map actually strips paths correctly, run strings libwlroots.so | grep wlroots.

Thanks!


No such file or directory

I was trying to run the model without any modifications on google cloud with V100 GPU. I got following error:
RuntimeError: CUDA Error encountered in <function CompiledLib.bn_mean_var_cuda at 0x7fd263866c80>
Traceback (most recent call last):
File "evaluate.py", line 253, in
main()
File "evaluate.py", line 198, in main
saved_state_dict = torch.load(args.restore_from)
File "/opt/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 356, in load
f = open(f, 'rb')
Is it related to training on V100 GPU. Currently I have only one GPU attached.

@shivangbaveja I do not see any errors about "No such file or directory" in your error. Have you checked the trained model path is correct?

In my case, the error came when I was training on V-100 GPU. I tried running on a different GPU (I think P50) and that solved the issue. I am no longer working on this so closing this issue.

@amiltonwong The first error leads to the second one. you need 4 x 12g GPUs to run this repo If you want to reproduce high performance (~78.5% mIOU on val set). Or, you just need to set a small batch size (2 images per GPU).


Set utoronto staging hub limits to match exam limits

Helps the instructor test that resource limits are ok
Ref https://github.com/2i2c-org/infrastructure/issues/1905

I've deployed this so it can be tested