⚠ Bofrost.be has degraded performance

In 51eb537, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 821 ms

Resolved: Bofrost.be performance has improved in 620f84b.


Fix: Onboarding modal shows up after refreshing page with 2FA setup when xero connected and 2FA disabled

Details

This PR addresses an issue where the onboarding modal appears after refreshing the page with 2FA setup when xero is connected and 2FA is disabled.
Fixed Issues

$ https://github.com/Expensify/App/issues/46026
PROPOSAL:  https://github.com/Expensify/App/issues/46026#issuecomment-2253555532
Tests

Precondition:

Account is connected to Xero
2FA is disabled after Xero is set up

Open app
Log out if logged in
Log in to the account with Xero connected and 2FA disabled
After login, 2FA setup prompt will show up
Without setting up 2FA, refresh the page (For native apps, close the application and reopen it)
Confirm that the onboarding modal does not shows up behind the 2FA setup prompt

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Same as Tests

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/7bf7a586-7838-406d-9291-b2d2ca6249e7

Android: mWeb Chrome

https://github.com/user-attachments/assets/c2b77b1e-a4cd-4037-b507-9ce9a01bfeb4

iOS: Native

https://github.com/user-attachments/assets/abe25971-3ec1-4db3-b2b1-5312da778370

iOS: mWeb Safari

https://github.com/user-attachments/assets/ed1257a8-f437-4fb0-8736-baa0840c08c2

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/eb10e768-5849-49d0-8117-15dec9939b8e

MacOS: Desktop

https://github.com/user-attachments/assets/bd88c062-9c6e-423d-918b-7e021b651e3e

I have read the CLA Document and I hereby sign the CLA

Hi @tushar-a-b, I see an issue with our linter

@Julesssss fixed it 👍

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/Julesssss in version: 9.0.18-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 9.0.18-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


ImportError: cannot import name 'OpusEncoder' from 'pyogg'

Hi,
I am on Windows 10 and followed the instructions for installing PyOgg.
However, everytime I attempt to use it, I am greeted with this error:

ImportError: cannot import name 'OpusEncoder' from 'pyogg'

I installed it the normal way using pip install in an Anaconda environment.
Any help would be appreciated.

