Wallet menu color and position

When clicking on the wallet button, the dropdown shows at the top left of the screen and the Items in it have the wrong color:

Hello @asgeir-s , sorry for leaving a comment here without respecting the team rules. As a blockchain developer, I think my tech stack is fit for a team project. So I want to prove my skills by solving some team issues and join the team as a full-time developer. Could you give me a test task?


Upgraded to latest JRE 8u121

Upgraded to latest JRE.

I updated the JRE version for some tests as well, although I don't think those tests are run: I noticed the cassandra version in those tests is really out of date - in fact, they reference an invalid URL (https://s3-us-west-2.amazonaws.com/cassandra-framework-dev/testing/apache-cassandra-2.2.5-bin.tar.gz). But, I won't fix that in this PR.

retest this please

retest this please

retest this please


The issue regarding navigation permissions

I'm encountering an issue with navigation permissions.
When I set the permission as 'permission': lambda request: request.user.is_superuser, the navigation displays when logged in with a superuser account.
However, when I log in with a non-superuser account, the navigation disappears as expected.
Then, upon logging back in with the superuser account, the navigation does not appear.
This is also mentioned in this issue #230 and issue got closed with the fix #234, But the issue is still there.
I am running v0.19

@abdulsamadCS my guess is that this feature will be available in the next release.
PR's #234 was opened by the maintainer. It will be available soon.

Version 0.20.0 released. Please check if it works for you.

I still experience the issue in 0.20.0 and 0.20.1.

I still experience the issue in 0.20.0 and 0.20.1.

same

@lukasvinclav Any chance of re-opening this issue?

0.20.2 has been released few hours ago addressing this one


Observed a significant delay when we are creating a file on S3 mount point and then checking its existence

Mountpoint for Amazon S3 version
mount-s3 1.8.0
AWS Region
us-west-2
Describe the running environment
Running EC2 on Amazon Linux using IAM roles for an S3 bucket. We are using S3 bucket as a mount point with the help of CSI driver 1.8.0.
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.15",
Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.15",
Driver version:
1.8.1

