fail to add plugin "cordova-plugin-media"

Ionic Version: 2.x
When I try to add plugin "cordova-plugin-media" then return fail:
$ sudo ionic plugin add cordova-plugin-media
Fetching plugin "cordova-plugin-media" via npm
Installing "cordova-plugin-media" for android
Plugin doesn't support this project's cordova-android version. cordova-android: 4.0.2, failed version requirement: >=5.0.0-dev
Skipping 'cordova-plugin-media' for android
Saving plugin to package.json file

Same problem here +1

you should't need sudo

whats the output from ionic info

$ ionic plugin add cordova-plugin-media
Error occurred while adding plugin:  Error: EACCES: permission denied, open '/Users/victorlao/testplugin/plugins/fetch.json'
at Error (native)
at Object.fs.openSync (fs.js:584:18)
at Object.fs.writeFileSync (fs.js:1224:33)
at Object.exports.save_fetch_metadata (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/ionic-cordova-lib/src/plugman/util/metadata.js:59:8)
at /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/ionic-cordova-lib/src/plugman/fetch.js:165:18
at _fulfilled (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:749:13)
at /usr/local/lib/node_modules/ionic/node_modules/q/q.js:557:44
at flush (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:108:17)

@mhartington  I am not using MAC OS but using windows. Same result.

Yes, you must have started the project with sudo.
Again, what is the output from ionic info

$ ionic info
Your system information:
Cordova CLI: Not installed
Ionic Version: 2.0.0-alpha.51
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
ios-deploy version: Not installed
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.4.1
Xcode version: Xcode 7.2 Build version 7C68
sudo ionic info
Password:
Your system information:
Cordova CLI: 5.4.1
Ionic Version: 2.0.0-alpha.51
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
ios-deploy version: Not installed
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.4.1
Xcode version: Xcode 7.2 Build version 7C68

$ sudo ionic start plugintest --v2
One awesome Ionic app coming right up...
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic2-starter-tabs/archive/master.zip
[=============================]  100%  0.0s
Installing Node Modules
♬ ♫ ♬ ♫  Your Ionic app is ready to go! ♬ ♫ ♬ ♫
Make sure to cd into your new app directory:
cd plugintest
To run your app in the browser (great for initial development):
ionic serve
To run on iOS:
ionic run ios
To run on Android:
ionic run android
To test your app on a device easily, try Ionic View:
http://view.ionic.io
New! Add push notifications, update your app remotely, and package iOS and Android apps with the Ionic Platform!
https://apps.ionic.io/signup
New to Ionic? Get started here: http://ionicframework.com/docs/v2/getting-started
Victor:~ victorlao$ cd plugintest
Victor:plugintest victorlao$ ionic info
Your system information:
Cordova CLI: Not installed
Ionic Version: 2.0.0-alpha.51
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
ios-deploy version: Not installed
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.4.1
Xcode version: Xcode 7.2 Build version 7C68

Looks like your cordova-android version is out of date.
ionic platform add<EMAIL_ADDRESS>
http://cordova.apache.org/announcements/2015/11/09/cordova-android-5.0.0.html

Problem fixed after update to 5.0. thanks

Problem fixed.
thanks


Removed OptimizeSceneForDeviceType

Fixes: #1304

Removed redundant script and marked it obsolete.
Updated SceneContentAdjuster to take an optional containerObject

TODO

[ ] Fix #1324

Closed in favor of #1337


Replace hell PR's

Replace #1699 and #1700
Close #1699, close #1700

Codecov Report

Merging #1725 (b6b2a4d) into main (c960f71) will decrease coverage by 0.22%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #1725      +/-   ##
==========================================
- Coverage   49.09%   48.88%   -0.22%
==========================================
  Files          47       47
  Lines        7107     7107
==========================================
- Hits         3489     3474      -15
- Misses       3618     3633      +15

see 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix npm run build error

npm run build
error log:
ERROR in ./assets/src/router/index.js
Module not found: Error: Can't resolve '@/views/Settings/User' in '/root/demo/filemanager/assets/src/router'
@ ./assets/src/router/index.js 7:0-41
@ ./assets/src/main.js
ERROR in ./assets/src/router/index.js
Module not found: Error: Can't resolve '@/views/Settings/Users' in '/root/demo/filemanager/assets/src/router'
@ ./assets/src/router/index.js 6:0-43
@ ./assets/src/main.js

Thank you!


Fixing member scope in ServiceServer

Noticed there were some values and methods that should have been marked private.

:+1:

Current coverage is 82.38%

Merging #321 into develop will decrease coverage by -0.09% as of 92be599

@@            develop    #321   diff @@
=======================================
  Files            66      66
  Stmts          3395    3395
  Branches        478     478
  Methods
=======================================
- Hit            2800    2797     -3
  Partial           0       0
- Missed          595     598     +3

Review entire Coverage Diff as of 92be599

Powered by Codecov. Updated on successful CI builds.


Allow overriding config options in EvaporateJs 2.0

In EvaporateJs 2.0, the Evaporate.add() function now takes a second argument, overrideConfig. This allows for overriding the global config settings for each request.
This patch allows for specifying a property on AngularEvaporateUpload called overrideConfig. If specified, this will be passed in to Evaporate.add() as a second argument.
I know Angular Evaporate doesn't officially support EvaporateJs 2.0 yet, but I think this patch is a useful workaround until proper support can be added.

I understand, I rather expected that to be the response but I thought I'd try anyway. I thought this patch might be okay because it's completely backwards compatible, but I totally get what you're saying.
The main reason I tried to do a pull request is that I need this functionality in my own app and I didn't want to have to maintain a fork.


import pythonwhois results in lots of errors

error: bad escape \s at position 0
G:\anaconda\envs\Python-3-8\lib\sre_parse.py in parse_template(source, state)
1040                 except KeyError:
1041                     if c in ASCIILETTERS:
-> 1042                         raise s.error('bad escape %s' % this, len(this))
1043                 lappend(this)
1044         else:

Thanks! Aside from this being made in Python2, I also noticed the site has been changed to Cisco Talos (from senderbase). I will revisit this when I make a new one.


Too long strings in user_metadata causing authentication to break

Bug report

[X] I confirm this is a bug with Supabase, not with my own application.
[X] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
We've encountered an unexpected behavior when updating user_metadata using the supabase.auth.admin.updateUserById method. It appears that there's an undocumented length limitation on the values stored in user_metadata. When this limit is exceeded, it causes authentication to break in an unclear manner and results in multiple, malformed cookies being set.
It's not per key-value pair, it's the accumulated length of the meta_data. A bunch of short key-value pairs results in the same behavior.
We are using the SSR package with the name in the cookieOptions set to access_token.
// This works fine
await supabase.auth.admin.updateUserById("user-id-here", {
  user_metadata: {
    images: "short string",
  },
})

// This breaks authentication
await supabase.auth.admin.updateUserById("user-id-here", {
  user_metadata: {
    images: "long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string long string",
  },
})

When the value exceeds a certain undocumented length, the following issues occur:

The update appears to succeed but actually breaks the user's authentication.
Multiple cookies are set with incorrect names (e.g., "access_token.0", "access_token.1").
The content of these cookies is malformed:

The first cookie starts with "base64-" as expected, but is truncated.
The second cookie does not start with "base64-" and appears to be a fragment of a base64 encoded string.

These issues manifest as problems with the access token, causing the user to be unable to log in or use the application again.

To Reproduce

Use the supabase.auth.admin.updateUserById method to update a user's metadata.
Set a value in the user_metadata object with a shorter string.
Observe that the update succeeds.
Now, try to update the same field with a longer string. I haven't found the exact length.
Observe that this causes the authentication to break without a clear error message.
Check the cookies set by the application and observe multiple, incorrectly named and malformed cookies.

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
This issue seems to be related to the discussion in #9972, where similar unexpected behavior with user_metadata was reported. However, our case specifically highlights a potential length limitation and cookie malformation that wasn't mentioned in that discussion.

Issues 2 and 3 are expected.
With 2, the ssr package now stores the cookie differently and prefixes it with "base64_".
3 happens via their cookie chunking method, if it's determined that the resulting cookie would be too large for browsers to store. The library handles putting this all back together, but if you access the cookie yourself, that would require more work on your part.

I wasn't able to find any documentation on this. Do we have that?

I wasn't able to find any documentation on this. Do we have that?

I don't believe the docs mention it, but I could be wrong.

Are you looking for docs about how the cookie is stored or about how to handle it when grabbing the cookie yourself?


⚠ Bofrost.es has degraded performance

In f00ba25, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1915 ms

Resolved: Bofrost.es performance has improved in 69cd615 after 15 minutes.


Thread usage

Just simple question:

There is a lot of type providers dealing with network connections.
It seems that Visual Studio is quite unresponsive while connecting (or a lot network traffic happens).

Would VS be able to take advantage of async or System.Threading.Tasks?
So that instead of ProvidedTypes.fsi signatures returning an unit, they could return a Task or Async.
I don't want my provided types be Task<'a>, I just want VS to be responsive.

VS calls TP mode often than you have to generate new provided types or do network call.
I think that a good practice is to use MemoryCache on TP side and don't generate schema too often.
In each particular case caching logic may be different... See for example how @vasily-kirichenko do it in FSharp.Configuration - https://github.com/fsprojects/FSharp.Configuration/blob/master/src/FSharp.Configuration/YamlConfigProvider.fs#L489

The problem is also that VS has a lot of threads and I've already seen many not-so-good implementations of caching, done somehow incorrectly and I don't blame the developers: concurrent caching is easy to get wrong. Most of the developers are not having strong enterprise background and are not so familiar with correct use of ConcurrentDictionaries, lazy, avoiding locks, etc. The problem is that you don't even notice what VS is doing in the background, and VS debugging is not so pleasant either, also needing a fast computer. Then when you use a few TPs combined in a real life, you just wonder why Windows says your VS is "busy", and taking a huge amount of memory.
Vasily's code is good. (If we expect that you don't have large Yamls: there is no cache cleanup for his concurrent dictionary.)

Closing old discussion


How to specify different version requirements of a package for multiple platforms?

(I promise I searched StackOverflow and google and failed to find an example of what I need.)
I have a normal looking Pipfile with one requirement like so:
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[packages]
ujson = "*"

[requires]
python_version = "2.7"

I wanted to pin ujson on Windows only to version 1.35 but use the latest on Linux.
Syntactically, is that even possible? I tried this but pipenv didn't likey:
[packages]
ujson = {version = "*",sys_platform = "!= 'win32'"}
ujson = {version = "==1.35",sys_platform = "== 'win32'"}