That sounds very frustrating.  I too would have just expected it to work out-of-the-box.
I wasn't aware that'd we'd released any versions with OpusEncoder included.
The version that I see that is available on PyPI is PyOgg 0.6.14a1 (https://pypi.org/project/PyOgg/)
And when I look up that version on GitHub I don't see any references to OpusEncoder. (https://github.com/TeamPyOgg/PyOgg/tree/c53233cdbbb485ca365337d9621fe33a0e39152a/pyogg)
So I'm at a bit of a loss.  @Zuzu-Typ do you know how Tobi might have a version that includes OpusEncoder?
@tobischw, is it possible that you specified the in-development version from the GitHub repository when you issued the pip install command?  Could you please share with us the full command that you used?
What version does pip list report for pyogg?
Cheers,
Matthew

It's worth notating however that I haven't tried using PyOgg with Anaconda.

Hi there you two,
@mattgwwalker I think you misinterpreted the issue. The problem is not that OpusEncoder exists, but rather that it does not, even though it's used in the examples on GitHub. It's most likely imported like this from pyogg import OpusEncoder and that doesn't work with the old versions of course.
@tobischw As of now, we haven't yet published the many changes that matthew has made to the PyPI yet, probably because we don't feel like it's completed yet. For the time being, try to refer to the documentation on here.
Alternatively, you can also clone (i.e. download) the project from here, which should work the intended way
(e.g. by using pip install git+https://github.com/TeamPyOgg/PyOgg).
Maybe we should push an updated version some time in the not too far future.
Cheers,
--Zuzu_Typ--

You’re quite right Zuzu-Typ, I should have asked what it was that you were
doing that caused the error Tobi. We’re you indeed trying the examples?
I would not yet recommend we publish the most recent additions. I have
spent the last few weeks looking at the issues under Windows and the
changes I made. The changes are most certainly not ready for prime time
just yet.
However if the documentation’s lack of alignment with the released version
is a problem, maybe that should be fixed urgently.
Tobi, I’d appreciate understanding a bit more about how you encountered the
problem.
Cheers,
Matthew
On Tue, 27 Oct 2020 at 18:30, Zuzu-Typ<EMAIL_ADDRESS>wrote:

Hi there you two,
@mattgwwalker https://github.com/mattgwwalker I think you
misinterpreted the issue. The problem is not that OpusEncoder exists, but
rather that it does not, even though it's used in the examples on GitHub.
It's most likely imported like this from pyogg import OpusEncoder and
that doesn't work with the old versions of course.
@tobischw https://github.com/tobischw As of now, we haven't yet
published the many changes that matthew has made to the PyPI yet, probably
because we don't feel like it's completed yet. For the time being, try to
refer to the documentation on here https://pypi.org/project/PyOgg/.
Alternatively, you can also clone (i.e. download) the project from here,
which should work the intended way
(e.g. by using pip install git+https://github.com/TeamPyOgg/PyOgg).
Maybe we should push an updated version some time in the not too far
future.
Cheers,
--Zuzu_Typ--
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TeamPyOgg/PyOgg/issues/56#issuecomment-716992937, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA653XFPVCVEVBC6BSBIF7TSMZLHVANCNFSM4TADKQ3Q
.

Hi,
from reading your comments, I am assuming that OpusEncoder was simply not published yet, hence why it cannot be imported. That's most likely my fault for assuming that it has been released - not quite sure how I landed on the documentation then. No worries, I appreciate your work and your help.
Thanks,
Tobi

I just ran into the same issue, just with the OpusBufferedEncoder.
Installed with:
pip3 install pyogg

And then the examples don't work, as the file containing OpusBufferedEncoder seems to be missing.

Sorry that you had the same issue.  It will be resolved when we release the next version of PyOgg, which should happen soon.
If you would like to use the as-yet-unreleased code (which includes OpusBufferedEncoder), please clone the master branch of the repository and install that:
git clone https://github.com/TeamPyOgg/PyOgg.git
pip install -e .

Cheers,
Matthew

Thanks for the response. I completely understand. It was just confusing for me, as the README file points to the docs, and the docs already contain the information. Maybe have two docs: "latest released" and "latest"
I went with the solution mentioned above:
pip3 install git+https://github.com/TeamPyOgg/PyOgg@c78487ef52960d98ab3af5b66a744af8a5efe686

Which gives me some "stable" (in the form of a git commit hash) version, and still provides the unreleased functionality. Looked good so far. Thanks!


Input field type and default value

So, I've got an input field here:
H.input [ P.classes [ B.formControl ]
        , P.value (formDateFromDate $ st.currSessionDate)
        , P.inputType P.InputDate
        ]

If I have the P.inputType property, then the P.value is always overridden, and the value is always "mm/dd/yyyy". If I omit the P.inputType, then I can have a default value, but the type of the input goes unspecified, and Chrome etc doesn't put in a datepicker.
It seems like I should be able to specify both an input type and a default value. What's the way to do that?

The "non standard" form inputs behave absymally - I'm not sure this is down to Halogen necessarily. Have you tried the equivalent code just in HTML? Does that work? How about if you construct an input in javascript and assign the value/type properties?

Ahhh, my fault! I was providing the value as yyyy/mm/dd and it wanted yyyy-mm-dd. :|


Declarative obfuscation is broken / not backwards compatible.

Hey!
Thanks for maintaining the project.
I've just run into an issue whilst migrating to this fork - we make heavy use of declarative obfuscation in our projects and found that this version throws a parsing error for our use case:
Broken:
preset(aggressive);+rename(mode=decodable)

Working:
false:preset(aggressive);+rename(mode=decodable)

I found out how to do this by looking at the feature match regex. Putting that colon in pushes the protection string into another capture group. I then checked the pattern parser's lexer to find a good value to use here, and false turns out to be a noop.

Good catch. I fixed the issue. It would be nice if you could test it and get back to me if it works for you now.

No further feedback. It works for the provided example and the change referenced in this ticket.


[FEATURE]Add fillnull command to PPL

Description:
We propose adding a fillnull command to OpenSearch's Piped Processing Language (PPL) to provide a convenient way to handle null or missing values in query results. This feature would be similar to the fillnull command in Splunk's SPL, enhancing PPL's data cleaning and preparation capabilities.
Proposed Functionality:

The 'fillnull' command should allow users to replace null values with a specified value.
It should support filling nulls for specific fields or all fields.
The command should allow different fill values for different fields.
It should support conditional filling based on other field values or expressions.

Example Usage:
... | fillnull value=0

This would replace all null values in all fields with 0.
... | fillnull value=N/A field1, field2

This would replace null values in field1 and field2 with "N/A".
... | fillnull field1=0 field2="Unknown" field3=false

This would fill null values in different fields with different values.
... | eval new_field = if(field1 == "category1", field2, null) | fillnull value=0 new_field

This example uses eval to create a new field (or overwrite an existing one) based on a condition, and then use fillnull  to handle the null values
...
| eval field1 = if(field1 == "category1", field1, null), field2 = if(field2 == "category2", field2, null)
| fillnull field1=0 field2="Unknown"

This example uses multiple eval expressions to handle different conditions for multiple fields, followed by fillnull

implementation Considerations:

Ensure compatibility with existing PPL commands and syntax
Optimize performance for large datasets with many null values
Provide clear documentation and examples for users
Consider type-checking or type-conversion for filled values

[Catch All Triage - 1, 2,  3,  4]

I can start development of this.


update window title on setting document.title

It is traditional and portable to set the window title from JavaScript using document.title.  That doesn't seem to be working.  It seems easy enough to set up a callback from JavaScript to  webview_set_title, but it would be simpler without having to do that.  Would it make sense to have document.title set the webview title?  Perhaps only if the latter is NULL?
This is a very minor and low-priority feature request, but if it is easy to implement perhaps it would be worthwhile.

Is this a good idea?   I don’t want some random url or worse malicious JavaScript being able to change the title on the window of any application I write.
Sent from my iPhone

On Jul 14, 2018, at 6:54 PM, Per Bothner<EMAIL_ADDRESS>wrote:
It is traditional and portable to set the window title from JavaScript using document.title. That doesn't seem to be working. It seems easy enough to set up a callback from JavaScript to webview_set_title, but it would be simpler without having to do that. Would it make sense to have document.title set the webview title? Perhaps only if the latter is NULL?
This is a very minor and low-priority feature request, but if it is easy to implement perhaps it would be worthwhile.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I mentioned the idea to use document.title only if the webview-title is NULL.
(I would not expect people to use a "random URL" with webview - it is not a web browser. I understand it as providing a GUI for "native" applications.)

Ok,  but why even add the risk.  Having a multi-behavior for a setting is a
recipe for disaster.   Just set the webview-title during the initialization
of the window and be done. You know the initial url, so you should know the
title of the native window.
Creating a library with multi-behaviors is bad juju. IE It works like this,
unless x,  then it works this way, unless z, ..., unless..., then it makes
coffee.
Poor API designs like this should be avoided because it creates, larger
crossections for exploiting, larger learning curve to understand the fringe
use cases, more bugs, and unnecessary complexity.
Less is more,  do one thing and do it well.
On Sun, Jul 15, 2018 at 11:37 AM Per Bothner<EMAIL_ADDRESS>wrote:

I mentioned the idea to use document.title only if the webview-title is
NULL.
(I would not expect people to use a "random URL" with webview - it is not
a web browser. I understand it as providing a GUI for "native"
applications.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zserge/webview/issues/172#issuecomment-405099678, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFJVU7M7mQ6u6YAk4BN8uqzGwhP-hnLsks5uG2HLgaJpZM4VQCwg
.

--
Joseph M. Rice

"Just set the webview-title during the initialization of the window and be done."
You realize some people (including me) want to update the title dynamically?  It is traditional for terminal emulators to update the window title based on an escape sequence, so that is what DomTerm does.  And it works on "generic" browsers (some append the application name to the document.title).  When Chrome is started in -app mode it just uses the document.title as-is. (Of the various DomTerm front-ends, chrome in -app mode is the closest in behaviour and functionality to webview.)
"Creating a library with multi-behaviors is bad juju."
Now you're moving moving the multi-behavior - setting the window title requires different code when running under webview than running under a browser.  I don't see how that is an improvement.

I agree that this would be a good feature. I think it might be a good idea to have WebView.SetTitle() sort of bound to window.title, too, so we can access and change the title from within the app.


Gulp outputs that series has finished, but processes still running

I am running a few tasks via series, with one task scanning some directories, and another zipping the contents of each directory.
Despite the console displaying the message Finished 'cleanAndBuild' after 28 s this isn't actually the case, with the console not exiting until much later, at about 120s.
gulpfile.js
const { exec } = require('child_process');
const { series, dest, src } = require('gulp');
const del = require('del');
const fs = require('fs');
const zip = require('gulp-zip');

function clean() {
  return del('.dist/');
}

function installPackages() {
  const directories = fs.readdirSync('lambda/');
  directories.forEach((dir) => {
    if (fs.existsSync('lambda/' + dir + '/package.json')) {
      console.log('package.json exists in ' + dir);
      const path = `lambda/${dir}/`
      exec(`npm --prefix ${path} ci ${path} --production`)
    }
  });
  return Promise.resolve();
}

function buildZip() {
  console.log('zipping...');
  const directories = fs.readdirSync('lambda/');
  directories.forEach((dir) => {
    return src('lambda/'+dir+'/**').pipe(zip(`${dir}.zip`)).pipe(dest('.dist/lambda/'+dir));
  });

  return Promise.resolve();
}

exports.cleanAndBuild = series(clean, installPackages, buildZip);

Using the CLI tool gnomon I was able to get the true timing of running my task.
Why is gulp saying cleanAndBuild has finished when it hasn't? And is there anything I can do to improve this script to make it faster/more efficient?
Thanks

You aren't writing your gulp file correctly. This isn't a support forum, so I'll transfer this to GitHub discussions. You probably want to review our getting started guide to understand asynchronousity


Resolved - Added Circular Cursor and Fixed Spacing ➕

Hey @Suchitra-Sahoo,
This PR closes issue #1077
Here's what i did

I Added Circular Cursor in both the pages
Fixed the spacing between card and footer in both the pages

Type of PR

[x] Feature enhancement

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x ] I have commented my code, particularly in hard-to-understand areas.

@Suchitra-Sahoo Done!

@Suchitra-Sahoo Thankyou for merging the PR.
also, Please add the labels


feat: Configure graceful exit 0 on proxy container termination

Configure the proxy container to exit 0 when it is terminated. When the main workload container exits,
kubernetes will call the /quitquitquit endpoint and send a SIGTERM to the proxy container. We want the
proxy to exit with code 0, indicating a clean termination.
Without this change the proxy container would exit with exit code 140 (meaning terminated), which
would cause kubernetes to report the pod as "exited in an error state."
Fixes #361

Labeled tests: run to invoke e2e tests on this PR.

E2E tests passed: https://github.com/GoogleCloudPlatform/cloud-sql-proxy-operator/actions/runs/6052015286/job/16424854308?pr=425

No, this will work with the current proxy version and represents an improvement on the proxy.
It will work even better when the proxy is released with PR# 1947


egp3DTracker does not function properly for EGP screens

Please note: This issue tracker is for bug reports
If your issue isn't a bug report, or if you are unsure whether it's a bug, please go to our discord channel instead at https://discord.gg/H8UKY3Y
If you are confident your issue is a bug, please fill in as much information as you can below.
Describe the bug
EGP 3d trackers on screens do not display in the correct location. I tested this with others e2s as well as one I made specifically for the test.
To Reproduce
Make an e2 with both an EGP hud and screen input
Make a 3D tracker for both elements
Parent both 3D trackers to the same entity
Position the 3D tracker in the same position for both
Example Code:
@name EGP 3D Tracking Tester
@inputs [EGPHud EGPScreen]:wirelink TargetPos:vector

if(first())
{
    EGPHud:egpClear()
    EGPHud:egp3DTracker(1, vec())
        EGPHud:egpParent(1, entity())
    EGPHud:egpCircleOutline(2, vec2(), vec2(20))
        EGPHud:egpParent(2, 1)

    EGPScreen:egpClear()
    EGPScreen:egp3DTracker(1, vec())
        EGPScreen:egpParent(1, entity())
    EGPScreen:egpCircleOutline(2, vec2(), vec2(20))
        EGPScreen:egpParent(2, 1)
}

EGPHud:egpPos(1, vec(600, 0, 0))
EGPScreen:egpPos(1, vec(600, 0, 0))

interval(100)

Expected behavior
The 3D tracker should be in the same location as the one on the HUD, instead it behaves very strangely
Screenshots
https://snipboard.io/pon096.jpg
https://snipboard.io/bLrmsu.jpg
https://snipboard.io/KGxcQL.jpg

oh hello there ally its me Dionix remember me


Migration to Swift 4

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7a2c896). Click here to learn what that means.
The diff coverage is 85.71%.

@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage          ?   75.76%
=========================================
  Files             ?       16
  Lines             ?      425
  Branches          ?        0
=========================================
  Hits              ?      322
  Misses            ?      103
  Partials          ?        0

Flag
Coverage Δ

#CloudEnvironment
75.76% <85.71%> (?)

Impacted Files
Coverage Δ

Sources/CloudEnvironment/CloudEnv.swift
71.73% <85.71%> (ø)

Continue to review full report at Codecov.

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


Update build.gradle

Update Bamboo version to 7.2.3. This version is available on the prelive system for further testing.

Checklist

[ ] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[ ] Server: I followed the coding and design guidelines.
[ ] Server: I added multiple integration tests (Spring) related to the features (with a high test coverage)
[ ] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[ ] Server: I implemented the changes with a good performance and prevented too many database calls
[ ] Server: I documented the Java code using JavaDoc style.
[ ] Client: I followed the coding and design guidelines.
[ ] Client: I added multiple integration tests (Jest) related to the features (with a high test coverage)
[ ] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[ ] Client: I documented the TypeScript code using JSDoc style.
[ ] Client: I added multiple screenshots/screencasts of my UI changes
[ ] Client: I translated all the newly inserted strings into German and English

Motivation and Context

Description

Steps for Testing

Log in to Artemis
Navigate to Course Administration
...

Test Coverage

Screenshots

@RobertJndw

The Server API tests run successfully, so we can merge this PR to develop as soon as the new Bamboo version is deployed (Monday night)

\o/


push to array without initial declaration

consider this code:
dates = []
while ((next ||= @) < limit)
   callback?(next); dates.push new Date next
   next.advance step

would be nicer to have the [] = operator so that:
while ((next ||= @) < limit)
   callback?(next); dates[] = new Date next
   next.advance step

Like in PHP

I've used this approach a few times:
(dates ||= []).push new Date next

Just in case you weren't aware, while "statements" are expressions:
dates = while (next < limit)
   new Date next

~>
var dates;

dates = (function() {
  var _results;
  _results = [];
  while (next < limit) {
    _results.push(new Date(next));
  }
  return _results;
})();

As @geraldalewis says, you rarely need to declare arrays that you're pushing to from loops anyway. And I'd hate to create such a weird exception to the rule that a = b is the only way to declare a variable named a.

Good points. Agreed.


Feature request: support for headless use?

What does this feature request mean ? Do you mean using headless chrome in the tool ?

Yes, or any headless browser, so that we can use it without a windowing session

If you are using headless mode, then you don't really need this tool (you can already automate saving the page, etc). This tool is specifically meant for X-window session and relies on xdotool to send specific key stroke to Browser window.
PS: This tool actually predates headless chrome - if that existed, then I probably wouldn't have wrote this.


Use Poetry for packaging and dependency management

This PR updates pyproject.toml to use Poetry for packaging and dependency management.
Documentation is also updated and the ci workflow for GitHub Actions

@mcarans I'm okay with this... Anything else?


move to go mod

After this gets merged could you create a vX.X.X tag, please?

Coverage remained the same at 91.569% when pulling 988a3d8f8ae4cbbae225c772d16d3358bad9c49b on steenzout:go-mod into fed7223fd93486028dbffeb7a9bbc85b0e92be37 on yl2chen:master.

Coverage remained the same at 91.569% when pulling 988a3d8f8ae4cbbae225c772d16d3358bad9c49b on steenzout:go-mod into fed7223fd93486028dbffeb7a9bbc85b0e92be37 on yl2chen:master.

Thank you, published v1.0.0


btc bip44 derivationPath is Error generating address

Describe the bug
on ios swift
I'm already here coins.json Change the path of BTC to bip44，but generated btc address is bip84
To Reproduce

Expected behavior
It is expected that the address of BTC bip44 can be generated
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

changing deviation path in coins.json will change the private key, if you want to legacy address, you need to use BitcoinAddress class, CoinType method will always derive bc1 address


Some articles can't get imported

Some articles can't get imported because of an Elasticsearch related exception. This stops the whole process because Doctrine closes the entity manager when there is an exception.

Then importer should continue next journal, right?

This issue isn't around anymore.


feat: add filesystems guide

This is great @Mause! Super cool that you have allowed DuckDB to benefit from some of the goodness only available in Python-land.
As an aside, is this an approach that you think we could open up to to others in some way, like maybe Python-specific extensions? If so, maybe we include it within the upcoming DuckDB extensions blog post?


'502 Bad Gateway' caused by: read tcp xx.xx.x.xxx:yyyyy->xx.xx.x.xxx:yyyy: wsarecv: An existing connection was forcibly closed by the remote host

Do you want to request a feature or report a bug?
Bug

Bug
What did you do?
Deploy Tarek on windows without using docker.
Configure Traefik with two REST API's hosted on IIS 10.0 on two different VM's using sticky sessions.
Using jmeter put load of 2500 users http request almost 200 requests per second with 2500 web socket connection to receive notifications of the information coming from backend web api signal server.
The load run for few hours

What did you expect to see?
The traefik should load balance the request using sticky session with 1250 on one of REST API and 1250 to second VM box of REST API.
There should not be any error during test for http request and websocket for received data.
What did you see instead?
Few of request failed with error '502 Bad Gateway' caused by: read tcp xx.xx.x.xxx:yyyyy->xx.xx.x.xxx:yyyy: wsarecv: An existing connection was forcibly closed by the remote host
Output of traefik version: (What version of Traefik are you using?)

Version:      2.3.6
OS/Arch:      Windows/amd64 (Not using docker straight deployment on windows 2016)on

What is your environment & configuration (arguments, toml, provider, platform, ...)?
## Static configuration
[entryPoints.ApiGateway]
	address = "<IP_ADDRESS>:8450"

[entryPoints.ApiGateway.http.tls]
      certResolver = "leresolver"

[serversTransport]
  insecureSkipVerify = true # insecureSkipVerify disables SSL certificate verification.

[providers]
  [providers.file]
	directory = "C:\\traefik_v2.3.6_windows_amd64\\config"

[log]
  level = "ERROR"
  filePath = "log/traefik.log"

## Dynamic configuration
[http]
 [http.routers]
 [http.routers.ApiGatewayRoute]
   entryPoints = "ApiGateway"
   rule = "Host(`<IP_ADDRESS>`)"
   service = "ApiGatewayService"

[http.services]
[http.services.ApiGatewayService]
[http.services.ApiGatewayService.loadBalancer]
[http.services.ApiGatewayService.loadBalancer.sticky.cookie]
	  name = "api-session-id"
      secure = true
      httpOnly = true
      sameSite = "none"
[http.services.ApiGatewayService.loadBalancer.healthCheck]
      path = "/api/v1.0/Authentication/Health"
      interval = "6s"
      timeout = "3s"
  [[http.services.ApiGatewayService.loadBalancer.servers]]
      url = "https://<IP_ADDRESS>:8445"
  [[http.services.ApiGatewayService.loadBalancer.servers]]
      url = "https://<IP_ADDRESS>:8445"

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
time="2021-01-09T07:45:01Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" ForwardURL="https://<IP_ADDRESS>:8445" Request="{\"Method\":\"PUT\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/api/v1.0/Cache/AddCache\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\",\"RawFragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Connection\":[\"keep-alive\"],\"Content-Length\":[\"1113\"],\"Content-Type\":[\"application/json\"],\"Cookie\":[\"api-session-id=https://<IP_ADDRESS>:8445; session-id=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2MTAyMDU3NTYsImV4cCI6MTYxMDIwOTM4NiwiaWF0IjoxNjEwMjA1NzU2LCJBY2Nlc3NUb2tlbklEIjoiZjA3YmZkMTZlZTgyNGZhYTk1YmRiZTMwODU3ZTY5ZjciLCJVc2VySUQiOiIwMDU3RjAwMDAwMjQ5ckhRMTExMCIsIlVzZXJHcm91cHMiOltdLCJSb2xlcyI6W10sIlBlcm1pc3Npb25zIjpbIkNUSVNlcnZpY2UiLCJDYWNoZVNlcnZpY2UiLCJBdXRoZW50aWNhdGlvblNlcnZpY2UiXX0.0ReFfgSDoeXWwQAoH3ApRXKspPRHbSM6F2WV7C9RquE\"],\"User-Agent\":[\"Apache-HttpClient/4.5.10 (Java/1.8.0_271)\"],\"X-Forwarded-Host\":[\"<IP_ADDRESS>:8450\"],\"X-Forwarded-Port\":[\"8450\"],\"X-Forwarded-Proto\":[\"https\"],\"X-Forwarded-Server\":[\"pk-crmc-load-s1\"],\"X-Real-Ip\":[\"<IP_ADDRESS>\"]},\"ContentLength\":1113,\"TransferEncoding\":null,\"Host\":\"<IP_ADDRESS>:8450\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"<IP_ADDRESS>:58954\",\"RequestURI\":\"/api/v1.0/Cache/AddCache\",\"TLS\":null}"
time="2021-01-09T07:45:01Z" level=debug msg="'502 Bad Gateway' caused by: read tcp <IP_ADDRESS>:23362-><IP_ADDRESS>:8445: wsarecv: An existing connection was forcibly closed by the remote host."

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Add leiden native code to topologic

Leiden University advanced the community identification algorithm first developed by Universite catholique de Louvain in the paper From Louvain to Leiden: guaranteeing well-connected communities, as well as provided a Java reference implementation released under the MIT license.
We now have a working version of this written in Rust and can use pyo3 to provide it as a native Python module. This should be pulled into topologic for others to use.
It should be noted that this initial release is still somewhat fluid, but we're excited to bring this to everyone!

hi @daxpryce are you folks still thinking of releasing the Rust implementation?

it's available via a python interface in graspologic, the sucessor to this package https://github.com/graspologic-org/graspologic the underlying rust implementation lives in https://github.com/graspologic-org/graspologic-native

it is as @bdpedigo said!


The controller is glitchy when used with Jolt Physics.

The controller seems to glitch when using Jolt Physics, especially when crouching while Jolt Physics are enabled.

I just tested this with Jolt physics, and it looks like it doesn't like scaling the collision mesh. That's a bug with Jolt physics. I couldn't find any other glitchy behavior than that.


refactor: Use FunLike on ProbabilityMeasure

... instead of CoeFun. This ensures ⇑μ doesn't get unfolded to fun s ↦ (μ s).toNNReal, which is bad for both readability in the infoview and indexing in simp (see #13164 for the latter).

bors merge

Out of curiosity
!bench


gridbased batch experiment

Environment variable to speedup wide range of batch gemm.
It multiply batch size to M or N depending on which one is larger.

[----------] Global test environment tear-down
[==========] 35372 tests from 13 test suites ran. (1663461 ms total)
[  PASSED  ] 35372 tests.
hipBLASLt version: 800


#bodhi timeStamp issue in OE_START and OE_END

In the sunbird-portal telemetry, when OE_START is created and a corresponding OE_END is pushed to the TelemetryV2Manager._end queue, the time that is stored as ets in OE_START is different from the time that is stored in the queue OE_END event that is used to calculate the edata.eks.length when the OE_END event is actually fired. As a result, the actual time spent on the content is miscalculated. Ideally, OE_START ets must match with the startTime used for calculating OE_END edata.eks.length

Thanks for the bug report @ajinkya-k. Could you please submit a PR for the fix? Thanks!

Issue moved to project-sunbird/sunbird-portal #161 via ZenHub


tflite operators support dependent on tf.shape

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): docker images
TensorFlow version (use command below): 1.15.0-rc2 / 2.10.-dev20191027
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the current behavior
I am trying to convert an variational autoencoder into a tflite model. During the process, I stumbled across a weird bug. When explicitly specifying the shape of the sampling layer like this: tf.random.normal(shape=(10,)), the model is convertible without any errors.
But in case of not hard-coding the shape into my model, e.g. by inferencing it from the input vector(s) like so:
dimension = tf.shape(z_mu)[1] #index 0 is batch size
eps = tf.random.normal(shape=(dim,))

I get the error that tf.random.normal is not supported by the TF Lite runtime:

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, EXP, FULLY_CONNECTED, LEAKY_RELU, LOG, MUL. Here is a list of operators for which you will need custom implementations: RandomStandardNormal.

Describe the expected behavior
It doesn't make sense to me that the possibly buggy inference of a shape influences whether an OP is supported or not. Also, I am not sure if the hard-coded model can be trusted or not.
Code to reproduce the issue
Just set the EXPLICIT flag to False to get the error.
import tensorflow as tf
import pandas as pd
import numpy as np
from tensorflow import keras

print(tf.__version__)

EXPLICIT = True

### DATA
training_data = np.random.rand(1000, 90)
train_dataset = tf.data.Dataset.from_tensor_slices((training_data, training_data))
train_dataset = train_dataset.shuffle(1000).batch(100)

### MODEL
x = keras.layers.Input(shape=(90,))
h = keras.layers.Dense(40, activation=tf.nn.relu)(x)
z_mu = keras.layers.Dense(10)(h)
z_sigma = keras.layers.Dense(10, activation=tf.nn.sigmoid)(h)

#########################################################################################
if EXPLICIT:
    eps = tf.random.normal(shape=(10,)) # this works

else:
    batch_size = tf.shape(z_mu)[0]
    dimension = tf.shape(z_mu)[1]
    eps = tf.random.normal(shape=(batch_size, dimension)) # this does NOT work, also tried using shape=(dimension,)

#########################################################################################
z = z_mu + eps * z_sigma

h_decoded = keras.layers.Dense(40, activation=tf.nn.relu)(z)
x_decoded = keras.layers.Dense(90)(h_decoded)

model = keras.models.Model(x, x_decoded)

### LOSS
recon_err = tf.reduce_sum(tf.abs(x - x_decoded), axis=1)
kl_div = -.5 * tf.reduce_sum(1 + 2 * tf.math.log(z_sigma) - tf.square(z_mu) - tf.square(z_sigma), axis=1)
total_loss = tf.reduce_mean(recon_err + kl_div)
model.add_loss(total_loss)

### TRAINING
model.compile(optimizer='adam')
print(model.summary())
model.fit(train_dataset, epochs=5)

### SAVE
keras_file = 'vae_test.h5'
keras.models.save_model(model, keras_file)

### CONVERSION
test_dataset = np.random.rand(100, 90).astype(np.float32)

def representative_dataset_gen():
    for i in range(100):
        yield [test_dataset[i:i+1]]

converter = tf.compat.v1.lite.TFLiteConverter.from_keras_model_file(keras_file)
converter.representative_dataset = representative_dataset_gen
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.inference_input_type = tf.uint8
converter.inference_output_type = tf.uint8
converter.optimizations = [tf.lite.Optimize.DEFAULT]

tflite_file_name = 'vae.tflite'
tflite_model = converter.convert()
open(tflite_file_name, 'wb').write(tflite_model)

Can you confirm the strange behavior and whether tf.random.normal is implemented or not?

After further testing, I think that the tflite model is not working as intended. Although it can be loaded and seems to produce somewhat plausible results, it seems to be a completely deterministic model. If it was working correctly, this would not be the case.
This leads me to believe that a non-implemented error for the random function goes unnoticed by the converter. Maybe this proves helpful for further investigations.

Perhaps using SELECT_TF_OPS can help in this case.
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,
                                       tf.lite.OpsSet.SELECT_TF_OPS]