Mountpoint options
Mount Options:
` accessModes:
- ReadWriteMany # supported options: ReadWriteMany / ReadOnlyMany
mountOptions:
- uid=65436
- gid=50
- allow-other
- allow-delete

What happened?
This could be related to https://github.com/awslabs/mountpoint-s3/issues/1038
We are using AWS S3 storage using the CSI driver. I created a small script that creates a file and writes data into it. We check the existence of this file and then attempt to create and write it.
The same script is working fine with the normal file system and NFS storage, but with AWS S3, we are observing a delay between file creation and its existence.
Please let me know if this delay is expected, or if we can set some parameters to mitigate the delay between a file creating and checking its existence.
Issue is very easy to reporoduce.
import os
import time
import threading

def test_file_creation_thread_ops(test_file, count):
    if not os.path.exists(test_file):
        with open(test_file, 'wb') as f:
            f.write(data)
        f.close()
    else:
        print(f"File {test_file} already exist for {count}!")

data = b'\x21'
# Path /etc/hyperscale/hs-staging-area is using AWS S3 storage
test_file="/etc/hyperscale/hs-staging-area/file.txt"
if os.path.exists(test_file):
    os.remove(test_file)
count=0
while count < 2:
    t1=threading.Thread(target=test_file_creation_thread_ops, args=(test_file,count))
    t1.start()
    count = count + 1

Relevant log output
Thanks
Thanks
Exception in thread Thread-2 (test_file_creation_thread_ops):
Traceback (most recent call last):
  File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/app/create_file_4.py", line 9, in test_file_creation_thread_ops
    with open(test_file, 'wb') as f:
         ^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: '/etc/hyperscale/hs-staging-area/file.txt'

Can someone look into it?

There's no Mountpoint config parameter, this is simply caused by the higher latency for metadata operations when talking to S3 when compared to other file system offerings.

As a further point to Vlad's suggestion on how to avoid the issue, you can use the 'x' open flag instead of 'w' with Python to exclusively create the file and return an error if it could not be created. This would avoid the first round trip to S3 to check for file existence. If you want to exit from the current block if the file cannot be created, we'd recommend using that. https://docs.python.org/3/library/functions.html#open
For example, we might redefine the function as follows:
def test_file_creation_thread_ops(test_file, count):
    try:
        with open(test_file, 'xb') as f:
            f.write(data)
    except PermissionError:
        print(f"File {test_file} already exist for {count}!")


Unable to run npm i when forking

Which packages are impacted by your issue?
No response
Describe the bug
Hi there seems to be a dependency issue when I fork and run npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: graphql-code-generator@undefined
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/graphql
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from<EMAIL_ADDRESS>npm ERR! node_modules/apollo-client
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/dominic/.npm/eresolve-report.txt for a full report.

Your Example Website or App
None
Steps to Reproduce the Bug or Issue

Fork the repo
Run npm i

Expected behavior
As a user I expect to be able to fork the repo and run npm i
Screenshots or Videos
No response
Platform
Not relevant
Codegen Config File
No response
Additional context
No response

Sorry I'm dumb, you need to use yarn not npm i.


fixes #532

Signed-off-by: Wenqi Li<EMAIL_ADDRESS>Fixes #532
Status
Ready
Checks

[ ] Notebook runs automatically ./runner [-p <regex_pattern>]

Hi @wyli ,
Thanks for the quick update. I think the change is only "!pip install -q ipywidgets==7.6", correct?
Thanks.

yes, and style updates https://github.com/Project-MONAI/tutorials/pull/534/commits/a655ee30d5d304703be1343abd30842f1f187d9d


Which gateway for Hi-Kumo

Hello,
I have a Hi-Kumo and I would like to know what to type in the "Host" field when I create a new gateway.
Regards.

Hi,
depending on your location, one of the following hosts might work for you:
Europe: ha117-1.overkiz.com
Asia / Oceania: ha203-1.overkiz.com
Found at: https://github.com/iMicknl/python-overkiz-api/blob/main/pyoverkiz/const.py
Best regards

It seems to work, thanks !
Now I have to figure out how the node works ^^


Import doesn't fail fast on failure to write a single range

[release-blocker for now]
Failure to upload a single range doesn't fail the entire import flow immediately as it should.

[ removing release-blocker
There are 2 separate issues here, but none of them qualifies as a release-blocker as the failures will only be encountered in a scenario where the connection doesn't enable the required throughput to s3. Also it does not leave the repo in a state where there's a partial hanging commit which is visible to the user]
Issues:

We do not control the number of concurrent writes to the block-storage by the sstable writers. Instead of opening just the amount of connections that you are able to use for uploads, BatchCloser uploads as many as it can. Some of them starve and evidently fail.
Writer's Abort doesn't handle contexts well. When aborted, it fails to close the context that is currently being used for uploading the range, which keeps the program hanging until those requests fail (because of the first issue).

[ removing release-blocker
There are 2 separate issues here, but none of them qualifies as a release-blocker as the failures will only be encountered in a scenario where the connection doesn't enable the required throughput to s3. Also it does not leave the repo in a state where there's a partial hanging commit which is visible to the user]
Issues:

We do not control the number of concurrent writes to the block-storage by the sstable writers. Instead of opening just the amount of connections that you are able to use for uploads, BatchCloser uploads as many as it can. Some of them starve and evidently fail.
Writer's Abort doesn't handle contexts well. When aborted, it fails to close the context that is currently being used for uploading the range, which keeps the program hanging until those requests fail (because of the first issue).

Closing this meta-issue:

#1319
#1320

Closing this meta-issue:

#1319
#1320


Create a page for a post in a forum web app. Add a comment functionality and upvote button.

Preview UI


Error in source text: the first instance of "the monitor is running" should read "the monitor is not running"

Hello,
please note this error:

The first instance of "the monitor is running" should read "the monitor is not running"
Kind regards,
Anne H., QC

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

ID: 528d12ba-fd01-ae0b-b715-08ec5dec6052
Version Independent ID: 528d12ba-fd01-ae0b-b715-08ec5dec6052
Content: Audit log schemas for security monitoring - Azure Databricks
Content Source: databricks/security/privacy/monitor-log-schemas.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@QueryCoordinator
Thanks for your feedback! We will investigate and update as appropriate.

@QueryCoordinator
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


Login Failed[1]

I continually fail to receive a token from the following step:
https://github.com/mrooney/mintapi/blob/master/mintapi/api.py#L161
in printing the response that I get back, I have the following:
'{"CSRFToken":"","clientBuildNumber":"spa20170906.10","nickname":"","isCreditScoreRegistered":false,"error":{"vError":{"code":2,"isGlobalUser":null,"validatorProperty":null,"name":null,"copy":"That doesn\'t look like your Mint user ID. Try al******rk@g****.**m","type":"form"}},"showMigratePasswordPage":false,"buildNumber":"ph7788.3","supportedLocations":"\\/(login|ftuwelcome|welcome|overview|transaction|bills|planning|goal|trend|creditreport|save|oiiMigration|accountsetup|addprovider|settings|paystub|minttotax|taxcreditscore|taxw2s|minttotaxbrandshake|studentloan|consent).event"}'

The key error, to me, seems to be: copy":"That doesn\'t look like your Mint user ID. Try al******rk@g****.**m","type":"form"}},
It does not like my user id. However, on line 161, I don't see anywhere where we provide specific information about the specific user associated with the loginUserSubmit event. Is this all done from the cookies? What information is missing?

I'm going to close this out as I haven't heard of this issue recently, but please let me know if you can still reproduce it with the latest version.


PARTIALS timebase dependent on BLOCK_SIZE

When I changed the BLOCK_SIZE from 256 to 64 samples everything was more or less the same (excepting the 192 sample advance of the envelope due to the reduced impact of the one-frame envelope delay) except for TestPartials, which was completely different.  Inspecting the waveforms and spectrograms, there's something weird going on - the shorter BLOCK leads to faster rendering, but it's not a simple linear speedup.
Reference (BLOCK = 256):

New (BLOCK = 64):

This resulted from partials.c allowing only one new partial to start each frame.  By starting as many partials as needed each frame, the gross timebase differences between BLOCK=256 and BLOCK=64 is gone.  Fixed in f582fe0.


When will qlib supports intraday data?

🌟 Feature Description
Hope qlib could support intraday data (like tick data) quickly
Motivation
It seems the database in qlib is much faster than mongodb and influxdb. I used those dbs in my HFT research and was suffered from their speed.

Alternatives

Additional Notes

We give very high priority for supporting high frequency data.
We will support storing and retrieving high-frequency data first.
Please stay tuned :)

We give very high priority for supporting high frequency data.
We will support storing and retrieving high-frequency data first.
Please stay tuned :)

A little reminder: High Frequency data is very big. It seems qlib now load all data and features into memory before learning. This is impossible when handling HF tick data. I recommend loading and calculating data when you need. Besides, online learning is nessary.

Thanks for your valuable advice! @Wendroff


prompt_nix_shell_precmd: check for IN_NIX_RUN

Since Nix 2.0 there's nix run which serves as replacement for
nix-shell -p and is detectable with the environment variable
IN_NIX_RUN.
This patch prefixes a ZSH session started by nix run with [nix-run].

Thanks :)

In my system the nix run does not set IN_NIX_RUN and I did not find anything related in the source code of nix, did I miss something?


Query regarding foreman export

Hi
I used foreman export via capistrano foreman to generate certain files, which now appear like this
/etc/init/sites/facebook-dashboard.conf
start on runlevel [2345]
stop on runlevel [!2345]

/etc/init/sites/facebook-dashboard-sneakers.conf
start on starting facebook-dashboard
stop on stopping facebook-dashboard

/etc/init/sites/facebook-dashboard-sneakers-1.conf
start on starting facebook-dashboard-sneakers
stop on stopping facebook-dashboard-sneakers
respawn

env PORT=5000

setuid facebook-dashboard

chdir /var/www/testdash/releases/20160629064953

exec bundle exec rake sneakers:run

After export, I am able to run
sudo start sites/facebook-dashboard

, and after this
initctl list | grep "facebook"
sites/facebook-dashboard start/running
sites/facebook-dashboard-sneakers stop/waiting
sites/facebook-dashboard-sneakers-1 stop/waiting

I guess the other two are not running, because of my folder structure, and it not being able to recognize it. Do you know the right way if I am to have a subfolder within init?
Or is the right way to make sure that we can run sudo start facebook-dashboard, after we move the file from init/sites to just init? The problem with init for me was updating this during deployment, as deploy user did not have the right permissions to create/edit files in this folder? But within the sites folder, I was able to give it the right access?
Or am I on a completely wrong track regarding the error, and why it isn't running? Any help would be appreciated :-)

I'm actually not sure either, I don't use upstart much any more. If you get some init files that work for your use case I'd definitely accept a pull request fixing them. Thanks!


network update

@ddude1 used burnt swap address for now, spork activation mechanics remains over hardcode just like w/ sporkAddr= "0"

skull for testnet


[EN] Feedback for: /web/fundamentals/getting-started/push-notifications/step-07?hl=en

I keep getting a 301 error. Is there a change to the address now that Firebase is being used?

Should be fixed in the update I'm about to push.


Auto scrolling through months

System Information:

Version: 2.6
Language: en-US
Timezone Offset: -08:00
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

What steps will reproduce the problem?

Open calendar on chrome
Set to Month View
Place cursor over calendar window

What is the expected result?
ability to click on dates and view/add/edit events
What happens instead?
Calendar starts cycling backwards through months as if i were scrolling upwards
Screenshot URL:
Logs:

I believe I have the same issue


Compilation error on nightly Rust with crates.io version

A user filed this issue, about a compilation failure when building wizer from crates.io with nightly Rust, which is due to the version of wizer on crates.io using an old version of cap-std. It looks like this is fixed in https://github.com/bytecodealliance/wizer/pull/47; would it be possible to release a new version of wizer to crates.io?

Published 1.4.0!


Remove dependency of addon terraform

The dependency mechanism of addons cloud not enable users to choose a
specified version of an addon
Signed-off-by: Zheng Xi Zhou<EMAIL_ADDRESS>
Description of your changes

How has this code been tested?

Checklist

I have:

[ ] Title of the PR starts with type (e.g. [Addon] or [Trait]).
[ ] Updated/Added any relevant [documentation] and [examples].
[ ] Unit/E2E Tests added.

Thank you for doing this at short notice and the flexibility! I think it is important to make sure we don't break compatibility from a previous version


Add pandas logo to repo

[ ] partially closes #12911
[x] tests added / passed (N/A)
[x] passes git diff upstream/master | flake8 --diff
[ ] whatsnew entry

This image has New BSD license, doesn't it? (for wikipedia)


Fix tests (episode 2)

This PR fixes tests on Travis
I elected to:

add PHP 7.1
remove PHP 5.2 : while the lib presumably works on 5.2, it has become too much of a hassle to maintain compatibility for tests on Travis. I think you could mention on the README that it should work despite not being covered by tests, but you could also consider that 5.2 is dead anyway :)
simplify and speed up the build : you were previously requiring a number of dependencies just for the tests (while your library doesn't have any) via composer require codeclimate/php-test-reporter in before_install, but yet nothing was actually used in after_script. Eventually I believe this was useless, except for the sole creation of an autoload file then only used to include your library. Your library is now included for tests in a very simple bootstrap.php file
I added compatibility functions for PHPUnit (see bootstrap.php) to allow testing all versions of PHP without requiring a particular and outdate PHPUnit version as previously. Now each PHP version use their respective most up to date PHPUnit package.

Thank you for this!


Android Resource Linking failed in Android 4.0.1

I want to run a project and It shows the following error message. While i build the project its successfully but when i make project run android Studio 4.0.1 it show an error that Android Resource Linking Failed.
using this   implementation "com.folioreader:folioreader:0.5.4"
Issue / Feature -
FolioReader version -  0.5.4
FolioReader Stock / Modified -
Android SDK - 29
Mobile / Tablet / Emulator Info -  Samsung Device M21
Crash / Error -
Steps to reproduce / Describe in detail -
Android resource linking failed
AAPT: unknown option '--proguard-minimal-keep-rules'.
aapt2 link [options] -o arg --manifest arg files...
Options:
-o arg                                            Output path.
--manifest arg                                    Path to the Android manifest to build.
-I arg                                            Adds an Android APK to link against.
-A arg                                            An assets directory to include in the APK. These are unprocessed.
-R arg                                            Compilation unit to link, using overlay semantics.
The last conflicting resource given takes precedence.
--package-id arg                                  Specify the package ID to use for this app. Must be greater or equal to
0x7f and can't be used with --static-lib or --shared-lib.
--java arg                                        Directory in which to generate R.java.
--proguard arg                                    Output file for generated Proguard rules.
--proguard-main-dex arg                           Output file for generated Proguard rules for the main dex.
--proguard-conditional-keep-rules                 Generate conditional Proguard keep rules.
--no-auto-version                                 Disables automatic style and layout SDK versioning.
--no-version-vectors                              Disables automatic versioning of vector drawables. Use this only
when building with vector drawable support library.
--no-version-transitions                          Disables automatic versioning of transition resources. Use this only
when building with transition support library.
--no-resource-deduping                            Disables automatic deduping of resources with
identical values across compatible configurations.
--enable-sparse-encoding                          This decreases APK size at the cost of resource retrieval performance.
-x                                                Legacy flag that specifies to use the package identifier 0x01.
-z                                                Require localization of strings marked 'suggested'.
-c arg                                            Comma separated list of configurations to include. The default
is all configurations.
--preferred-density arg                           Selects the closest matching density and strips out all others.
--product arg                                     Comma separated list of product names to keep
--output-to-dir                                   Outputs the APK contents to a directory specified by -o.
--no-xml-namespaces                               Removes XML namespace prefix and URI information
from AndroidManifest.xml and XML binaries in res/*.
--min-sdk-version arg                             Default minimum SDK version to use for AndroidManifest.xml.
--target-sdk-version arg                          Default target SDK version to use for AndroidManifest.xml.
--version-code arg                                Version code (integer) to inject into the AndroidManifest.xml if none is
present.
--version-code-major arg                          Version code major (integer) to inject into the AndroidManifest.xml if none is
present.
--version-name arg                                Version name to inject into the AndroidManifest.xml if none is present.
--replace-version                                 If --version-code and/or --version-name are specified, these
values will replace any value already in the manifest. By
default, nothing is changed if the manifest already defines
these attributes.
--compile-sdk-version-code arg                    Version code (integer) to inject into the AndroidManifest.xml if none is
present.
--compile-sdk-version-name arg                    Version name to inject into the AndroidManifest.xml if none is present.
--shared-lib                                      Generates a shared Android runtime library.
--static-lib                                      Generate a static Android library.
--proto-format                                    Generates compiled resources in Protobuf format.
Suitable as input to the bundle tool for generating an App Bundle.
--no-static-lib-packages                          Merge all library resources under the app's package.
--non-final-ids                                   Generates R.java without the final modifier. This is implied when
--static-lib is specified.
--stable-ids arg                                  File containing a list of name to ID mapping.
--emit-ids arg                                    Emit a file at the given path with a list of name to ID mappings,
suitable for use with --stable-ids.
--private-symbols arg                             Package name to use when generating R.java for private symbols.
If not specified, public and private symbols will use the application's
package name.
--custom-package arg                              Custom Java package under which to generate R.java.
--extra-packages arg                              Generate the same R.java but with different package names.
--add-javadoc-annotation arg                      Adds a JavaDoc annotation to all generated Java classes.
--output-text-symbols arg                         Generates a text file containing the resource symbols of the R class in
the specified folder.
--allow-reserved-package-id                       Allows the use of a reserved package ID. This should on be used for
packages with a pre-O min-sdk
--auto-add-overlay                                Allows the addition of new resources in overlays without
 tags.
--rename-manifest-package arg                     Renames the package in AndroidManifest.xml.
--rename-instrumentation-target-package arg       Changes the name of the target package for instrumentation. Most useful
when used in conjunction with --rename-manifest-package.
-0 arg                                            File extensions not to compress.
--no-compress                                     Do not compress any resources.
--warn-manifest-validation                        Treat manifest validation errors as warnings.
--split arg                                       Split resources matching a set of configs out to a Split APK.
Syntax: path/to/output.apk:[,[...]].
On Windows, use a semicolon ';' separator instead.
-v                                                Enables verbose logging.
--debug-mode                                      Inserts android:debuggable="true" in to the application node of the
manifest, making the application debuggable even on production devices.
--strict-visibility                               Do not allow overlays with different visibility levels.
-h                                                Displays this help menu

same here ... please solve this...


Add support for Deno

We already have support for node and bun.....we should add support for Deno so you can use any runtime with primate.js

566d198

cool


Rename EndianBuf to EndianSlice

Makes it more clear that it isn't an owning pointer, and clears the way for adding an owned arc/rc/whatever version in #294

Coverage remained the same at 92.406% when pulling 5ed02f6222a70bc9a78453d88946baceba6f00f1 on fitzgen:rename-EndianBuf-to-EndianSlice into c13119b79281f06280d3c169ebb5133ec50d3920 on gimli-rs:master.

I agree it's a better name, but not completely convinced its worth the churn for users of the library (they'll probably have their variables called buf still).

Did you see that there is a type alias type EndianBuf = EndianSlice; to ease upgrades? It is marked deprecated, with a note saying that the type has been renamed. Should hopefully mean that upgrading isn't actually very hard.

Which rustfmt have you been using? I just ran the latest nightly's rustfmt-preview component on rustup and it is introducing a ton of changes outside of the files I touched here.

The stable channel rustfmt-preview from rustc 1.25.

Don't know what's going on then. I'll run it when I rebase my PR.
$ rustc +stable --version
rustc 1.25.0 (84203cac6 2018-03-25)
$ cargo +stable fmt --version
0.3.8-nightly (346238f 2018-02-04)


How detailed must the javadocs be?

From my understanding of javadocs we will have to specify the parameters and return type (if any) of the constructors and methods.
If the simulate method is quite long and complicated, do we have to document the logic within the method? Thanks!

I don't think codecrunch checks javadoc. I just submitted a very brief javadoc. I think Prof Henry also mentioned that javadoc is no longer needed.

Codecrunch does check for javadocs style if you choose to write javadocs, but good to know it’s not needed

I don't think codecrunch checks javadoc. I just submitted a very brief javadoc. I think Prof Henry also mentioned that javadoc is no longer needed.

So does this mean I don't need to write any javadocs for the whole project? Even for the Simulator class?


Fix: convert blog categories to yaml list

The categories key in a blog post's front matter is a list variable -- this PR converts the CSV strings to lists.
Among other things, this allows the feed to display multiple category entries correctly:
See https://deploy-preview-210--compilerla.netlify.app/blog/feed.xml
<entry>
  <title type="html">
    How to support a platform-agnostic engineering team with VS Code Dev Containers
  </title>
  ...
  <category term="compiler"/>
  <category term="engineering"/>
  ...
</entry>

Whereas before this PR, they were parsed incorrectly (extra comma in compiler):
See https://compiler.la/blog/feed.xml
<entry>
  <title type="html">
    How to support a platform-agnostic engineering team with VS Code Dev Containers
  </title>
  ...
  <category term="compiler,"/>
  <category term="engineering"/>
  ...
</entry>

FYI @laneymangan for writing blog posts -- the categories in the front matter data should be a list, like:
---
categories:
  - one
  - two
  - three
---

Blog post...

Instead of a comma-separated values string:
---
categories: one, two, three
---

Blog post...

  - one
  - two
  - three

Noted! I updated our draft template to reflect this


Base Image Support

So far LGTM, looking forward to the backup handling part.

Hmm, how did the backup restore test works? I don't see the code put the base image into backup volume's tag or retrieve it from it when restoring. Does that mean we've also backed up the base image in the engine?...


Try increase regeneration queue size

Increases GoodJob regeneration queue size to three.
Will initially test this on the test server to see if there's any improvement.

I've merged this branch into aws-eb-test for now, don't merge to master.


Clean up new Android embedding logcat

It's too verbose presently

The answer to this is to create our own Log proxy with a flag based on debug mode. There may already be a ticket for this.

Basing it on the Flutter module's flavor/debug-ness would be a neat solution.

FYI - for anything related to the Android embedding, can you add it to the Platform Embedding Refactor project? I added this one.

Ah alright

For posterity, this is https://github.com/flutter/engine/pull/9351


Duration and Buttons

It would be very useful if you added a feature to add buttons to the Notification also possible able to change the duration for how long the bar is visible for.

I've created a pull request with this.
https://github.com/nhdang103/HDNotificationView/pull/4


Cargo has incorrect hash

Motivation for this change
Cargo has incorrect hash
Things done
Corrected hash

So it was never correct or is this a blind hash change?

I don't think it was correct, reason being, I've seen these sorts of things on fractalide whereby the cargo deps don't change and thus the system still compiles correctly. The correct procedure is to nix-collect-garbage (after deleting the result) and then you'll know.

What is a blind hash change? Something I'll randomly choose? If so, no it wasn't that... I wouldn't submit that kinda nonsense to upstream.

A blind hash change is to update the hash to fix a mismatch without looking into why the mismatch occurred. That's why I ask whether it was wrong all along.

@joachifm "All checks have passed" Does that satisfy you?

@sjmackenzie Please calm done. Everyone here tries to do it's best. We're all working in our free time on this.
We'll have to investigate this hash-change some more. The original hash definitely worked, so we have to check if there's an impurity that caused the hash to change on your machine. We saw this with other packages before.

my machine and travis' machine you surely mean?

That just means that the new hash is correct right now. Usually it's caused by an impurity. There's no use in changing the hash every other day, we have to fix this impurity.

Ah! I see now, christ, how do you track down such a vile thing?

I don't see an obvious impurity in the Cargo.toml of cargo right now - the only candidate I can find is the rust-installer submodule in src/. Last commit was 7 days ago. The fetch-cargo-deps script contains a TODO: Test with git submodules, so it might be related. I'll try to investigate into this some more.

It usually may be if deps use fetchgit and such. Travis says that nothing has changed somit's not very helpful. Any ody can build it locally to confirm the sha change?

@lethalman I can confirm:
 % nix-build . -A rustBeta.cargo  --check --option use-binary-caches false
output path ‘/nix/store/m4i9jf6f5nav8wzg1fsns4gl2n9378jv-cargo-beta-2016-07-25-fetch’ has r:sha256 hash ‘1p1ygabg9k9b0azm0mrx8asjzdi35c5zw53iysba198lli6bhdl4’ when ‘055ky0lkrcsi976kmvc4lqyv0sjdpcj3jv36kz9hkqq0gip3crjc’ was expected

fetch-cargo-deps seems to mirror what nix-prefetch-git does to make clones reproducible. I wonder if we could just remove .git entirely and be done with it.

So merging for now until someone has a better solution. Thanks.

This PR doesn't fix the real problem: that cargo.nix uses fetchgit, which should never be used because it's not deterministic. (Thus, the hash will probably change randomly in the future.) Instead, it should use fetchFromGitHub which does provide a predictable result.

Oh sorry, the depsSha256 is passed to fetchCargo, which suggests that function is not deterministic and the whole Rust build infrastructure in Nixpkgs is broken.

That's correct! How does one fix this system?

@edolstra fetchCargo uses git internally and replicates some steps used by nix-prefetch-git. I agree that we should get rid of the git usage there. I hope I can find some time to get in touch with the cargo-registry guys to work on this. Most crates are on Github - there we can just fetch the necessary ref via http.


Extract training predictions per fold

As a developer, I want to calculate the residuals per training fold. To do that, i need the true target values along with the training predictions. I can not find anything in the documentation related to that, is this possible at EvalML ?

@chukarsten can you give us some information regarding this? We want to use the predictions-per-fold to assess the confidence intervals of each model.

Any update on this?


Testing Optional Dependencies

With PR #66 StackInABox formally has Optional Dependencies. Question is, how can those be tested to ensure that they are specified correctly via a tox test.
Supposedly a downstream project that relies on StackInABox can do "stackinabox [requests-mock]" to install StackInABox with the requests-mock optional dependency chain...it'd be nice to prove that works.
The test would only need to do a simple "import stackinabox; import " to validate. Nothing too complicated.

@pglass appreciate any insights you may have here

I haven't actually tested optional deps with tox before... But since each tox "job" has its own virtualenv to manage dependencies, it seems like you'd want additional tox jobs for this.
You actually can do a pip install .[requests-mock] and you can also use that in tox.ini. A quick diff, experimenting with this:
diff --git a/tox.ini b/tox.ini
index 627fd70..e5aa5b7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion=1.8
-envlist = py27,pypy,{py34,py35,py36},pep8,docs
+envlist = py27,pypy,{py34,py35,py36},pep8,docs,py35-requests-mock
 skip_missing_interpreters=True

 [testenv]
@@ -27,5 +27,10 @@ commands =
 setenv =
     py34,py35,py36: VIRTUAL_ENV={envdir} LC_ALL = en_US.utf-8

+[testenv:py35-requests-mock]
+basepython = python3.5
+deps = .[requests-mock]
+commands = python -c 'import stackinabox.util.requests_mock'
+
 [doc8]
 extensions = rst

The other aspect of this is selecting tests to run when those optional deps are installed. You could do that by adjusting the list of tests/directories you supply to the test runner in each tox command. Or you could use test tags (for example, with the pytest.mark.<tag> decorator. I forget what nose supports) or even implement your own skip decorators that skip based on whether an optional dep is installed.


Add External configuration

Closes https://github.com/qweeze/rstream/issues/139

@chun0826 Do you have a chance to test it?


feat: add namespace binding

Explanation
Add $namespace to the binding
Related issue
Fixes https://github.com/kyverno/chainsaw/issues/819
Proposed Changes

Checklist

[x] I have read the contributing guidelines.
[x] I have read the PR documentation guide and followed the process including adding proof manifests to this PR.
[ ] This is a bug fix and I have added unit tests that prove my fix is effective.

Further Comments

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (0d046d4) 79.49% compared to head (48afb14) 79.37%.

Files
Patch %
Lines

pkg/runner/processors/test.go
14.28%
5 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #828      +/-   ##
==========================================
- Coverage   79.49%   79.37%   -0.12%
==========================================
  Files         104      104
  Lines        3223     3229       +6
==========================================
+ Hits         2562     2563       +1
- Misses        510      514       +4
- Partials      151      152       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Why not just ?
if nspacer != nil{
  bindings = p.bindings.Register("$namespace", binding.NewBinding(nspacer.GetNamespace()))
}

@eddycharly I am thinking this should change with the resource too.

What ?

@eddycharly
if i specify a  namespace in the resource

so if a resource has a namespace already then it won't change it

correct

@eddycharly I am fixing the test


Built in Types fixes

Force bigint to decimal if needed
Fix potential nulls with DateOnly/TimeOnly ConfigureParameter
Manually round a decimal to the correct scale (both parameter and string literal). With the way we handle the parameters it doesn't do any rounding. The test bases do expect a certain rounding (e.g. a decimal of 101.7 entered in with a scale of 0 should return 102)
BigInt is now mapped to decimal(20,0)
A plain store type of decimal is mapped to decimal(18, 0) like SQL Server
System.Decimal is mapped to decimal(18,2)
Store type of date can be also mapped to DateTime (in addition to dateonly)
Store type of time can also be mapped to TimeSpan (in addition to timeonly)

@lauxjpn Can you take a look at your test detection system. The tests that are failing all pass locally in VS and I can't find any other mention of those tests in the logs

The report seems to be correct, the tests did not pass in those runs. You can see the failed test executions it in the raw log of the run, or you can download the test-results artifact from the corresponding workflow action run (scroll to the bottom of the summary to find the artifacts).
For example, the result for the Scaffolding.JetDatabaseModelFactoryTest.ConcurrencyToken_is_set_for_rowVersion test case with ace_2010_oledb_x86 resulted in:
System.Data.OleDb.OleDbException : Syntax error in field definition.

at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at EntityFrameworkCore.Jet.Data.JetCommand.ExecuteNonQueryCore() in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\src\EFCore.Jet.Data\JetCommand.cs:line 291
at EntityFrameworkCore.Jet.Data.JetCommand.<>c.<ExecuteNonQuery>b__47_0(Int32 _, JetCommand command) in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\src\EFCore.Jet.Data\JetCommand.cs:line 248
at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func)
at EntityFrameworkCore.Jet.Data.JetCommand.ExecuteNonQuery() in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\src\EFCore.Jet.Data\JetCommand.cs:line 247
at EntityFrameworkCore.Jet.FunctionalTests.TestUtilities.JetTestStore.<>c.<ExecuteNonQuery>b__24_0(DbCommand command) in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\test\EFCore.Jet.FunctionalTests\TestUtilities\JetTestStore.cs:line 192
at EntityFrameworkCore.Jet.FunctionalTests.TestUtilities.JetTestStore.ExecuteCommand[T](DbConnection connection, Func`2 execute, String sql, Boolean useTransaction, Object[] parameters) in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\test\EFCore.Jet.FunctionalTests\TestUtilities\JetTestStore.cs:line 311
at EntityFrameworkCore.Jet.FunctionalTests.TestUtilities.JetTestStore.<>c__31`1.<Execute>b__31_0(<>f__AnonymousType65`5 state) in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\test\EFCore.Jet.FunctionalTests\TestUtilities\JetTestStore.cs:line 250
at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c__DisplayClass12_0`2.<Execute>b__0(DbContext _, TState s)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass28_0`2.<Execute>b__0(DbContext context, TState state)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult](IExecutionStrategy strategy, TState state, Func`2 operation, Func`2 verifySucceeded)
at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult](IExecutionStrategy strategy, TState state, Func`2 operation)
at EntityFrameworkCore.Jet.FunctionalTests.TestUtilities.JetTestStore.Execute[T](DbConnection connection, Func`2 execute, String sql, Boolean useTransaction, Object[] parameters) in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\test\EFCore.Jet.FunctionalTests\TestUtilities\JetTestStore.cs:line 241
at EntityFrameworkCore.Jet.FunctionalTests.TestUtilities.JetTestStore.ExecuteNonQuery(DbConnection connection, String sql, Object[] parameters) in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\test\EFCore.Jet.FunctionalTests\TestUtilities\JetTestStore.cs:line 192
at EntityFrameworkCore.Jet.FunctionalTests.TestUtilities.JetTestStore.ExecuteNonQuery(String sql, Object[] parameters) in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\test\EFCore.Jet.FunctionalTests\TestUtilities\JetTestStore.cs:line 189
at EntityFrameworkCore.Jet.FunctionalTests.Scaffolding.JetDatabaseModelFactoryTest.Test(String[] createSqls, IEnumerable`1 tables, IEnumerable`1 schemas, Action`1 asserter, String cleanupSql) in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\test\EFCore.Jet.FunctionalTests\Scaffolding\JetDatabaseModelFactoryTest.cs:line 2035
at EntityFrameworkCore.Jet.FunctionalTests.Scaffolding.JetDatabaseModelFactoryTest.Test(String createSql, IEnumerable`1 tables, IEnumerable`1 schemas, Action`1 asserter, String cleanupSql) in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\test\EFCore.Jet.FunctionalTests\Scaffolding\JetDatabaseModelFactoryTest.cs:line 2019
at EntityFrameworkCore.Jet.FunctionalTests.Scaffolding.JetDatabaseModelFactoryTest.ConcurrencyToken_is_set_for_rowVersion() in D:\a\EntityFrameworkCore.Jet\EntityFrameworkCore.Jet\test\EFCore.Jet.FunctionalTests\Scaffolding\JetDatabaseModelFactoryTest.cs:line 1358
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