It doesn't want me to declare a package twice, so how would I join my marker conditionals? Can it be done?

$ pipenv --support
Pipenv version: '2020.4.1b1'
Pipenv location: '/home/alan/.local/lib/python2.7/site-packages/pipenv'
Python location: '/usr/bin/python2'
Python installations found:

3.6.9: /usr/bin/python3.6
3.6.9: /usr/bin/python3.6m
3.6.9: /usr/bin/python3
3.5.2: /usr/bin/python3.5
3.5.2: /usr/bin/python3.5m
2.7.17: /usr/bin/python2.7
2.7.17: /usr/bin/python2

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '0',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.0-99-generic',
 'platform_system': 'Linux',
 'platform_version': '#100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020',
 'python_full_version': '2.7.17',
 'python_version': '2.7',
 'sys_platform': 'linux2'}

System environment variables:

_
GOPATH
PIP_PYTHON_PATH
QT_QPA_PLATFORMTHEME
PIP_SHIMS_BASE_MODULE
QT4_IM_MODULE
GOROOT
GOBIN
WINDOWPATH
XDG_CURRENT_DESKTOP
XDG_SESSION_TYPE
QT_IM_MODULE
LOGNAME
USER
PATH
XDG_VTNR
HOME
DISPLAY
SSH_AGENT_PID
LANG
TERM
SHELL
XAUTHORITY
LANGUAGE
SESSION_MANAGER
XDG_DATA_DIRS
MANDATORY_PATH
QT_ACCESSIBILITY
DRONE_TOKEN
PYLINTHOME
CLUTTER_IM_MODULE
TEXTDOMAIN
GNOME_TERMINAL_SERVICE
EDITOR
XMODIFIERS
GOARCH
GPG_AGENT_INFO
GJS_DEBUG_OUTPUT
DISTRO
GTK2_MODULES
XDG_SESSION_DESKTOP
XDG_RUNTIME_DIR
GTK_IM_MODULE
PYTHONPATH
SSH_AUTH_SOCK
DRONE_SERVER
VTE_VERSION
USERNAME
IM_CONFIG_PHASE
TEXTDOMAINDIR
GNOME_SHELL_SESSION_MODE
PYTHONDONTWRITEBYTECODE
XDG_CONFIG_DIRS
GOOS
LESSOPEN
XDG_SESSION_ID
DBUS_SESSION_BUS_ADDRESS
NUKE_PATH
GTK_MODULES
GDMSESSION
DESKTOP_SESSION
LESSCLOSE
DEFAULTS_PATH
XDG_SEAT
PIP_DISABLE_PIP_VERSION_CHECK
SHLVL
PWD
PYTHONFINDER_IGNORE_UNSUPPORTED
COLORTERM
XDG_MENU_PREFIX
GNOME_DESKTOP_SESSION_ID
LS_COLORS
GJS_DEBUG_TOPICS
GNOME_TERMINAL_SCREEN

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /home/alan/go/bin:/home/alan/google-cloud-sdk/bin:/home/alan/.poetry/bin:/home/alan/.local/bin:/home/alan/bin:/home/alan/.poetry/bin:/home/alan/bin:/home/alan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SHELL: /bin/bash
EDITOR: code
LANG: en_CA.UTF-8
PWD: /home/alan

I found this article which is almost what I need:
https://dev.to/tomoyukiaota/creating-a-pipfile-which-has-different-installation-instructions-depending-on-operating-systems-pytorch-v041-as-an-example-56i8
... but it's not clear how I can get around the package name being the same when not having a url of the wheel (which I don't in my case.)

I ran into the following issue, here's what I've found @darkvertex Seems to work for now.

I ran into the following issue, here's what I've found @darkvertex Seems to work for now.

That article suggests:
[packages]
pymssql-win= {path = "./install/pymssql-2.1.4-cp36-cp36m-win_amd64.whl", os_name = "=='nt'"}
pymssql = {version = "*", os_name = "=='posix'"}

...but this only works because the keys are different between the two lines, and the name doesn't matter for the one installing from a .whl file because it's using a file.
That's a quasi-valid workaround but it means for one OS I cannot use pipenv's own version resolver since I would need to embed the url to the .whl
What I would prefer, if it were possible, would be some syntax like:
[packages]
ujson = {version = "*",sys_platform = "!= 'win32'"}
ujson-windows = {name = "ujson", version = "==1.35",sys_platform = "== 'win32'"}

...but AFAIK overriding the package name is not allowed.

Since removing requirementslib dependency, it would actually be relatively straight forward to add a name override now.


Fix EnvironmentVaultConfiguration documentation

The documentation for EnvironmentVaultConfiguration lists wrong properties. Also, the reference documentation does not list all the properties of EnvironmentVaultConfiguration.

@mp911de I can't find this change in the latest snapshot. Also #503

This change was built and deployed with https://build.spring.io/browse/SPRINGVAULT-VAULT-339/log and https://build.spring.io/browse/SPRINGVAULT-VAULT13-6/log for 2.3.0.BUILD-SNAPSHOT (spring-vault-core-2.3.0.BUILD-20191202.091840-7.jar) respective 2.2.1.BUILD-SNAPSHOT (spring-vault-core-2.2.1.BUILD-20191202.091839-5.jar) versions.


[BUG] Discussionが有効化されていない

Pre-checks

[X] I have searched the issues of this repository and believe that this is not a duplicate.
[X] I have searched the documentation and believe that my question is not covered.
[X] I have searched the Wiki and believe that my question is not covered.

Describe the bug
No response
To Reproduce
No response
Expected behavior
No response
Screenshots
No response
Additional context
No response

仕様です


RoundCornerImageProcessor output image

Any idea why it keeps white background around the image?

It seems that you are applying this processor to an image without alpha channel (for example, jpg files). When you caching that file to disk, Kingfisher will keep the format and use a nearest presenting way, which means stored as jpg.
You could implement a customized CacheSerializer to store the processed image as png to keep the alpha channel. Here is some code snippet for it:
struct PNGCacheSerializer: CacheSerializer {
    public func data(with image: Image, original: Data?) -> Data? {
        return UIImagePNGRepresentation(image)
    }

    func image(with data: Data, options: KingfisherOptionsInfo?) -> Image? {
        return UIImage(data: data)
    }
}

let s = PNGCacheSerializer()
test.kf.setImage(with: url, options: [.processor(procesosor), .cacheSerializer(s)])

Or, just ask your server to give you PNG files instead of JPEGs.

Right its JPEG. Thanks for help appreciated!


Update config and add scripts/lib folder

Update the config file :
Remove unused CUSTOM_EVENTS object.
Add environment variables IS_DEV and IS_PROD
Add /lib folder :
Add @scripts/lib folder to import libraries and settings within this folder (like gsap).
Here is an example file for @scripts/lib/gsap.ts
import { gsap } from 'gsap'

const DURATION_DEFAULT = 0.5;
const DURATION_SLOW = 0.75;
const EASE_OUT = 'power2.out';
const EASE_IN = 'power2.in';
const EASE_IN_OUT = 'power2.inOut';

// GSAP defaults
gsap.defaults({
    duration: DURATION_DEFAULT,
    ease: EASE_OUT,
});

export {
    DURATION_DEFAULT,
    DURATION_SLOW,
    EASE_OUT,
    EASE_IN,
    EASE_IN_OUT,
    gsap,
};

Would it be just simpler to use import.meta.env.* directly?

I get @mcaskill's point but at the same time it may be easier to remember & to read?
/lib folder
I like the idea of a space for library specific settings! 👍
But how would we use it exactly? I know it's just an example but in order to make sure those default GSAP settings are executed, would we have to import the lib this way in our components?
-import { gsap } from 'gsap'
+import { gsap } from '@scripts/lib/gsap'

That sounds reasonable, we'd just have to get used to it.
Or would we have to include it in app.ts first and then we could import it like we're used to? (meh)

Would it be just simpler to use import.meta.env.* directly?

I get @mcaskill's point but at the same time it may be easier to remember & to read?
/lib folder
I like the idea of a space for library specific settings! 👍
But how would we use it exactly? I know it's just an example but in order to make sure those default GSAP settings are executed, would we have to import the lib this way in our components?
-import { gsap } from 'gsap'
+import { gsap } from '@scripts/lib/gsap'

That sounds reasonable, we'd just have to get used to it. Or would we have to include it in app.ts first and then we could import it like we're used to? (meh)

We only need to import the @scripts/lib/gsap to make it work.


Bump npm dependencies

@AidasK : Would you please review this pull request and merge?
Tests seems to be working correctly: https://app.travis-ci.com/github/flowjs/flow.js/builds/245693965
Thank you!

Have a look at the v3 branch. An overall of the CI happened there so that it now exclusively use GitHub (Github actions, ...)

Is v3 ready to be released? @drzraf


Added to leak section

Fixes #89
Updated the leak section by adding the link to the link section.
Hope this solves the issue.
Looking forward for merging of the PR.

Changes done @edoardottt :)


Fix grammar in deploy key section

Thanks your PR!
Please re-PR to the develop branch.

My mistake, I thought I had. Will do that tomorrow.

On 27/01/2016, at 22:16, 无闻<EMAIL_ADDRESS>wrote:
Thanks your PR!
Please re-PR to the develop branch.
—
Reply to this email directly or view it on GitHub.


1311 change label text and set color to green

Thank you for your contribution to the KodaDot NFT gallery.
👇  _ Do a quick check before the merge.
PR type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything works
[ ] I found edge cases

What's new?

[x] PR closes #1311, #1382
[x] Label previously said "BUY NOW" -> changed to "Buy now" and set text color to #70b364

Had issue bounty label ?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI, a screenshot for others, is best to understand changes

.

Wouldn't be better from an UI aspect to have succes color set on active & keep white text? like this:

Wouldn't be better from an UI aspect to have succes color set on active & keep white text? like this:

And the text color should only be green when the Switch isn't activated?

And the text color should only be green when the Switch isn't activated?

I find it weird to have geen text color near all this pink. Only green switch active color feel okayish to me.

And the text color should only be green when the Switch isn't activated?

I find it weird to have geen text color near all this pink. Only green switch active color feel okayish to me.

in that case we can close this PR, since it doesn't change anything else besides text color

payout sent https://kusama.subscan.io/extrinsic/0x25125be46146ca56f588a48abb2a85687ae1716ad32528c5aff561abb0cfb7a0
let's continue in #1417