See gist


Preview Collapsible view does not appear to support images

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[x] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
Using images in collapsible markdown syntax does not appear to support images.
To Reproduce
Add image into collapsible markdown syntax, render dendron preview.

How to Open Terminal

![img](/assets/images/Screen_Shot_2022-04-22_at_8.18.21_PM.png){width: 500px}

Expected behavior
Image is shown in preview one the collapsible section is expanded.
Screenshots

Desktop (please complete the following information)

OS: [e.g. iOS]
Browser (if with published websites; include version): [e.g. chrome, safari]
Versions (all that apply to bug):

Dendron Extension: 0.91
VS Code version:
Dendron CLI:

Adding another space appears to fix the issue.

How to Open Terminal

![img](/assets/images/Screen_Shot_2022-04-22_at_8.18.21_PM.png){width: 500px}

thanks for the report. i believe this is because we parse ... as a raw HTML block so mixing and matching markdown inside of HTML might not be easily supported. will do some digging here

Possibly just adding documentation that extra line needs to be used might be give the 80/20 for now.

Added a link to this in the docs: https://github.com/dendronhq/dendron-site/commit/d302b4ee265688a4cba5abc47594ced2dc2d0741
Thanks for providing the workaround!


Should pagination links include all URL query parameters (e.g. response fields)?