I am not able to reproduce the Syntax error in field definition. exception on the docker environments.
@ChrisJollyAU I can take another look at this, after you have rebased the feature branch on top of the latest master branch.

After your merge to the top of the master branch, this error is now reproducible in the corresponding docker environment.

@lauxjpn With that one at least the column type for the row version was wrong. It was varbinary(8) but became rowversion when I did some updates (which is not supported)

Check the others as well. There is likely a logical explanation for their failure as well. If not, just ping me again and I'll take another look at it.

@lauxjpn The other 3 are no longer available


Depupdate

@homu r+

:pushpin: Commit 5e25bf4 has been approved by kbknapp

:hourglass: Testing commit 5e25bf4 with merge ae21af6...

:sunny: Test successful - status


Update giganto-client to 0.15.0 (#576)

Summary
related to #576
depend on https://github.com/aicers/giganto-client/pull/77 & https://github.com/aicers/giganto-client/pull/79

Codecov Report
Attention: 102 lines in your changes are missing coverage. Please review.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/graphql/export.rs
7.98% <ø> (ø)

src/graphql/log.rs
85.71% <100.00%> (ø)

src/ingest/implement.rs
51.22% <ø> (ø)

src/ingest/tests.rs
91.66% <ø> (ø)

src/graphql/security.rs
0.00% <0.00%> (ø)

src/storage.rs
64.11% <50.00%> (ø)

src/graphql/statistics.rs
81.31% <46.15%> (+8.76%)
:arrow_up:

src/ingest.rs
61.85% <53.76%> (-0.50%)
:arrow_down:

src/publish.rs
51.23% <28.57%> (-0.55%)
:arrow_down:

:loudspeaker: Thoughts on this report? Let us know!

statistics.rs 에 대한 내용을 제외하고는 22a8da4 에 반영하였습니다. approve 이후에 하나의 커밋으로 합칠 예정입니다.


Updated for Julia 0.6 compatibility

Fix sqrt broadcasting deprecation warning in blockCG. KrylovMethods now passes tests with no depwarns in 0.6

Woops. Didn't update appveyor.yml to 0.6. Having said that, that shows that fix in this pr isn't 0.5 compatible. I'll check to see if Compat can take care of broadcasting general functions.

This PR is outdated and updates it implements have already been merged in other PRs. Closing.


image cache incompletely

I build a registry bin over the branch main, and turn on the proxy cache ability, and then found that there may occur the error of committing failure, which result in incomplete cache for image. Only few blobs were cached locally.

But it will success when I use the tag 2.7.1.
The latest commit for my main branch is a1e30cca34d3ef4.
And my config is:

Is it healthy for the branch main or something? I could help work on fixing this if it's possible.

Having the same issue here, both with filesystem and S3 storage driver.

Can confirm, some layers are simply not cached.

Feel free to open a PR @justadogistaken

should this be closed (fixed by https://github.com/distribution/distribution/pull/3567 ?) @milosgajdos @justadogistaken ?

Yes, this is fixed.


Release compiled JS

Hello, I just discovered this wonderful date range picker. I've been looking for something like that, working as well on desktop than mobile, for years. It ships with everything I need and works very well, that's awesome! Congratulations!
Afaic, I'm not a big fan of npm installs.  I have my own system to retrieve my JS dependencies and upgrade them from github and other sources.
It would be very appreciated to have the compiled .js and/or .min.js, either available directly in the repository, or included in github releases assets.
For now I'm using https://cdn.jsdelivr.net/npm/litepicker/dist/js/main.js but it doesn't allow me to choose the version number.
Thank you very much for the awesome work!

You can specify a version number.
Here is v1.3.4:
<EMAIL_ADDRESS>


Node/examples/basics-oauth/app.js doesn't work

Bot Info

SDK Platform:  Node.js
SDK Version:  3
Active Channels:  Web Chat/Emulator
Deployment Environment: Local development with Emulator

Issue Description
I copied the code in my text-editor, changed values to reflect my environment, but the bot just responds with the code in the image at the end of this post.
The reason why is because when the app first starts, session.userData.activeSignIn's value is true:

Reproduction Steps

Copy the code
Talk to bot in a bot emulator
It responds saying the code doesn't work... even though you didn't even try to sign in yet.

Expected Behavior

Expect it to ask me to sign in.
Actual Results

Tries to get my sign-in token even though it didn't even ask me to sign in.

I'm kind of confused. Why does activeSignIn become false if the sign in was successful?

Hi, @AskYous I have not seen this behavior from this sample before, I am looking into this.  I assume you did not change any of the code?

Hi @JasonSowers. I only copied the bottom half of the code because the constants I have are retrieved differently. The rest is basically the same. I just added some debugging helpers. Here is my code.
I'm assuming that perhaps it's something on my end since I'm using Azure to authenticate. Here's a screenshot of my authentication service on Azure:

In case it helps, I ran the function connector.getSignInLink() to see what it would return and it returned an empty string as the login URL.

Those settings all look correct, and in your code the only thing wthat was really different that mine was your chat connector:
const connector = new builder.ChatConnector({
    appId: process.env.MicrosoftAppId,
    appPassword: process.env.MicrosoftAppPassword,
    openIdMetadata: process.env.BotOpenIdMetadata
});

whereas mine is like:
const connector = new builder.ChatConnector({
    appId: process.env.MicrosoftAppId,
    appPassword: process.env.MicrosoftAppPassword
});

Here is the code i am using can you try to plug this in and see what happens using ngrok?
var restify = require('restify');
var builder = require('botbuilder');

// Setup Restify Server
var server = restify.createServer();
server.listen(process.env.port || process.env.PORT || 4000, function() {
    console.log('%s listening to %s', server.name, server.url);
});

var inMemoryStorage = new builder.MemoryBotStorage();

var connector = new builder.ChatConnector({
    appId: "{APP ID}",
    appPassword: "APP PW"
});

var connectionName = "{CONNECTION NAME}" //var connectionName = "TwitterAuth" //"IGAuth"; //process.env.CONNECTION_NAME;

// Listen for messages from users
server.post('/api/messages', connector.listen());

// Create your bot with a function to receive messages from the user
var bot = new builder.UniversalBot(connector, function(session) {
        if (session.message.text == 'signout') {
            // It is important to have a SignOut intent

            connector.signOutUser(session.message.address, connectionName, (err, result) => {

                if (!err) {
                    session.send('You are signed out.');
                } else {
                    session.send('There was a problem signing you out.');
                }
            });

        } else {

            // First check whether the Azure Bot Service already has a token for this user
            connector.getUserToken(session.message.address, connectionName, undefined, (err, result) => {
                if (result) {
                    // If there is already a token, the bot can use it directly
                    session.send('You are already signed in with token: ' + result.token);
                } else {
                    // If there not is already a token, the bot can send an OAuthCard to have the user log in
                    if (!session.userData.activeSignIn) {

                        session.send("Hello! Let's get you signed in!");
                        builder.OAuthCard.create(connector, session, connectionName, "Please sign in", "Sign in", (createSignInErr, signInMessage) => {
                            if (signInMessage) {
                                session.send(signInMessage);
                                session.userData.activeSignIn = true;
                            } else {
                                session.send("Something went wrong trying to sign you in.");
                            }
                        });

                    } else {
                        // Some clients require a 6 digit code validation so we can check that here
                        session.send("Let's see if that code works...");
                        connector.getUserToken(session.message.address, connectionName, session.message.text, (err2, tokenResponse) => {
                            if (tokenResponse) {
                                session.send('It worked! You are now signed in with token: ' + tokenResponse.token);
                                session.userData.activeSignIn = false;
                            } else {
                                session.send("Hmm, that code wasn't right");
                            }
                        });
                    }
                }
            });

        }
    })
    .set('storage', inMemoryStorage) // Register in memory storage
    .on("event", (event) => { // Handle 'event' activities
        if (event.name == 'tokens/response') {
            // received a TokenResponse, which is how the Azure Bot Service responds with the user token after an OAuthCard
            bot.loadSession(event.address, (err, session) => {
                let tokenResponse = event.value;
                session.send('Token ' + tokenResponse.token);
                session.userData.activeSignIn = false;
            });
        }
    });

connector.onInvoke((event, cb) => {
    try {
        if (event.name == 'signin/verifyState') {
            // received a MS Team's code verification Invoke Activity
            bot.loadSession(event.address, (err, session) => {
                let verificationCode = event.value.state;
                // Get the user token using the verification code sent by MS Teams
                connector.getUserToken(session.message.address, connectionName, verificationCode, (err, result) => {
                    session.send('Token ' + result.token);
                    session.userData.activeSignIn = false;
                    cb(undefined, {}, 200);
                });
            });
        } else {
            cb(undefined, {}, 200);
        }
    } catch (err) {
        console.log(err);
    }
});

bot.use({
    botbuilder: function(session, next) {
        next();
    },
    send: function(event, next) {
        if (event.source === "msteams" && event.attachments[0].contentType === "application/vnd.microsoft.card.signin") {
            event.attachments[0].content.buttons[0].type = "openUrl";
        }
        next();
    }
});
bot.use({
    botbuilder: function(session, next) {
        next();
    },
    send: function(event, next) {
        if (event.source === "msteams" && event.attachments[0].contentType === "application/vnd.microsoft.card.signin") {
            event.attachments[0].content.buttons[0].type = "openUrl";
        }
        next();
    }
});

Hi AskYous!
Can you try to send the /deleteprofile command to the bot, and then try again?

I ran your code and I noticed session.userData.activeSignIn's value was undefined when the bot starts. In my code, it was true when the bot starts. However, clicking "sign in" doesn't open a sign-in window or throw any errors. So the sign in button does nothing. I have the appId and password to null. Are they supposed to be set to a value?

Hi @jwiley84! Sorry I'm new to this bot. Am I supposed to navigate to http:localhost:3978/api/deleteProfile to do that? I don't know how to send a command.

Like that? I tried that, restarted the bot, but received the same response:

This may also help:

Code:

I deleted my Azure storage and made it again. My bot asked me to sign in this time as it should. But the login link does nothing at all (here's the issue it seams).
When I re-ran the bot, it didn't ask me to sign in anymore but just tried to use my token, which is undefined.

Hi @AskYous! Just checking to see if you were still having this issue! Were you able to test using the inMemoryStateStore?


Governance proposal to allow oracles to report on CELO/BTC on mainnet

Expected Behavior
Addresses created in #52 are added to the whitelist in SortedOracles for CELO/BTC.
Current Behavior
There are currently no oracle identities that are allowed to report on the CELO/BTC price on mainnet.

no longer relevant


Multiple Sessions per User

How to enable Multiple Sessions per User?

Add this line in your /etc/openvpn/server.conf file :
duplicate-cn
It will let you have multiple sessions per user, as exemple if you have user_1, you connect a first time with its profile, you will be connected and get the IP <IP_ADDRESS> ( let's say that you have the <IP_ADDRESS>/24 range for this exemple), then if you connect with this profile a second time, you will get the IP <IP_ADDRESS>, or any available address that is not used at this moment, etc...


Remove complex.nc from built docs

I assume this is related to https://github.com/pydata/xarray/issues/3297 or an associated issue. Basically, a file, complex.nc, is being added to doc/ after running make clean && make html. Would be nice to suppress this.

Many thanks @gwgundersen !


Can I use this with Vue3?

Just import it and nothing will appear on the screen.
Does anyone else have the same problem?

If you import it correctly it'll work.
I check it out now and it works perfectly


Adding token reward for adding records

When a user uploads data, 1 Finney LIN token is transferred from the Linnia admin pool/acct to the user’s address.
Currently, no data validation needed.

Codecov Report

Merging #95 into master will decrease coverage by 1.69%.
The diff coverage is 85%.

@@            Coverage Diff            @@
##           master      #95     +/-   ##
=========================================
- Coverage   96.55%   94.85%   -1.7%
=========================================
  Files           4        5      +1
  Lines         116      136     +20
  Branches       24       28      +4
=========================================
+ Hits          112      129     +17
- Misses          4        7      +3

Impacted Files
Coverage Δ

contracts/LinniaRecords.sol
98.5% <100%> (+0.23%)
:arrow_up:

contracts/mock/ERC20Mock.sol
72.72% <72.72%> (ø)

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 6c72343...be404e0. Read the comment docs.


How to ignore loading bar in my own interceptor?

Hey!
Can someone please show me how do I properly ignore the loading bar in my own interceptor?
So far my interceptor looks like this:
(function() {
    'use strict';

    angular
        .module('app.core')
        .factory('Interceptor', Interceptor);

    /* @ngInject */
    function Interceptor() {
        var service = {
            'request': request
        };
        return service;

        ////////////////

        function request(config) {
        	config.ignoreLoadingBar = true;
        	console.log(config);
        	return config;
        }
    }
})();

Now the loading bar is still showing up but it never gets completed. I think it's because I'm not doing it the right way.

Anyone?

This is exactly what i am seeing as well. No idea how to fix this yet.

After debugging I was unsuccessful with getting this to work through an interceptor. Might be because the loading bar interceptor runs ahead of yours and hence doesn't see the ignoreLoadingBar config parameter till after it runs (hence why might it is getting stuck).
Through some logging, it seems the config object gets updated but not until after the loading bar interceptor is called.

I guess in this case I'll switch to nProgress and write my own logic to start and stop the loading bar.
Thanks for your feedback @mkhatib :)

Hi all -- as @mkhatib mentioned, this is likely related to the order the interceptors are loaded in.  Try changing the load order and something like this should work fine.
You can also simply use the service (without the interceptor), which will allow you to start/stop this loading bar just as nProgress does.


I find a bug about Redisson,when I use it to set data into redis server.

code:
redissonClient.getBucket("test123456").set("http://q57u6k1j6.bkt.clouddn.com/7c1da11a-c920-47ac-9b15-a83b3d2daaca");
I want to set "http://q57u6k1j6.bkt.clouddn.com/7c1da11a-c920-47ac-9b15-a83b3d2daaca" into redis server,but I find that this data become "    Ehttp://q57u6k1j6.bkt.clouddn.com/7c1da11a-c920-47ac-9b15-a83b3d2daaca",when I check redis server with tool——Redis Desktop Manager.

this is the value in serialized state. Use StringCodec.INSTANCE to avoid any serialization.

Thank you very much for helping me.


Function.prototype.caller/arguments should be configurable

Currently they are non-configurable.
Possible good candidate for "Your First PR"

I was planning on making a PR for this but it appears to have been fixed by https://github.com/Microsoft/ChakraCore/pull/4651 (which also added a test for this issue)

@dilijev please double check this issue is closed

Double checked a repro with @bterlson and it looks like we're all set.
## Source
print(Object.getOwnPropertyDescriptor(Function.prototype, 'caller').configurable)

#### ch-master-latest, jsvu-ch, jsvu-d8, jsvu-jsc, jsvu-sm
true


Make node shutdown explicit

I need this for https://github.com/biozic/d2sqlite3/blob/fea5016f1b08f4e3135a0f4ebcb0ef5f522be4cd/source/d2sqlite3/database.d#L89
If you don't explicitly call database.close() before the destructors kick-in, it will throw an exception thanks to that check above which calls this: https://github.com/biozic/d2sqlite3/blob/08e77f5f2da3ead57d62c80226bd85e41c27fbd7/source/d2sqlite3/internal/memory.d#L70
I think we will probably need shutdown functionality at some point, so in my mind it makes sense to add it.

Fixed scopes.


added loot/drop tracking to packet

Hey, I tired to keep the code style similar to your setup and added drop/loot tracking to the plugin. The code added just adds an extra property to the main json data called "loot" that sends some info about the thing that dropped the items along with the items dropped.
Let me know if you want me to change anything etc! (or if its not something you want as a part of this plugin)

Looked over it quickly and it seems good
I assume this is just for debugging client.addChatMessage(xxx);
Also believe clientThread.invokeLater is not required unless we're directly querying something from the game like inventory, I might be wrong though
Working on a couple changes on the front end, after that I will check this one out and merge if its all good

Thanks! The client.addChatMessage is just for debugging, I can do another commit removing it or I think I set it so maintainers can edit the commit before merge (new to github).
was not sure about the invokeLater part since this is the first runelite stuff I have worked on, so it should be fine to remove if you think so.

clicked the wrong button

Took a deeper look at at it now
What if the player manages to kill 2 or more mobs in the same tick, such as barraging or using chins, it will only send the latest, try and make some sort of loot queue so we don't miss anything.
Also rather than making the items field in the JSON output an object, make it an array
I'll merge after these things are done 👍

Switched over to array and removed the debugging chat adds
Also removed the invokeLater part, some imports got dropped by the IDE and it seemed to work without them, I can add them back in manually if needed!

Everything looks good, nice work, there's nothing on the front end to interpret this data yet but, atleast its there for usage, I'll add some health/prayer changes too before I push the release to the plugin hub


WithSkiaWeb crashing when props are updated

Description
I've been trying to use react-native-skia in my RN web project WITHOUT the deferred registration approach (We can't afford to increase the app loading time because our users often use the app in low-connectivity areas), and I'm seeing the following issue when a prop passed to a component using WithSkiaWeb via componentProps gets updated: Cannot read properties of null (reading 'rangeMin').

The issue doesn't happen if skia is loaded up front with the deferred load approach (LoadSkiaWeb), so I guess it must be related to some internal logic of the WithSkiaWeb util.
It's worth mentioning that the feature to pass props down to the wrapped component through WithSkiaWeb was merged not long ago here.

LoadSkiaWeb
WithSkiaWeb

Version
1.5.0
Steps to reproduce
Created a simple repo where the issue can be reproduced. Follow instructions in the README to reproduce the crash.
Don't defer app registration, and load the component using skia via WithSkiaWeb, with changing props passed down to it via componentProps
Snack, code example, screenshot, or link to a repository
https://github.com/santitopo/withskiaweb-issue/tree/main

@wcandillon any ideas on what may be going on?

Yes, thank you for sending me the example project. I will update WithSkiaWeb so any updates/rerendering of the component doesn't trigger any side effects. You can update your code to do the same in the meantime.


how to append a row

I want to append lots rows,but i can't find any func.how can i use excelize to append rows?
我想再表格末尾插入一行，但是我没有找到相关的函数，请问如何操作？比如我有10行数据，表格中原有数据为6行，我想在第7行插入那10条，请问如何操作？

You can know the last row by iterate rows which fetched by GetRows or row's iterator and then set the row by SetSheetRow.


UC1: Add Process graph to repo

@basu26, hi, please add your process graph that you are using at eurac backend to the repo.
Then prepare one for the creation of the predictors on VITO.

process graphs Eurac and Vito backend uploaded in repo.


 not working with autopairs plugin

When I set create_mapping_hook("i", "<cr>", require("autolist").new), it will kind of override the  of autopairs plugins (like auto-pairs) and results in the following error:
Error detected while processing BufEnter Autocommands for "*"..function autopairs#AutoPai
rsTryInit[14]..autopairs#AutoPairsInit[17]..autopairs#Keybinds#mapKeys:
line   27:
E716: Key not present in Dictionary: "rhs"
line   28:
E121: Undefined variable: old_cr
E116: Invalid arguments for function autopairs#Keybinds#ExpandMap
line   29:
E121: Undefined variable: old_cr
E116: Invalid arguments for function substitute
line   52:
E121: Undefined variable: old_cr
Press ENTER or type command to continue

It was still working fine with commit 761e0f9, but that commit has the annoying space in the beginning of the new line.
My setup:

nvim: 0.8.1
package manager: lazy.nvim
autopairs plugin: tested both nvim-autopairs and auto-pairs. With nvim-autopairs, the autopairs feature when  doesn't work without showing any error.

Reproduce
Run nvim -u repro.lua tmp.md. The file repro.lua is given below.
repro.lua
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "LunarWatcher/auto-pairs",
  {
    "gaoDean/autolist.nvim",
    config = function()
      local autolist = require("autolist")
      autolist.setup()

      local function create_mapping_hook(mode, mapping, hook, alias)
        vim.keymap.set(
        mode,
        mapping,
        function(motion)
          local keys = hook(motion, alias or mapping)
          if not keys then keys = '' end
          return keys
        end,
        { expr = true }
        )
      end

      create_mapping_hook("i", "<CR>", autolist.new)
      create_mapping_hook("n", "o", autolist.new)
    end,
  },
}

require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

-- add anything else here
vim.opt.termguicolors = true
-- do not remove the colorscheme!
vim.cmd([[colorscheme tokyonight]])

Yeah good pickup, I’ll have to install an auto pairs plugin tmr to see what the issue is.

I noticed a similar issue with autopairs. I didn't get an error but I noticed that autopairs overrides autolist's o mapping. I solved this by adding buffer = true to vim.keymap.set() inside create_mapping_hook() to make the mapping buffer-only, like so:
local function create_mapping_hook(mode, mapping, hook, alias)
  vim.keymap.set(
    mode,
    mapping,
    function(motion)
      local keys = hook(motion, alias or mapping)
      if not keys then keys = '' end
      return keys
    end,
    { expr = true, buffer = true }
  )
end

Perhaps this should be changed in the README since this is the desired behaviour.

@mawkler : I tried adding buffer = true, the error does go away, however the  feature of auto-pairs doesn't work. See this gif:

The expected behavior is like this:

I'm not sure if this is possible as mkdnflow.nvim explicitly mentioned that one has to disable  mapping of autopairs. But it worked at commit 761e0f9, so hopefully @gaoDean can do something 😊

I tried using windwp's autopairs but with your example, it does the expected behavior even with and without the autopairs plugin. I tried disabling treesitter and autolist, but the expected behavior still arises. Is there any more complex autopairs-specific behavior that I can try?

Here's my config with lazy.nvim and default lazy.nvim settings:
  {
    "windwp/nvim-autopairs",
    config = true,
    enabled = true,
  },
  {
    "gaoDean/autolist.nvim",
    dev = true,
    enabled = true,
    ft = {
      "markdown",
      "txt",
    },
    config = function()
      require("autolist").setup()
      function create_mapping_hook(mode, mapping, hook, alias)
        vim.keymap.set(
          mode,
          mapping,
          function(motion)
            local keys = hook(motion, alias or mapping)
            if not keys then keys = "" end
            return keys
          end,
          { expr = true}
        )
      end

      create_mapping_hook("i", "<cr>", require("autolist").new)
      create_mapping_hook("i", "<tab>", require("autolist").indent)
      create_mapping_hook("i", "<s-tab>", require("autolist").indent, "<c-d>")
      create_mapping_hook("n", "dd", require("autolist").force_recalculate)
      create_mapping_hook("n", "o", require("autolist").new)
      create_mapping_hook("n", "O", require("autolist").new_before)
      create_mapping_hook("n", ">>", require("autolist").indent)
      create_mapping_hook("n", "<<", require("autolist").indent)
      create_mapping_hook("n", "<c-r>", require("autolist").force_recalculate)
      create_mapping_hook("n", "<leader>x", require("autolist").invert_entry, "")
    end,
  }

oh I see, I wasn't using the repro.lua.

I noticed a similar issue with autopairs. I didn't get an error but I noticed that autopairs overrides autolist's o mapping. I solved this by adding buffer = true to vim.keymap.set() inside create_mapping_hook() to make the mapping buffer-only, like so:

@mawkler For me, o worked with buffer = false too

@mawkler @goingtosleep Okay so temporary fix, just set autolist's priority to be very high

Alright, more permanent fix, add branch = "dev3", to autolist in the lazy plugins (ik, such a descriptive branch name)

whoops didnt mean to close it, but try it out now

Just tried with the latest commit @gaoDean, but it seems the issue is still there 🥲.
Sometimes autopairs works and autolist doesn't:
https://user-images.githubusercontent.com/47395035/210298513-64ebaa4e-f0ac-4ccd-b8ca-a880e5c9830c.mp4
Sometimes the reversed:
https://user-images.githubusercontent.com/47395035/210298522-ae3ff50f-8fb9-439e-a46b-e833f19f920b.mp4
I tried using the repro.lua with windwp/nvim-autopairs. Is the behavior the same on your side? Do you enable defaults = { lazy = true } in lazy.nvim and specified an order for the plugins?

@goingtosleep ohh, I see the problem. They are probably competing for the "" mapping, and when autolist wins, it still  presses "", but with noremap (because of recursion). Then when autopairs wins, the opposite happens.

even with this:
			vim.keymap.set("n", "<cr>", function()
				print("test1")
				return "<cr>"
			end, { expr = true, remap = true })
			vim.keymap.set("n", "<cr>", function()
				print("test2")
				return "<cr>"
			end, { expr = true, remap = true })

only the second one runs, so I can't really see a way to do this.

The only way I can see is to get the function that is mapped to "" in create_mapping_hook, and then call that function, and then do the autolist funtcion.

@mawkler ok im really close with this now but my dad says i gotta go to bed lmao
map.lhs is the mapping (like <CR>)
map.rhs is either a "v:lua." string or a function depending on if it was made with nvim_buf_set_keymap or vim.keymap.set respectively
you must make sure that autopairs is loaded first
you can see it nearly working if you replace the ending return hook... with return ""

				local additional_map = nil
				local maps = vim.api.nvim_get_keymap(mode)
				for _, map in ipairs(maps) do
					if map.lhs == mapping then
						if map.rhs then
							additional_map = map.rhs:gsub("^v:lua%.", "", 1)
						else
							additional_map = map.callback
						end
						pcall(vim.keymap.del, mode, mapping)
					end
				end
        vim.keymap.set(
					mode,
					mapping,
					function(motion)
						if additional_map then
							if type(additional_map) == "string" then
								local ok, res = pcall(load("return " .. additional_map))
								if ok then
									vim.fn.feedkeys(res, "nt")
								end
							else
								vim.fn.feedkeys(additional_map(), "nt")
							end
						end
						return hook(motion, alias or mapping) or ""
					end,
					{ expr = true, remap = true }
        )
      end

      mapping_hook("i", "<CR>", require("autolist").new)

@goingtosleep try this
local plugins = {
  "folke/tokyonight.nvim",
  {
    "gaoDean/autolist.nvim",
		ft = {
			"markdown",
			"text"
		},
    config = function()
      local autolist = require("autolist")
      autolist.setup()

      local function mapping_hook(mode, mapping, hook, alias)
				local additional_function = nil
				local maps = vim.api.nvim_get_keymap(mode)
				for _, map in ipairs(maps) do
					if map.lhs == mapping then
						if map.rhs then
							additional_function = map.rhs:gsub("^v:lua%.", "", 1)
						else
							additional_function = map.callback
						end
						pcall(vim.keymap.del, mode, mapping)
					end
				end
        vim.keymap.set(
					mode,
					mapping,
					function(motion)
						local additional_map = nil
						if additional_function then
							if type(additional_function) == "string" then
								local ok, res = pcall(load("return " .. additional_function))
								if ok then
									additional_map = res or ""
								end
							else
								additional_map = additional_function() or ""
							end
						end
						return hook(motion, additional_map or mapping) or ""
					end,
					{ expr = true, buffer = true }
        )
      end

      mapping_hook("i", "<CR>", autolist.new)
      mapping_hook("n", "o", require("autolist").new)
    end,
		dependencies = {
			{
				"windwp/nvim-autopairs",
				config = true,
				event = "VeryLazy"
			},
		},
  },
}

i might add this to autolist so the user wont have to copy in a massive function

okay 2nd revision because for the above one, autopairs wont work for filetypes that are not markdown and text
local plugins = {
  "folke/tokyonight.nvim",
	{
		"windwp/nvim-autopairs",
		config = true,
		priority = 2,
	},
  {
    "gaoDean/autolist.nvim",
		priority = 1, -- load after autopairs
		branch = "dev2",
		ft = {
			"markdown",
			"text"
		},
    config = function()
      local autolist = require("autolist")
      autolist.setup()
      autolist.create_mapping_hook("i", "<CR>", autolist.new)
      autolist.create_mapping_hook("n", "o", autolist.new)
    end,
		dependencies = {
		},
  },
}

Nice @gaoDean, the dev2 branch worked for me. Thanks for the great effort 😊


Make code analyzers private

The way Microsoft.VisualStudio.Threading is currently referenced means anyone referencing this package will get the included analyzers if they want them or not. As a number of them are related to the use of their package it doesn't make sense to force them on users of your package.
I think this can be fixed by changing
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="16.6.13" />

to
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="16.6.13" >
  <PrivateAssets>analyzers</PrivateAssets>
</PackageReference>

@redwyre nice spot! feel free to do a PR or I can fix this on a weekend.

I looked into this a bit further and it looks like there's actually a bug with nuget/dotnet where excluding analyzers is ignored: https://github.com/dotnet/sdk/issues/1212
Currently the only way to resolve it is to use <PrivateAssets>all</PrivateAssets>

@redwyre Actually Microsoft.VisualStudio.Threading is used in the code and can't be private. Please reopen the issue if there are any related problems. Also see #19


Update required fmf version in setup.py

Since PR #443 , fmf version 0.9.2 is no longer sufficient to run tmt on master branch due to using Tree.adjust() method which was introduced in 0.13. Update the required fmf version.

Right you are! Thanks. Rebased and merged.


BufferFormatter::GetVarSize is wrong for non-square matrices

Description
The code may be wrong only under the Vulkan API however.
The incorrect size leads to having padBytes be 0xfffffff0 in BufferFormatter::DeclareStruct, which then freezes RenderDoc when trying to view the buffer that uses this struct.
The problematic code is :
  if(var.type.descriptor.rows > 1)
  {
    if(var.type.descriptor.rowMajorStorage)
      size = var.type.descriptor.matrixByteStride * var.type.descriptor.columns;
    else
      size = var.type.descriptor.matrixByteStride * var.type.descriptor.rows;
  }

I have a structure that contains 2 row_major mat4x3.
The "SPIR-V (RenderDoc)" output for this struct is:
struct MyBufferType {
  float4x3 M0 : [[RowMajor, MatrixStride(16), Offset(0)]];
  uint M1 : [[Offset(48)]];
  uint M2 : [[Offset(52)]];
  uint M3 : [[Offset(56)]];
  uint M4 : [[Offset(60)]];
  float4x3 M5 : [[RowMajor, MatrixStride(16), Offset(64)]];
}

The generated SPIR-V declaration for the mat4x3 type is :
%v3float = OpTypeVector %float 3
%mat4v3float = OpTypeMatrix %v3float 4
%MyBufferType = OpTypeStruct %mat4v3float %uint %uint %uint %uint %mat4v3float

The decoration on the SPIRV struct members is effectively RowMajor :
OpMemberDecorate %MyBufferType 0 Offset 0
OpMemberDecorate %MyBufferType 0 MatrixStride 16
OpMemberDecorate %MyBufferType 0 RowMajor
OpMemberDecorate %MyBufferType 1 Offset 48
OpMemberDecorate %MyBufferType 2 Offset 52
OpMemberDecorate %MyBufferType 3 Offset 56
OpMemberDecorate %MyBufferType 4 Offset 60
OpMemberDecorate %MyBufferType 5 Offset 64
OpMemberDecorate %MyBufferType 5 MatrixStride 16
OpMemberDecorate %MyBufferType 5 RowMajor

Here is what happens when the application freezes.
const uint32_t size = GetVarSize(*lastChild);
uint32_t padBytes = requiredByteStride - (lastMemberStart + size);

if(padBytes > 0)
      ret += lit("    ") + DeclarePaddingBytes(padBytes);

requiredByteStride = 112
lastMemberStart = 64
The last member of the struct is really 48 bytes, but the function returns 64,
This translates to:
uint32_t padBytes = 112 - (64 + 64);
// uint32_t padBytes = 112 - 128;

Instead of:
uint32_t padBytes = 112 - (64 + 48);
// uint32_t padBytes = 112 - 112;

This underflow causes the code to call DeclarePaddingBytes with the underflowing value 0xfffffff0<PHONE_NUMBER>).
RenderDoc then spends a lot of time trying to read a buffer with structs having around 4GB of padding.
Steps to reproduce
Create a struct equivalent to the one above and use it as the type for a Buffer you will bind to any shader stage.
Try to look at the content of the Buffer inside of RenderDoc.
Notice the application freezes.
Note that the shader is coded in HLSL and compiled to Vulkan using DirectXShaderCompiler. However, I would assume the same behaviour would occur with a shader coded in glsl.
Environment