Alarm sound unexpected behaviour

Platform (Hardware/OS):  RPI-4 / Raspbian GNU/Linux 11 (bullseye). Official 7" touch screen.
Node version: v18.17.1
MagicMirror version: 2.24.0
Module version: 2.0.1
Description of the issue: At alarm time, the alert shows and the audio file is played. Touching the screen closes the visual alert but the sound file continues to play. It plays 3 times before stopping of its own accord.
This is with the minimal example entry to config as in readme.
Have tried a fresh OS and mm install.
Is this normal? I expected the sound to stop when touching the screen. If normal, what can I change it to get expected behaviour?
Thank you!

I note that with a longer audio file, it plays only once. It is still not cancellable by touch.

@keystrobe thank you for the report, I was able to reproduce the issue.
Trying to figure out now what's happening, it's definitely not expected to continue the sound after the alert is closed.

@keystrobe the default config of the module doesn't support touch, as most users don't have a touch possibility.
You need to explicitly specify touch: true:
{
	module: 'MMM-AlarmClock',
	position: 'top_right',
	config: {
		touch: true,
		alarms: [
			{time: "23:34", days: [0,1,2,3,4,5,6], title: "Soccer", message: "Get ready for soccer training!", sound: "alarm.mp3"},
		],
	}
},

However, it still didn't work for me, but it threw an error in the console. There seems to be a timing issue with the alerts from the default alert module, which might be due to changes in the core MagicMirror project over the years. If the config change doesn't work for you you can try my updated version 2.0.2 on the develop branch with the following commands in your terminal:
cd ~/MagicMirror/modules/MMM-AlarmClock
git checkout develop
git pull
npm ci

I tried the version 2.0.2. The touch cancels the audio as hoped, thank you! I will deploy to my actual alarm clock to check real-world performance and report back.

Hi,
This has been in use for a few days now with no problems. .
Will you be moving this from the dev branch? I want to update a post I made on the MM forum requesting help.
Thank you for your time and trouble,
John

On 2 Oct 2023, at 22:36, fewieden @.***> wrote:
@keystrobe https://github.com/keystrobe the default config of the module doesn't support touch, as most users don't have a touch possibility.
You need to explicitly specify touch: true:
{
module: 'MMM-AlarmClock',
position: 'top_right',
config: {
touch: true,
alarms: [
{time: "23:34", days: [0,1,2,3,4,5,6], title: "Soccer", message: "Get ready for soccer training!", sound: "alarm.mp3"},
],
}
},
However, it still didn't work for me, but it threw an error in the console. There seems to be a timing issue with the alerts from the default alert module, which might be due to changes in the core MagicMirror project over the years. If the config change doesn't work for you you can try my updated version 2.0.2 on the develop branch with the following commands in your terminal:
cd ~/MagicMirror/modules/MMM-AlarmClock
git checkout develop
git pull
npm ci
—
Reply to this email directly, view it on GitHub https://github.com/fewieden/MMM-AlarmClock/issues/40#issuecomment-1743803187, or unsubscribe https://github.com/notifications/unsubscribe-auth/A46S6GHRFOGHGBNQNRODUHDX5MXUTAVCNFSM6AAAAAA4QTJNC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTHAYDGMJYG4.
You are receiving this because you were mentioned.

@keystrobe I just released version 2.0.2 containing this fix. Thank you for sponsoring me.

Thank you for the release. I have updated my post on the MMM forum.
Regards,
John

On 10 Oct 2023, at 13:28, fewieden @.***> wrote:
@keystrobe https://github.com/keystrobe I just released version 2.0.2 containing this fix. Thank you for sponsoring me.
—
Reply to this email directly, view it on GitHub https://github.com/fewieden/MMM-AlarmClock/issues/40#issuecomment-1755284060, or unsubscribe https://github.com/notifications/unsubscribe-auth/A46S6GEMC2IXWILXOZK4E4TX6U5O3AVCNFSM6AAAAAA4QTJNC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVGI4DIMBWGA.
You are receiving this because you were mentioned.


Using Bot middleware concept - User text status is not updated

Screenshots

Version
Bot emulator 4.9
Describe the bug
Rights side(image) working fine but not sure in which bot emulator version (last year December 2019) . the same code try to run bot emulator 4.9(Left side(image))  application its working fine & but the status showing as failed in the emulator.
Steps to reproduce
I have tried the same code with Middleware in 4.7 emulator version ( here my sample code: https://github.com/rvinothrajendran/BotTutorialSample/tree/master/Python_tutorial/03-Middleware)
Expected behavior
Status to be update

Assigning to myself until Dana's permissions are fixed

@rvinothrajendran In the emulator, Can you share the additional information? I'm guessing it is showing an error in the right pane of emulator.
Also, your bot is sending the username in your on_members_added_activity, but I don't see that in the screen shot. Is that happening at all?
If you remove the middleware and just have the bot echo, does it work without error?

here the right side info.

If you remove the middleware and just have the bot echo, does it work without error? -> removed middleware and  on_members_added_activity function also -> Its showing an error

I played with this a bit, but I wasn't able to find how to remedy your code.
What I did do, was take our Python echo sample, and modify it to work.
Just import the middleware and set the adapter to use it (create middleware1.py of course):
from middleware1 import Middleware1

# Create adapter.
# See https://aka.ms/about-bot-adapter to learn more about how bots work.
SETTINGS = BotFrameworkAdapterSettings(CONFIG.APP_ID, CONFIG.APP_PASSWORD)
ADAPTER = BotFrameworkAdapter(SETTINGS)
ADAPTER.use(Middleware1())

I'll poke around a bit more to see if I can figure out the exact cause, but I would suggest seeing if you can go with the approach that we do in our sample.

I have checked the both code only difference in the app.py file.
I used old way of coding and echo sample used a new way. old way of coding style was working fine in old emulator ( ref the Screenshots)

Thanks @rvinothrajendran Just so I'm clear; did you try the new way and have it work?

@dmvtech yes

yes  , better we can close this issue


registries: aretefact creation and update of api curio version in ord…

updated api curio version, as version 2.4 works with same formatting as service registry (and artifacts use) therefore it will resolve our current problem of bad deserialization.

✅ all green https://main-jenkins-csb-mas.apps.ocp-c1.prod.psi.redhat.com/job/e2e-test-suite/job/e2e-test-suite/342/


lsp: completions for rule heads

Fixes: https://github.com/StyraInc/regal/issues/765
https://github.com/StyraInc/regal/assets/1774239/22b409ba-f57a-4029-8f2c-5206921392c2

🚀


[#3652] Improve performance of StringUtil.simpleClassName()

Motivation:
static Package getPackage(Class<?> c) uses synchronized block internally.
Thanks to @jingene for the hint and initial report of the issue.
Modifications:
Fork code of org.apache.commons.lang.ClassUtils.getShortClassName(...) to remove synchronized overhead.
Result:
No more lock condition.

@Scottmitch @trustin  @jingene  please check!

@Scottmitch actually I just simplified it and so make it work like the version before. As this is very tiny I will just cherry-pick.

Cherry-picked into 4.0 (a958e9b5d5d9d03b5c85a602c061d44ea25d7a52), 4.1 (a7d1dc362ae0ab5998723aae120b36d606a31425) and master (a4e9ba5472567de078270be940c2f062e7a5c692)


specifiable type parameters for uncalled functions

Suggestion
🔍 Search Terms

uncalled
function
type
parameter

✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Type parameters can be explicitly set for called functions
f<A>(a)

Allow the same for uncalled functions (perhaps with different notation)
f<A>

📃 Motivating Example
Type parameters for functions can be explicitly specified only in function calls.
functionA<TypeA>(variableA)

If you want to specialize a generic function type without calling it, you'd have to cast the entire function type explicitly.
<(parameter0: TypeParameter0<TypeA>, parameter1: TypeParameter1<TypeA>, ...parametersRemaining: TypeParametersRemaining<TypeA>) => TypeReturn<TypeA>>functionA

or
interface InterfaceFunctionA<T> {
	(parameter0: TypeParameter0<T>, parameter1: TypeParameter1<T>, ...parametersRemaining: TypeParametersRemaining<T>): TypeReturn<T>
}
<InterfaceFunctionA<TypeA>>functionA

Gains from type inference are forfeit, as you may have to write out types explicitly & sometimes painfully work out explicit types that run into truncation limits of TypeScript's inferred type output.
The typeof operator offers no quick remedy for generics.
declare const identity: <A>(a: A) => A
type IdentityBroken = typeof identity
<IdentityBroken<null>> // Type 'IdentityBroken' is not generic.

With specifiable function type parameters, you would no longer have to call the function to specialize its type parameters.
functionA<TypeA>

💻 Use Cases
This regularly comes up with higher-order functions and generics.
declare const trash: <A>(fa: (a: A) => null) => void
declare const compose: <A, B, C>(fab: (a: A) => B, fbc: (a: B) => C) => (a: A) => C
declare const identity: <A>(a: A) => A
declare const fNullVoid: (a: null) => void
type IdentityBroken = typeof identity
interface Identity<A> {(a: A): A}
trash(identity) /*
Argument of type '<A>(a: A) => A' is not assignable to parameter of type '(a: unknown) => null'.
  Type 'unknown' is not assignable to type 'null'.
*/
trash(<IdentityBroken<null>>identity) // Type 'IdentityBroken' is not generic.
trash(<Identity<null>>identity)
trash<null>(identity)
compose(identity, fNullVoid) /*
Argument of type '<A>(a: A) => A' is not assignable to parameter of type '(a: unknown) => null'.
  Type 'unknown' is not assignable to type 'null'.
*/
compose(<Identity<null>>identity, fNullVoid)
compose<null, null, void>(identity, fNullVoid)

It would be easy to remedy the type errors if I could specify the type parameters.
While I may sometimes do this in enclosing function calls, this again grows unwieldy, as that higher-order function may have any number of generic parameters of any level of complexity that would otherwise be inferred (last line).


Add doc check for building Jupyter-Book docs

This PR updates the docs_check github action to check that the Jupyter-Book documentation builds.

Codecov Report

Merging #612 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #612   +/-   ##
=======================================
  Coverage   84.00%   84.00%
=======================================
  Files          47       47
  Lines        6848     6848
=======================================
  Hits         5753     5753
  Misses       1095     1095

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 3e87588...22c5f03. Read the comment docs.


Issue with simple serialization/deserialization of a double

I have been using the package for a while in this application. This seem to have been working. I moved from "standard" serialization to extended because I was having issues with serializing my dictionary.
Fair disclosure...Currently I have been working on other aspects of the project and I may not have noticed if things were not working properly with the serialization. Today I started having issues with serialization/deserialization of dictionary<list<byte[]>, MyCustomClass>. Digging deeper I added test code to serialize and deserialize a variable of type double:
double y = 0;
//Read double test
try
{
	using (var stream = storage.TryOpenStream("Test", true))
	{
		var serializer = new ConfigurationContainer()
			.EnableImplicitTyping(typeof(double))
			.Create();

		serializer.Serialize(stream, y);

		Debug.WriteLine("Successfully read test on open");
	}

}
catch (Exception ex)
{
	Debug.WriteLine(ex);
}

I started having IO exceptions so I uninstalled and reinstalled the NuGet package.
Now when I run the above code I get the following error on the 'serializer.Serialize' line:
Exception thrown: 'System.Runtime.InteropServices.COMException' in System.Xml.dll
Exception thrown: 'System.Runtime.InteropServices.COMException' in System.Xml.dll
Exception thrown: 'System.Runtime.InteropServices.COMException' in System.Xml.dll
System.Runtime.InteropServices.COMException (0x80030005): Access Denied. (Exception from HRESULT: 0x80030005 (STG_E_ACCESSDENIED))
   at System.Runtime.InteropServices.ComTypes.IStream.Write(Byte[] pv, Int32 cb, IntPtr pcbWritten)
   at System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   at System.Xml.XmlUtf8RawTextWriter.Flush()
   at System.Xml.XmlWellFormedWriter.Flush()
   at ExtendedXmlSerializer.ExtensionModel.Xml.InstanceFormatter.Get(Object parameter)
   at ExtendedXmlSerializer.ExtensionMethodsForSerialization.Serialize(IExtendedXmlSerializer this, Stream stream, Object instance)
   at Dispensing.DocumentHandler.HandleStorageReadAvailable(IXDocument doc) in C:\Users\erics\source\repos\TestingEFClassLibrary\TestingEFClassLibrary\DocumentHandler.cs:line 159

I am running as administrator as I am developing a class library and debugging requires that the dll gets registered. AFAIK this has not caused an issue before.

Hey there @flycast (cool name :)), thanks for writing in with this.  You gave me a scare, so I did a quick test and everything seems to work as expected here:
https://github.com/ExtendedXmlSerializer/home/blob/775a5c9e7a3cbe036c83ee7729654db0fed14462/test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue561Tests.cs#L10-L17
So this might be due to a localized issue on your machine.  Are you using .NET Framework or .NET Core/.NET5/6?  LOL there are so many now.  That can help isolate what may be going on.
My first recommendation is to create a super simple blank Console Project and put in basic code there to see if something obvious emerges from there.
Also, I did a quick look on the error, and found this thread:
https://forums.asp.net/t/1321769.aspx?System+Runtime+InteropServices+COMException+0x80030005+Access+Denied
It's not you yourself that has to be admin (or have certain permissions), but the process identity that is executing the code.  It's tricky, and I've been bitten by this several times, especially with web processes.

Ah the other item of note that I spy is this call:
storage.TryOpenStream("Test", true)

I am unclear on what that call does so it's sort of jumping out at me. :)  Have you tried directly feeding a MemoryStream instead and see if that works better for you?

Thanks. @flycast from back in my fly fishing days.
You are right, it has to be something locally. I saved everything. restarted and restarted with a very, very basic serialization. I have progressively challenged it with more and more complex serializations.
Sorry for the scare.
.NET 4.8.
Everything looks good now. Sorry for the trouble.
By the way. Great response!!! Thanks for adding the test.

Thanks. @flycast from back in my fly fishing days

Yes!  A River Runs Through It is also one of my favorites.  Additionally, there used to be an ad agency by that name and it's how I earned my first "internet coin" (wayyyyyyy before there was anything like crypto) so I am a fan. 😅

Sorry for the scare.

Hah!  No worries.  If it helps, here's me doing a faceplant of fail on the ASP.NET Core mothership that was actually due to all my own doing.  So, I am very (painfully) familiar with having something not work and reaching out in an attempt to track it down.  It's part of what makes open source so cool. :)
Very glad to hear you got sorted.  If you do have any further questions/issues, please do reach out and I'll do my best to assist. 👍


