Where is it in the new Admin Center?

Please update step #1 to indicate where to find this setting in the "new" Microsoft 365 Admin Center, since there is no "Services & Add-ins" in it. Thanks!

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

ID: b13e4c14-5b0a-a4f6-1e65-7c79e49a0f10
Version Independent ID: ec4223f2-8127-7605-07a0-306c4d412fed
Content: Turning Integrated Apps on or off - Microsoft 365 admin
Content Source: microsoft-365/admin/misc/integrated-apps.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@rpstester Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/1807 to reflect the correct option. In the new admin center this is under Settings--> Settings-->Servives-->Integrated Apps.
Hope this Helps
Thanks
Sri

@rpstester - Thank you for submitting feedback.
From our understanding, the issue has been resolved based on this merged commit https://github.com/MicrosoftDocs/microsoft-365-docs/commit/4c7bb049093bf5fee3c002e501429c3d7c41b6f0.
Thank you for your contribution to make the docs better! Much appreciated!


Pad spot images for tracing only in z, not in x or y -- EXCEPT: background frame

Per discussion with @TLSteinacker , related to #139

Omitting the background frame/timepoint from a stack of spot images for an ROI would cause downstream problem and furthermore makes no sense, as we expect it to be unproblematic anyway w.r.t. giving false signal. So always allow padding in that timepoint.


The little big difference between Vips::Image#thumbnail_image and Vips::Image::thumbnail

The issue
I am comparing web page screenshots for testing purposes. The workflow is like this:

obtain the screenshot blob from chromium and load it via Image.new_from_buffer
assert the similarity with the reference.jpg asset and if it's significant, fail the test
if in fact there was no error, update the asset, manually rewriting it with the saved blob

The issue is that even after I renew the asset file it fails again (with the perceptual difference of 11), BUT if I save the current blob to another file and then load it back, the perceptual difference is zero!
Why?  Vips::Image
        input.thumbnail_image(size, height: size, size: :force)
      else
        Vips::Image.thumbnail(input, size, height: size, size: :force)
      end

The load-from-buffer feature was wanted by users two, times, and you would not notice the issue if all your fingerprinting was either from Image or from buffer, but in my workflow I need to compare practically the same blob loaded in both ways, and that's where the difference occures.
How to observe it?
vk_video.jpg.zip
blob = File.binread "vk_video.jpg"

puts Vips::Image.new_from_buffer(blob, "").thumbnail_image(8, height: 8, size: :force).
  colourspace("b-w")[0].to_a.map{ |_| _.map{ |_| "%3d" % _ }.join }

 47 42 47 50 47 45 46 47
  4  5  3  3  4  4  4  4
  0  0  0  0  0  0  0  0
  1  1  1  2  5  1  1  1
  0  0  0  0  0  0  0  0
103102 97101 99 99102111
248243243247251251250254
246238239254253253253252

puts Vips::Image.thumbnail("vk_video.jpg", 8, height: 8, size: :force).
  colourspace("b-w")[0].to_a.map{ |_| _.map{ |_| "%3d" % _ }.join }

 45 42 45 47 46 44 45 46
  4  4  4  3  3  4  4  4
  0  0  0  0  1  0  0  0
  4  4  4  5  8  4  4  4
  0  0  0  0  0  0  0  0
104102 99103 98 99101111
250247248250255255254254
245239241253253253253252

Or use this debug script:
require "dhash-vips"

ha = DHashVips::IDHash.fingerprint Vips::Image.new_from_buffer File.binread("vk_video.jpg"), ""
hb = DHashVips::IDHash.fingerprint "vk_video.jpg"

puts "distance: #{d1 = DHashVips::IDHash.distance ha, hb}"
size = 2 ** 3
shift = 2 * size * size
ai = ha >> shift
ad = ha - (ai << shift)
bi = hb >> shift
bd = hb - (bi << shift)

_127 = shift - 1
_63 = size * size - 1

d2 = 0
a, b = [[ad, ai], [bd, bi]].map do |xd, xi|
  puts ""
  hor = Array.new(size){Array.new(size){" "}}
  ver = Array.new(size){Array.new(size){" "}}
  _127.downto(0).each_with_index do |i, ii|
    if i > _63
      y, x = (_127 - i).divmod size
    else
      x, y = (_63 - i).divmod size
    end
    if xi[i] > 0
      target, c = if i > _63
        [ver, %w{ v ^ }[xd[i]]]
      else
        [hor, %w{ > < }[xd[i]]]
      end
      target[y][x] = c
    end
    if ai[i] + bi[i] > 0 && ad[i] != bd[i]
      d2 += 1
      target = if i > _63
        ver
      else
        hor
      end
      target[y][x] = "\e[7m#{target[y][x]}\e[27m"
    end
  end
  hor.zip(ver).each{ |_| puts _.join " " }
end

Expected behavior
The difference to be ≤5.
Screenshots

Environment:

vips-8.11.3-Wed Aug 11 09:29:27 UTC 2021
ruby-vips 2.2.1

I could rework the fingerprinting algorithm specifically for such case (the case of non-photorealistic images with huge blank lines) by calculating the "significance median" not two times (for vertical and horizontal half of fingerprinting) but once for both added, and maybe I will do it but not soon. I just think you might want to double-check if there is something unexpected happening in libvips.