This point was raised on the forums (by @oarcelus) here: https://matsci.org/t/cod-response-does-not-include-response-fields-in-next-link/39530.
Currently the pymatgen OptimadeRester (and presumably other clients) rely on the fact that they can just use the links->next URL directly for pagination, but it seems that some databases (for example, COD in the forum post @merkys) do not append URL parameters like response_fields to the pagination links, which currently breaks clients that expect e.g., COD, to return null for cartesian_site_positions.
I do not think the specification currently specifies exactly how this should behave, hence the confusion.

I am almost sure the response_fields should be retained (I think this is the original intention of the specification, even if not explicitly described). Therefore, this is a bug in the COD OPTIMADE implementation, and I will look into fixing it.
I believe the original intention for the pagination URLs is that they have to contain all the parameters required to get the next page of results without any additional parameters. I will also give the specification a look just to be 100% sure.

OK, I gave the specification a look, and it does not seem to be explicit regarding this. Nevertheless, I see only advantages in retaining the original URL parameters: The client does not need to "remember" the request. All its details are included in the URL parameters, thus fetching paginated results is not much more difficult than slurping non-paginated response (bonus: clients are encouraged to paginate).
Moreover, there were discussions (private exchange) about page limits depending on response_fields. In the COD we would like to reduce page limits to 10 when a client requests for cartesian_site_positions, as opposed to page limits of 100 or 1000 when atom positions are not requested. This would play nicely with retained URL parameters, and quite clumsy without them.
The single advantage of placing the onus of URL parameter setting on the client is slight increase of flexibility. By not giving any guarantees about the URL parameters, the specification would push the clients to implement URL string parsing and modification. But clients are already free to do so.

This is what the specification says:

next: represents a link to fetch the next set of results. When the current response is the last page of data, this field MUST be either omitted or null-valued.