resource base class to skip rows matching unique_together criteria

It seems to make sense in many situations to auto skip rows (using the skip_row method) for those instances where the unique_together fields are already present (instead of letting the database throw a unique index exception). This can be a UniqueModelResource class which has the skip_row function introspecting the unique_together field for that model. Would a pull request for this make sense?

Yes i think so! +1

Hi @eskhool, I think that settings import_id_fields to the unique_together fields will do just that. Then you are only missing skip_unchanged set to True. Is that a solution?
https://django-import-export.readthedocs.org/en/latest/getting_started.html#customize-resource-options

It defeats DRY which is a strong Django cornerstone. It would make sense to do this by default or have a resource sub-class which does automatically (to pick up the unique together criteria) and let the override change that no?

Yes, setting import_id_fields automatically to the unique together criteria would be nice. I agree that is what I would expect, import-export picking all the django model configuration. PR welcome.

It took me several hours to figure out how to adapt to unique_together. The general scenario is the unqiued fields serve as a pseudo-index, therefore we should suppress "id" automatically in these cases.
#257 #375


no insignificant zeroes in barsBeatsSixteenths

fixes #246

I believe the failures in the CI run are unrelated?

i think the test failures might be because you change the bpm in your test, but never change it back to 120.
i'll add a beforeEach method which sets the Transport's bpm to 120 to safeguard against this in the future

@tambien, oh shoot. Yeah that sounds like it's the issue. Let me know if you want me to reset it back to its original value exclusively for this test in lieu of the global beforeEach.

@JackCA yes please could you make that change quickly and then the tests will pass and i will merge. I'll look into the beforeEach thing to simplify writing tests for future contributors

Coverage remained the same at 97.555% when pulling b258c59b0f20db6ae9ba31c67440d3504823ef16 on JackCA:remove-trailing-zeroes-bars-beats-sixteenths into bf52df2fdc2ea8c99b73985413b001308ef2835f on Tonejs:dev.

@tambien done

@tambien I'm attempting to open another pull-request to fix an issue related to this, but the dev branch you recently merged into master doesn't appear to have any of the changes from this PR.
Should I be using a different branch, or were these changes lost somewhere?


revamp SokobanUndirected & SokobanDirected

Remove old SokobanUndirected and SokobanDirected.
Add new SokobanUndirectedModule.SokobanUndirected and SokobanDirectedModule.SokobanDirected.
Update tests.
Update README.

Here is how the new environments look:
SokobanUndirectedModule.SokobanUndirected:

SokobanDirectedModule.SokobanDirected:

Codecov Report

Merging #164 (a966e79) into master (6ab7459) will decrease coverage by 1.43%.
The diff coverage is 82.19%.

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
- Coverage   68.19%   66.75%   -1.44%
==========================================
  Files          31       32       +1
  Lines        2525     2548      +23
==========================================
- Hits         1722     1701      -21
- Misses        803      847      +44

Impacted Files
Coverage Δ

src/envs/envs.jl
72.72% <ø> (ø)

src/envs/sokoban/sokoban_directed.jl
73.01% <73.01%> (ø)

src/envs/sokoban/sokoban_undirected.jl
86.60% <86.60%> (ø)

src/rlbase.jl
85.81% <87.50%> (+0.20%)
:arrow_up:

src/envs/snake.jl
80.48% <0.00%> (-14.64%)
:arrow_down:

src/envs/catcher.jl
89.61% <0.00%> (-3.90%)
:arrow_down:

src/envs/dynamic_obstacles_directed.jl
70.00% <0.00%> (-3.34%)
:arrow_down:

src/envs/dynamic_obstacles_undirected.jl
82.60% <0.00%> (-2.18%)
:arrow_down:

src/envs/go_to_target_undirected.jl
80.76% <0.00%> (-1.29%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


bump-formula-pr: improvements

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

If the formula is deprecated because it doesn't build, raise an error.

For example, openrtsp will be disabled on 2021-11-22; since we have not yet reached that date, it is treated as a deprecated formula (i.e. disabled? returns false, but deprecated? returns true). We shouldn't open new bump PRs for this formula because we've already tried updating it before, and future versions will most likely continue failing to build.

Check if the formula is throttled, and if so, check if the specified new version meets the throttle requirement.

For example, raise an error if attempting to bump aws-sdk-cpp with a version that isn't a multiple of 10.

Improved regex for filtering duplicate PRs by title.

Changed (:|\s|$) to (:|,|\s|$) to include commas as delimiters. For example:

brew bump-formula-pr libnetworkit

Should match this open PR: libnetworkit, networkit 8.0
libnetworkit is at the start of the title and is followed by a comma.

Added custom regex for checking the titles of closed PRs, which allows for PRs that bump multiple formulae to be counted as duplicate PRs. For example:

brew bump-formula-pr<EMAIL_ADDRESS>--version=5.7.33

Should match this closed PR<EMAIL_ADDRESS><EMAIL_ADDRESS>5.7.33
<EMAIL_ADDRESS>is at the start of the title and is followed by a space.
5.7.33 is at the end of the title and is preceded by a space.

brew bump-formula-pr libbtbb --version=2020-12-R1

Should match this closed PR: libbtbb ubertooth 2020-12-R1
libbtbb is at the start of the title.
2020-12-R1 is at the end of the title.

Review period will end on 2021-01-26 at 00:00:00 UTC.

Review period will end on 2021-01-26 at 00:00:00 UTC.

Review period ended.

Review period ended.


Create max_min_of_array.c

Added  a c program "Maximum and minimum of an array using the tournament method"

Copied from geeksfrogeeks again! 🌚


hare: remove passthru.updateScript

Description of changes
Since both hare and harec must be updated on the same PR, the workflow
of the r-ryantm bot creating separate PRs for each is not compatible
with them. Thus, passthru.updateScript is being removed both from hare
as is from harec.

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Just adding a comment with
# nixpkgs-update: no auto update

would to stop the bot from updating the packages, and there is no need to remove the update scripts which also help people with updating packages.

Just adding a comment with
# nixpkgs-update: no auto update

would to stop the bot from updating the packages, and there is no need to remove the update scripts, which also would help people with updating packages.

Should this comment be added on top of passthru.updateScript or could it be anywhere on the file?

have you tested _experimental-update-script-combinators.sequence ?

see comment above keep in mind the bot will try to update the packages anyway even if you remove the update script, you still need that comment.
also maybe we should assert that the versions are the same or somehow compatible? or add a test to verify?

The following regex could be passed to gitUpdater as its allowedVersions argument: 0\.[0-9]{2}\.[0-9]$. It would suffice until Hare gained its first 1.0 version and would avoid pulling release candidates.

have you tested _experimental-update-script-combinators.sequence ?

I have not. How should I go about testing it?

have you tested _experimental-update-script-combinators.sequence ?

I have not. How should I go about testing it?

https://github.com/NixOS/nixpkgs/blob/f36699f1551ef934fe89e605d7483b075a220002/pkgs/applications/networking/remote/xrdp/default.nix#L157-L161 has an example

I've rebased it to use _experimental-update-script-combinators.sequence. Could you let me know if the usage is correct?
For instance:

Is it ok to update a derivation from another --- in this case, to update hare through harec, as the latter is the bootstrap compiler of the former ---?
What warrants the usage of { command = ["rm" "update-git-commits.txt"]; } on the example given? Should it be used here?

According to the documentation, it should be possible for this to produce two separate commits, one for each attrpath. I would love to test it, since i'm not that familiar with the update combinator myself, but there is no new version yet so... LGTM, lets try!

What warrants the usage of { command = ["rm" "update-git-commits.txt"]; } on the example given? Should it be used here?

It's defined here
https://github.com/NixOS/nixpkgs/blob/dff51e13778e9fb5385e757f7a34f11aa5a976d8/pkgs/common-updater/generic-updater.nix#L25
And it just looks like some logs.


Added a ton of feeds and it does not upload any more

script.py gets stuck at a certain event even if I delete it. It worked before but when I added a lot of feeds it got stuck processing all indicators. Is this just me being inpatient or is it in a error?

It normally continues but it has been stuck on this last line for an hour.
I execute the the script with:
/home/adminsng/misp2sentinel/ ; /home/adminsng/misp2sentinel/sentinel/bin/python /home/adminsng/misp2sentinel/script.py
And view the logs with:
tail -f /tmp/misp2sentinel.log

Now I removed almost all feeds and deleted the Events and it is still broken. Worked perfect for weeks!
Do't know how this is happening.

OK issue got solved. The script is just really vague and it continued after 10 minutes when I removed a lot of events. So it can be mentioned that a lof of feeds severly slow down the upload process to a point that you think it is stuck.

Closed

Because Sentinel expects STIX, the synchronisation script transforms the MISP events to STIX data, this requires some memory resources. Maybe your system ran out of available memory? Check for Linux OOM messages.
You can limit the amount of events ('batches') it loads into memory with misp_event_limit_per_page. Lowering the value limits the memory usage.


support validation of slices of structs.

Thanks your PR!
I have a question here:
So how do you apply validation on slice itself now? Let's say, MinSize of a slice?

Validating the structs within a slice is just an additional step of the validation process flow.
The existing logic, where the slice itself is subjected to validation is still in place.
However, as per https://github.com/macaron-contrib/binding/issues/3, it would be great if we could create new validation rules for slices, SliceSize, SliceMinSize, SliceMaxSize, so that we could then apply the validation rules to the items in a slice.  This would however, cause problems for users already relying on Size, MinSize and MaxSize for validating the number of items in a slice.

However, as per #3, it would be great if we could create new validation rules for slices, SliceSize, SliceMinSize, SliceMaxSize, so that we could then apply the validation rules to the items in a slice. This would however, cause problems for users already relying on Size, MinSize and MaxSize for validating the number of items in a slice.

Yes, what about using Item.. prefix for rules that validate slice items?

I guess that could be made to work.
To be clear, though this PR addresses https://github.com/macaron-contrib/binding/issues/2
Additional work would be needed to address https://github.com/macaron-contrib/binding/issues/3

I guess that could be made to work.

To be clear, though this PR addresses #2

Additional work would be needed to address #3

Thanks your clarification!

Merging... thanks again!


Sort mechanism for get_all_scenarios and get_masters functions

Description
When calling tp.get_scenarios() or tp.get_primary_scenarios(), the user should be able to provide an optional field for sorting the scenarios.
The sort should be increasing or decreasing.
The sort could be on the name (default), id, creation_date, or tag.

I would like to contribute to this issue. Could you please assign it to me?

Hello @Luke-0162, thank you for joining our project. I assigned the issue to you.
Please let me know if you need more information about the issue.

Hello @trgiangdo, thank you for your response. I am looking forward to solve this issue.
Could you indicate which functions/methods I will need to be editing exactly?

In https://github.com/Avaiga/taipy/blob/develop/taipy/core/taipy.py, you can find the get_scenarios() and get_primary_scenarios() functions.
These 2 functions return a list of scenarios.
You should add 2 new parameters to this 2 functions, first is sorted: bool which indicates if the returned lists of scenarios is sorted or not, and second is the sort_key: str which indicates which key or attribute is used to sort the scenario.
The default value of the sort_key can be discuss latter.
For example, it should be something like:
def get_scenarios(
    cycle: Optional[Cycle] = None,
    tag: Optional[str] = None,
    sorted: bool = False,
    sort_key: str = "creation_date",
) -> List[Scenario]:
    ...
    # Get the list of scenarios (already implemented)
    ...
    # Sort the scenario list and return the list

Similarly for the get_primary_scenarios() method

Hello @trgiangdo,
Once again, thanks a lot for helping me out.  I have completed the implementation of the functions as discussed. Additionally, I have made a local test project which uses Taipy. This setup aims to allow me to test the new implementation of the get_scenarios() and get_primary_scenarios() functions. However, when I now install my edited version of Taipy by using the command "pip install -e ." inside the directory in which I put the Taipy GitHub project and try to use my version of Taipy in the test project, the modules "Config, Scope, Gui" (which are the only ones I am using) are not recognised. Meanwhile, I noticed that the Taipy import itself is recognised. So, I was wondering if you know how this problem is fixed and more specifically what is common practice for testing quickly whether a function works.
Additionally, I'm curious about any further steps required to address this issue. Should I be considering creating unit tests?
Thank you for your time and assistance. Looking forward to your insights!

You should not install your version of Taipy using pip install -e. You can either create a separate environment for running the test and install Taipy from your edited folder, or you can run the test from the taipy folder itself.
Yes, there should be unittests that cover what you've done. Then you can push a PR for us to review.

Hello @trgiangdo ,
I have finished implementing the sorting mechanism into the tp.get_scenarios() or tp.get_primary_scenarios() functions. Additionally, I have added unit tests that cover my implementations. However, when I try to commit my code in my fork repository and the mypy check is triggered, all checks pass except from some checks concerning overloaded function signature. I  cannot commit my code despite not being the initiator of these errors, as I have only edited existing functions and have not added any additional functions (apart from the unit tests). Can you inform me on how to continue?
Once again, thanks a lot for your help!

You can try to ignore the mypy error by adding the option -n to the commit command. Something like
git commit -m "message" -n

I successfully committed, however, now I am trying to submit a pull-request. As this is the first time for me to do this for an open-source project, I am not sure whether I have done it correctly. Can you help me out? @trgiangdo

We can see your PR now. Let's start working from there


feat: switch to tap

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
54

Relevant Lines:
55

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
54

Relevant Lines:
55

💛  - Coveralls


MacOS building from source code problems

I have been really struggling to get my Mac laptop to be able to compile the C++ code base for MsPASS.   I made a few corrections already to the wiki page on this topic.   There are a lot of confusing things that come up because we need to use gcc instead of clang, but I think our wiki page is correct now.   What I added was a clarification that symbolic links are required and PATH needs to be altered to make sure gcc is used instead of clang.  What I put there is based on mulitiple sources that said to do it that way on the internet.
Unfortunately, I still can't make this work and I'm not sure why.  I'm suspicious it is a version problem of the version of gcc I'm getting with homebrew relative to what our code base supports.   That is only a hypothesis, however, and may be dead wrong.
First, note that the following shows the versions I created with homebrew are being used:
(mspass_py310) pavlis@MacBook-Air-174 build % g++ --version
g++ (Homebrew GCC 14.2.0_1) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(mspass_py310) pavlis@MacBook-Air-174 build % gcc --version
gcc (Homebrew GCC 14.2.0_1) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(mspass_py310) pavlis@MacBook-Air-174 build % gfortran --version
GNU Fortran (Homebrew GCC 14.2.0_1) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

With this configuration when I run cmake I get a bunch of warnings like this:
[ 21%] Building CXX object CMakeFiles/yaml-cpp.dir/src/convert.cpp.o
c++: warning: this compiler does not support Arm64 ('-arch' option ignored)
c++: warning: this compiler does not support Arm64 ('-arch' option ignored)
c++: warning: this compiler does not support Arm64 ('-arch' option ignored)
c++: warning: this compiler does not support Arm64 ('-arch' option ignored)
c++: warning: this compiler does not support Arm64 ('-arch' option ignored)

and the build fails.
I don't understand this as I used the line from our wiki page that is supposed to enable arm64 support (I guess).  That is:
arch -x86_64 brew install gcc

I wonder if that is now incorrect?
I'm going to see that is the issue.  If so, I'll update this and close the issue immediately and fix the wiki page

Skipping the "arch -x86_64" on the brew command seems to make no difference.   Strangely cmake now builds the dependencies but when I run make on what cmake complains:
c++: warning: this compiler does not support Arm64 ('-arch' option ignored)

followed by a long chain of errors that clearly indicate a complete failure of the system with a chain of obviously wrong errors.   There are plenty of hints that this is trying to run the x86 version of the compiler like this one:
/usr/local/Cellar/gcc/14.2.0_1/lib/gcc/current/gcc/x86_64-apple-darwin23/14/include-fixed/stdio.h:83:8: error: 'FILE' does not name a type
   83 | extern FILE *__stdinp;
      |        ^~~~

I'm wondering if anyone else has solved this problem?

Using version 12 of gcc does not solve this problem.   The reference above shows the fundamental issue, but the fix there is not enough for my environment.   I'm already running MacOS 14 and have this issue.  I am, however, pretty sure the problem is created by the fundamental problem that site discusses.  That is, there is an inconsistency in the use of leading _ characters in different compiler setups for x86 and arm64 and that as been time variable.   I'll keep hacking on this on this but would welcome any suggestions.

Well, this is something difficult to figure out here, and we probably need to resolve it on our zoom call. However, I think the wiki page is complicating the situation as you can notice that it is written a long time ago when homebrew did not support the new apple silicon CPUs, which I think is no longer the case now. So, it seems to me you should just remove all packages installed by "arch -x86_64" and only use Arm native compilers. I suspect the issue will go away.

btw, at very lease, we know the MacOS build should work just fine, because our workflow builds the MacOS conda package regularly: https://github.com/mspass-team/mspass/blob/a4ced3a1f6dbb157993298a30065cdad0a3cc81c/.github/workflows/conda-build.yml#L71C1-L99C13

I found a solution to this after some hacking.   This solution should probably remain in the issues pages until impedance mismatch between MacOS 15 and gcc is fixed.   The stack overflow page I gave the link to above was spot on.  The issue was finding a fix.
For now the fix seems to be to edit the top level CMakeLists.txt file in the cxx directory.   The following changes I made that are the output of git diff show a solutions:
(mspass_py310) pavlis@MacBook-Air-174 cxx % git diff CMakeLists.txt
diff --git a/cxx/CMakeLists.txt b/cxx/CMakeLists.txt
index d0813061..b0356889 100644
--- a/cxx/CMakeLists.txt
+++ b/cxx/CMakeLists.txt
@@ -2,8 +2,8 @@ cmake_minimum_required (VERSION 3.4)

 project (mspass Fortran C CXX)

-set (default_build_type "Release")
-#set (default_build_type "Debug")
+#set (default_build_type "Release")
+set (default_build_type "Debug")
 if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
   message (STATUS "Setting build type to '${default_build_type}' as none was specified.")
   set (CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build." FORCE)
@@ -11,7 +11,7 @@ endif ()
 message (STATUS "CMAKE_BUILD_TYPE = ${CMAKE_BUILD_TYPE}")

 set (CMAKE_CXX_STANDARD 17)
-set (CMAKE_CXX_FLAGS_DEBUG "-Wall  -Wno-sign-compare -O0 -g")
+set (CMAKE_CXX_FLAGS_DEBUG "-Wall  -Wno-sign-compare -O0 -g -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.5.sdk/usr/include")
 set (CMAKE_CXX_FLAGS_RELEASE "-Wall -O3")
 set (CMAKE_POSITION_INDEPENDENT_CODE ON)
 set (PYBIND11_CPP_STANDARD -std=c++17)

Key thing was the -I command tell the compilers to use the include files from 14.5 instead of 15.   For a local copy compiling in debug is also enabled.    Not sure I'm completely out of the woods on this but that is a huge step forward.

Another anomaly I found for MacOS 14 versions with gcc is a couple of big issues building boost.   A couple of key changes are required to get cmake to not fail.

in the file cxx/cmake/boost-download.cmake I had to add the line --with-toolset=gcc to  the line setting CONFIGURE_COMMAND.
Even with that fix gcc would not compile the "b2" bootstrap program it uses to compile the serialization library we use.   b2 would compile but it would seg fault when it was called.  When I switched to the current 1.86 instead of 1.71 b2 built and installed boost correctly.

Both of the above my be related to the mismatch of the system "SDK" from xcode command tools noted above.  Given Chenbo said he didn't have this problem I suspect that may be the case.  Hence, I will not commit the local changes I had to make to build the cxx code base.   I'm leaving this for the record, however, in case this is a required change to master.

After many hours I have finally resolved this issue.   The last step was resolving a problem where I could build the C++ code base from the cxx directory but running pip with the setup file was failing.   That was resolved by changes to the cmake configuration files.   The fixes to resolve this are on a pending branch (add_new_CNRDecon).   The changes may break the stock linux build on github, but will face that if it happens.   I am going to close this issue with a summary of the key things required to resolve this issue:

The problems here are likely to bite someone only if they are a long term mac user who migrated files from an x86 to an arm64 machine.   In that situation one can get conflicting packages built in x86 compatibility and arm64.   My experience is if you have that situation you need to get rid of all old packages build in x86 compatibility mode.   They will only cause you trouble.
I had to fix the file cxx/cmake/boost.download to have it compile their bootstrap program (b2) with gcc instead of clang.   If not it built the boost serialization library with clang instead of gcc which will not work.   The solution was to set the --with-toolket=gcc option.
I am changing the cmake configuration to  use 1.86 of boost instead of the older 1.74.   Their b2 (bootstrap)program would seg fault when compiled with the version of gcc I'm running on the mac laptop I've been struggling with (14.2 which is quite new).
There is the strange bug/inconsistency in the "SDK" for MacOS 14 and 15.   It seems necessary to force the use of SDK 14.5 at least in my situation running a rev of Macos 14 (sonoma) - specifically I have 14.6.1.   I resolved this by adding this line to cxx/CMakeLists.txt (This may need to be commented out when these changes are merged to master):

  set(CMAKE_OSX_SYSROOT /Library/Developer/CommandLineTools/SDKs/MacOSX14.5.sdk)

Noting this is a more reliable way to do this than the hack fix I noted above in an earlier comment.

The complexities of the boost install caused some strange inconsistencies in behavior when running pip with the setup.py file.   I had to add the following set commands to cxx/cmake/boost.cmake because the variable was not being propagated correctly in that context.  It was not necessary when running cmake directly:

    set (Boost_INCLUDE_DIR ${BOOST_ROOT}/boost-src)


fixed the script under certain cases

Fixed the following cases.
Case 1: When the path contains several underscore, ex. my_test/Carpetfuzz/output/relation/relation_tiffcp.json, the script cannot function normally.
Case 2: When the NLP model generate partial invalid relationship / arguments,  the subprocess of executeCommand() may return the result to stderr instead of stdout. This leads rank_combination.py fail to generate the corresponding file.

Hi, thank you for the fix. As for the second case, I don't quite understand why the subprocess of executeCommand() may return the result to stderr. Could you please provide a specific example?

Hello, thank you for your fix. Regarding the second issue, I tried running rank_combination.py on the latest version of libjpeg-turbo and didn't encounter this error. My version is commit 9b704f. Could you provide me with the version information you tested with? I believe your fix is sound; I'm just amazed at the existence of this issue.
root@f2c682b9b29f:~/programs/libjpeg-turbo# python3 ${CarpetFuzz}/scripts/rank_combination.py --combination ${CarpetFuzz}/output/combination/combination_jpegtran.txt --dict ${CarpetFuzz}/tests/dict/dict.json --bindir $PWD/build_carpetfuzz/bin --seeddir input
[OK] Successfully generate the ranked stub file - /root/CarpetFuzz/output/stubs/ranked_stubs_jpegtran.txt
root@f2c682b9b29f:~/programs/libjpeg-turbo# git log
commit 9b704f96b2dccc54363ad7a2fe8e378fc1a2893b (HEAD -> main, origin/main, origin/HEAD)
Author: DRC<EMAIL_ADDRESS>Date:   Tue Aug 15 11:03:57 2023 -0400
...


20 player view task completion bar

Progress bar with functions that update the progress bar whenever a button (for the purpose of a task marked as completed) is pressed. Added comments to code.

looks good, we'll keep the branch open after the merge to get the backend magic in

view status bar and increment functionality look good.
Get rid of the story related code (i.e., get rid of the "Select a task list" and "add task" sections not related to viewing a status bar or calling emergency meeting (since I see emergency meeting was merged in last week)).
You can always delete, recommit, push, undo the delete, recommit, then re-push (after merged into main).


Add Catalyst Coop as default community for deposition

By default, a record can be added to the Catalyst Cooperative Zenodo community when it is deposited. This PR:

Adds records to the Catalyst Cooperative Zenodo community when creating a new archive using initialize
Adds a refresh_metadata flag to allow updates to record metadata rather than inheriting it from previous archives
Fixes an error with the link matching behavior in the EIA 860 archive, in order to match other EIA archivers.

To do:

[ ] actually get this to work as expected in tests. Right now the records from pytest are added automatically, but new archives are not.
[ ] should we make sandbox tests have a None community instead of adding them to our sandbox Zenodo community?

Sticking points:

When looking at the requests and responses on this branch for create_version, the communities identifier is constructed as expected and present in the Zenodo response, suggesting the formatting is correct. However this doesn't result in an addition to the community. This was working only with the test records before, but I've now removed test records from the community since it's a lot of additional noise.

As of today, this code works when using the auto-publish flag but does not add a record to the community if manually reviewing and publishing, despite noting in the record metadata that it is part of the community. This is a bug on Zenodo's end that I'm emailing to learn more about how to resolve.


Update audit.md

issue#51565
Kind and apiVersion now required.

This change is

This is targeting the wrong branch. It needs to target release-1.8, I think.

@ericchiang so... should i pull a new request to 1.8 and close this？

This is targeting the wrong branch. It needs to target release-1.8, I think.

Done.
@charrywanganthony  please squash the two commits into one commit.

Looks good to me.
But we need to remove another 4 unrelated commits from this pull request.

@crassirostris Please also take a look.

I will introduce a new pr which contains all changes for advanced audit v1beta1.
Thanks for fix it anyway. @charrywanganthony


Team Names not correct

Sport
Football
Summary
Seems like ESPN changed the location + nickname format for team names this year in fantasy football. Only a single team "name" now for team names. Output for each team is "Team" + . This is an issue for a family league where everyone has the same last name.
*Edit: This issue only impacts a team newly created this year (2023) with team names updated this year. Seems like an old league (no team names updated this year) displays the expected team names.
Updating line 8 in team.py
from: self.team_name = "%s %s" % (data['location'], data['nickname'])
to:  self.team_name = data['name'])
Logs/Data
Pulling data for a newly created 2023 league gave me following output for league.teams
[Team(Team Smith), Team(Team Smith), Team(Team Smith), Team(Team Smith), Team(Team Smith), Team(Team Smith), Team(Team Smith), Team(Team Smith)]
After updating the module with fix from above I now get the following output for league.teams
[Team(Cee Dee), Team(The Newts), Team(ÑFL), Team(So Hard), Team(Beavers), Team(Pabst Blue Ribbon), Team(The Bois), Team(Kyler Murray)]

I was able to replicate the issue. Thank you the details. #463 submitted as a fix.

Thanks for making this change! Was also running into the same issue and glad you found a fix! Hoping we can get this merged!


To do list interactive

In this pull request, I have implemented the following requirements:
I have created a new module named interactive.js that contains both toggle complete functions to allow the user to be able to mark task completion and remove completed functions to clear all completed functions.
I have imported these function in the index.js file

@VICTOR-CHUKWU Thanks for your kind review.


支持dubbo 3.0

对 DubboProviderPlugin DubboConsumerPlugin 两个插件，添加dubbo 3.0 的EnhanceModel。
测试版本 dubbo 3.0.10

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


Add initial GitHub Actions workflow

See the summary in https://github.com/SveSop/wine-nvoptix/issues/3#issuecomment-1013728301.

Arf... I force-pushed ABI 47 before i realized you had made a PR.
Could you perhaps pull and do a force push on your branch?

Like this?


Change direction of days

Hello,
because my project is in hebrew (we write from right to left),
i need to switch the direction of the days from right to left,
how can i do that?

The only way I can think of would be to write own view templates based on original templates.

Is there any tutorial for that?
On Aug 21, 2017 12:23 PM, "burtek"<EMAIL_ADDRESS>wrote:

The only way I can think of would be to write own view templates based on
original templates.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mattlewis92/angular-bootstrap-calendar/issues/639#issuecomment-323693070,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG5Iya6FXQqTOgCaXPqId6Mgt7FGBFQZks5saUyVgaJpZM4O8rEn
.

Just have a look at original templates - it's just HTML code with angularJS tags.


Add support for MacOS

I try to build  zed-open-capture on MacOS. All dependencies are satisfied but some Linux headers are not. Such as  'linux/usb/video.h'.   Can you fix that?
[  7%] Building CXX object CMakeFiles/zed_open_capture.dir/src/videocapture.cpp.o
/zed-open-capture/src/videocapture.cpp:32:10: fatal error:  'linux/usb/video.h' file not found
#include <linux/usb/video.h>  // for UVC_GET_CUR, UVC_SET_CUR, UVC_GET_LEN

Hi @tanzby
we planned to add "video grabbing support" for MacOS and Windows in the next months, giving priority to the highest number of requests

@Myzhar  May I ask if it's working on windows now?
Is there an installation tutorial for windows?

@baidut the support for Windows and MacOs has not yet been scheduled.

Thanks for letting me know!

Hi @Myzhar, I'd like to follow up on this thread. Is there any update on the support for MacOS?

I'm sorry, but MacOS support is not planned.


No grpc mode

Issue #, if available:
Description of changes:
todo
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Once this is out of draft-state and ready for us to review, we'll take a look!


Pixi: Poor page experience

URL
https://www.alpel.es/hoja-cuchilla-afeitar-ragnar-100-unid-simple
Details

Metric
Field data
Lab data

LCP
n/a
3.8 s

FID
n/a
118 ms

CLS
n/a
0.26

HTTPS
pass
---

Safe browsing
pass
---

Mobile-friendliness
pass
---

Intrusive Interstitials
<pass/fail>
---

Notes
Components in use: amp-analytics, amp-sidebar, amp-form, amp-image-lightbox

/cc @ampproject/wg-performance

Thanks for the report, I've added Kevin Kimball to the issue to take a look.

Also, it spreads there are 3 recommendations for this example.

Can we address these three and re-run?

@kristoferbaxter I am very sorry but I really think that the issue is not with that three recomendations, let me explain myself:
First: Got the page and saved it like .html:
https://www.alpel.es/test_amp.html
Secong: Edit .html and remove all amp js and style boilerplate, changed amp-img to img and saved it:
https://www.alpel.es/test_noamp.html
I tried to keep html as equal as possible in both pages, so I didn't remove on="tap:AMP.navigateTo
Theese three recomendations are even on both html files, same images and same initial server response time.
I don't know if these files can provide any help to you, sorry for not being able to help you.

Assigning this back to me. I'll create a public copy of this document with the AMP Optimizer, transformed hero images, and a shorter response time from the server as an example.

@barruka I created a temporary copy of the origin document and applied a few of the recommendations from the Page Experience tool (Pixi).
Before

After

With some of the recommendations applied from the tool, the following changes occured:

Category
Before
After

LCP
3.5s
2.8s

TBT
120ms
136ms

CLS
0.21
0.09

This means the only category in the lab data tests needing enhancement is LCP.
Using the final recommendation from Pixi "Use the JavaScript Module version of the AMP Runtime", is currently experimental and results in an invalid AMP Page. However, I was able to force the results and this moved LCP to 2.6s. @nainar is working with the Caching Working group to ensure this incongruity is addressed quickly.
This means the result from all the recommendations is a page that is passing and not passing Core Web Vitals based on network conditions within the Lab environment. In our experience, this means the document will pass in the real world based on the 75th percentile of real world traffic.

@kristoferbaxter what a great job, thank you very much!
I'm sure everyone really appreciates your effort

Closing this issue out. Seems resolved.


Use setup.py and add documentation

I also added docstrings and type hints

nvm its too messy for now

ill fix it tomorow


Add metrics support

Add metrics support, e.g.
https://github.com/VictoriaMetrics/metrics

already in master


NTR: lipid sulfatide binding term request

Hello,
Please could the term lipid sulfatide binding (possible synonyms: 3-O-sulfogalactosylceramide, SM4, sulfated galactocerebroside, sulfated glycolipids, galactosyl ceramide-I3-sulfate) be added to the ontology as a child of GO:0051861: glycolipid binding? Interaction assays in PMID:29497057 demonstrate that human MANF and C.elegans manf-1 bind to lipid sulfatides. Other publications such as PMIDs: 3549017, 22977233, 22619219 and 21525289 may also support the validity of this new term and provide data indicating the importance of lipid sulfatides in a range of biological processes. Please let me know if more information is required.
Thank you very much,
Hema

In looking quickly at the papers you listed, as well as a couple other sources, it seemed that the  commonly used name is just "sulfatide" not "lipid sulfatide" so I just used "sulfatide binding" as the term name.
In addition to the PMIDs you list, I included PMID:23574804, and also the Wikipedia paper for sulfatide (https://en.wikipedia.org/wiki/Sulfatide), which was very helpful.
I have included most of the synonyms you suggest, three as EXACT since they were listed in the Wikipedia page (which seemed well referenced)
+synonym: "3-O-sulfogalactosylceramide binding" EXACT []
+synonym: "SM4 binding" EXACT []
+synonym: "sulfated galactocerebroside binding" EXACT []
but not "galactosyl ceramide-I3-sulfate binding" since PMID:3486185 indicates that Rat kidney lipids contain 5 characterized sulfated glycolipids, which makes it clear that it is a sulfoglycolipid, but not necessarily a sulfatide.
and not the one for "sulfated glycolipid" since sulfatide is not the only sulfated glycolipid, or sulfoglygolipid. The PMID I added also discusses seminolipid as the other major sulfoglycolipid in mammals. I would be fine with "sulfated glycolipid binding" as an EXACT synonym of a term for "sulfoglycolipid binding", but would rather not attach it here where it could potentially be misleading, even as a BROAD synonym.


Add one month using localtime

Description
Add one month to permit end time using localtime.
Context
PV-788

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (be9acf5) 84.23% compared to head (b7af1bb) 84.23%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #475   +/-   ##
========================================
  Coverage    84.23%   84.23%
========================================
  Files          160      160
  Lines         9809     9809
========================================
  Hits          8263     8263
  Misses        1546     1546

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


API Returning Empty Array of data

Hello - not sure if this is the right spot to report this as it happens with and without the Node.js API, but I figure I'd do it.
The API is authenticating me just fine. I have created an app with expenses:read and expenses:write scopes and created an auth token for my own log in.
When I call the /me endpoint, I get the account ID and then create a request like this:
const data = await fetch(`https://api.freshbooks.com/accounting/account/${ACCOUNT_ID}/expenses/expenses`, {
  headers,
  method: 'GET',
}).then((res) => res.json());
console.dir(data, { depth: null });

That gives me this as a response:
{
  response: {
    result: { expenses: [], page: 1, pages: 323, per_page: 15, total: 4834 }
  }
}

Which is the correct counts of everything reflected in my freshbooks account, but the expense array is empty.
Same with the expense category endpoint - I get the correct counts, but no data.
{
  response: {
    result: { categories: [], page: 1, pages: 6, per_page: 15, total: 88 }
  }
}

I've tried to pass arguments like ?page=1. The counts update, but no data.
Exact same response with the Node.js SDK.
const expenseResponse = await client.expenses.list(ACCOUNT_ID);
console.log(expenseResponse.data.expenses); // []

Am I doing anything wrong? Is the API broken / supported? I noticed lots of broken code samples and images on the docs page.

Hi @wesbos! Since it looks like you're encountering this issue whether you use the sdk or calling the API directly, I suggest you reach out to<EMAIL_ADDRESS>and they should be able to assist you.

Ok thank you - I've submitted this to the URL. Will close this


Release Candidate version 2.6.3

Description
Fixes a memory leak in the C wrapper for array lat/lon conversion, improves the documentation, and updates the unit testing.
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] This change requires a documentation update

How Has This Been Tested?
Ran the new examples in the docs, added more unit tests, and ensured aacgmv2.convert_latlon_arr runs faster than aacgmv2.convert_latlon for multiple locations.
Test Configuration:

Operating system: OS X Big Sur
Version number: Python 3.9
Any details about your local setup that are relevant

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] Add a note to Changelog.rst, summarising the changes
[x] Add yourself to AUTHORS.rst

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