RenderDoc version: 1.8
Operating System: Windows 10
Graphics API: Vulkan 1.2

Thanks, that commit should fix the issue at least from my tests. If you still have issues please share a reproducible test case.

Everything works fine, thanks


Email when membership approved #1635

Wow, GitHub is harsh with "request changes" :-(
A huuuge cross.
Oh well, let's change it and this can probably be approved.
However, I'd like for the mail to be sent on an update of a model instance, rather than a specific view – this way the handling is consistent across Django Admin, Onlineweb4 Dashboard as well as eventual database migrations or future APIs (read about Django Signal handling and see the signals.py file which already does this for approval notification for administrators :-))

If you click "details" on the failing test, you can see that it's actually "isort" that fails. Isort is a tool we use to alphabetically sort imports, and has nothing to do with the actual tests. If you fix those issues (alas: sort the imports alphabetically and remove any imports not in use - hint: type isort -rc apps/approval to automatically sort the imports in apps/approval), you should see the output of the actual tests instead.

I merged this with develop and tested a bit.
When I applied for membership using the website -> Min side -> Medlemskap, I did not receive an email. So I looked a bit into this and quickly fixed it.
I did two small fixes:

Target "MembershipApproval" model when connecting signal (f227258)
Better check for when to send email (only after application.processed is True, otherwise it would send an email saying application denied when you apply, which is silly) (56173fa)

The tests looks good. Nice work!
However, it seems like your last changes did something weird to the imports, so please sort those out. :)
Finally, I'd love to see the possibility to disable this easily (or enable..) using django settings. Check out the other approval task for how this is done.