I agree that it could be more explicit, but IMO the implicit expectation of "the next set of results" is that they contain the same fields as the previous set - otherwise they are not the same results.
Also important: the specification says nothing about that the URL provided in next needs to be interpretable in terms of OPTIMADE (strictly it doesn't even need to point to the same host...), so it would be a bug for a client to assume that it can understand the next link and re-write it to, e.g., add parameters. Hence, if OPTIMADE does not require the next link to give results with the same fields, then there would exist no way for a client to reliably paginate.

Fixed the COD implementation today. Now the URL parameters should be propagated.

I think we can close it, unless someone really wants to make a PR making this very explicit.


Safari improvements

On the main page, the Header, Projects, and CTA all seem to cause webkit lag.

In the header it seems like it's useBlobBg.tsx causing problems. Not sure why.

I may have fixed the projects. Apparently it's better to animate translate instead of background-position. It needs testing on an actual mac tho. The animation might be too fast and there may be a line showing up between the two images animating.

In the CTA the Blob elements seem to be causing lag but they're not animating so idk why. Maybe also the radial gradients. Or maybe it's just my webkit emulator.

In testing each of these it's probably best to remove the other two from the index.tsx file.

@jasonappah and @Jake3231 would y'all test this and maybe put a little work into it. I was just going around removing things until it stopped lagging, getting more and more specific, maybe y'all can do the same.

@jasonappah and @Jake3231 would y'all test this and maybe put a little work into it. I was just going around removing things until it stopped lagging, getting more and more specific, maybe y'all can do the same.

Im going to try it out

I can take a look at this too

So far much improved, but not 100% there.

From what I see on Safari 17.3 on macOS 14.3:

Much better perf on this branch
The background at the top of the page no longer animates
The stars animation behind "check out our projects" does have a visible line.
The whole "check out our projects" section appears very pixelated

An easier but less cool solution could be to conditionally apply some JS/CSS that disables the background animations on Safari.
This could be done by accessing the userAgent string.
What do y'all think?

I had typed out a comment on this pr a couple days ago but apparently didn't hit send here 😔
I'm good with disabling the hero animation on Safari until we can figure out a better solution. Not too sure what other options would be good to explore here tbh. The stars animation wasn't planned/in Figma, it was just a nice to have that I added. If we also need to disable it/remove it all together, that's also fine

An easier but less cool solution could be to conditionally apply some JS/CSS that disables the background animations on Safari.
This could be done by accessing the userAgent string.
What do y'all think?

I agree with @jasonappah that disabling the hero animation for Safari is a fine solution for now to keep the project moving forward on all platforms. Might be a nice low priority fix later. Just something to watch out for, I think iPad reports its user agent as desktop OS X , and iPhone is reporting as iOS. Only actual macOS Safari is having the issue.

Last time I worked on it the main issue was with using the Blob file and components for animations. They slowed down the performance.

@nl32 and I tested on Safari on macOS, this is significantly better now.

I think this should be ready then!

Tested again on Safari 17.4.1 and it's a bit improved on old and patched versions, but it's still much better on this branch. Apple made some big Safari perf/compatibility fixes over the course of macOS 14's release cycle, and it seems that this is getting some benefit.


Add Zulu-UC 3.5.1

Microsoft Reviewers: Open in CodeFlow

Can use a GET request to pull the installer. Not sure why I'm getting this error when running the Azure Pipelines tests.
https://dev.azure.com/ms/winget-pkgs/_build/results?buildId=90222&view=logs&j=c8020aa5-4aab-5881-691f-21986e02afd0&t=bade86d6-d2be-5ddd-c1b9-7d8db9c4a60d&l=40 - "Error occurred during installer copy from https://zulu-updater.sangoma.com/download/3.5.1/windows_64/Zulu Setup 3.5.1.exe."
https://dev.azure.com/ms/winget-pkgs/_build/results?buildId=90222&view=logs&j=c8020aa5-4aab-5881-691f-21986e02afd0&t=bade86d6-d2be-5ddd-c1b9-7d8db9c4a60d&l=41 - "Range GET requests are not supported by the copy source"

#91

/AzurePipelines run

/AzurePipelines run


Added support for legacy alter table flag

Added support for legacy alter table flag
More info here

hi, thanks for the PR. Can you run mvn spotless:apply and commit the changes ?

thanks for your contribution!

thank you for reviewing! Can you tell me the expected date of release?

thank you for reviewing! Can you tell me the expected date of release?

no idea, there's a few PRs in flight to review.
The snapshot is already available, you can try that.


🔨Admin scripts rewrite

Proposed Changes
'/admin/scripts/pi-hole' doesn't exist, added rewrite to drop the admin folder and replace with the relevant path for direct and ingress access.
Related Issues
Fixes #122

Thanks, maybe we should remove Direct access here to make it easier to manage in general.


Unordered element distance spans

The results of of an unordered element distance spans may become unsorted. The current strategy is to create a list of matches for the smallest subspan. When both sub-spans are of the same occurrence, the second subspan is chosen and the first subspan is proceed later. However, there is a possibility that a match for the first subspan has a smaller position than those of the second subspan.

I don't really understand the strategy. If I understand the problem correctly, you are refering to the inclusive distance queries of cosmas2, with 3 subspans being part of it. <subspan1> and <subspan2> being the anchor with <subspanBetween>{0,} being the list of subspans in between and surrounding. Does the problem occur, when <subspan1> equals <subspan2>?

Does the problem occur, when <subspan1> equals <subspan2>?
yes when <subspan1> occurs in the same place of <subspan2>.

I have already fixed this and pushed the commit, but it is not shown in Github.

Ah - great. Maybe Gerrit is out-of-sync again?

It seems so. I just check out a new copy from Gerrit and the history is the same as my local history.

I get multiple null pointers from master now:
  TestMultipleDistanceIndex.testCase1:125 » NullPointer
  TestMultipleDistanceIndex.testCase2:179 » NullPointer
  TestMultipleDistanceIndex.testCase3:211 » NullPointer
  TestMultipleDistanceIndex.testCase4:257 » NullPointer
  TestMultipleDistanceIndex.testCase5:285 » NullPointer

Sync seems still to be broken.
@kupietz: Can you help?


Colocalization of two proteins

Here we perform colocalization analysis using the coloc v5.2.3 (2023-09-22).
We follow some steps here:

we cross tabulate credible set SNPs for two independent SNPs for two different proteins,
once there is s common SNP between the two credible sets, we store corresponding conditional data of the two independent SNPs.
repeat this analysis for all combinations of independent signals from one proteins against all other proteins to attain all possible combinations of the traits we need to perform coloc,
conduct main colocalization analysis of two traits using the input created in previous steps.

The coloc analysis with previous version of the Nicola's pipe has been run successfully. Here we try to update the function computing l-ABF to the latest version removing NULL from the conditional dataset.


deno: 1.14.3 -> 1.15.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for deno is: "A secure runtime for JavaScript and TypeScript"
meta.homepage for deno is: "https://deno.land/"
meta.changelog for deno is: "https://github.com/denoland/deno/releases/tag/v1.15.0"
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/cri3p12q0fj8gfzv6a428h5nis5m5diy-deno-1.15.0/bin/deno passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 1.15.0 with grep in /nix/store/cri3p12q0fj8gfzv6a428h5nis5m5diy-deno-1.15.0

found 1.15.0 in filename of file in /nix/store/cri3p12q0fj8gfzv6a428h5nis5m5diy-deno-1.15.0

directory tree listing: https://gist.github.com/d86ebcd68158bf5aa536e7e0d319e512

du listing: https://gist.github.com/5a0c0fca4d1f7fd896f862a59a951a77

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

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
deno

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

deno

Maintainer pings
cc @06kellyjac for testing.

1.15.1 has just been tagged a couple minutes ago. The release is being compiled now
I'll open a new PR


[CARBONDATA-2315] success and failure log fixed when no data is loaded into table

Success and failure log fixed when no data is loaded into table

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4850/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4319/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3628/


Follow semver

According to semver one should bump major version when introducing incompatible API changes.
#59 introduced breaking changes and thus broke others code.
Thanks!

I don't follow the recommendations of semver.

Thanks for what?

This is unfortunate, because that's what people expect: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html
It would be nice if you could mention this fact in the readme, so users of the library could pin dependency to a specific version.
Thanks for you work on the useful package.

Useful package? Ahhhaaa. Nothing useful in it.
Don't worry about other users. No user has ever complained about bumping the major version.


Cleanup

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 132421 at 438ba6dc run on aarch64-linux 1

2 packages built successfully:

python38Packages.sphinxcontrib-plantuml
python39Packages.sphinxcontrib-plantuml


[FEATURE] Cross Save Plugins & Settings Through Github/Microsoft Accounts

As a first-year Computer Science student who's always jumping from computer-to-computer (whether it be at work or home), I find it incredibly frustrating that even though I sign into Github or my Microsoft account for VSC, none of my theme settings, plugins, or personal preferences are saved across accounts.
Granted there's probably a more technical way to solve this issue, but my idea would be to simply have a JSON file uploaded and linked to our GH/Microsoft account that contains every plugin and setting change we wish to have. Once we sign in and authenticate, we receive a prompt asking us if we'd like to sync our preferences from our accounts onto the local computer.

VS Code has Settings Sync functionality but you need to enable it. But it's saved not across different accounts, but same account on different machines.
See https://code.visualstudio.com/docs/editor/settings-sync for details.
Is there anything left in your reqests?


Check descriptor clusters during commissioning

Problem
Adding some additional checks to ensure that the device has the appropriate clusters for commissioning.
Change overview

adds descriptor cluster checks for the servers on EP0 and the additional endpoints where a network cluster may be hiding.

Testing
printed values and tested with M5 and linux lighting app. Commissioning completes successfully.

Alternate proposal: https://github.com/project-chip/connectedhomeip/pull/14567
Jerry showed me how to do wildcard reads. I wasn't aware they were supported yet, but it greatly simplifies the logic on the commissioning delegate because we can just query all the network cluster feature maps at once and directly parse which endpoints have which clusters. The logic on the DeviceCommissioner is a bit more complex, but that seems more reasonable to me. In theory I can do that to the general commissioning cluster too (just not in the PR).
If I can get consensus to go with that option, I will drop this PR.

https://github.com/project-chip/connectedhomeip/pull/14567 has landed, so this PR is officially obsolete. Closing.


Updates quic-go and adds an http/3 based transport

The webt transport uses http/3 and webtransport to negotiate quic streams.
It behaves largely the same as the existing quic transport otherwise.

This looks super cool @forkner! Adding it to my queue!

I rebased this one also @myleshorton if it's still worth merging soonish

Hey @forkner I think we should pull this in, but might be good to update to the latest web-transport code which I think has migrated here:
https://github.com/quic-go/webtransport-go

oh nice, makes sense @myleshorton will update

@soltzen can you also take a look at this when @forkner has been able to make that change?

@soltzen can you also take a look at this when @forkner has been able to make that change?

I haven't seen any recent commits to this after that comment. What change?

Hey @myleshorton, is this ready for another review?

Merging!


WebUI Edit running load test not carried user_classes when enabled --class-picker

Describe the bug

Run the web ui with option --class-picker, and it contains two userclass scripts(locustfile1.py,locustfile2.py), here we only pickup the locustfile1.py as the locust userclass
When the script is running,  from the top right click the Edit running load test and it only show custom the concurrent user,  spawn rate and host, no options of UserClasses and ShapeClass
Then click the Start swarming button

Expected behavior

It should only run  locustfile1.py user class
Actual behavior

It had run all the userclasses, including locustfile1.py and locustfile2.py
Steps to reproduce

See above description
Environment

OS:
Python version: 3.10.2
Locust version: (please dont file issues for anything but the most recent release or prerelease builds) 2.11.0
Locust command line that you ran: locust -f /scripts --class-picker
Locust file contents (anonymized if necessary):

@mikenester Can you maybe take a look at this?

the code happened here is web.py:
                # Updating UserClasses
                if form_data_user_class_names:
                    user_classes = {}
                    for user_class_name, user_class_object in self.environment.available_user_classes.items():
                        if user_class_name in form_data_user_class_names:
                            user_classes[user_class_name] = user_class_object

                else:
                    user_classes = self.environment.available_user_classes
                self._update_user_classes(user_classes)

                # Updating ShapeClass if specified in WebUI Form
                form_data_shape_class_name = request.form.get("shape_class", "Default")
                if form_data_shape_class_name == "Default":
                    self._update_shape_class(None)
                else:
                    self._update_shape_class(form_data_shape_class_name)

when the form_data_user_class_names is empty, it will use all the available userclasses.
thanks team, please help for it.

@mikenester Can you maybe take a look at this?
Might be hard to do, but at the very least we should grey out the User & LoadShape options in the "edit running test dialog" to indicate that they cannot be changed.

Yeah i can take a look a little later today

@mikenester
I create a PR for this, please have a look at it: https://github.com/locustio/locust/pull/2171  thanks

close it as #2171 merged into the project now.


Timeline style not working with MudBlazor

I find your package very interesting but getting stuck to have styles applied to my Items.
I can find that, styles not applying and also, the position not working.
<Timeline
    Title="Historique"
    TitleBgColor="#554DE0"
    TitleColor="#FFFFFF"
    TextColor="#F3F3F3"
    TextBgColor="#212121"
<EMAIL_ADDRESS>
    @if (_isLoaded)
    {
        @if (_timelineItems.Count() >= 0)
        {
            @foreach (var item in _timelineItems)
            {
                <TimelineItem Title="Entrée" Time="@item.DateEvenement.ToString("D")"
                              Position="@(_timelineItems.IndexOf(item) % 2 == 0 ? ItemPosition.Left : ItemPosition.Right)">

<EMAIL_ADDRESS>                </TimelineItem>
            }
        }
    }
</Timeline>

What have I done wrong ?

I will check that and let you know

Just tested in on MudBlazor You can check this on branch  mudblazor-test
Can you provide me a MudBlazor version that you are using?

Thank you, @Morasiu, for your reply. I'm using Mudblazor 5.0.14 for .NET 5 Core.
Thank you.

Also, inspecting the generated html, I found this :

Is it the expected output ?

I am testing it on the same version (MudBlazor 5.x) and it works. Can you provide me with your code sample in which you have some MudBlazor and BlazorTimeline together?
Yeah. I think it should look like this


cmd/link: should pass -Wl,-z,relro when linking with -buildmode=pie

By my reading of the code, we currently do all the prep in the linker to work with -zrelro when linking with -buildmode=pie, but we don't actually pass it to the linker.
@crawshaw ?

That's what it looks like. But then, how does anything work?

Many GNU/Linux distros pass -z relro by default.


Backup

Codecov Report

Merging #110 (c620d07) into master (dc312ee) will decrease coverage by 10.26%.
The diff coverage is 43.21%.

@@             Coverage Diff             @@
##           master     #110       +/-   ##
===========================================
- Coverage   73.14%   62.87%   -10.27%
===========================================
  Files          17       21        +4
  Lines         808      924      +116
===========================================
- Hits          591      581       -10
- Misses        156      282      +126
  Partials       61       61

Impacted Files
Coverage Δ

cmd/backup.go
0.00% <0.00%> (ø)

cmd/root.go
0.00% <0.00%> (-75.97%)
:arrow_down:

pkg/vault/client.go
66.66% <ø> (ø)

pkg/vault/kv.go
50.00% <ø> (-0.51%)
:arrow_down:

pkg/vault/namespaces.go
0.00% <0.00%> (ø)

cmd/import.go
76.87% <33.33%> (-0.32%)
:arrow_down:

pkg/vault/mount.go
36.95% <36.95%> (ø)

cmd/export.go
77.50% <77.50%> (ø)

pkg/printer/base.go
58.97% <100.00%> (ø)

pkg/printer/markdown.go
67.30% <100.00%> (ø)

... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


TYPO - PR - Question

Typo  on line 10 of
<EMAIL_ADDRESS>"Even with fancy spell checking IDE plugins, mistakes happen. If you've found spelling mistakes"
Should I submit this as a bug?

Well, would you look at that! You can turn your label into a "bug" label, or submit a PR with a fix. Either way, we are much obliged.

Thank you for getting back to me. I'll use the new boilerplate and submit a pr in the morning.

When checking the  @latest version the correction was completed.


Handle SOL swaps

Can just push this to the @project-serum/swap package to automatically open and close wrapped sol accounts.

This shouldn't block the first release. Removing p1 tag.

Any updates on SOL support? We're using this widget in production haha. Happy to contribute

The widget supports SOL swaps now, issue can be closed.


Branding / Vision for Layout of Site

Lex's initial sketch of single page layout - city scape sketch goes to right of logo

More detail from Lex that shows schedule and speaker bio sections:

https://github.com/HackMGM/unconf-app/blob/master/MGM-unconference-logo.ai

what is this
schedule
speakers
map/location (stripped down google map)
#MGMuncon

I like these! Can't wait to see it on the site.

So is this list what would be on the home page?
- what is this
- schedule
- speakers
- map/location (stripped down google map)
- #MGMuncon


Document default TLS verification depth

I've seen in other SSL implementations that when no certificate verification depth is specified, it means "unlimited", and I was wrongly assuming this is a standard behaviour. Some long troubleshooting experience taught me that for Erlang, the default maximum depth is 1.
I suggest extending this paragraph of the documentation taken from Erlang to also include the default value, hoping it will save time for others.
Thanks!

@rthouvenin Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@rthouvenin Thank you for signing the Contributor License Agreement!


[Bug]: Query jobs may reprocess data. Temporal start date needs rolling window of margin

Checked for duplicates
Yes - I've already checked
Describe the bug
We note that the system may ingest the same HLS data if it has been updated by the CMR. This can happen because the updated data will be returned in future queries and processed accordingly. If the data has expired from rolling storage (default 15 day retention period), the data is then ingested and processing continues.
This "reprocessing" is not accounted/budgeted for.
What did you expect?
We expect OPERA SDS PCM to not reprocess data when in "forward" processing mode.
Reproducible steps
1. Query CMR for data.
2. Process data.
3. Wait some time: weeks, months, years.
4. Query CMR for data.
5. Observe that previously processed data is reprocessed.

Environment
- All

This fix was made in https://github.com/nasa/opera-sds-lambdas/pull/29


Transaction enum

This PR adds the new Transaction enum to casper-types, with the recently-introduced Transaction struct being renamed to TransactionV1.
Builds on top of #4130, so should probably only be reviewed once that PR has merged.
Closes #4157.

@EdHastingsCasperLabs to review

bors merge


Incoming calls.

[Enter feedback here]
Hello,
It is not said whether  incoming calls are supported, which is the most needed case. (outgoing calls has no strong added value because the clic to call with a browser addon does the job.
Thank you
Pierre-Olivier

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

ID: b2f1c1ca-e8ba-5296-2a7b-2f305e6cba57
Version Independent ID: 4c2e1c39-ef12-e827-028c-8a95d904730a
Content: Sample code for softphone integration using Dynamics 365 Channel Integration Framework version 1.0
Content Source: ce/customer-service/channel-integration-framework/sample-softphone-integration.md
Service: dynamics-365-customerservice
GitHub Login: @v-sailab
Microsoft Alias: v-sailab

Hello @popujol,
Dynamics 365 Channel Integration Framework 1.0 supports two-way communication as mentioned in the article below:
Advantages and value propositions of CIF 1.0
Hope this helps.
Thanks,
Jaya


Add support for github.com/grafana/mimir

https://github.com/grafana/mimir
https://grafana.com/docs/mimir/latest/get-started/#download-grafana-mimir
https://grafana.com/docs/mimir/latest/get-started/#run-grafana-mimir
curl -fLo mimir https://github.com/grafana/mimir/releases/latest/download/mimir-linux-amd64
chmod +x mimir

https://github.com/grafana/mimir/releases

v4.63.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.63.0


Adding single Object into new Store triggers Exception

Minimal Example:
const njodb = require('njodb')
const db = new njodb.Database(this.path)
db.insert([{value:0}]).then(() => {})

Error:

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Array
at Object.writeFile (node:fs:1475:5)
at appendFile (node:fs:1538:6)
at node:internal/util:297:30
at new Promise ()
at appendFile (node:internal/util:296:12)
at insertStoreData (./node_modules/njodb/lib/njodb.js:337:32)
at async Promise.all (index 2)
at Database.insert ./node_modules/njodb/index.js:264:25)

I believe the error is due to records[i]beeing initialized as an empty array in Database.insert.
for (let i = 0; i < this.properties.datastores; i++) {
    records[i] = [];
}

As far as I understood the code those should be initialized as empty strings instead.

Hi there @quiqueck. Thanks for finding that issue! Oddly, I wasn't able to replicate it exactly, but I did get a related error. Either way I'm going to commit your PR, and then fix the same issue w/the synchronous version of the method, too. And maybe also add some logic to simply skip items that are blank strings, rather than making an unnecessary appendFile call...


Thanks for your contribution!

Thanks for your contribution!it helps us a lot！
BTW:I‘m a freshmen in NVH filed and Could you share us some paper or knowledge book about sound quility?
Thanks a lot!

It's nice to hear that MOSQITO is useful! A good entry point to sound quality is the book from Zwicker and Fastl "Psychoacoustics - Facts and Models". If you are more interested in the implementation of the sound quality metrics, you can find good material in the website of the company Head Acoustic.

Thank you very much!

dear author!
In load function,what is the calib parameter used for?I found its default value is 1.and the description is "calibration factor for the signal to be in [pa]" .is that mean the standard atmospheric pressure?

Hello, I've just updated the code to propose a better description of the "calib" input parameter

in the load function description
in the signal basic operations tutorial


⚠ Processors has degraded performance

In 1bbbbd1, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 126 ms

Resolved: Processors performance has improved in 867772d.


invalid option "secretName" for volume plugin kubernetes.io/glusterfs

I am trying to create this PersistantVolumeClaim:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: claim1
  annotations:
    volume.beta.kubernetes.io/storage-class: slow
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 4Gi

When doing so this error shows up:
kubectl describe persistentvolumeclaim claim1                                                                                368ms
Name:		claim1
Namespace:	default
Status:		Pending
Volume:
Labels:		<none>
Capacity:
Access Modes:
Events:
  FirstSeen	LastSeen	Count	From				SubobjectPath	Type		Reason			Message
  ---------	--------	-----	----				-------------	--------	------			-------
  48m		1m		29	{persistentvolume-controller }			Warning		ProvisioningFailed	Failed to provision volume with StorageClass "slow": glusterfs: invalid option "secretNamespace" for volume plugin kubernetes.io/glusterfs
  49m		7s		170	{persistentvolume-controller }			Warning		ProvisioningFailed	Failed to provision volume with StorageClass "slow": glusterfs: invalid option "secretName" for volume plugin kubernetes.io/glusterfs

I set up this StorageClass before:
apiVersion: storage.k8s.io/v1beta1
kind: StorageClass
metadata:
  name: slow
provisioner: kubernetes.io/glusterfs
parameters:
  resturl: "http://heketi.gluster.svc:8080"
  # restuser: "admin"
  secretNamespace: "gluster"
  secretName: "heketi-secret"

Ok, explanation might be over there: ,)
http://kubernetes.io/docs/user-guide/persistent-volumes/#glusterfs
Will try that now.