190 of 198 (95.96%)  changed or added relevant lines in 11 files are covered.
54 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-4.5%) to 92.391%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

aacgmv2/tests/test_py_aacgmv2.py
92
93
98.92%

aacgmv2/tests/test_c_aacgmv2.py
24
27
88.89%

aacgmv2/main.py
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

aacgmv2/main.py
54
0%

Totals

Change from base Build 545:
-4.5%

Covered Lines:
1121

Relevant Lines:
1200

💛  - Coveralls

@jklenzing, @mattkjames7, @mshumko, @JouleCai, @dchaddock, @billetd you are all involved in packages that depend on aacgmv2.  This is just a heads up that I plan on releasing a new version next week, barring any complications. If you'd like to take a poke at this to ensure there are no issues with your packages, there is a release candidate up on testPyPi: https://test.pypi.org/project/aacgmv2/2.6.3/

Hi Angeline - things look good from my tests. Thanks for the heads up!

Looking all good for us at pyDARN, thanks!

It works for pysatMissions using a local install from github.  Having issues with the install from test pypi though (both locally and at github actions).

It works for pysatMissions using a local install from github. Having issues with the install from test pypi though (both locally and at github actions).

The test PyPi install works for me locally, but testPyPi does throw a lot of connection warnings.  Could be related to that, keep me posted.