Docs: Verifying Software -- Old mac versions of shasum don't support '--ignore-missing' flag

As reported in the telegram group by Guy:
Some older mac users may have issues verifying software downloads because their version of shasum does not support the --ignore-missing flag.   Guy was able to complete verification simply by leaving that flag off the commandline.  Later, they confirmed that this is a known issue:

I suggest that a note similar to above is included in our installation docs so that users will know to avoid this error.

ACK


(no ticket) Capitalize C# client member functions

From Kyle Dunn on Slack:
Looks like a minor typo here : http://gemfire-native-90.docs.pivotal.io/native/continuous-querying/5b-writing-cq-listener.html#cqlistener-implementation-(c#-.net)
C# CqListener should implement OnEvent(), OnError(), and Close() - notice the first letter capitalization.
NB(db): I also changed onCqDisconnected to OnCqDisconnected, onCqConnected to OnCqConnected, and clear to Clear.

+1


Maybe a bug in function "read_chunk"

Here are the details in bed file:
chr06	24463	24507	GCGGGCGCGACACTGTGGAATGTAGATGGATGATTCTGTGCAAAC chr06	24464	24508	CGGGCGCGACACTGTGGAATGTAGATGGATGATTCTGTGCAAACT chr06	24465	24509	GGGCGCGACACTGTGGAATGTAGATGGATGATTCTGTGCAAACTA chr06	24466	24510	GGCGCGACACTGTGGAATGTAGATGGATGATTCTGTGCAAACTAA chr06	24467	24511	GCGCGACACTGTGGAATGTAGATGGATGATTCTGTGCAAACTAAA chr06	24468	24512	CGCGACACTGTGGAATGTAGATGGATGATTCTGTGCAAACTAAAA chr06	24469	24513	GCGACACTGTGGAATGTAGATGGATGATTCTGTGCAAACTAAAAC chr06	24470	24514	CGACACTGTGGAATGTAGATGGATGATTCTGTGCAAACTAAAACG
Here is the code:
with bnp.open(bed_path,'r') as a:     m = a.read_chunk()     print(m)
Here is the result:
Interval with 75662 entries                chromosome                    start                     stop                     chr06                    24463                    24507                     chr06                    24464                    24508                     chr06                    24465                    24509                     chr06                    24466                    24510                     chr06                    24467                    24511                     chr06                    24468                    24512                     chr06                    24469                    24513                     chr06                    24470                    24514                     chr06                    24471                    24515                     chr06                    24472                    24516
The sequence is missing，I think it may be that ‘read_chunk’ does not have global applicability