One step further, but seeing now:
 D/g/c/kubernetes-deployment $ kubectl describe persistentvolumeclaim claim-static                                                                                645ms
Name:		claim-static
Namespace:	default
Status:		Pending
Volume:
Labels:		<none>
Capacity:
Access Modes:
Events:
  FirstSeen	LastSeen	Count	From				SubobjectPath	Type		Reason			Message
  ---------	--------	-----	----				-------------	--------	------			-------
  1m		2s		8	{persistentvolume-controller }			Warning		ProvisioningFailed	Failed to provision volume with StorageClass "slow": glusterfs: create volume err: error creating volume Post http://heketi.gluster.svc:8080/volumes: dial tcp: lookup heketi.gluster.svc on <IP_ADDRESS>:53: no such host.

Not yet sure where the ip <IP_ADDRESS> comes from. Nameserver for Kubernetes is running on <IP_ADDRESS> and can resolve heketi.gluster.svc.

Still being fairly new to Kubernetes, could you walk me through how to get from the state of heketi being deployed to where you are now? YAML definitions of the StorageClass and other components would help, too. :)

I should clarify, are the YAML snippets you initially posted the current ones you're working with?

Howdy! I'm gonna give this issue two weeks from when you opened it before just closing it for inactivity, so please respond within the next five days or so. :)