Thanks for the heads up! aurora-asi-lib works.
P.S. If anyone got a pip install error where pip did not find setuptools (even if is already installed), you need to specify the --extra-index-url. In other words:
python3 -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ aacgmv2==2.6.3

@jklenzing of course!

Thanks for the heads up! aurora-asi-lib works.
P.S. If anyone got a pip install error where pip did not find setuptools (even if is already installed), you need to specify the --extra-index-url. In other words:
python3 -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ aacgmv2==2.6.3

Thanks a lot! The new version works for GeospaceLAB.

Thanks for the update, seems to work as expected with my code!


Managed SaveFileDialog selected FileDialogFilter can not be retrieved

Hello,
First of all, I have to thank all of you guys for your amazing project and all the support.
I am using the newest 0.9.3 package and leveraging the new managed SaveFileDialog in order to export user data in their desired target format. I used two FileDialogFilter to give the user the options to save their data as an Excel file, or as a CSV text file.
Sample source code:
var textFileFilter = new FileDialogFilter { Name = "Comma separated text file" };
textFileFilter.Extensions = new List<string> { "txt" };

var excelFileFilter = new FileDialogFilter { Name = "Excel file" };
excelFileFilter.Extensions = new List<string> { "xlsx" };

var dialog = new SaveFileDialog
{
    Title = "Choose the location to save",
    InitialFileName = Name,
    Filters = new List<FileDialogFilter> { textFileFilter, excelFileFilter }
};