Hi, there seems to be some formatting issues with the bed file content you show. Could you upload a subset of the bed file for debugging?

Thanks for reply, I checked the information, my bed file was generated by a software and may not conform to the standard bed format.
Here is a subset
subset.zip

Hi, yes since this is a bit of a custom format, you would need to make a custom dataclass and buffer for it. I've added a small example to show how it's done here: https://github.com/bionumpy/bionumpy/blob/dev/scripts/custom_bed_file_example.py

Thank you very much! it helped a lot.


Update the wiki/documentation

We've launched the upgrade! This affects the README and several wiki pages. We should update those.

I have updated the Wiki! Documentation needs to be updated, specifically any references to import_data should be removed and we should add some simple documentation for running the scrape.

I did this!

The README did not receive this update (h/t @fatima3558). Let's use the Chicago Councilmatic setup instructions as a base, and add any tidbits we find when we pair on running the app.

Add:
Run refresh_guid prior to building index.


Fix typos of "Generalized" in GUFunc-related code

This typo has annoyed me for long enough. As in https://numpy.org/doc/stable/reference/c-api/generalized-ufuncs.html, it should be Generalized, not Generialized.

gpuci run tests

gpuci run tests


Add support for ‘27 EPA Required SPNs

Provide support for ‘27 MY US EPA SPNs as identified by J1939-90 (now in draft).
Collect new SPN definitions from J1939-DA and incorporate them for use in a Revised Table A-1 with ‘27 MY entries (to be provided).
These Table A-1 entries will be marked as ‘Fail if not in DM24’, and ‘Fail if not provided’.