Yeah, I don't have much time to test Glusterfs right now. But I saw your new script to install Heketi and will give that a try the over the next days. I guess we can close this for now.

hiii guys,
i'm also having a little bit same issue, please look into it
kubectl describe pvc gluster-dyn-pvc
Name:		gluster-dyn-pvc
Namespace:	default
StorageClass:	gluster-heketi-external
Status:		Pending
Volume:
Labels:
Annotations:	volume.beta.kubernetes.io/storage-class=gluster-heketi-external
volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/glusterfs
Capacity:
Access Modes:
Events:
FirstSeen	LastSeen	Count	From				SubObjectPath	Type		Reason			Message

34m		4s		139	persistentvolume-controller			Warning		ProvisioningFailed	Failed to provision volume with StorageClass "gluster-heketi-external": glusterfs: create volume err: error creating volume No space.
but there is free space available also.
heketi-cli node info 66c83ccfa95f220300bc5a8670c092ea
Node Id: 66c83ccfa95f220300bc5a8670c092ea
State: online
Cluster Id: 97792e56c42b32fa67f01d699171cabd
Zone: 1
Management Hostname: gfs1
Storage Hostname: <IP_ADDRESS>
Devices:
Id:8917c2298919a3d30ca80ce5167e1307   Name:/dev/vdb  State:online    Size (GiB):9       Used (GiB):0       Free (GiB):9

@Vishal-Gaur Sorry for the delay! If you're still interested, please open a new Issue with a better  description of what you're trying to do.


myDbContext.Database.Migrate();

migrate method is  accessible only when using below snippet
myDbContext.GetInfrastructure().GetService<IMigrator>()
and is not accessible with the below line.
myDbContext.Database.Migrate();

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

ID: 6e28b0a8-b7e4-4c07-9e60-0df403bbee28
Version Independent ID: 12300b31-6f7b-b75c-970d-693365e77013
Content: Migrations - EF Core
Content Source: entity-framework/core/managing-schemas/migrations/index.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @bricelam
Microsoft Alias: bricelam

@harshaghanta Please post a small, runnable project that demonstrates this is not working so that we can investigate.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


Message Buttons Slack