Hi @Nakilon,
Yes, thumbnail and thumbnail_image will give different results since they work in different ways. thumbnail_image is only there for emergencies and should really not be used -- it will often be much, much slower.
I would use thumbnail_buffer instead -- it's as fast as thumbnail_image and should give exactly the same pixels.
The main docs warn against thumbnail_image:
https://www.libvips.org/API/current/libvips-resample.html#vips-thumbnail-image
Though maybe the ruby docs should have this warning too :(
The dev checklist in the next version of the docs has some more info:
https://github.com/libvips/libvips/blob/master/doc/Developer-checklist.md


CDAT Migration Phase 2: Refactor qbo set

Todo:

[ ]  Refactor VarHandler._get_attr_from_climo()

Closed by #826


How to get EVA02_CLIP_L_psz14_224to336 by myself?

Thanks for your excellent work!
How can I set the parameter to get EVA02_CLIP_L_psz14_224to336 with your code base?

@yijicheng check here

Thank you so mush!


Installation ItemPoint when deploying Exchange 2016 and NMM 9.X

Hi,
ItemPoint/GLR is not installed during NMM installation.
When using Exchange 2016 ItemPoint is the only way to do a GLR.
Marcel

itempoint is not available as free /try/buy


Not clear what polygon shapes are allowed

Okay maybe i'm doing something wrong but i'm building 2 polygon's and i want to detect wether the second shape is not colliding anymore with the first shape.
I found the collision would treat the first polygon using it bounds shape instead of the real shape. So it still treats the first polygon as a box shape instead of the L shape i'm building.
Setup for the first polygon is a shape
new Polygon(new Vector(), [
        new Vector(185,0),
        new Vector(185,160),
        new Vector(0,160),
        new Vector(0,270),
        new Vector(500,270),
        new Vector(500,0),
        new Vector(185,0),
]);

Setup for the second polygon, that can move around
new Polygon(new Vector(mouseposition.x, mouseposition.y), [
    new Vector(-object.width, -object.height),
    new Vector( object.width, -object.height),
    new Vector( object.width,  object.height),
    new Vector(-object.width,  object.height)
]);

Testing the collision
function isWithinBounds(objectPolygon, roomPolygon) {
    return testPolygonPolygon(objectPolygon, roomPolygon)
}

Visual representation what is happening. The object is clearly 'outside' the other polygon but it's still detecting collision. I'm using Pixijs to draw the polygon's i get using 'drawPolygon' and passing the polygon.points.

Found my mistake.

Collisions uses the Separating Axis Theorem (SAT) for its narrow-phase collision tests. One caveat to SAT is that it only works properly on convex bodies.

So knowing what the limitations where i used a different library to decompose my Polygon into different convex bodies. Then looping the polygons and test for collision
const decomposedPolygons = decomposePolygon(roomPolygon.points);

for (let i = 0; i < decomposedPolygons.length; i++) {
      if (testPolygonPolygon(objectPolygon, decomposedPolygons[i])) {
          return false; // Collision detected, object is in bounds
      }
}

I used https://github.com/schteppe/poly-decomp.js to convert my polygon


闪退

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS Version: [e.g. Windows 10 1903 18362.175]
App version: [v0.11.0]

Additional context
Add any other context about the problem here. Does this problem occur again after restarting the app?

单机两次任意文件或文件夹，软件会闪退。


docs: revamp Quick Start

Rename Getting Started to Quick Start
Deprioritize Docker instructions

  pages/README.md
    13:1-13:34  warning  Link to unknown file: `quick-start.md`     missing-file  remark-validate-links

  pages/deploy/linux.md
    15:9-15:41  warning  Link to unknown file: `../quick-start.md`  missing-file  remark-validate-links

@emschwartz it does seem related:
  pages/README.md
    13:1-13:34  warning  Link to unknown file: `quick-start.md`     missing-file  remark-validate-links

  pages/about/README.md: no issues found
  pages/about/architecture.md: no issues found
  pages/about/internals/README.md: no issues found
  pages/about/internals/data_file.md: no issues found
  pages/about/internals/lsm.md: no issues found
  pages/about/internals/releases.md: no issues found
  pages/about/internals/sync.md: no issues found
  pages/about/internals/testing.md: no issues found
  pages/about/internals/vsr.md: no issues found
  pages/about/oltp.md: no issues found
  pages/about/performance.md: no issues found
  pages/about/production-readiness.md: no issues found
  pages/about/safety.md: no issues found
  pages/about/vopr.md: no issues found
  pages/about/zig.md: no issues found
  pages/clients/dotnet.md: no issues found
  pages/clients/go.md: no issues found
  pages/clients/java.md: no issues found
  pages/clients/node.md: no issues found
  pages/deploy/cluster.md: no issues found
  pages/deploy/docker.md: no issues found
  pages/deploy/hardware.md: no issues found
  pages/deploy/linux.md
    15:9-15:41  warning  Link to unknown file: `../quick-start.md`  missing-file  remark-validate-links

link checker complains about a broken link

https://github.com/tigerbeetle/tigerbeetle/blob/main/src/scripts/ci.zig#L80-L86
this is the relevant parts of our CI script that kick off this check.
The setup here is a bit ... curious. Right now, doc website generation is just tacked on top of CI for the node client, simply because our docs are build with node

Oh dear, yeah, we have some janky setup for copying the files over!


WebUI - getting 405

Hi,
I'm self hosted.
When I'm using web ui, I'm getting 405 response after using my private access token.
{"errcode":"M_UNRECOGNIZED","error":"Unrecognized request"}
Despite having a working "classic" sync with release clients.
What should I do?

There is no web UI for the proxy. The /client/ test rig is only exposed for development purposes and isn't included in the final Docker image.

OK. I'm not using Docker and I don't have any clues to make it working with the new Android app.

I don't have any clues to make it working with the new Android app.

The first place to look for clues is the sliding sync proxy logs. Can you see any error messages or warnings? Can you see evidence of your android device trying to connect?
For further advice and support, please ask in the Sliding Sync Discussion room.

I successfully made it by using this apache config
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
ProxyRequests Off
ProxyPreservehost on

ProxyPass /_matrix/client/unstable/org.matrix.msc3575/sync http://<IP_ADDRESS>:8009/_matrix/client/unstable/org.matrix.msc3575/sync
ProxyPassReverse /_matrix/client/unstable/org.matrix.msc3575/sync http://<IP_ADDRESS>:8009/_matrix/client/unstable/org.matrix.msc3575/sync
ProxyPass /_matrix http://<IP_ADDRESS>:8008/_matrix nocanon
ProxyPassReverse /_matrix http://<IP_ADDRESS>:8008/_matrix
ProxyPass /_synapse http://<IP_ADDRESS>:8008/_synapse nocanon
ProxyPassReverse /_synapse http://<IP_ADDRESS>:8008/_synapse


Ignore template literals in max-len rule

Fixes #49

Could you please modify https://github.com/moxystudio/eslint-config/blob/master/test/fixtures/rules/style/style.js#L421 to add this new use case?


4.5.0 Release Tasks

Working on the 4.5.0 release...

[x] Update CHANGELOG
[x] Cut a rug tag
[x] Add tag release notes
[ ] Submit PR to update BLT (might be needed)
[x] Blog post on Planet (working on this, mostly highlighting Docker support)

Blog post: Drupal VM does Docker.


#324 - Added Dutch translations as requested.

@PizzaPete thank you for your work, but please check Dutch translation file from Development branch (there are more strings in settings part of json file),  see: https://github.com/ZencashOfficial/arizen/blob/development/app/lang/lang_nl.json
Your PR should be into Development branch too.
Thank you

@LukasBures will check the development branch later today. 👍


Tutorial restructure

Restructure:

Split out initial tutorials into local and cloud workflows

separate folder and both?
"Getting set up and adding data"

Generic workflows which work the same (from the frontend) for both
How do we split out workflows where there is a need for individual sets of data to make it work? Do we need to keep this different for local and cloud? Decide for tutorials below

Tutorial 1 --> 1L, 1C

Split out (see above)
retrieve example data - from a server point from data.openghg.org (in progress)
get_obs versus retrieve  - need to harmonise
visualise store - may want to make this less heavy / remove

Tutorial 3

Plotting functions to be added for 2D / 3D data - add when completed

Tutorial 5

Output of search function could be a Dataframe?  - add if completed

Tutorial 2, 4, 6, 7 - no major changes
New tutorials

[ ] Transform workflow for emissions
[ ] ObsColumn workflow (could merge into ObsSurface description?)
[ ] Cloud logins and access and JupyterLab
[ ] Cloud adding data - uploading, caching
[ ] How to add a new standardisation/transformation function

Largely superceded by #330 (and added #563 for cloud specific values not covered by this).


Question: how to edit stored design/html?

Hi,
I'm using the latest version of your package. Creation page works, I can save it to database, no problem.
Issue is, when I face to editing page, empty page appears, not my previous design.
  Unlayer::make('Content', 'content')
      ->config([
          'displayMode' => 'email',
          'locale' => 'en',
      ])
      ->savingCallback(function (NovaRequest $request, $attribute, Model $model, $outputHtmlFieldName) {
          $model->html = $request->input($outputHtmlFieldName);
      })
      ->onlyOnForms()
      ->hideFromDetail()
      ->hideFromIndex(),

I store content field as json and html field as html.
Am I missing something?
Thanks.

I have the same issue. When I reopen page (edit), the template gets loaded instead of design. In the db, the right design is saved, but not loaded on edit.

Ah! I have a workaround that works for me!
I do
if($this->id){ $fields += *Unlayer field WITHOUT templateId* }else{ $fields += *Unlayer field WITH template }

@daanadriaan can you write down the whole field code with if statemant?

`public function fields(Request $request): array {
        if ($this->id) {
            $fields = [
                Unlayer::make('Content', 'design')
                    ->config([
                        'projectId'   => config('unlayer.project_id'),
                        'displayMode' => 'email', // "email" or "web". Default value: "email"
                        'locale'      => 'en', // Locale for Unlayer UI. Default value: application’s locale.
                    ])->savingCallback(function (NovaRequest $request, $attribute, Model $newsletterModel, $outputHtmlFieldName) {
                        $newsletterModel->body = $request->input($outputHtmlFieldName);
                    }),
            ];
        } else {
            $fields = [
                Unlayer::make('Content', 'design')
                    ->config([
                        'projectId'   => config('unlayer.project_id'),
                        'templateId'  => config('unlayer.template_id'),
                        'displayMode' => 'email', // "email" or "web". Default value: "email"
                        'locale'      => 'en', // Locale for Unlayer UI. Default value: application’s locale.
                    ])->savingCallback(function (NovaRequest $request, $attribute, Model $newsletterModel, $outputHtmlFieldName) {
                        $newsletterModel->body = $request->input($outputHtmlFieldName);
                    }),
            ];
        }
        return $fields;
    }`

example config without big if-else:
Unlayer::make('Content', 'design')->config(function () {
    $newsletter = $this->getModel();

    return [
        'projectId' => config('unlayer.project_id'),
        'templateId' => $newsletter->design ? null : config('unlayer.newsletter_template_id'),
        'displayMode' => 'email',
        'editor' => [
            'autoSelectOnDrop' => true,
        ],
    ];
})->savingCallback(static function (NovaRequest $request, $attribute, NewsletterModel $newsletter, $outputHtmlFieldName): void {
    $newsletter->html = $request->input($outputHtmlFieldName);
})->html(function (): string {
    return $this->getModel()->html;
})->plugins([
    asset(mix('js/admin/modules/newsletter-editor-plugins/utm.js')->toHtml()),
    asset(mix('js/admin/modules/newsletter-editor-plugins/fontsize.js')->toHtml()),
]);

I get:
Uncaught DOMException: Failed to execute 'postMessage' on 'Window': #<Object> could not be cloned.
error in console and contents not get loaded.

@sineld Were you able to resolve your issue? I'm experiencing the same problem when editing an existing design.

Yeah, after new nova upgrade I get this error as well. Any solutions?

@lptn Any idea if this could be Unlayer's api?

@lptn Could you look into this?

Getting the same thing here on edit.
Uncaught DOMException: Failed to execute 'postMessage' on 'Window': #<Object> could not be cloned.

I'm confirming we have the same issue on Nova v4. Next few weeks I going to find a time to fix it. I'll keep you updated here

I'm confirming we have the same issue on Nova v4. Next few weeks I going to find a time to fix it. I'll keep you updated here

Great!

Do you have the same issue on Nova 4 only?

Hard to say, downgrading from Nova 4 is not really an option

A bit more good news: I found a reason why it's broken on Nova 4: Vue3 uses Proxy objects for props (I didn't know that). Proxy objects usually behave at the same fashion as underlying objects, but not in our case: Unlayer uses postMessage() to communicate with iframe and doesn't work with Proxy. The fix will be ready pretty soon 🚀  (and probably some goodies on the top :) )

The fix is released as v2.0.2
Other changes will be released as a new minor or major release soon

Sorry if I reopen an old post, but with version 2.1.0 and Nova 4.26.4, despite having also followed the previous workarounds, I still cannot modify a previously created template.
In console I read the following errors:

TypeError: Cannot read properties of undefined (reading 'values') at editor.js:2:939906
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'rows') at h (editor.js:2:1476257)

I think I didn't do anything wrong

Hey @X4nd3R1984
I just checked how it works on our integration - we don't have any issues. Do you use any plugins? If not, can you please create a new issue and with a minimal code to reproduce your issue? Thanks!


Add middleware for parsing HAL & Collection+JSON?

Would it be a good idea to include parsers for hypermedia types?