Last J1939DA is Feb 2024

AFT 1 DPF Ash load pct, SPN 3720, will be added to table A-1 … it will not require DM24 inclusion as it is in the same PG as soot load. (FF shall fail for ‘27 EPA CI engines)
PG: ENRI SPN 23735 (Trip enrichment time) (FF shall fail for ‘27 EPA SI engines) to be required in DM24.


[Bug]: .env-coolify is not created.

Description
.env-coolify file is not created, despite having many environment variables in Coolify, which have been working for months.
Minimal Reproduction (if possible, example repository)
I cannot share the repo.
It is simply a git repo deployment, with Docker, being built from a Dockerfile. I cd'd in to the VPS and sure enough, there is no .env-coolify file.
Everything was working fine for months now. An automated deploy got pushed today and suddenly, boom.
Exception or Error
[2024-Apr-17 17:21:18.368731] Oops something is not okay, are you okay? 😢
[2024-Apr-17 17:21:18.372249] Failed to load /data/coolify/applications/bc00os0/.env-coolify: open /data/coolify/applications/bc00os0/.env-coolify: no such file or directory
[2024-Apr-17 17:21:18.375803] Deployment failed. Removing the new version of your application.

Version
beta.263

I will revert those changes until further investigation.

I reverted in v264, can you please check now?