string dialogResult = await dialog.ShowAsync(App.MainWindow);

But the problem is that the resulting dialogResult would not contain the file extension that the user has chosen inside the dialog. So I am not able to identify which file format should I export the data as. This issue was firstly posted as #229, but back then there were no managed FileDialogs.
Is there any possible way of retrieving the selected file extension that I am not aware of?
Thank you so much for all your great efforts!

@danwalmsley TL;DR: when user tries to save a file and types 'foo' as a file name, the managed dialog doesn't append an extension from the current file filter.


Allow overriding of Adhearsion.config.platform.after_hangup_lifetime

Short and sweet: this adds and allows for a Call#after_hangup_lifetime to be set,  in order to facilitate an arbitrary after-hangup call lifetime.
A use case would be if we are dialing out and the calling party hangs up, but we still want the far-side to be allowed to answer. That ringing period may be longer than the lower (more-performance related) default Adhearsion.config.platform.after_hangup_lifetime

Coverage increased (+0.0%) to 97.4% when pulling 3f5689c7938c3c371179d6a8a3a217a541a6ff6d on ringplus:after_hangup_accessor into d22b53112c2086f01ec454aba33693b1bae1f9c8 on adhearsion:develop.

Coverage increased (+0.0%) to 97.4% when pulling 3f5689c7938c3c371179d6a8a3a217a541a6ff6d on ringplus:after_hangup_accessor into d22b53112c2086f01ec454aba33693b1bae1f9c8 on adhearsion:develop.

Please squash for merge.

Squashed as requested.

Coverage increased (+0.04%) to 97.44% when pulling 325fc3f4d05cd97231e133a9884e97fc184665e5 on ringplus:after_hangup_accessor into d22b53112c2086f01ec454aba33693b1bae1f9c8 on adhearsion:develop.

Coverage increased (+0.04%) to 97.44% when pulling 325fc3f4d05cd97231e133a9884e97fc184665e5 on ringplus:after_hangup_accessor into d22b53112c2086f01ec454aba33693b1bae1f9c8 on adhearsion:develop.


ERROR: This variant already exists

What I'm trying to achieve
I'm trying to modify a variant's stock.
Steps to reproduce the problem

Create an attribute as dropdown (value required) and at least assign one attribute value.
Create a product type, set "Product type uses Variant Attributes", and assign the attribute already created in the previous step.
Create a category.
Create a product. Set the category and the product type already created in previous steps. Save the product. Once saved add variants to the product and save this variants.
Try to modify the stock for one of this variants and save, you will get the erro "This variant already exists".

What I expected to happen
I expected that the variant will be saved.
Screenshots

System information
Operating system: Ubuntu Server 18.04
Browser: Chrome
Saleor Version: v2.0.0
Thanks in advance!

Hey @sebasgoldberg. Thanks for reporting. We are aware of this issue and we're working on it. If you find any errors or you have any questions, feel free to let us know.

I am closing this issue because is the same that was reported in the saleor repo:
https://github.com/mirumee/saleor/issues/4933
Thank you


Why Does Ollama Use Shard GPU Memory Before Filling Dedicated Ones?

What is the issue?
Hi,
Is there a way to make Ollama uses more of my dedicated GPU memory? Or, can I tell it to start with the dedicated one and only switch to the shared memory if it needs to?

OS
Windows
GPU
AMD
CPU
AMD
Ollama version
0.3.14

Server logs might give some insight to why this is happening.

From what I've investigated, this appears to be a general hipMalloc behavior issue when allocating more than 4GB, not specific to Ollama.
https://github.com/ollama/ollama/issues/7328

Server logs might give some insight to why this is happening.

server.log

This looks like a dup of #7107 - the only workaround for now is to downgrade to a driver OLDER than 24.9.1 until 24.11 comes out which should have the fix.

This looks like a dup of #7107 - the only workaround for now is to downgrade to a driver OLDER than 24.9.1 until 24.11 comes out which should have the fix.

Thank you!


[Feature idea] dynamic 'start-from'

Right now we can define start-from in a view which s cool.
I often have the case that (depending on the view) there is a lot of whitespace in the calendar because the first item only starts at e.g. 5:00. But from 00:00 to 05:00 there are no events so I have to scroll down.
What if we can eliminate the whitespace dynamically that if in a view no events appear, its automatically setting 05:00 in this case as the start-from?
Of course I can iterate through my events and find out what the earliest start-from might be but its un-handy and furthermore it affects ALL my events, also those who are visible in the next week/month/year.

Of course I can iterate through my events and find out what the earliest start-from might be but its un-handy and furthermore it affects ALL my events, also those who are visible in the next week/month/year.

Not if you iterate through only the events relevant for the visible duration.
Something like this should probably be custom functionality you make yourself – having a check like this built in could slow things down.

Thanks for the suggestion @donmb1, and for the answer @rubjo.
I still add a feature request label on this, as I understand the need and we can see while implementing if the cost is too big we will drop the idea.


Error PHPSECLIB

last version show error phpseclib/phpseclib please update version phpseclib

The last phpseclib/phpseclib version is 2.0.4.
As the rule for this library in the composer.json file is ^2.0 so the last version will be taken into account with a composer update command call.
Not an issue. Should be closed.


Opt-in deploy SonataFlow as Knative Serving service instead of k8s Deployments

Description
Currently, the operator deploys workflows as regular Kubernetes Deployments. In some use cases, deploying a workflow as a Knative Serving resource makes sense.

Assess the possibility of deploying workflows as Knative Serving services by default if Knative is installed in the cluster
Add the possibility for users to opt-in to deploying as a ksvc or k8s deployment by labeling the CR.
Once labeled and deployed, this attribute must be immutable. We may assess the possibility of changing this field later in the field
Initially, revisions handling is out of scope, the operator won't reconcile this field so that users can change it based on their requirements. An assessment of revisions in the platform can be done later

Implementation ideas
No response

What about providing an option for deployment method (knative service or k8s deployment) at the SonataflowPlatform level? so for each production profile workflow, the same will method will be applied.

We might add that in the future, sure.


Invalid MEX-file error on Ubuntu 18.04 with Matlab R2018b

Dear CereLink community,
We've got a Cerebus with Central 7.04 and NSP firmware 7.04. On a remote system, I'm trying to compile CereLink cbmex* for Matlab R2018b in Ubuntu 18.04.
*I've downloaded the Jan 23rd dashesy/CereLink master branch zip file for this
From a raw install of Ubuntu 18.04 I have added packages:
sudo apt install cmake
sudo apt install python-dev
sudo apt install qt5-default
From GitHub I downloaded the CereLink zip file and unzipped into a place where I have write permissions. I ran cmake ., make all, and make install as instructed.
We did get these errors:
-- Could NOT find HDF5
-- Could NOT find Octave
-- Configuring done
CMake Warning at CMakeLists.txt:260 (ADD_LIBRARY):
Cannot generate a safe runtime search path for target cbmex because files
in some directories may conflict with libraries in implicit directories:
runtime library [libQt5Xml.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/MATLAB/R2018b/bin/glnxa64
runtime library [libQt5Core.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/MATLAB/R2018b/bin/glnxa64

Some of these libraries may not be found correctly.
In spite of these error messages, everything runs and we find that /usr/local/CereLink/cbmex.mexa64 has been created. But open Matlab and what do we get?

cbmex (  'open'  )
Invalid MEX-file '/usr/local/CereLink/cbmex.mexa64': /usr/local/CereLink/cbmex.mexa64: symbol _ZTI9QRunnable version Qt_5 not defined in file
libQt5Core.so.5 with link time reference.

I'm afraid that I just don't understand what this means. If there's anything I can do to help test solutions then please let me know.
Best wishes,
jsdpag

Thanks cboulay, option 2 was the solution. Matlab R2018b also uses Qt 5.5.
Incidentally, dashesy, I just can't find any man page or google reference to cboct. Qu'est ce que c'est?

@jsdpag cboct is like cbmex but for Octave. If you install liboctave-dev cmake will automatically also compile cboct


[BD-46] feat: create consumer app

Consumer app in the  example folder:

used guidance and code from the frontend-platform (example directory) and configuration from the frontend-build
tested with devstack launched. Set up .env.development variables that are required for login
set up ESLint for example/ and added to the root package.json
added simple component with paragon components

JIRA: https://openedx.atlassian.net/browse/PAR-798
Questions:

Probably we would need add something to README.md?
Is usage in the MyComponent okay?

Thanks for the pull request, @monteri! I've created BLENDED-1220 to keep track of it in Jira.   More details are on the BD-46 project page.
When this pull request is ready, tag your edX technical lead.

@adamstankiewicz Added npm run install-all command also

@adamstankiewicz Added npm run install-all command also

JIRA: https://openedx.atlassian.net/browse/PAR-810


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 2097 ms

Resolved: Bofrost.be performance has improved in 753bcbe.