@remiprev I'm in the position that I'd love to use Her for a project. The backend delivers HAL JSON, so I need to develop a middleware to parse the JSON.
HAL formats the JSON like this:
{
  "_embedded": {
    "users": [
      {
        "id": 1,
        ...
      },
      ...
    ]
  }

Can you guide me to where in the Her project I should map the name of the class calling the endpoint, and the nesting in the JSON?
Thanks in advance.

I hate to dig up an old thread, but in my search for a solution to this I stumbled across it and I wanted to share what I learned. What I did was create a Faraday Response Middleware and parse the data like this:
class Akeneo::Parser < Faraday::Response::Middleware
  def on_complete(env)
    json = MultiJson.load(env[:body])
    if json['_links'].blank?
      env[:body] = {
        data: json,
        errors: json[:errors]
      }
    else
      env[:body] = {
        data: json['_embedded']['items'],
        errors: json[:errors],
        metadata: json['_links']
      }
    end
  end
end

It isn't the most robust solution, as it is only checking if the response contains ['_links'] but it works for my needs. I hope this will help someone else with a similar issue or even lead to a better solution!


accept io.Reader in Unmarshal instead of []byte

closing because I saw this: https://pkg.go.dev/github.com/scriptnull/jsonseal#NewDecoder


chore: Upgrade proxy-agent

Context
The current version of proxy-agent has the package vm2 as a dependency. vm2 has a current vulnerability found here. Unfortunately vm2 is no longer supported. The only mitigation is to upgrade proxy-agent to a version that no longer relies on vm2.
I've upgraded this dependency to the latest version.
Difference
The main differences between the old and the new proxy-agent are:

ProxyAgent is an attribute of the exported package
When creating a new ProxyAgent instance we no longer have to pass in the HTTP(S) proxy URL, it is retrieved from the environment variables.

Issues addressed
https://github.com/gatsby-uc/gatsby-plugin-s3/issues/257

@YoshiWalsh Mind taking a look at this PR or this other one that tries to address the same issue?

@jariz Please review when you have a moment

This change looks fine to me, but I don't have the capacity to actually test it at the moment and I'm pretty hesitant to approve something I haven't tested.


Display Import Validations on the Import Modal/UI

As an ECMPS user I want to see details on the MP Import Validations when I import a MP so I can fix them and clean up the MP
Acceptance Criteria:
Given I am an ECMPS user logged in to the system
When I import a MP
Then I see the validations/errors relevant to my import on the screen (Import Modal)


Not able to run

PS C:\Users\Jack\Desktop\Project\Yannick\test1\lambda-cost-calculator> python lambda_cost_calculator.py
N/A% (0 of 20) |                                                                 | Elapsed Time: 0:00:00 ETA:  --:--:--Traceback (most recent call last):
File "C:\Users\Jack\Desktop\Project\Yannick\test1\lambda-cost-calculator\lambda_cost_calculator.py", line 248, in
print_lambda_cost(arguments)
File "C:\Users\Jack\Desktop\Project\Yannick\test1\lambda-cost-calculator\lambda_cost_calculator.py", line 131, in print_lambda_cost
response = lambda_client.list_functions()
File "C:\Python39\lib\site-packages\botocore\client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "C:\Python39\lib\site-packages\botocore\client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (UnrecognizedClientException) when calling the ListFunctions operation: The security token included in the request is invalid.

python lambda_cost_calculator.py --token-key-id <access_key_id> --token-secret <secret_access_key>
same error with this command also.

I had the same issue, this is because probably the token can read one region, so you can add --regions us-east-1 to run the scan just in that region


Add a values_since_snapshot method to UnificationStore

We'd like to abstract out the vars_since_snapshot methods for inference variables in rustc:
https://github.com/rust-lang/rust/blob/2a8f6a7806a9072fb5a5279a48bef316b749a433/src/librustc/infer/fudge.rs#L67-L72
At the moment, we can't get this information for an arbitrary UnificationStore, which means there are some awkward workarounds in the compiler.

Never mind, I thought that len was meant to be used from rustc directly, but I see I misunderstood. We should add more docs but it seems ok as is.


Could not run pestle commands

When I try
php pestle help
PHP Fatal error:  Cannot redeclare Pulsestorm\Pestle\Library\loadJsonFromFile() (previously declared in phar:///var/www/html/cg/library/all.php:13812) in phar:///var/www/html/cg/modules/pulsestorm/pestle/library/module.php on line 11
Environment
PHP : 7.2
Magento : 2.3.3 Commerce Edition

@Elamurugan-Nallathambi Thanks for giving pestle a try -- and sorry it wasn't a smooth first first run experience.  We'd like to improve things -- if you have the time can you answer a few questions?

What operating system (Windows, Mac OS, Linux) are you running pestle on?

We see you're typing php pestle -- is that accurate?  If so, what's in the file pestle?  Is that the pestle.phar file, or a file you created? Or something else?

If you can answer those questions we can start trying to figure out what's going on with your system.

OK, I think I see the problem here.  I'm guessing you're running on windows, and using the Git Bash shell.  This creates an interesting problem right here: https://github.com/astorm/pestle/blob/master/library/autoload.php#L31
This code is meant to detect if you're running pestle in a packaged way, or just trying to load the full library.  The problem is we use the DIRECTORY_SEPARATOR command to split the paths.  On a windows system, this is \, but if you're running PHP in git bash on windows, your paths will likely be /.  I'm unsure the best way to solve this at the moment other than suggesting a *nix environment like the Windows Ubuntu Sub System.
Filing this under a windows support Milestone to collect issure related to running pestle on windows.

PR to fix Gir Bash issue here: https://github.com/astorm/pestle/pull/513/, should go out with the next release.

@ Elamurugan-Nallathambi  We didn't hear back from you on your OS version  and how you're running pestle.  Regardless, we did run into an error with the message and fix it.  It will be going on in Pestle 1.5.1 or pestle 1.6 -- if either of those future versions don't fix your problem please let us know and feel free to reopen this issue.

@astorm Seems like this was windows git bash environment issue only, in osx/ubuntu this does works ok. I don't have the windows machine access currently, I will check pestle new release later and will surely update this issue with the status. Thanks for checking this.


Add exported CMake config file for binaries in ./tools/

The package is called SPIRV-Tools-tools, which might be a bit confusing, but at lease follows the general naming scheme.
Without this package file it is impossible to detect tools with cmake only, one needs to use pkgconfig only for that.

Hi, @dneto0!
There is also a weird issue with installation of CMake package files on Windows for SPIRV-Tools. For some reason it installs package files into the root of ${CMAKE_INSTALL_PREFIX}, instead of ${CMAKE_INSTALL_LIBDIR}/cmake/${TARGET}, which is the standard location for them. Do you know the reason why it has been done like that?
This behavior is defined by this weird chunk of code introduced in 9c0ae6bb8ea49ef0c154e65278b973ef226adb9b:
if(ENABLE_SPIRV_TOOLS_INSTALL)
  if(WIN32)
    macro(spvtools_config_package_dir TARGET PATH)
      set(${PATH} ${TARGET}/cmake)
    endmacro()
  else()
    macro(spvtools_config_package_dir TARGET PATH)
      set(${PATH} ${CMAKE_INSTALL_LIBDIR}/cmake/${TARGET})
    endmacro()
  endif()
# ...cut...
endif()


tab support

now tab is top window.

It is recommended to support the left and right columns
Can I port Windows Terminal to MacOS again?
Iterm2 on MacOS is ugly

Please search when filing new issues, and refer to the FAQ.
/dup #835


Use request.data instead of trying to parse json

Coverage decreased (-0.004%) to 85.615% when pulling be0e74c1d15cab9855e59f7e170b478a9df34193 on ldap-auth-fix into 9b3878daa167c010a584ab4069424a5de1302a6a on master.

Coverage decreased (-0.02%) to 85.602% when pulling be8b467bdf3c7cf193330da591b04821754319e6 on ldap-auth-fix into 9b3878daa167c010a584ab4069424a5de1302a6a on master.


components: fix SearchBar text missing on input

Fixed search bar's query text.

Query text was cleared after the query being submitted.

Note: the search bar component might not be fully uncontrolled. A new issue (https://github.com/inveniosoftware/react-searchkit/issues/225) was created for that matter, in order to perform a more thorough analysis.

Created an issue about the failing linting https://github.com/inveniosoftware/react-searchkit/issues/228


Fixed issue with dark mode not changing Stage 3 figure colors

This PR fixes the issue where toggling dark mode did not affect the figures in Stage 3. This has been fixed by overriding the _on_dark_mode_change method to match what was done in stage_one.py.  I've also added the appropriate JSON style files, which should be fairly general.

Nice job on your first PR, @johnarban! This is working perfectly for me and looks great.:thumbsup:


SNNs Startup Materials Requirement

I have learnt how a neuron works under the spiking model. However, I couldn't find some startup materials about the architecture and training progress of SNNs that were easy to comprehend. I was wondering if Prof. Wen@wenquan had some comprehensible and inspiring startup materials. Thank you very much!

Our lab has a forked repo about SNN. I haven't played it on my own yet and don't know if it is good for beginners. Hope @wenquan  can give you some materials.

I have been using this Julia code for generating spiking neural network as well as other models for a while. It was written by my 路遥，a former physics student from USTC.  Here is a python package https://github.com/Shikhargupta/Spiking-Neural-Network


restore rotation in google_maps_flutter

After the user rotates the map, how can I programmatically restore the rotation to 0?

Hi @ronytesler
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and ask questions like this,
you may also get some help if you post it on Stack Overflow
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

I thought it wasn't possible. So for anyone who needs it:
https://stackoverflow.com/questions/76885577/google-maps-flutter-programmatically-set-rotation-to-0-bearing-to-north
controller.animateCamera(
CameraUpdate.newCameraPosition(
CameraPosition(
bearing: /* set your desired bearing */,
...
),
),
);


bot

The problem
@iobroker-bot recheck
Version of "wiserbyfeller"-adapter
1
Softwareversion of µGateway (sw x.x.xx-x)
2
Version of Node.js
3
Version of ioBroker js-controller
4
Version of "admin"-adapter
5
Operating system incl. version running ioBroker
6
Checklist of files to include below

[X] iobroker.current.log (Please share the logs in debug mode and check that there are no personal information)
[ ] Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads
7

@iobroker-bot recheck


[retire] CC total cost error with one tonne

When I change the tonnes to retire to 1, I see a total cost error.
Cost calculation appears to work fine for >= 2 tonnes.

@psparacino I believe this is only happening for the default BCT project
https://www.carbonmark.com/projects/VCS-191-2008/retire/pools/bct
The other projects I try seem to work

@jabby09 Yes, had the same result. Writing up a comment with findings but I haven't gotten the same behavior on any other project. This one is also default BCT (correct?) and the one ton works: http://localhost:3002/projects/VCS-1146-2015

Yes, had the same result. Writing up a comment with findings but I haven't gotten the same behavior on any other project. This one is also default BCT (correct?) and the one ton works: http://www.carbonmark.com/projects/VCS-1146-2015

My understanding is there is only one default project per pool (@Atmosfearful to confirm) and they are a lower price because we do not charge some of the fees. The default project are:
BCT - 0xb139c4cc9d20a3618e9a2268d73eff18c496b991
https://www.carbonmark.com/projects/VCS-191-2008
NCT - 0x6362364a37f34d39a1f4993fb595dab4116daf0d
https://www.carbonmark.com/projects/VCS-1529-2012
UBO - 0xd6ed6fae5b6535cae8d92f40f5ff653db807a4ea
https://www.carbonmark.com/projects/VCS-1140-2015
NBO - 0xb6ea7a53fc048d6d3b80b968d696e39482b7e578
https://www.carbonmark.com/projects/VCS-981-2014

@jabby09 thanks👍 , i think we got the fix

@Atmosfearful PR open in fiat repo

closed with this PR: https://github.com/KlimaDAO/klimadao/pull/1551


Create CI testing to test Ciphey in the terminal

Problem:
Right now, Ciphey's tests run by importing Ciphey and checking the output.
Ciphey had a bug that only existed when we ran Ciphey in the terminal, not via an import.
Solution:
Create CI (using TravisCI or GitHub actions) that pip3 install ciphey and then runs Ciphey with some tests, such as:
ciphey -q -t "hello"

The -q makes the output greppable, With this flag you can then capture the result of the terminal command and check to see if the results match.
So the algorithm looks like this:
(in CI such as TravisCI or GitHub actions using a Terminal -- no imports)

pip3 install ciphey
ciphey -q -t <test_text> (generate your own test text if you can. Choose an English sentence and use one of these.
Check output to make sure the decrypted text matches the plaintext.
If no errors, make the CI pass (I think you have to return an OS status code for this?)

Shall I work on this for the hacktoberfest?

Shall I work on this for the hacktoberfest?
Also I have a few more questions on this? Say I want to achieve this with github actions, should I write a test for each OS like Ubuntu(Linux), Windows, MacOs?

Hey!
Just Ubuntu, Linux is okay. We can't test on Windows very well, and we can assume if it works on Linux it works on Mac OS due to our other CI.
And sure, you can work on this for hacktoberfest :partying_face: I'll assign it to you! Are you in the DIscord? :smile:

Thanks for assigning. yes, I am on discord.


fix(PubSub): Fix the system test for ack and modAck ops

Internal: b/271122467

You would have to bump up the emulator version here (to properly test this):
https://github.com/googleapis/google-cloud-php/blob/9479f11e9c16117ccb0cd0e14928afc2a30eb1c2/.github/workflows/pubsub-emulator-system-tests.yaml#L22

I'd recommend we also change the emulator version.

I'd recommend we also change the emulator version.

Yeah, I will, just verifying if this is indeed what we need to do. Having discussions internally.

Skipped the buggy test: testAckAndModAckContainFailedMsgs as per internal discussion.


docs: handle beta GW apis for 2.6.x KIC

Summary
Update the Gateway API guide for v0.5.0 in KIC v2.6.0 to use beta resources and indicate that the the integration is now considered beta.
Reason
Resolves https://github.com/Kong/docs.konghq.com/issues/4123
Testing
Manually tested the documentation to verify the correct result.

Preview: https://deploy-preview-4238--kongdocs.netlify.app/kubernetes-ingress-controller/latest/

This should be do not merge still, correct? 2.6 isn't out yet.
Does the page metadata also support version-based if template blocks? This currently changes https://deploy-preview-4238--kongdocs.netlify.app/kubernetes-ingress-controller/2.5.x/guides/using-gateway-api/ and https://deploy-preview-4238--kongdocs.netlify.app/kubernetes-ingress-controller/2.4.x/guides/using-gateway-api/ to beta retroactively.
We're also adding new pages that will need annotation updates also:
https://github.com/Kong/docs.konghq.com/pull/4231/files (missing alpha/beta annotations)
https://github.com/Kong/docs.konghq.com/pull/4230/files (pending docs team review)

Does the page metadata also support version-based if template blocks? This currently changes https://deploy-preview-4238--kongdocs.netlify.app/kubernetes-ingress-controller/2.5.x/guides/using-gateway-api/ and https://deploy-preview-4238--kongdocs.netlify.app/kubernetes-ingress-controller/2.4.x/guides/using-gateway-api/ to beta retroactively.

Hmm. No, page metadata doesn't support that. @mheap do you have any ideas for handling this? Right now, the thought that comes to mind is splitting the source files. The alpha/beta/GA use case might be a good one for that.


Ensure ApplicationRecord is reloadable

Fixes #6735

As a follow-up to this, these modules should move from lib/extensions/ to lib/ (or app/models/mixins/, or something)

@matthewd good fix.

Great find @matthewd.
I read this as things that are included something later and not put into the reload list?


Display input forms in the cell output

Related to #992
For all input forms where users have to enter multiple fields, display the form in the cell output
User Scenario
When the user runs the #!connect command to connect to a new kernel, any inputs will be displayed as a form in the cell output which they can enter values into and submit

Related: #35

This work depends on #3567.


Update HMAC FIPS link to current version

The link provided was superseded by a new version. This updates the link to the newest version.

I've sent out https://go-review.googlesource.com/18280 assuming you don't want to deal with Gerrit for this.

Really appreciate that @bradfitz


Allow mapped value to be undefined in type for _attributes

I am extending ElementCompact and want to add some explicit optional properties:
export interface MyElement extends ElementCompact {
  _attributes: {
    id: string
    doIEvenExist?: 'yes' | 'no'
  }
}

Unfortunately with this I get TS error:
Property 'doIEvenExist' is incompatible with index signature.
  Type '"yes" | "no" | undefined' is not assignable to type 'string | number'.
    Type 'undefined' is not assignable to type 'string | number'.

I currently use the following workaround:
...
_attributes: ElementCompact['_attributes'] & {
...

Suggested code was accepted and merged.


Change background colour for loader

Once facts are over some white background, it's quite invisible to eye.
Maybe adding some border with slight grey background to white can stand out?

$loading-background: rgba(255,255,255,0.5);
$loading-background-legacy: #7f7f7f;

Source: Buefy Docs

I'll take a look

@vikiival @yangwao something like this?

@vikiival @yangwao something like this?
also the buefy background variable didn't work, as it gave the background to the whole screen

Maybe bit bigger and it might work!
Is it mobile friendly?

@vikiival @yangwao something like this?
also the buefy background variable didn't work, as it gave the background to the whole screen

Maybe bit bigger and it might work! Is it mobile friendly?

@yangwao I'll check

also the buefy background variable didn't work, as it gave the background to the whole screen

yup I would make the whole loading darker


p5 is not defined in  /node_modules/p5/lib/addons/p5.sound.js:4323

Error Remake on Using npm in React App
import * as p5 from "p5";
import "p5/lib/addons/p5.sound";

@suprim12 please mention the versions and some more detail..
It would be more helpful!
Thanks

Same problem here, i use p5 in react to play a sound.
In my case, when i import p5/lib/addons/p5.sound the error show up
import p5 from 'p5';
import 'p5/lib/addons/p5.sound';

let bloopOne: p5.SoundFile;

export function preBloop(p: p5): void {
    const loadSound = (path: string) => ((p as any) as p5.SoundFile).loadSound(path);
    bloopOne = loadSound('../audio/bloop1.mp3');
}

export function playBloop(): void {
    bloopOne.play();
}

i use the latest version of p5
"p5": "^1.1.9", "react": "^16.13.1"

@ylahssini it would be great to see actuall error output !
thanks !

@endurance21 This is error output, i think is related to webpack, because i use CRA:
Uncaught ReferenceError: p5 is not defined     at Object.<anonymous> (p5.sound.js:3112)     at Object.push../node_modules/p5/lib/addons/p5.sound.js (p5.sound.js:3160)     at __webpack_require__ (p5.sound.js:84)     at Object.<anonymous> (p5.sound.js:2885)     at Object.push../node_modules/p5/lib/addons/p5.sound.js (p5.sound.js:2956)     at __webpack_require__ (p5.sound.js:84)     at p5.sound.js:120     at Object../node_modules/p5/lib/addons/p5.sound.js (p5.sound.js:121)     at __webpack_require__ (bootstrap:784)     at fn (bootstrap:150)     at Module../src/Rain/Bloops.ts (Bloops.ts:2)     at __webpack_require__ (bootstrap:784)     at fn (bootstrap:150)     at Module../src/Rain/index.tsx (index.tsx:1)     at __webpack_require__ (bootstrap:784)     at fn (bootstrap:150)     at Module../src/App.tsx (index.css:7)     at __webpack_require__ (bootstrap:784)     at fn (bootstrap:150)     at Module../src/index.tsx (index.css?f3f6:45)     at __webpack_require__ (bootstrap:784)     at fn (bootstrap:150)     at Object.1 (serviceWorker.ts:149)     at __webpack_require__ (bootstrap:784)     at checkDeferredModules (bootstrap:45)     at Array.webpackJsonpCallback [as push] (bootstrap:32)     at main.chunk.js:1

Has anyone been able to solve this? Have tried all discussed solutions in other threads with no luck.

@angerboy I solved like this:
import React, { useEffect } from "react"; import './globals'; import "p5/lib/addons/p5.sound"; import p5 from "p5";
and then in globals.js:
import p5 from "p5"; window.p5 = p5;
The problem is that p5 is available as global dependency when using webpack/create-react-app. I'm not sure if this is the best way to approach but it works, I got the idea from here:
https://github.com/facebook/create-react-app/issues/4281

@LABCAT Thanks, I wonder if you could share your code? Having the same issue as well ): and can't figure this out.

@vennsoh I'm doing it in this repo:
https://github.com/LABCAT/donuts-no-1/
see this file:
https://github.com/LABCAT/donuts-no-1/blob/master/src/js/globals.js
and this file:
https://github.com/LABCAT/donuts-no-1/blob/master/src/js/P5Sketch.js

@LABCAT
Your workaround seems to be working for only function calls?
I added window.p5 = p5 after calling import * as p5 from "p5"
import * as ml5 from "ml5"
window.p5 = p5
import "p5/lib/addons/p5.sound"

Then I'll be able to use the p5.loadSound() function. However if I try to use new p5.Envelope() constructor it'll still throw me an error.
export default function sketch(p5) {
    p5.setup = () => {
        p5.createCanvas(400, 400)
        song = p5.loadSound(url("./assets/hurry.mp3")) // Will work
        env = new p5.Envelope() // Will error
...

Do you know why?

@vennsoh  @LABCAT
I have been working on this repo in this summer of code , I would like to help it out , but I am busy with my college schedule right now .
I would ask to use this current repo code of p5.sound instead what is present in "p5/lib/addons/p5.sound" ,
So how would you use current p5.sound file , it's simple just go to current repo , go to lib folder , and copy p5.sound.js from there and place it somewhere you might find appropriate to work with , and then import it using like you do and then TELL US THE RESULT .
It will help us figuring out if the same problem is with aall versions or what !!

@endurance21 Thanks. I've copied and replaced p5.sound files from https://github.com/processing/p5.js-sound/tree/master/lib
It's still the same problem so I doubt it's the version.
The version that I'm using: /** [p5.sound]  Version: 0.3.12 - 2020-01-06 */

Thanks a ton for this experiment @vennsoh .
Let me tell you one more thing , we have  some APIs that's uses audioworklet processors .
I am.having doubt that if this is the problem with those audioworklet processors or what !
For this  I would ask you to initiatize
 P5.oscillator()
Instead of
p5.Envelope()
And see if same happens or what !
Also forgive me if I am counting too much on you for carrying out experiments and all. Hope you understand that..

All good. It's still the same problem @endurance21

Ah just changing p5.Envelope() --> p5.constructor.Envelope() fixes the problem!

@vennsoh  good to hear that .
But is the reason it's working .I am clueless right now .

Sorry I think I should be a little bit more specified.
I used react-p5-js library to fix this problem. The comment thread is here.
https://github.com/and-who/react-p5-wrapper/issues/61

I was able to get everything working using the CDN script links in my index.html:
    <script defer src=https://cdn.JsDelivr.net/npm/p5></script>
    <script defer src=https://cdn.JsDelivr.net/npm/p5/lib/addons/p5.dom.min.js></script>
    <script defer src=https://cdn.JsDelivr.net/npm/p5/lib/addons/p5.sound.min.js></script>

No idea how we could propose this change, but, it seems like p5.sound.js is missing the p5 dependency, so, my fix was to do the following,
In node_modules/p5/lib/addons/p5.sound.js
FIND
/** [p5.sound]  Version: 0.3.12 - 2020-01-06 */

REPLACE WITH,
import p5 from "p5"  // import the missing dependency, obviously not a permanent fix, but, simple

/** [p5.sound]  Version: 0.3.12 - 2020-01-06 */

I'm sure there's a solid motivation for structuring the code this way, but, it's doesn't seem very npm friendly.   Does @anyone know why it is assumed that p5 is global and/or why node_modules/p5/lib/addons/p5.sound.js is already packed with webpack?

No idea how we could propose this change, but, it seems like p5.sound.js is missing the p5 dependency, so, my fix was to do the following,
In node_modules/p5/lib/addons/p5.sound.js
FIND
/** [p5.sound]  Version: 0.3.12 - 2020-01-06 */

REPLACE WITH,
import p5 from "p5"  // import the missing dependency, obviously not a permanent fix, but, simple

/** [p5.sound]  Version: 0.3.12 - 2020-01-06 */

I'm sure there's a solid motivation for structuring the code this way, but, it's doesn't seem very npm friendly.   Does @anyone know why it is assumed that p5 is global and/or why node_modules/p5/lib/addons/p5.sound.js is already packed with webpack?

@vennsoh I'm doing it in this repo:
https://github.com/LABCAT/donuts-no-1/
see this file:
https://github.com/LABCAT/donuts-no-1/blob/master/src/js/globals.js
and this file:
https://github.com/LABCAT/donuts-no-1/blob/master/src/js/P5Sketch.js

Oh my god, this ^ - absolute life saver, I've been trawling every thread over this issue and this fixed it perfectly. The primary difference for me was including import * as p5 from "p5"; and window.p5 = p5; in a seperate file before importing into the sketch.
Thank you! 🤘

This looks like a duplicate of https://github.com/processing/p5.js-sound/issues/453 and https://github.com/processing/p5.js/issues/4479
I can confirm it is not a problem with Webpack alone - the problem exists in all modern module loaders/compilers including RollUp, TypeScript and Parcel.
Having tested more thoroughly, I can confirm P5 add-ons won't load in the following configurations:

CommonJS
ES6 > ES5 using Babel or esm
ES Modules

Given the enournous populariity of npm and yarn, this issue means that anyone using those package managers will not be able to use p5 with add-ons.
What was it that changed between v0.9 and v1 that broke it?

@rjbultitude
The basic thing this library is assuming that , p5 is a global variable.
so users first need to make avaible p5 in the scope of p5.sound apis .
does it sounds good ?

Thanks for the quick reply @endurance21
I think there are a few fundamental problems:

There are no instruction in the Get Started page that explain how to install and configure p5 and add-ons via NPM or Yarn
Most developers expect frameworks and libraries to manage their own namespacing
This wasn't a problem in earlier versions, so it seems a breaking change was introduced at v1.0 that needs to be clearly communicated.

Are you saying the current solution is to import p5 then assign it to the window object? e.g. window.p5 = p5;

@rjbultitude i havenot tried btw , but my intuitions says it well !

How shall we proceed then? As per point 2 above, p5 should handle its own namespacing, which would fix this issue and 4479.
Also, do you know the answer to point 3? Why were p5 add-ons able to access the p5 object in v9.0?
I'll make a new issue for the missing instructions, if there's not one already.

I've tested the assignment of p5 to the global namespace and can confirm it does not work using ES2015 syntax e.g.
import p5 from 'p5';
window.p5 = p5;
import 'p5/lib/addons/p5.sound';
As far as I can tell, any compiler will fail to load the add-ons hence the other issues about TypeScript, p5-dom and so on
it only works if you use CommonJS (Node) syntax:
const p5 = require('p5');
window.p5 = p5;
require('p5/lib/addons/p5.sound');
Does anyone know what changed between v0.9 and v1.0?
@therewasaguy @lmccart
Is there a discussion or plan to modernise p5 so that it works with the primary three module patterns and all common loaders/compilers?
Happy to help but am missing context.

Another relatively clean workaround until this gets properly fixed (so that others don't waste hours):

Include the libraries directly in your index.html as script tags:

  <script<EMAIL_ADDRESS>  <script<EMAIL_ADDRESS>  <script<EMAIL_ADDRESS>

Declare the globals and use p5 in instance mode:

declare const p5: any;
declare const ml5: any;
...

  new p5((sketch: any) => {
    let mic: any;

    sketch.setup = () => {
      mic = new p5.AudioIn();
      mic.start(() => {
        const audioContext = new AudioContext();
        pitch = ml5.pitchDetection(MODEL, audioContext, mic.stream, ...);
      });
    };
    ...
  }

If you are using webpack and run into this problem - there is the imports-loader config that can be used
https://webpack.js.org/loaders/imports-loader/
I have a config like this:
module: {
        rules: [
            {
              test: path.resolve(__dirname, 'js/libs/easycam/p5.easycam.js'),
              use: "imports-loader?p5=>require('p5')"
            },
            {
              test: path.resolve(__dirname, 'node_modules/p5/lib/addons/p5.sound.js'),
              use: "imports-loader?p5=>require('p5')"
            },
            {
              test: path.resolve(__dirname, 'node_modules/p5/lib/addons/p5.sound.min.js'),
              use: "imports-loader?p5=>require('p5')"
            },

For anyone looking at this solution, the docs for imports-loader have been updated:
module: {
    rules: [
        {
            test: path.resolve(
                __dirname,
                "node_modules/p5/lib/addons/p5.sound.js"
            ),
            loader: "imports-loader",
            options: {
                type: "module",
                imports: "p5",
            },
        },
        {
            test: path.resolve(
                __dirname,
                "node_modules/p5/lib/addons/p5.sound.min.js"
            ),
            loader: "imports-loader",
            options: {
                type: "module",
                imports: "p5",
            },
        },
    ]
}

Using require fix the compatibility
require('p5/lib/addons/p5.sound')


TCP client error when connecting

The client crashes the main window when connect. I might use another method and refactor my code to implement it another way

resolved the issue with the client. couldn't run server and client from the same instance of window


#154: Add Task Copy() implementation of MsBoxStandardView class. Fix a bug on MsBoxCustomView

Fixes #154

What's the state of this? I'm just a user but throwing when Copy gets called can cause whole Avalonia applications to crash.

What's the state of this? I'm just a user but throwing when Copy gets called can cause whole Avalonia applications to crash.

@GallaFrancesco the repo hasn't been updated for a while. You either have to wait for them to merge the PR or build the library yourself and use the dll directly, instead of Nuget (as a temp solution).

I realized that Copy is implemented in MsgBoxCustomView, so it's possible to work around this provided that users have to configure the Custom properties.


Netdata multiple backends

With this particular image, any ideas on how best to transfer my current setup for netdata?
Example from https://docs.netdata.cloud/docs/running-behind-nginx/
upstream backend-server1 {
    server <IP_ADDRESS>:19999;
    keepalive 64;
}
upstream backend-server2 {
    server <IP_ADDRESS>:19999;
    keepalive 64;
}

server {
    listen 80;

    # the virtual host name of this subfolder should be exposed
    #server_name netdata.example.com;

    location ~ /netdata/(?<behost>.*)/(?<ndpath>.*) {
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_http_version 1.1;
        proxy_pass_request_headers on;
        proxy_set_header Connection "keep-alive";
        proxy_store off;
        proxy_pass http://backend-$behost/$ndpath$is_args$args;

        gzip on;
        gzip_proxied any;
        gzip_types *;
    }

    # make sure there is a trailing slash at the browser
    # or the URLs will be wrong
    location ~ /netdata/(?<behost>.*) {
        return 301 /netdata/$behost/;
    }
}

Have moved to Traefik, will close issue unless someone else requires this functionality.


scope with controllerAs

if both of my controllers (parent and modal) are using controllerAs syntax , as in
main controller:
    angular.module('myApp').controller('mainCtrl', mainCtrl)
    mainCtrl.$inject = ['$stateParams','$state''$fancyModal']

    function mainCtrl($stateParams,$state$fancyModal) {
       var controller = this;

       [snip]
       controller.data = {foo: "bar"}

       $fancyModal.open({
                templateUrl: '/myTemplate',
                controller: 'modalCtrl as controller'
            });
    })

modal controller:

angular.module('myApp')
    .controller('modalCtrl', modalCtrl)

function modalCtrl() {
    var controller = this;

   // how do I get data from mainCtrl in here ?
}

how can I pass data from mainCtrl into the modalCtrl ? $scope is not used at all .. can I pass a data object in ? What's the best practice in this instance ?
Many thanks

I have another question regarding controllerAs : if I don't have $rootScope, how can I hook into the closed / opened events ?

Just require $rootScope where you need it


Little fixes in Machine Learning docs.

I found some parts that need to update, so fixed them. Please review them.
Updates

Updated about JupyterLab's url in Provision the Data Science Virtual Machine for Linux (Ubuntu) page
Appended about the --use-azureml-ssh-key option of az ml computetarget attach remotedocker command in Azure Machine Learning's tutorial page

Thanks for your great documentation!

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

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

@hning86 Hello, Can you tell me how's progress of this pull request?

@gopitk should look at this one.

Hello,
@hning86 @gopitk Do you have any problems?

@hning86 @gopitk can we sign off on this?

#sign-off

@gopitk: I'm sorry - only the author of this article, @hning86, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


unsupported SQL*Plus statement: SPOOL

Which version and edition of Flyway are you using?
/opt/flyway/flyway -v -pro
Flyway Pro Edition 6.2.1 by Redgate
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
6.2.1 is the latest version
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using (type & version)?
Oracle 12.2
Which operating system are you using?
Red Hat Enterprise Linux 6
Linux 2.6.32-754.25.1.el6.x86_64 #1 SMP Wed Nov 20 15:07:26 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
flyway -pro -outputFile=outfile.txt -configFiles=file.conf info
The issues happens with info, migrate & baseline. I suspect others as well but these are the 3 command options I am using currently.
What did you expect to see?
No warnings for unsupported SQL*Plus statements
What did you see instead?
WARNING: Detected unsupported SQLPlus statement: SPOOL OFF
-> Please file an issue requesting support at https://github.com/flyway/flyway/issues
WARNING: Detected unsupported SQLPlus statement: SPOOL /spoolfile.log
-> Please file an issue requesting support at https://github.com/flyway/flyway/issues

To clarify, we don't necessarily claim to support all SQL*Plus commands. See the docs:

All other SQL*Plus commands are gracefully ignored with a warning message.

Of course we'll consider adding support for more commands in future releases.

I have a fix, hopefully going in 6.2.4


[18.0.0-proposed][Tempest] Modify IMAGES_TIMEOUT for individual images

This patch allows to modify IMAGES_CREATION_TIMEOUT for individual images. This better fits the interface of the extraImges parameter in the Tempest CR [1].
[1] https://github.com/openstack-k8s-operators/test-operator/pull/166

recheck

recheck

if the jobs here are broken, can't we just merge it without waiting for those? I can hit merge button right away.

recheck

recheck

@raukadah, can we get a review, please?


Allow more than 1 user in the same room?

Type allows a maximum of 20 people in the same room?

Type? What is that?
If you need more than 5 users in a room you'll need a media server.

So to make this implementation of 5 or more users in a zoom-style video room do you need a video server?

I tried to add more than 1 User to your project more successfully
I am trying to learn webrtc more ta kkk most of the materials and online courses are in English.  and I'm from Brazil I don't speak english kkk

Yes, you need a server. You can either pay for one like Twilio or agora or you will have to build your own.

if i want to transmit only between 2 users as it is in your project and is it necessary to use a service like twilio?

Or you would have to write all the backend logic of twilio.


Error when trying to run modify-search.cmd

Module:
Lab/Demo: 22-Create-a-search-solution
Task: Use the REST API to update the search solution
Step:
Description of issue
I tried to follow the steps in https://docs.microsoft.com/en-us/learn/modules/create-azure-cognitive-search-solution/8-exercise-search. I'm stuck at step "Use the REST API to update the search solution", when I run modify-search.cmd it fails with error:
Updating the index...
{"error":{"code":"OperationNotAllowed","message":"Existing field 'language' cannot be changed.","details":[{"code":"CannotChangeExistingField","message":"Existing field 'language' cannot be changed."}]}}
and:
Updating the indexer...
{"error":{"code":"","message":"Output field mapping specifies target field 'sentiment' that doesn't exist in the index"}}-----
Please assist!

Non-repro for me I'm afraid @Jordithecloud .
The most likely cause is that when you originally created the index in the UI, you missed one of the attribute checkboxes for the language field (or checked an additional one). The language field should only be retrievable and filterable.

I checked the doc twice. What do you need from my side to reproduce?

Can you copy your index definition (JSON) from the portal UI and post the language element here?

 I indeed left the Searchable checkmark on. Thanks for the quick responses, it's working now.

No worries - it's an easy one to miss!


Error Handler not working

I've read http://www.slimframework.com/docs/handlers/error.html then using post app method to activate error handler .
$container['errorHandler'] = function ($container) {
return function ($request, $response, $exception) use ($container) {
return $container['response']->withStatus(500)
->withHeader('Content-Type', 'text/html')
->write('Something went wrong!');
};
};
Then i try to make some syntax errors and connecting to database error. But Slim 3 Error Handler just not work, no 'Something went wrong!' response, just silent. Why?
Thank you

This works for me:
$app = new App();

$c = $app->getContainer();
$c['errorHandler'] = function ($c) {
    return function ($request, $response, $exception) use ($c) {
        return $c['response']
            ->withStatus(500)
            ->withHeader('Content-Type', 'text/html')
            ->write('Something went wrong!');
    };
};

$app->get('/', function () {
    throw new Exception();
});

$app->run();

AFAIK there is no way to catch Fatal's.

It's not possible to catch fatal errors, but it's possible to log them using register_shutdown_function. Some frameworks uses it to handle this kind of errors. Symfony, for example, has a special handler for it: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Debug/ErrorHandler.php#L554

I've been Slim 3 with the PHP 7 RC 4 run-time and have not run into any issues other than PHP's awful error handling.
PHP 7 was supposed to implement a Throwable and Error interface that allowed a Try...Catch to work with fatal errors (see: https://wiki.php.net/rfc/throwable-interface).
At first I thought Slim was freezing up on handling these, but I think this is a PHP 7 issue.

I would welcome documentation showing how to use register_shutdown_function to render an error. I'm not in favour of making this a default in the code though.

Here's an example of capturing fatal errors in php.
<?php
global $fatality;

class Fatality
{
	public function __construct()
	{
		register_shutdown_function( [$this, "fatal_handler"]);
	}

	public function fatal_handler()
	{
		// Determine if there was an error and that is why we are about to exit.
		$error = error_get_last();

		// If there was an error then $error will be an array, otherwise null.
		if ($error !== NULL)
		{
			echo 'An unrecoverable error has occurred' . PHP_EOL;
			echo 'Error code: ' . (string)$error['type'] . PHP_EOL;
			echo 'Message: ' . $error['message'] . PHP_EOL;
			echo 'File: ' . $error['file'] . PHP_EOL;
			echo 'Line: ' . $error['line'] . PHP_EOL;
			exit($error['type']); # Exit with the error type code.
		}
	}
}
$fatality = new Fatality();

Thanks a million for saving my time.


Snakes only move in a single direction

I'm running the latest container version, and oddly enough, my snakes are only going up. Now, my server so far generates random directions for snakes, and when tested with the previous version of the container, it works as expected. Sometime between the UVic tutorial and today, there was an update that seems to propel my snakes upward in a uniform fashion. I also keep getting this crash dump from the server:
=CRASH REPORT==== 24-Feb-2018::23:26:28 ===
  crasher:
    initial call: Elixir.Bs.Movement.Worker:run/3
    pid: <0.1887.0>
    registered_name: []
    exception exit: {#{'__exception__' => true,
                       '__struct__' => 'Elixir.Bs.ChangesetError',
                       changeset =>
                        #{'__struct__' => 'Elixir.Ecto.Changeset',
                          action => nil,changes => #{},constraints => [],
                          data =>
                           #{'__struct__' => 'Elixir.Bs.Move',id => nil,
                             move => <<"up">>,snake_id => nil,taunt => nil},
                          empty_values => [<<>>],
                          errors =>
                           [{taunt,
                             {<<"can't be blank">>,[{validation,required}]}}],
                          filters => #{},
                          params => #{<<"move">> => <<"up">>},
                          prepare => [],repo => nil,
                          required => [move,taunt],
                          types =>
                           #{id => binary_id,move => string,
                             snake_id => string,taunt => string},
                          'valid?' => false,
                          validations =>
                           [{move,
                             {inclusion,
                              [<<"up">>,<<"down">>,<<"left">>,
                               <<"right">>]}}]}},
                     [{'Elixir.Bs.Movement.Worker',run,3,
                       [{file,"lib/bs/movement.ex"},{line,110}]},
                      {'Elixir.Task.Supervised',do_apply,2,
                       [{file,"lib/task/supervised.ex"},{line,88}]},
                      {'Elixir.Task.Supervised',reply,5,
                       [{file,"lib/task/supervised.ex"},{line,38}]},
                      {proc_lib,init_p_do_apply,3,
                       [{file,"proc_lib.erl"},{line,247}]}]}
      in function  'Elixir.Task.Supervised':exit/4 (lib/task/supervised.ex, line 121)
      in call from 'Elixir.Task.Supervised':reply/5 (lib/task/supervised.ex, line 38)
    ancestors: [<0.1884.0>,<0.1728.0>,'Elixir.Bs.Game.Supervisor',
                  'Elixir.Bs.Supervisor',<0.1564.0>]
    message_queue_len: 0
    messages: []
    links: [<0.1884.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 4185
    stack_size: 27
    reductions: 9493
  neighbours:

You can see from the errors, that this is caused by a missing taunt, which I accidentally made required on the move call.
errors => [{taunt,  {<<"can't be blank">>,[{validation,required}]}}]

I've just pushed a new image without this requirement, so if you do docker pull sendwithus/battlesnake-server you'll get a new image that should be working fine for you.


link from memory problems to dedicated VMs

A possible solution for out of memory problems is using a dedicated VM. Hence it makes sense to add a section to https://doc.cocalc.com/howto/low-memory.html pointing to them.

Done. https://doc.cocalc.com/howto/low-memory.html updated


Fixes for older C++ compilers (remove lambdas, brace init, and nullptr ambiguity)

Fixes #2412 .
Note that the qps family of tests will still not build, as these use numerous banned features (lambdas, local templates) . However, this should enable all of the other tests and C++ library to build in gcc 4.4 .

:+1:

Run clang-format?

LGTM

It's super-green, but I forgot some important syntactic sugar.

Green enough?


Display the dependency info for the vscode-java default project

It's better to show the dependency info for the default project.

Will show the default when the language server side finishes

our plan is to get rid of the default project. so let's hold this.

Revisit this issue since we already have invisible project supports.
In this case:

Not support dependency for default project.
Support dependency for default project & invisible projects.

Current behavior:
Invisible project is supported.
Default project is not supported.


Radio indicators doesn't refresh always in what-if analysis

Radio indicators doesn't refresh always in what-if analysis. Sometimes it is necessary to add several units of the same kind of license until the radio indocator widget "wakes up". It is something ramdom. Sometimes it happens and sometimes ti does not.

It seems to be related with the fact that every time you change one value (one click on +/- buttons) the results are refreshed. The platform refreshing is slower than the user clicking.
Possible solutions:

not refreshing after each click, having an "Apply" button. The user make the changes s/he needs, and then click on "Apply"
Adding a "running..." label during the refreshing. This does not solve the problem but shows the user that the platform is busy

I think that it sound better the second option. Choose the one that is more easier to implement, but if possible, try adding a "Running..." label.

Fixed


DOC: /v0.2/docs/concepts needs links and info from v0.1

Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
Significant effort is still required to link all concepts on this page to API and tutorials.
For example: https://js.langchain.com/v0.2/docs/concepts#example-selectors
That short section doesn't provide as much information as https://js.langchain.com/v0.1/docs/modules/model_io/prompts/example_selector_types/
Idea or request for content:
Since concepts should probably be kept short, link all topics with a simple "More..." link that goes to a middle-tier page that has nothing but links for all modules described in Concepts :

Example Selectors:

HowTo - API Interface @langchain/core/example_selectors
Interface LengthBasedExampleSelectorInput
Classes BaseExampleSelector, BasePromptSelector, ConditionalPromptSelector, LengthBasedExampleSelector, SemanticSimilarityExampleSelector
Other examples ...

Definitely agree here - will address in the coming weeks.

Should not have been closed by bot. @jacoblee93


SCRD-5295 moved update processes out of InstallWizard

This commit includes:

Moved update processes out of InstallWizard
Moved global states and persiste states to constants so
they can be shared.
Moved some processes in InstallWizard into function so it can
be overwritten.
Created UpdateWizard, as first step, it extends InstallWizard so
core functions in InstallWizard can be shared.
Updated AddServer page and UpdateServer landing page to use UpdateWizard
Updated other components accordingly because of the move
Minor fix in UpdateServer
Reduced more states

need more testing.


replay changes to silence inconsequential errors from bad PR #92

PR #92 accidentally merged devel into the working branch before merging back into master. This PR was reverted via PR #95 and the intended changes are now being replayed on top of master, without the unintended merge of devel into master.

Current coverage is 38.57%

Merging #96 into master will not affect coverage as of f0eeccf

@@            master     #96   diff @@
======================================
  Files            2       2
  Stmts          884     884
  Branches         0       0
  Methods          0       0
======================================
  Hit            341     341
  Partial          0       0
  Missed         543     543

Review entire Coverage Diff as of f0eeccf

Uncovered Suggestions

+1.92% via src/mpi/mpi_caf.c#1892...1908
+1.58% via src/mpi/mpi_caf.c#1990...2003
+1.58% via src/mpi/mpi_caf.c#1557...1570
See 7 more...

Powered by Codecov. Updated on successful CI builds.


Escaping double quotes in search is not working as described

escaping " with \ does not seem to work correctly. This is the exact string I am looking for "managers/" so I do this ""managers/"" and it still finds all instances of managers without any quotes or forward slash....
Special characters
Escape the special characters (, ), [, ], :, *, and ? by enclosing them in a phrase delimited with double-quotes.
Include special characters in a search string, or search specifically for special characters, according to the following rules:
CodeA23?R finds files containing words that start with CodeA23
Have any alphanumeric character next, and end with R. For example, CodeA234R and CodeA23QR.
Search for any special character that isn't a part of the query language.
"flatten()" finds the literal string flatten(). Search for a literal occurrence of the double-quote character " by preceding it with the escape character \ and enclosing the search string in double-quotes.
""react-redux"" finds the literal string "react-redux."

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

ID: 883f11d6-35f4-c682-8256-dc6a0f8aa31b
Version Independent ID: e755bc82-a445-7b24-ae06-0e7af0c2d7f3
Content: Search across Azure DevOps - Azure DevOps
Content Source: docs/project/search/get-started-search.md
Service: azure-devops
Sub-service: azure-devops-search
GitHub Login: @chcomley
Microsoft Alias: chcomley

@jschultz-grimmway -- Jake, please try this search string:  "\"managers/\""


Add possibility to cache

Hi,
I was wondering if it would be possible to cache the translations. In my app, when an overview is build of 200 records, 200 queries are fired to get each translation..
thnx

Hey Ronnie, have you tried eager loading?

Closing this. You can cache whatever you want in your app :)


Fix bug in _run_commands_with_ssh where node is not set.

Merge activity

Jun 25, 3:28 PM EDT: @rohinb2 started a stack merge that includes this pull request via Graphite.


Double digit numbers not displaying in Safari

Thanks for a great footnote solution!
I'm using the numbering option, and on Safari any numbers above 9 are not displaying correctly.  It looks like the width is not adjusting and the two digits are printed on top of each other (see screenshots below).
Firefox:

Safari:

I tried replacing .bigfoot-footnote__button {width: 1.5em} with min-width but that didn't work.  Any other suggestions?

Hey, @apjmason! I'm not sure I can solve this, but I'd love to be able to replicate the issue.
What version of Safari are you using? Is this site published somewhere, or is the source available?
@lemonmade let me know if I'm stepping on your toes!
Cheers

Hi @lukasschwab, thanks for the quick response and offer to troubleshoot.
The whole page is not live yet, but you should be able to see a demo here
https://religionsmn.carleton.edu/exhibits/show/slider-test/peppers
I'm seeing the behavior in Safari 9.1.1 and Chrome 51.0.2704.103.  My hunch is that it's a font issue, since I've also been having trouble with Lato headings displaying correctly on some versions of webkit browsers.
Thanks!


Web not building

Steps to Reproduce
When trying to run for web, several errors are thrown. When I fork the repo, packages/isar/lib/src/web shows a lot of errors.
Code sample
import 'package:flutter/material.dart';
import 'package:isar/isar.dart';

part 'main.g.dart';

@collection
class Email {
  Id id = Isar.autoIncrement;

  String? emailAddress;
}

void main() async {
  await Isar.open([EmailSchema]);

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Demo',
      home: Text('Flutter Demo Home Page'),
    );
  }
}

Version

Platform: Web
Flutter version: 3.0.5
Isar version: 3.0.0-dev.14
Isar Generator version: 3.0.0-dev.14

In the current dev version, the Web platform is not supported.

Duplicate of #535


[cypress][SIMS #1549] Institution Programs - Adding Test Cases

Adding Test Cases

Great work @velang01. Highly appreciate your tenacity towards work.


Fix wrong shift/reduce conflict detection

Thank you Domingo.  I took a longer look at this and it turns out its a bug where the precedence and associativity set for < are overwritten by the precedence and associativity of template_test which names it as an implicit terminal in lalr.
Fixed by taking the precedence and associativity from which form of the implicit terminal they are set on.  See #24.

Fixed by #24.


Make page break before sections configurable

Make the page break behavior before sections configurable via the theme. The theme should be able to dictate which headings trigger an automatic page break.

Currently, page breaks occur before level-1 sections (chapters) when the doctype is book. However, they do not occur for level-0 sections (parts).
When the doctype is article, page breaks do not occur at all.
We'll need to think about how to express this.

I would love to be able to specify in my theme where breaks should and shouldn't go. Something like:
page:
  heading-1:
    break:
      before: true
      after: false

I'm aiming to make the theme as faithful to and familiar as CSS as possible. Therefore, I'd like to draw on the properties defined in the CSS page spec.
See https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Pages
So it might be something like:
heading:
  h1:
    page_break_after: always
    page_break_before: auto

One problem we have is with identifying terminology. Right now we use "heading" and "h1", but not "chapter". In AsciiDoc, an h2 isn't always a chapter and an h1 isn't always a part. So we'll probably need to add those keywords to compliment h1, h2, etc, which are the general "bridge heading" case.

Hmm, that format does make more sense. Will it still be possible to define the breaking behavior of any heading type (h1, h2..) as well as things such as chapter and heading?
I use a tool that automatically generates an asciidoc based on another input and I can't modify it to use "header" or "chapter" tags, so I'd love to see both implemented.

Yes, my suggestion is additive. My point is that there's no way to target chapters and parts just by heading level. These are inherent structures in AsciiDoc and we need to have a way to refer to them.

If I have a asciidoc like this
== Section 1
Some text
== Section 2
Some text
== Section 3
Some text

Is there any way to add page break between each section so that each section starts on a new page in a PDF?

I can take this one!
The "<<<" directive at the beginning of a line adds a page feed. It can be
any length, but minimum is 3.
== Section 1
Some text
<<<
== Section 2
Some text
<<<
== Section 3
Some text
<<<
etc etc
On Tue, May 23, 2017 at 12:01 PM, Omnipresent<EMAIL_ADDRESS>wrote:

If I have a asciidoc like this
== Section 1
Some text
== Section 2
Some text
== Section 3
Some text
Is there any way to add page break between each section so that each
section starts on a new page in a PDF?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/asciidoctor/asciidoctor-pdf/issues/74#issuecomment-303499307,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADV0Ftgclxw2AANu-s2gEJeaGrUvoiREks5r8yzwgaJpZM4DHlTL
.

Thanks!

:+1:

Will be very useful.

Currently, there are two page breaks. One before a part and one before a chapter. I think the simplest thing to do here is to be able to control them. Let's use the following two theme keys:

heading_part_break_before
heading_chapter_break_before

A value of "auto" will disable the forced break (letting it break naturally, if the end of the page has been reached). The default value is "always" (which essentially mean force).
Here's an example of how to disable the page break before chapters (but leave the one for parts):
heading:
  chapter_break_before: auto

Setting the before breaks to auto will disable the calls to start_new_chapter and start_new_part, respectively. The sole purpose of these methods is to create the page break, so they are only relevant when that's enabled.

I'm aiming to make the theme as faithful to and familiar as CSS as possible. Therefore, I'd like to draw on the properties defined in the CSS page spec.
See https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Pages
So it might be something like:
heading:
  h1:
    page_break_after: always
    page_break_before: auto

One problem we have is with identifying terminology. Right now we use "heading" and "h1", but not "chapter". In AsciiDoc, an h2 isn't always a chapter and an h1 isn't always a part. So we'll probably need to add those keywords to compliment h1, h2, etc, which are the general "bridge heading" case.

Is that syntax still envisaged ? As far as I can tell I can't configure a page break for a h3, can I ? I'm not quite sure what the relation are between this and the part and chapter terminology.

It seems the break settings only works for doctype books...


Add Schema.loadClass method from mongoose

Includes test

Coverage increased (+0.1%) to 82.702% when pulling 0e98e22b5e9f8378be75cd58f9fe21afb723efa4 on noahtkeller:master into fe9bda54ddc15aed6a4eb016d1398b1a55b77b1e on automategreen:master.

Coverage increased (+0.1%) to 82.702% when pulling 0e98e22b5e9f8378be75cd58f9fe21afb723efa4 on noahtkeller:master into fe9bda54ddc15aed6a4eb016d1398b1a55b77b1e on automategreen:master.

@noahtkeller It looks like the test is failing but because of recent changes I can't access it. Could you maybe solve the merge conflicts to re-trigger the tests?

Pull Request Test Coverage Report for Build 562

23 of 23 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 84.032%

Files with Coverage Reduction
New Missed Lines
%

lib/Table.js
2
78.42%

Totals

Change from base Build 560:
-0.03%

Covered Lines:
1867

Relevant Lines:
2147

💛  - Coveralls

We probably wanna add documentation for this, correct?

Closing this due to no recent activity. If this is still a problem or you have questions please feel free to comment again and we can try to help further.


Parameter UsePublicNet is not recognized

Since this week, when importing this project in my CycleCloud deployment I have the error "Parameter UsePublicNet is not recognized" when trying to deploy the template as - is (the goal is to update it but the error is in the as-is template as well)
The below method worked well just a few weeks ago when I last used it...
to reproduce:
log on to the cyclecloud server, with the cyclecloud cli installed on it
run these commands:
PROJECTNAME=MyProject
LOCKER=$(cyclecloud locker list | cut -d' ' -f1)
cyclecloud project init $PROJECTNAME
cd $PROJECTNAME
cyclecloud project default_locker $LOCKER --global
cyclecloud project fetch https://github.com/Azure/cyclecloud-slurm ./
cyclecloud import_template --force -f ./templates/slurm.txt
cyclecloud project upload

In cyclecloud create a new cluster from the new template
when I try to save the template I get the error "Parameter UsePublicNet is not recognized"
This parameter is not available in the ./templates/slurm.txt file, nor does it seem to appear in any of the other files downloaded using the project fetch command...
ActivityId	#665f22c0-0071-5a84c5cc406e-0
Category	system
ClusterName	01
EntryPoint	https://<IP_ADDRESS>/exec/form/Create:Cloud.Cluster
Id	#665f22c0-0091-5a84c5cc406e-0
Level
Warning
warning

Message	Parameter UsePublicNet is not known (referenced by node scheduler, attribute NetworkInterfaces[0].AssociatePublicIpAddress)
Module	application.template.util
OperationId	#665f22c0-0081-5a84c5cc406e-0
Primary	true
Priority	medium
Time	2:20 PM
User	cycleadmin

its not possible to save the cluster with the error...

Possibly this is related to the used Slurm version..  I'm on 23.02.7-1 now and it works, but I believe that when I had the issue, I was on a later Slurm version.


Phaser.Utils.Array.Replace documentation error

Phaser.Utils.Array.Replace documentation is missing the array argument - code below

@function Phaser.Utils.Array.Replace
@since 3.4.0

/////////SHOULD BE ARRAY parameter here//////////////////////////////////////

@param {*} oldChild - The element in the array that will be replaced.
@param {*} newChild - The element to be inserted into the array at the position of oldChild.

@return {boolean} Returns true if the oldChild was successfully replaced, otherwise returns false.
*/
var Replace = function (array, oldChild, newChild)

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


Is there a way to show the total number of features in the behavex report?

Is there a way to show the total number features in the behavex report?
Describe the solution you'd like
Right now behavex report is showing total scenarios. Is there a way to show the total features?

Hi @PriyadarshiniSelvaraju . Thanks for posting this improvement. We will consider adding it in following BehaveX version.
Regards,

Changes delivered in latest release (v2.0.1)


ASB-879: Section 51 Advice Detail Page

Task
https://pins-ds.atlassian.net/browse/ASB-879?atlOrigin=eyJpIjoiNjA4OThmZDNkM2JiNDMxM2FmYzRhNzE0MGE2N2M4NmUiLCJwIjoiaiJ9

:tada: This PR is included in version 2.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Deploy should only push if there is an actual change

🚀 Feature
Running yarn deploy pushes the a version to the gh-pages branch even if there are no changes to the website.
Motivation
Pushing the website even if there are no changes have a few bad side effects:

doubling the number of commits in the repo.
polluting git log output with irrelevant records
possibly increases the size of the repo (as force push it used).

The user can work around it in circleci config, but it's tricky.
Here is an example such workaround:
https://github.com/facebookresearch/hydra/pull/308/files

To me, this sounds like CI/CD related. I'm not sure if Docusaurus should really be responsible for this (even though it has built-in commands to publish to github pages). There are a lots of ways a static site can be deployed. Github page is just one of many of those options.
My perception is that Docusaurus is a static site generator that helps to build and maintain techincal docs site quickly. It should be focused on that only. Adding any other responsibilities can make it too complicated and/or take away focus from that core function.

I agree with @amimas. It could be a helpful Docusaurus plugin that adds a smart deploy command but then again it's not specific to Docusaurus so maybe it can just be a cli tool?

It looks like docusaurus already owns  this responsibility as evidenced by the the yarn deploy command.
I agree that it would make sense to move this responsibility to a different tool or plugin(s).

Its not easy to work this out as the new plugin system will let you pull out data sources from elsewhere. Example: I can fetch from a realtime API and so every yarn deploy means I want to use the data from that current time I ran the command.
As suggested, this is indeed CI related and docusaurus should not try to handle everything with such limited manpower.

And yeah, actually yarn deploy to gh pages was there due to legacy reason of v1. In fact it can be moved as a plugin with “extendCli” hooks. But well, maybe something to revisit in future.


Added "the compile_commands.json file in build will be used as a compilation database"

To resolve https://github.com/mc-imperial/dredd/pull/212#discussion_r1411292476 and fix https://github.com/mc-imperial/dredd/issues/217


fix: explicitly disable statement_cache for sqlalchemy 1.4

SQLAlchemy 1.4 introduced the statement cache -- it might be good to
enable this once it is tested, but for the moment, it raises a warning
on every first execution which is quite noisy.
/home/gil/github.com/ibis-project/ibis/ibis/backends/base/sql/alchemy/__init__.py:362:
SAWarning: Dialect postgresql:psycopg2 will not make use of SQL
compilation caching as it does not set the 'supports_statement_cache'
attribute to ``True``.  This can have significant performance
implications including some performance degradations in comparison to
prior SQLAlchemy versions.  Dialect maintainers should seek to set this
attribute to True after appropriate development and testing for
SQLAlchemy 1.4 caching support.   Alternatively, this attribute may be
set to False which will disable this warning. (Background on this error
at: https://sqlalche.me/e/14/cprf) return sa.Table(name, self.meta,
schema=schema, autoload=autoload)

For now, explicitly setting support to False stops the noise.

Thanks!!


add script to dynamically generate multiple manifests on the fly

This is a short-term hack until https://github.com/kubernetes-sigs/k8s-container-image-promoter/issues/13 gets resolved in the Go code directly. Once https://github.com/kubernetes-sigs/k8s-container-image-promoter/pull/23 gets merged (serializing multiple runs of the promoter in 1 script), this script can reuse it.
The real-world use case for this script is that we want to be able to push to multiple regional GCRs.

This is no longer necessary as #13 has been resolved (the promoter can now promote to multiple destination repositories).


Message edit .save() and .end() refactor

This is a draft PR intended to illustrate an approach to refactoring message_edit .save() and .end() endpoints. The commits are separate in the hopes of making review easier, the idea is to squash them all together if this approach is acceptable. Using "inline_topic_edit" (instead of eg "recipient_bar_edit") is an intentional choice to stay close to the html class name.
Testing Plan:
GIFs or Screenshots:

Sigh, this is won't fix if there's more than one edit form:

The specific order in which these failures are happening leads me to hypothesize that this is cause by eg hiding an edit form, when the appropriate action would be to remove one. Will investigate and update with a prep commit if so.

Turns out the problem above wasn't that complicated, I was just using $(ID) which would return the first match, singular. The correct solution was to use $(CLASS) which would return all matches.

@showell I've marked this as ready for review, would appreciate feedback.

This is great, and really readable, thanks for doing this @YashRE42!
I merged this as the series ending with 2ed139cab399292445070d2e2901b795bb327897; the only change I made is adding the last commit to fix a bug I noticed while testing the topic-edit UI with a slow and then offline network configured via the browser console's Performance tab.

Oh, I guess this doesn't close the issues it fixed; I'll do that now.

OK, I think it was just the one, but may be worth a quick scan through the message-editing label for you as well.
I'm glad to have this JS exception fixed; it was one of the more common ones in production.


Reorg babel and src directories

I'm not going to merge this unless @rbcasperson is OK with it, or until all other open PRs are merged.


Add TLS support

Adding TLS/SSL support to network clients in Crystal is usually as simple as wrapping a Socket in an OpenSSL::SSL::Context::Client. In this case, I also had to change the types of the sockets to IO::Buffered (a superclass shared by Socket and OpenSSL::SSL::Context::Client) instead of making it a union type between the two classes.
This PR also adds support for taking a URL (in either String or URI form). I just found it easier to test this when I didn't have to slice up my CloudAMQP or Amazon MQ URLs manually. :-)
Also, this PR contains @carlhoerberg's commit from #30 (I needed it because I'm on 0.27). When that PR is merged, I'll merge master into this branch so it won't be in the diff.

Hi @datanoise, Is this repo still being maintained? There's a backlog of PRs and I'd hate to see it fall behind. Im sure one of the project contributors could take over as maintainer.

@DougEverly here's a maintained amqp library: https://github.com/cloudamqp/amqp-client.cr

@carlhoerberg Looks like we're both maintaining our own forks. https://github.com/datanoise/amqp.cr/compare/master...jgaskins:master
Should we combine our efforts?

@jgaskins no, we've abandoned it and instead built a new library from the ground up: https://github.com/cloudamqp/amqp-client.cr


By clicking on the manage trip button all possibilities of editing a trip are being displayed (e.g. invite new members).

implemented with commit: 70857dc


2021-11-5 recommend

https://github.com/M2Team/NanaZip
https://github.com/EtherDream/http-server-online
https://github.com/questdb/questdb
https://github.com/jinek/Consolonia
https://github.com/CesiumGS/cesium
https://github.com/wasdk/WebAssemblyStudio

96214d24c62067460b74721cff612ebcc7f760dc


Dont try to geoip when remote_addr == "-"

This can happen if you dont use HAProxy as LB,
<EMAIL_ADDRESS>and produces massive log outputs that make logstash fill up the disk in the middle of the night..

Oh, just noticed that we have other nasty values in x_forwarded_for, namely "unknown".
I will alter the PR to match remote_addr against a regexp.

@simonjohansson - is this ready for merging?

@mrdavidlaing yeah, I would say so. I run the latest commit in our env right now without any issues.

Danke. :)


The Key for decryption (Local State) could not be found:

Title says it all again

Can you please elaborate further on this issue? The title isn't enough.

I alr fixed it. Thank you for trying to help tho


Clean data 3

Added the clean_data function which drops multiple useless coloumns from the df

The columns to be dropped aren't being used anywhere, it is slightly redundant. Also, which do these changes reflect?


Add @danlester as maintainer

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Discord: username spoofing failed when a Telegram message followed a thread

Describe the bug
Just the username/avatar spoofing doesn't work when someone replies from Telegram in a thread.
To Reproduce
Steps to reproduce the behavior:

Enable PreserveThreading on both.
Send a message from Discord.
Reply that message on Telegram in a thread.

Expected behavior
Username/spoofing works properly on Discord.
Screenshots/debug logs

Environment (please complete the following information):

OS: Arch Linux
Matterbridge version: 1.25.0

Additional context
[discord]
  [discord.testing]
    Token="my.discord.token"
    Server="my.server.id"
    RemoteNickFormat="{NICK}"
    UseLocalAvatar=["irc", "telegram"]
    AutoWebhooks=true
    PreserveThreading=true
    EditDisable=true

[telegram]
  [telegram.testing]
    Token="my.telegram.token"
    RemoteNickFormat="<{NICK}> "
    PreserveThreading=true
    EditDisable=true
    QuoteDisable=true

Please search in the issues and FAQ before opening a new issue.
See https://github.com/42wim/matterbridge/wiki/FAQ#replies-show-the-botname-instead-of-the-usernameavatar it's a limitation in discord.
You can set PreserveThreading=false to have a sorta workaround.


Enhancement to use overlays in viewer.addTiledImage + relative positioning to the tiled image

Discussed in https://github.com/openseadragon/openseadragon/discussions/2093

Originally posted by liveman1 January 19, 2022
Hi,
is it possible to add overlays together with new tiled images using viewer.addTiledImage?
Something like:
	viewer.addTiledImage({
      	  tileSource: [{
              url: 'xxx.dzi',
	      x: 0.5,
	      y: 0.2,
	      width: 0.1
              },
          overlays: [{
             id: 'overlay1',
	     x: 0.5,
	     y: 0.2,
	     width: 200,
	     height: 200,
	     className: 'class1'
             },
	     {
             id: 'overlay2',
             x: 0.1,
	     y: 0.7,
	     width: 200,
	     height: 200,
	     className: 'class2'
             }]
             ]
          });

If so, is there any way to have a relative positioning of the overlay within the added tiled image? This would allow not to touch the overlay coordinates if the coordinates of the tiles image change.
For example the relative coordinates of overlay1 should be x: 0.0, y: 0.0,
Thanks a lot for your help!

OSD does not support tiled image-relative overlays. Implementing that would be the meat of this task. Once that's done, it would be relatively easy to add the overlays option to addTiledImage.
I'm actually not sure what the best approach to adding image-relative overlays would be. Should they belong to the Viewer like other overlays, but with additional logic to move them with the image and remove them when the image is removed? Or should they belong to the TiledImage? I think the latter would be good from an architectural standpoint, but it depends on whether the existing overlay system could support it.
@liveman1 if you're interested in implementing this feature, I'm happy to help you with info as needed. Otherwise, hopefully someone else will pick it up.


feat(shared/helpers): add getNextOccurrence of ISO R/interval

Context

Extracted from https://github.com/interledger/web-monetization-extension/pull/426. Will also be useful in https://github.com/interledger/web-monetization-extension/issues/377 (to tell user when their funds will auto-renew).

Extension builds preview

Name
Link

Latest commit
d5e244c03f256781bb982ed56ccd8c95204a476e

Latest job logs
Run #9953973837

DownloadDownload