Hi,
My probleme is that when a user presses a message button then botkit
(controller.hears('.*', 'direct_message,direct_mention', function (bot, message)) does not consider that the user to speak so the controller.hears does not activate.
I can detect that the user presse with a listen on a port : (https://api.slack.com/tutorials/intro-to-message-buttons) but i can detect this botkit and i need the bot variable (  controller.hears('.*', 'direct_message,direct_mention', function (**bot**, message) )
someone can help me please

Include in your controller configuration interactive_replies: true
Docs
You will now receive the value of your button as the text


Explorer does not exist

https://learn.microsoft.com/microsoft-365/security/office-365-security/remediate-malicious-email-delivered-office-365
Discusses links to 'Explorer' which no longer exist

Not only does 'Explorer' not exist (probably now called Real-Time detections), none of the remediation options are available as per the screenshots/documentation.

@unknowndpi  Thank you for your feedback. I was able to test in a couple of tenants and the explorer feature is still available

If you  are still not able to find the feature, I'd request you to contact support via the help and support option in the admin center.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @unknowndpi Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Using a union of arrays breaks array methods

TypeScript Version:  2.1.4
Code
abstract class ChildBase {
    id: string;
}

class ChildA extends ChildBase {
    foo: string;
}

class ParentA {
    children: ChildA[];
}

class ChildB extends ChildBase {
    bar: string;
}

class ParentB {
    children: ChildB[];
}

function findChild(parent: ParentA | ParentB, id: string) {
    return parent.children.findIndex(_ => _.id === id); // Compile error here
}

// Note that the following works (but it changes the meaning of the array)
function findChild2(parent: ParentA | ParentB, id: string) {
    return (<(ChildA|ChildB)[]>parent.children).findIndex(_ => _.id === id);
}

Expected behavior:
Compiles without error
Actual behavior:
Compiles with error:
Cannot invoke an expression whose type lacks a call signature. Type '((predicate: (value: ChildA, index: number, obj: ChildA[]) => boolean, thisArg?: any) => number) ...' has no compatible call signatures.

It seems like this is what you want
function findChild(parent: { children: ChildBase[] }, id: string) {
    return parent.children.findIndex(_ => _.id === id);
}

or, more likely
abstract class ChildBase {
    id: string;
}

abstract class ParentBase {
    children: ChildBase[];
}

class ChildA extends ChildBase {
    foo: string;
}

class ParentA extends ParentBase {
    children: ChildA[];
}

class ChildB extends ChildBase {
    bar: string;
}

class ParentB extends ParentBase {
    children: ChildB[];
}

function findChild(parent: ParentBase, id: string) {
    return parent.children.findIndex(_ => _.id === id);
}

@aluanhaddad thanks for you reply and appreciate those workarounds. I posted above because I feel that there is a bug here. Also this issue exists without any inheritance, which makes both of your workaround less appealing.
For example, this exhibits the same behavior:
class ChildA {
    id: string;
    foo: string;
}

class ParentA {
    children: ChildA[];
}

class ChildB {
    id: string;
    bar: string;
}

class ParentB {
    children: ChildB[];
}

function findChild(parent: ParentA | ParentB, id: string) {
    return parent.children.findIndex(_ => _.id === id);
}

It seems to be caused by the type definition:
findIndex(predicate: (value: T, index: number, obj: Array<T>) => boolean, thisArg?: any): number;

Since T comes in as a union of 2 (or more) arrays.

Please see https://github.com/Microsoft/TypeScript/issues/10620 for details.


Does not recognize private setter as read only property

In C# 5 the only way using auto properties is below. The "repositories" should recognize that as "no setter". Therefore "read only" feature does not work.
public DateTime CreateDate { get; private set; }
http://stackoverflow.com/questions/27781522/read-only-public-properties-without-setters-getters

I don't understand. What's the problem?

Probably we shouldn't map properties with no setter. But the question is not so clear

The issue is code is interpreting "private setter" as publicly writable property where the intent for it is to be "read only" as in C# 6.0. Simply add to the reflection code a filter on "public accessors only". If not clear try the repository's "read only" example in C# 5 and you would see it does not work the same.

I think, it is not problem...


Zeroize

Fo all the Crypto blocks (SHAs, HMAC, ECC) there is zeroize input in signal description table. There is ZEROIZE bit in CTRL register of each of these blocks.
So, zeroization is triggered by asserting the zeroize input or by setting the ZEROIZE bit of CTRL register through memory map address?
Whichever one is used then what is the significance of other - i.e. if ZEROIZE bit is set then what is the use of zeroize input to the block. And if zeroize input is asserted then what is the use of ZEROIZE bit.
OR is it like set the ZEROIZE bit in CTRL register (register bank - is outside the crypto blocks) which asserts zeroize input to the crypto block.

Zeroize functionality is described in the hardware specification. ROM and FW can zeroize crypto blocks after use by setting the zeroize bit in the control registers for that crypto block. Events like debug port unlock, or scan mode enabling also trigger zeroize to clear out potential secrets.

Hi,
My question is not about when zeroization happens but its about CTRL register bit and zeroize input port on each crypto module.

The zeroize port on each crypto module is driven by two things - a pulse from the zeroize control register that ROM/FW use to clear secrets from the crypto engines, and any context switch into debug or scan mode will automatically trigger the zeroize port.


Figma spec standards

Set standard for v2 design specs going forward.

Considerations

Do we need something to differentiate between margin and padding?
Do we need new Figma components to handle this? Do any good ones exist right now?

Sample UI component checklist

[ ] One example showing a configuration on all four themes (ex. one card). Use a similar layout to Thy's example
[ ] All interactive states
[ ] Any variants (color-scheme, etc.)


Needed Bow Valley label with white text

If somebody could find a Bow Valley College logo with white text and replace it in the app bar that would be wonderful.

I found this BVC Logo https://cea.bowvalleycollege.ca/ Is this one that you wanted?

Can you create a component that uses the white logo and import it in to the navbar instead of the one we have? @thiagolima19


pd-client: close leader connection if not used

The leader connection may not be closed if it is not used before the
conn has been closed.

PTAL @siddontang @disksing

LGTM


[GH-242] Add missing CLI options to shell.

https://github.com/input-output-hk/cardano-shell/issues/242
Can be run using stack build --fast -j12 --nix && stack exec cardano-shell-exe --nix -- --log-config configuration/log-configuration.yaml --db-version 12345 --system-start 123456789 --slot-length 123456789 --node-id 1 --num-cores 4 for example.
Also fixing https://github.com/input-output-hk/cardano-shell/pull/234/files/51c691aff16e719c94f3ad85b938094d6cba9185#diff-6111c9baeacdb1421faa3d1f338c9728

Oh and looking again, we also do not need SSC/PartialSSC at all. That applies only to Ouroboros classic.


Param encapsulation

Modules now define their own parameters.
For example, the RBFKernel is now initialized as follows:
covar_module = RBFKernel(log_lengthscale_bounds=(-3, 3))

Alternatively, the bounds can be set using covar_module.set_bounds(log_lengthscale=(-3, 3)).
The parameter values can be set using covar_module.initialize(log_lengthscale=1.1).

I actually have a couple concerns about this pull request reducing flexibility around parameters.

I don't think this PR actually fully solves its problem. As it stands, users would have to mix declaring parameters in their GPModel like they used to anyways and declaring them in Modules. For example, the RBFKernel module as written does not have a log_outputscale parameter. If you want to do regression on a task where the label can be outside the range [-1,1], a log_outputscale is required. So before the PR I'd do something like

self.covar_module = RBFKernel(log_lengthscale_bounds=(-3,3))
self.register_parameter('log_outputscale', nn.Parameter(...), bounds=...)
covar_x = self.log_outputscale * self.covar_module.forward(x)

Basically every stationary kernel is going to need an outputscale. If I do that, then I run in to the problem where, if I want a product of kernels, one Kernel is going to be responsible for the outputscale of all Kernels (see point 2). I also have an additional problem where I have a useless parameter that I have to set trivial bounds for like (1,1) if I specifically do not want an output scale.

Before this PR, tying parameters together was easy. For example:

self.register_parameter('my_first_param', nn.Parameter(torch.zeros(1, 1)), bounds=my_bounds)
self.register_parameter('my_second_param1', nn.Parameter(torch.zeros(1, 1)), bounds=my_bounds)
self.register_parameter('my_second_param2', nn.Parameter(torch.zeros(1, 1)), bounds=my_bounds)
covar1 = covar_module_one.forward(x, my_first_param=self.my_first_param, my_second_param=self.my_second_param1)
covar2 = covar_module_two.forward(x, my_first_param=self.my_first_param, my_second_param=self.my_second_param2)
covar_x = covar_1 + covar_2

After the pull request, I guess I'd have to do something like:
covar_module_two.my_first_param = covar_module_one.my_first_param

I do not think this is elegant. If I have many covariance modules (for example, I have additive structure on a many dimensional problem), I'm basically saying that one of the Kernels is responsible for the (e.g.) log_lengthscale of all other covariance modules. This breaks the intended convention of this PR of 'An RBFKernel has a log_lengthscale,' since there is one log_lengthscale across all RBFKernels. That is to say, the GPModel has a log_lengthscale, which is how it is handled now.
I do not think parameter tying is a minor use case: any time I take the product of two kernels, the output scales of those kernels should be tied together, as the product of two output scales is the same as having just one.

I do not know if this is an actual use case, but before this PR doing something like "my spectral mixture weights are actually the output of some other model like a 3 layer neural network" would theoretically be possible. After the PR, RBFKernel insists that log_lengthscale is a single parameter.

Actually, we can ignore point 2 above which was my biggest concern. I've been looking a bit in to how PyTorch handles parameter tying, and they seem to prefer something like
module_one.param = module_two.param

So in that sense this PR follows PyTorch convention.

W.R.T. point 1 - we can make a kernel scaling module. Alternatively, we could even use some built-in pytorch modules to accomplish this. This would follow pytorch convention.
W.R.T. point 3 - would the neural net output the kernel parameters, or the new feature space?

Point 1 - Sure, having a separate module that scales kernels makes sense to me.
Point 3- I was just pointing out that having parameters be in modules limits us to having each parameter be a single Variable that is set by optimization. This pattern is broken, e.g., if a user wants to implement support for heteroskedastic noise or input varying lengthscales. These are things some people care about.


Fail to import phoenix.css

Hello,
I created a simple demo project with the command "mix phx.new" then I followed the steps of intergration of tailwind but it seems that the application cannot import the "phoenix.css" file and its css:

Maybe a configuration step is missing?
Thank.

Same, using a fairly clean build. The instructions to use this seem incomplete. I got the same error as above and none of the tailwind classes are working.
I'm assuming I need to import tailwind.css somewhere?

Yeah, the documentation doesn't mention it but used the tailwind directives in "app.css" and it works.
/* app.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ... */

But the import of css files doesn't work:
/* This file is for your main application CSS */
@import "./phoenix.css";

Yeah, the documentation doesn't mention it but used the tailwind directives in "app.css" and it works.
/* app.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ... */

But the import of css files doesn't work:
/* This file is for your main application CSS */
@import "./phoenix.css";

I've opened a pull request for it #6

I believe that this is happening becauseesbuild and tailwind are running in parallel. If you change the tailwind input option to take in the concatenated CSS file that esbuild produces, all the styles are there.
config :tailwind,
  version: "3.0.7",
  default: [
    args: ~w(
      --config=tailwind.config.js
      --input=../priv/static/assets/app.css
      --output=../priv/static/assets/compiled.css
    ),
    cd: Path.expand("../assets", __DIR__)
  ]

It seems like esbuild needs to build the CSS file first, and then tailwind can compile and inject the necessary additional classes.  Not sure if this is the expected behavior, but it's counter-intuitive.

But the import of css files doesn't work:
/* This file is for your main application CSS */
@import "./phoenix.css";

i believe this is because the standalone tailwindcss executable doesn't contain the postcss-import plugin. i believe it contains some tailwind-specific plugins and autoprefixer. it's partially noted here: https://github.com/phoenixframework/tailwind/blob/master/README.md?plain=1#L139-L141
iirc the default behavior of @import in stylesheets is to trigger an additional http request for the imported stylesheet (which is why you see the 404 in your network inspector), rather than inlining it. so you'd either need to revert back to non-standalone usage of tailwind (e.g. via node) so you can use the postcss-import plugin, or you'd need to configure your build tooling to copy the @import-ed stylesheet (phoenix.css) into your /priv directory for static assets, so that it's available to be served to the browser

If app.css is left alone, and a new input tailwind.css is added, then importing app.css works and you get phoenix.css as well:
       --input=../priv/static/assets/tailwind.css
       --output=../priv/static/assets/compiled.css

/* tailwind.css */
@import "app.css"

@tailwind base;
@tailwind components;
@tailwind utilities;