I reverted in v264, can you please check now?

Hey, thank you for the revert. I apologize for the slow response.
I see my coolify dashboard is on v264 now. I pressed "Update" on one of my environmental variables and then pressed "Deploy" on the top right of my project. It went through the usual build process, but still I'm getting this error:
[2024-Apr-18 08:33:27.858676] Image pushed to docker registry.
[2024-Apr-18 08:33:29.505087] ----------------------------------------
[2024-Apr-18 08:33:29.509852] Rolling update started.
[2024-Apr-18 08:33:30.035849]

[COMMAND] SOURCE_COMMIT=d22090cc4d415b3e3362d96ffd45140267b09da6 docker compose --project-directory /data/coolify/applications/bc00os0 -f /data/coolify/applications/bc00os0/docker-compose.yml up --build -d
[OUTPUT]
Failed to load /data/coolify/applications/bc00os0/.env: open /data/coolify/applications/bc00os0/.env: no such file or directory

[2024-Apr-18 08:33:30.168744] Oops something is not okay, are you okay? 😢
[2024-Apr-18 08:33:30.177471] Failed to load /data/coolify/applications/bc00os0/.env: open /data/coolify/applications/bc00os0/.env: no such file or directory
[2024-Apr-18 08:33:30.194918] Deployment failed. Removing the new version of your application.

Is there anything I should be doing to try and ensure that it pushes the variables? I pressed update on one, thinking that perhaps that would ensure that it'd try to create the file again. Let me know if there is any sort of troubleshooting that I can do.

What build pack do you use?

What build pack do you use?

Dockerfile
If it matters, it should be known that I also have a build server and a self-hosted docker registry for it.

Is there an env_file option in your compose file on the server /data/coolify/applications/bc00os0/docker-compose.yml?
The .env file is only not created if you do not have any environment variables set.

from the docker-compsoe.yml file on the server:

So yes, it does have an env_file set. I have not changed anything related to environment variables, dockerfile, etc for months now and it was working up until very recently. Do you know why it would set the env_file here? There is no .env file in the project, except for a .env.example in the repository.
My Dockerfile itself has no mention of any .env.
I'm completely unsure why it indicates the env_file here.
There is a docker-compose.yml file in my project, but my buildpack is set to Dockerfile, not Docker Compose, so it should be ignoring the docker-compose.yml file completely, right?
Again just want to emphasize, I have changed nothing about my deployment. It was working without any issues, for months. So, I believe something has to have changed.

Yes, there was a small change that will allow further environment variable functions (like interpolation and literal envs).
The .env file is generated on the fly by Coolify, based on what you set in environment variables on the UI. But it should only include the env_file option if you have environment variables.

Is it possible to give me access to the server where Coolify is running on? It would help me to debug (as I cannot reproduce).
If yes, please contact me in private: https://coolify.io/docs/contact

I wrote you on telegram; let me know if you prefer a different contact method

Found the issue. fix is coming in the next version.

@andrasbacsai  I'm having this same issue still:
[2024-Apr-21 20:48:51.262860] tee: /data/coolify/applications/qg8wc88/.env: No such file or directory

[2024-Apr-21 20:48:51.294783] Oops something is not okay, are you okay? 😢

[2024-Apr-21 20:48:51.296282] tee: /data/coolify/applications/qg8wc88/.env: No such file or directory

[2024-Apr-21 20:48:51.297781] Deployment failed. Removing the new version of your application.

Using a build server, I have some env vars set (build) and version v4.0.0-beta.265

Found the issue. fix is coming in the next version.

I believe now, build env's are no longer sent to build servers in 265?


Add meaning of Kubernetes to "What is Kubernetes" overview

I noticed that while the German "What is Kubernetes" page has a tiny section about the meaning of Kubernetes in it at the end, the English counterpart lacks this info. I want to add it.
Fixes #25639

:wave: @LaumiH .
Thanks for opening this pull request. I like the idea of adding more detail.
Do the suggested changes make sense? If so, you can accept the suggestions or ask for clarification.

:wave: @LaumiH .
Just checking if you plan to continue to work on this pull request?

@LaumiH I'm closing this for now. Please feel free to reopen if you are still interested in this.
/close


OPA PR comments on failures

Solved by https://github.com/nclouds/terraform-aws-cloudwatch/pull/23


Need to filter youtube video description with --match-filter but I don't understand reg expressions

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be hugged if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.08.14 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I need to use match-filters; I've looked at documentation but its writen too technicaly for me and I couldn't find any logic on the commands needed to be passed to youtube-dlp. I don't understand reg expressions language.
--match-filters FILTER          Generic video filter. Any "OUTPUT TEMPLATE"
                                field can be compared with a number or a
                                string using the operators defined in
                                "Filtering Formats".
                                You can also simply
                                specify a field to match if the field is
                                present, use "!field" to check if the field
                                is not present, and "&" to check multiple
                                conditions. Use a "\" to escape "&" or
                                quotes if needed. If used multiple times,
                                the filter matches if atleast one of the
                                conditions are met. E.g. --match-filter
                                !is_live --match-filter "like_count>?100 &
                                description~='(?i)\bcats \& dogs\b'" matches
                                only videos that are not live OR those that
                                have a like count more than 100 (or the like
                                field is not available) and also has a
                                description that contains the phrase "cats &
                                dogs" (caseless). Use "--match-filter -" to
                                interactively ask whether to download each
                                 video

I need to filter (discard) videos that have a phrase on their description in youtube for example "news of today".
I don't understand reg expressions or whatever is being used by Y-dlp here.
Can anybody tell be what is the exact command to filter e.g: --match-filter "description~='(?i)\btnews \of today\b'"
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No Verbose since its a question about functionality, not a bug.

idk what you are expecting of me here. To teach you regex?
Anyway, for the specific use-case you have asked for, regex is not needed, only *=.
--match-filter "description*='news of today'"

Refer the documentation of the operators for more info - using the operators defined in "Filtering Formats"

glad I could help. I was confused because of the emphasis on regex in your question


How to make Website / blog SEO friendly?

I found many Notion hosting tools like Super.so, HostNotion, but they are all paid. The main feature they provide is prettifying URL which is implemented using URL rewrite. So I found a free tool Fruition that can do URL rewrite for Notion. But the problem with Fruition and other paid solutions are that they still serve content from Notion.
However, is there any way to make it SEO friendly directly from the method we are using?
Any help will be appreciated.
Thank you,
Tirth

This is exactly the point of this project.
We're using the Notion API and rendering the content in a very similar way that Super.so does, but it's all free and open source.
You should have excellent SEO and page load speeds by using this project.

Gotcha! Cool Thanks.
Closing the issues.


ref(draft/create): update app flag description

The app is randomly generated right now by default by helm.
It stated before that the app name was the dir name by default.

@michelleN,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot