Multi-Tenancy capability

Based on an idea by @wehowski : https://startforum.de/content/perma?id=2039
A few basic ideas:
... Multiple RA using one OIDplus codebase and one database
... It simplifies "Hosting" of OIDplus systems
A lot of things need to be considered / decided:
... Plugins: Should Tenancy-Owners be able to install plugins (just for their system)? Then we need to take care that the plugin-loader only loads plugins that are enabled for the Tenancy.
... Should the web visitor see that there are multiple users in one system, i.e. the system has a "IANA PEN" root, which you can extend, and then you see "RA 123",  "RA 456",  etc. ?
One one hand, this might be nice because it might look like a "Master OIDplus system" eventually, but on the other hand, it has the disadvantage that the Tenancy owner cannot choose their own design that represents their RA. For example, this RA has a pretty nice and unique design: https://oid.r74n.com/
So I rather would say Multi-Tenancy means that the RAs are using one codebase, one database, one server folder, but they have different URLs and Designs.  (If we allow multiple per-tenancy-plugins, then it is required to have different URLs, because the plugins might change the menu structure)

@wehowski  Please add all your thoughts in re the Multi-Tenancy-Topic into this GitHub issue. Thank you!

At "hosting.oidplus.com" I have a few standalone systems, so these would be a perfect possibility to test and develop the multi-tenancy.
So, I think a tenant should have:

An own "userdata" dir (including own baseconfig)
An own "userdata_pub" dir
An own set of database tables (unique prefix). I do not recommend using the same tables (with a tenant field), because some tenants might have a lot of data and therefore destroy the performance of the other tenant.
A "plugins" directory inside "userdata" where the tenant can add their own plugins. However, we might want to allow only signed/certified plugins, to avoid that tenants inject malicious PHP code.

I have the following idea how to do this change without a lot of effort:

On a tenancy enabled system, there will a file tenants.json. This file might look like this:

{
"https://hosted.viathinksoft.de/abc/" => ["userdata_abc", "userdata_pub_abc"],
"https://hosted.viathinksoft.de/def/" => ["userdata_def", "userdata_pub_def"],
"https://hosted.viathinksoft.de/xyz/" => ["userdata_xyz", "userdata_pub_xyz"],
"default" => ["userdata", "userdata_pub"]
}

At every HTTP request, the $_SERVER['SCRIPT_URI'] will be looked up in the tenants.json in order to find the correct userdata and userdata_pub dir.
We need to search all occurences of userdata/ and userdata_pub/ and replace it with a method OIDplus::getUserDataDir() and OIDplus::getUserDataPubDir().
The plugin autoloader should not only search for plugins inside plugins/, but also in userdata/plugins/. We do not need to do the "plugin certification" stuff yet, because as long as the tentant has no FTP access to userdata/, they can't install plugins (or malicous code) anyways.
Shell-Cronjobs /usr/bin/php cron.php need to be replaced by "web-cronjobs" (curl http://..../cron.php)
That's it! I think then we have a fully tencancy-enabled OIDplus system! We only have a single set of PHP files (which can be all updated at once) and therefore save a lot of space!
We would need to think about the software-updates though. Should the tenants be allowed to start a software-update? Since it would update the whole system (for all tenants). Or should only the super-admin be able to do an update?

What do you think?

... Should the web visitor see that there are multiple users in one system, i.e. the system has a "IANA PEN" root, which you can extend, and then you see "RA 123", "RA 456", etc. ?

I would suggest to decide how an OID can be REGISTERED vs. how it can be ADMINISTRATED.
To have a single root OID would prevent to add other arcs, e.g. I would suggest to offer a registration formualr, where we can do the validation for PEN automatically (e.g. by confirmation email to the registered RA).
This way we could provide (automatically) registered OIDs are ~valid.

So, I think a tenant should have:...

Yes, that sounds good!
Maybe it would make sense to first seperate config/db/dirs/paths as the question about to customize plugins is one with different possible solutions?

On a tenancy enabled system, there will a file tenants.json. This file might look like this:...

Yes. Maybe it yould make sense to use a php file or to have the tenants.json in a none-readable dir?
The question is if it would be reasonable to save (addtional) tenancy config in (central) DB?
To get the tenant from request in common there are

query/path/uri
(sub-)domain

For cron/console maybe we could use an argument for tenant-ID/Domain/path like the PHP build in web-server?
Software Updates should be done by admin only, or it should be on a seperated hosting multi-tenant system as you have now on hosted.oidplus? Because we have a single runtime code an cannot personalize it for tenancy in a comfortable way?

Removing the hardcoded userdata/ and userdata_pub/ will be a lot of work. We could do it step-by-step as preparation for the multi-tenancy. As soon as the hardcoded strings are replaced by OIDplus::getUserDataDir(), we have freedom to implement this method as we want.
$ grep -r "userdata/" | cut -d ':' -f 1 | sort | uniq | grep -v pristine
changelog.json.php
dev/find_copyright_missing
dev/test_database_plugins
doc/config_values.md
doc/developer_notes/database/firebird_notes.txt
doc/developer_notes/database/oracle_test_vm.txt
doc/install_alpine_linux.md
doc/install_facebook_oauth2.md
doc/install_fail2ban.md
doc/install_google_oauth2.md
doc/install_ldap.md
doc/oidplus_custom_guid.md
favicon.png.php
.gitignore
.idea/workspace.xml
includes/classes/OIDplusAuthUtils.class.php
includes/classes/OIDplusBaseConfig.class.php
includes/classes/OIDplus.class.php
includes/classes/OIDplusConfig.class.php
includes/classes/OIDplusConfigInitializationException.class.php
includes/oidplus_limits.inc.php
nginx.conf
oidplus.min.css.php
phpstan.neon.dist
plugins/frdl/publicPages/1276945_rdap/OIDplusRDAP.class.php
plugins/viathinksoft/adminPages/010_notifications/OIDplusPageAdminNotifications.class.php
plugins/viathinksoft/adminPages/050_oobe/oobe.php
plugins/viathinksoft/adminPages/110_system_config/OIDplusPageAdminSystemConfig.class.php
plugins/viathinksoft/adminPages/120_registration/OIDplusPageAdminRegistration.class.php
plugins/viathinksoft/adminPages/900_software_update/OIDplusPageAdminSoftwareUpdate.class.php
plugins/viathinksoft/adminPages/900_software_update/private/gen_serverside_git
plugins/viathinksoft/adminPages/900_software_update/private/gen_serverside_svn
plugins/viathinksoft/adminPages/901_vnag_version_check/vnag.php
plugins/viathinksoft/adminPages/902_systemfile_check/OIDplusPageAdminSystemFileCheck.class.php
plugins/viathinksoft/adminPages/920_nostalgia/export_dos.php
plugins/viathinksoft/adminPages/920_nostalgia/export_win.php
plugins/viathinksoft/captcha/vts_challenge/OIDplusCaptchaPluginVtsClientChallenge.class.php
plugins/viathinksoft/database/sqlite3/OIDplusDatabaseConnectionSQLite3.class.php
plugins/viathinksoft/database/sqlite3/OIDplusDatabasePluginSQLite3.class.php
plugins/viathinksoft/design/default/oidplus_base.css
plugins/viathinksoft/design/ironbase/oidplus_base.css
plugins/viathinksoft/language/dede/messages.xml
plugins/viathinksoft/logger/300_userdata_logfile/OIDplusLoggerPluginUserdataLogfile.class.php
plugins/viathinksoft/objectTypes/gs1/barcode.php
plugins/viathinksoft/publicPages/000_objects/OIDplusPagePublicObjects.class.php
plugins/viathinksoft/publicPages/000_objects/welcome$dede.html
plugins/viathinksoft/publicPages/000_objects/welcome.html
plugins/viathinksoft/publicPages/092_forgot_password_admin/OIDplusPagePublicForgotPasswordAdmin.class.php
plugins/viathinksoft/publicPages/095_attachments/OIDplusPagePublicAttachments.class.php
plugins/viathinksoft/publicPages/500_resources/OIDplusPagePublicResources.class.php
plugins/viathinksoft/publicPages/500_resources/show_icon.php
polyfill.min.js.php
res/ATTENTION.TXT
setup/includes/setup_base.js
setup/index.php
setup/setup.min.css.php
userdata/attachments/info.txt
userdata/baseconfig/info.txt
userdata/cache/info.txt
userdata/cache/master_changelog.json
userdata/cache/translation_d96733c0588ec4e1450d9b821cda9859.ser
userdata/database/info.txt
userdata/favicon/info.txt
userdata/info.txt
userdata/logs/info.txt
userdata/private/info.txt
userdata_pub/info.txt
userdata/resources/info.txt
userdata/styles/info.txt
userdata/welcome/info.txt

$ grep -r "userdata_pub/" | cut -d ':' -f 1 | sort | uniq | grep -v pristine
plugins/viathinksoft/adminPages/902_systemfile_check/OIDplusPageAdminSystemFileCheck.class.php

The change was easier than I thought... Just took 3 hours.
I have now replaced all occurences of userdata/ with OIDplus::getUserDataDir().
Theoretically, with this approach, multi-tenancy should already be possible.
In userdata/info.txt , I have added the following explanation:
Tenants
-------

Multiple domains can use the same OIDplus installation but have different
`userdata/` and `userdata_pub/` directories. Therefore, simply create
a directory named `userdata/tenant/www.example.com` where `www.example.com` is
your host name.
Then, if the user visits this domain name, then the data inside
`userdata/tenant/www.example.com` will be chosen rather than `userdata/`.
Each domain can therefore have different database connections (or simply different
table prefixes), different resources (welcome page), etc.

@wehowski  Can you please give me feedback on commit 773f4c1 ? Do you think it is useful and can you integrate this userdata abstraction in your tenant plugin, or doesn't it fit in your plugin development? As I said earlier, I try to avoid that we develop two different solutions. So I hope you can integrate parts of my solution into your solution. Feel free to request any changes if you need some!

Hello Daniel,
although I did not fully test yet, so far, it looks PERFECT!

@wehowski Hello,
you can either download the latest ZIP file from Github (or clone it),
or download the SVN snapshot here https://www.viathinksoft.com/download/235/oidplus2_svn.tar.gz
When testing, please also look at this method:
https://github.com/danielmarschall/oidplus/blob/master/includes/classes/OIDplus.class.php#L2106
This method is very questionable at the moment, so I am not fully sure about it.
You know that I have several systems at https://hosted.oidplus.com/.../ where each OIDplus system has an own directory. I kinda want multi-tenancy here (without defining sub domains), but don't know how to do it. Probably something symlink-related is the solution?

Please wait with the testing. There are a few things broken which I am currently fixing...

Great news! I have now solved a lot of problems and you are free to test the beta version (download the ZIP at GitHub or the SVN snapshot at oidplus.com).
The following systems are now all tenancy systems, meaning I have now only one OIDplus installation which I need to care about!

https://hosted.oidplus.com/viathinksoft/
https://hosted.oidplus.com/viathinksoft_demo/
https://hosted.oidplus.com/r74n/
https://hosted.oidplus.com/infernostars/
https://hosted.oidplus.com/cjydev/

How does it work in my case?
All directories except one are symlinks:

viathinksoft_demo => viathinksoft
r74n => viathinksoft
infernostars => viathinksoft
cjydev => viathinksoft

The userdata is as follows:

viathinksoft/userdata/ = for base system viathinksoft
viathinksoft/userdata/tenant/hosted.oidplus.com__viathinksoft_demo = for tenant demo
viathinksoft/userdata/tenant/hosted.oidplus.com__r74n = for tenant r74n
viathinksoft/userdata/tenant/hosted.oidplus.com__infernostars = for tenant infernostars
viathinksoft/userdata/tenant/hosted.oidplus.com__cjydev = for tenant cjydev
viathinksoft/userdata/tenant/oid.r74n.com symlink to hosted.oidplus.com__cjydev

ALSO FIXED:

The software update now only works if you are on the base system URL (i.e. you are accessing from an URL that is not a tenant, so you are using the userdata/baseconfig configuration rather than the userdata/tenant/.../baseconfig configuration).

TODO:

adjust "system information plugin" to show information if it is a base system or tenant system


remove the nightly requirement for lazy_static on no_std

thanks to rust-lang-nursery/lazy-static.rs#130, lazy-static now works on stable with no_std

I believe removing a feature is a break-in change.

yeah, I guess it is.
removed the commit, but since the nightly feature was only used for this,
it should be removed for 0.9

Thanks for this!
0.9 is going to be the next version anyway, but I think it makes sense to keep the nightly feature since we may be adding stuff to it in the future again.

@AltSysrq is there a reason why this PR did not get merged?
since as previously stated I removed the feature removing commit, this only removes its use for lazy_static.

@AltSysrq We have an unstable feature, so we should remove nightly in favor of that one (unstable is the standard name in the ecosystem).

This has been incorporated into 0.9.0.


added the project name, please review

***Added a project name, please review

Thank you. Looks good


Updating NuGet Package

Hi,
Was wondering if its possible to do another NuGet release with some of the latest changes/fixes found in master, specifically b9005ec181fa94ce6047e604d8446df35d36133e. The fixes resolved bugs around how contact events are fired, and would be great to have available.
Thanks!

Version 0.1.0-alpha.2 has been released.


Arch server install fail laptop

After running arch server install via the stable branch of linutil it fails at the end on lenovo laptop.

Can anyone advise me how to grab a better log for a diagnosis?
Thanks

Ran again got same errors and some more pictures

From the portion of the script you provided, the issue seems to arise in the logo() function around line 122-135, where it attempts to print the logo using echo -ne. Here's what could be happening:
Potential Issues:

echo -ne Formatting:
The command echo -ne is used to print the string without adding a new line and enabling interpretation of backslash escapes (-e). However, if there is any issue with the interpretation or escaping of characters, this could result in the errors you're seeing (i.e., missing or unrecognized commands).

Whitespace or Unexpected Characters:
Sometimes, invisible or non-printable characters in the script (especially if copied from a different format) can cause errors when interpreted by the shell.

Fixing Issues in script
1. Fix echo -ne Formatting Issue
The echo -ne command might be misinterpreting the special characters in the ASCII art. Instead, use a heredoc to print the ASCII art. Here’s the corrected version of the logo function.
logo () {
  cat << "EOF"
-------------------------------------------------------------------------
 **logo goes here**
-------------------------------------------------------------------------
        Please select preset setup settings for your system
-------------------------------------------------------------------------
EOF
}

2. Verify the Script for Invisible Characters
cat -A your_script.sh

3. Just remove the logo part from the script.

It's already fixed on the latest release.
/close


[ Question ] DRBG requirements and Crypto_DRBG() implementation

Hi,
We have a question about  Chapter 3.1. Deterministic Random Bit Generator (DRBG) in the Matter specifications v1.0.0.
This is an extract of the chapter:
This protocol relies on random numbers for many security purposes. For example, random num
bers are used in generating secret keys, counters, cryptographic signature generation random
secrets, etc. Those random numbers SHALL be generated using the Crypto_DRBG() function.

...

Crypto_DRBG() SHALL be implemented with one of the following DRBG algorithms as defined in
NIST 800-90A (the choice of which one is left to the manufacturer because the choice has no
impact on the interoperability):

I don't find any usages and implementations of Crypto_DRBG() in the connectedhomeip repository, so do you know which function should be re-implemented ? Is it DRBG_get_bytes() ?
Also, is this requirement automatically validated if we build the matter stack v<IP_ADDRESS> on Linux with openssl backend (CHIPCryptoPALOpenSSL.cpp) ?
We are asking this question for certifications stuffs.
What we see is that DRBG_get_bytes() is implemented using RAND_priv_bytes() from openssl.

Is it DRBG_get_bytes() ?

Yes.
I don't know the answer offhand regarding the OpenSSL case....

The OpenSSL doc about RAND_priv_bytes() is not clear:
NOTES
...
OpenSSL is configured to automatically seed the CSPRNG on first use using the operating systems's random generator.

Then I take a look on OpenSSL code and I found that there are default rand methods (called drbg_xxx)
The default rand methods in crypto/rand/drbg_lib.c:
RAND_METHOD rand_meth = {
    drbg_seed,
    drbg_bytes,
    NULL,
    drbg_add,
    drbg_bytes,
    drbg_status
};

This is confirmed by this doc:
DESCRIPTION
The default OpenSSL RAND method is based on the RAND_DRBG class, which implements a deterministic random bit generator (DRBG). A DRBG is a certain type of cryptographically-secure pseudo-random number generator (CSPRNG), which is described in [NIST SP 800-90A Rev. 1].

While the RAND API is the 'frontend' which is intended to be used by application developers for obtaining random bytes, the RAND_DRBG API serves as the 'backend', connecting the former with the operating systems's entropy sources and providing access to the DRBG's configuration parameters.

Disclaimer
Unless you have very specific requirements for your random generator, it is in general not necessary to utilize the RAND_DRBG API directly. The usual way to obtain random bytes is to use [RAND_bytes(3)](https://www.openssl.org/docs/man1.1.1/man3/RAND_bytes.html) or [RAND_priv_bytes(3)](https://www.openssl.org/docs/man1.1.1/man3/RAND_priv_bytes.html), see also [RAND(7)](https://www.openssl.org/docs/man1.1.1/man7/RAND.html).

But OpenSSL also provide a mechanism to register default random generators at runtime. So at this point we can considere that if there is no "unsafe" random generator registered at runtime, the function RAND_priv_bytes() provides random bytes using DRBG.
So we pass this point of the certifications.


questions about dataset

Hi，
Thanks for your awesome work. I am confused about the ground truth.Could you tell me  how to sample one patch from the luna16 dataset, and map the ground truth of one patch with the nodule location and size annotation, which contain one more nodule?

Hi, LuckyBrighter,
It's a very fundamental and important problem. Maybe you can read the reference paper DeepLung(https://arxiv.org/abs/1801.09555), or the latest work nnDetection (https://github.com/MIC-DKFZ/nnDetection).
Best,
Xiangde.

Thanks so much for your reply, I will read them!


Add Website

I would be amazing if you would add:
The Reluctant Gourmet: - A Cooking Guide For Home Cooks
https://www.reluctantgourmet.com/
I have loads more suggestions
And here is a recipe (as per your suggestion)

Roasted Garlic Aioli
:PROPERTIES:
:prep-time: 10 m
:cook-time: 35 m
:yield: 1 cup
:END:

** Ingredients

1/2 large or one whole small head of garlic
1 tablespoons extra virgin olive oil
2 coddled egg yolks
Pinch of salt
Few grinds of pepper
2 teaspoons lemon juice
1/2 cup light olive oil

** Instructions

Preheat oven to 425 degrees.
Cut top off the head of garlic (not root end).

Pour the olive oil over cut top.
Cover with foil and place in the oven and roast for 25-35 minutes until the garlic is soft.
Once cooked, pinch cooked garlic out of each clove.
In a food processor, place roasted garlic, coddled egg yolks, salt, pepper and lemon juice.
Process the mixture until smooth.
Extremely slowly, dribble oil into the processor with the motor running. It is very important that you pour the oil in very slowly to ensure proper emulsification.
Adjust salt and pepper to taste.

Serve at room temperature.
Keeps 5-7 days in the refrigerator.

Feel free to open more issues :).
I'll look into adding this site right away!

Should work now, let me know if you have any problems :).
Melpa may take a bit to get the new version, but next build it should work.
Thanks for the recipe by the way, I'll have to try it! :)

Awesome!! You're amazing ty so much!


Publish main to live on 9/30 @ 10:30 am

Learn Build status updates of commit 6a10e5a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


Allow replacing the URL in routing guards

What problem does this feature solve?
Currently it seems that with next you can only redirect to a new location, but not replace existing location. I would like to validate URLs and for invalid URLs just replace them with a new one. For example, if URL is missing a slug or slug is obsolete, I would like to in-place replace the URL inside the hook, without keeping in the history the invalid URL.
What does the proposed API look like?
next could get a second argument with options. So one could do next('/newlocation', {replace: true}).

You actually don't need to add a replace option, when calling next, the wrong url won't be kept in the history, which is a bit surprising, I'll have to dig it a bit more.
You can already pass replace as an option in the next call: next({ path: '/nelocation', replace: true }). That will replace the previous entry though. You can actually pass the same kind of argument as router.push. This will be clarified in the docs

Thanks. So if I understand correctly, replace: true is already a default, based on what you are saying that the wrong URL is already not kept? So if I then want to keep it, I should pass replace: false?
All that should be documented somewhere.

You can actually pass the same kind of argument as router.push. This will be clarified in the docs

Actually, the API for the router is to use router.replace instead of router.push. Adding replace: true has no effect in the router it seems.
I know this is an old issue, but I found it when investigating this behaviour. I also assumed replace: true would work in the router, but it only seems to work in next().


Unable to clear all notifications at once on macos 15.1

Workflow version
v2024.4
Alfred version
5.5
macOS version
15.1
Debugger output
none

More details
No response

Yeah, that happens. This needs to use some GUI automation solutions that are undocumented and Apple keeps breaking. I know that if you have a ton of notifications at once it may need a second call, but that’s just how it is.

It does. It takes two each time.

@persiliao I just had a simple idea on how to improve this. Early tests seem quite promising. Update to 2024.5.

@vitorgalvao I'm not sure I truly understand this workflow. Is it supposed to clear all notification in the Notification Center. I have this spam text coming in, and I use Alfred, type notclear and hit Enter, but it doesn't make the notification go away. I'm using 15.1.

That's what I thought but for some reason was unclear to me. Thanks for clarifying!

I am on 14.7.2, and having the same issue with v2024.5, rolled back to v2024.1 and it then works flawlessly.


The binary file liberal-ios.a is not permitted.

Hi, I am having a problem here, please help me
After uploaded to App Store(with organizer), I got mail from Apple developer team.
Steps:

Uploaded to App Store successfully, few minutes later.
I get a notification says "Your app "xxx", 1.0(1612194)(Apple ID:xxxxxxx) has changed to Invalid Binary." ( ***Picture-001 )
Also got mail from Apple ( ***Picture-002 )
I go check the iTunes Connect and I can not find this prerelease build ( 1612194 )

***Picture-001

***Picture-002

Realm version: ?
- pod 'Realm', '~> 1.0.2'
Xcode version: ?
- Version 8.2 (8C38)
iOS/OSX version: ?
- Deployment target iOS 8, 9, 10 / macOS Sierra 10.12.2

Solved,  check the copy bundle Resource in build phrase~ please remove things u don't need.


endgame not working

Thats really good job guys
I just play it but endgame not working

Thanks, @eraywax !! actually, this is game is currently under development our team is working towards completing it soon.

Hey @eraywax. I'm glad that you are checking out our game. We are still in the development phase and the work regarding the endgame is still in progress.


dont be snippy in user feedback

Please, enter valid credentials. no comma :)

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@55e29e0). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master   #142   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?     17
  Lines             ?    256
  Branches          ?     28
=======================================
  Hits              ?    256
  Misses            ?      0
  Partials          ?      0

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 55e29e0...9c43766. Read the comment docs.

Thanks @fivethreeo ,
Could you update the locales?

Done :)

Hey @fivethreeo ,
You've removed all code paths.
e.g. https://github.com/flavors/django-graphql-jwt/pull/142/files#diff-d8ab124e99707f80d99fd4ba0524caedL26

Readded code paths :)

Thanks @fivethreeo !


The chat menu does not disturb the game flow.

Couldn't be completed since we lost a group member in the beginning.
Please find further explanation in the group report.


Problems with ss in testinfra 1.11.0

I'm running multiple builds with molecule and testinfra on travis in cloudalchemy project and all of them have started to fail since today. All builds use latest testinfra and are testing on centos 7, ubuntu xenial, and debian jessie (example failing build log, and raw log). On all of those environment there is a problem with a non-existent parameter --no-header passed to ss command introduced by this commit.
Everything was working properly on previous testinfra version (1.10.1).
Due to the fact that option --no-header is included in ss man page I think there might be a problem with parsing socket connection string but I'm not sure.

Even more I tested it on fedora 27 and it was also failing.
More info:
[root@499fb1847b09 /]# ss --help | grep no-header
   -H, --no-header     Suppress header line
[root@499fb1847b09 /]# cat /etc/redhat-release
Fedora release 27 (Twenty Seven)
[root@499fb1847b09 /]# ss --help | grep no-header
   -H, --no-header     Suppress header line
[root@499fb1847b09 /]# ss -version
ss utility, iproute2-ss171113


[FEAT]: read tables into standalone app

Description
Add updates from the private repo to read in the data sources into the wasm app
Additional Information
No response

Closed by #4 data are read in from public github data folder now


Dont change the color of the most recently added spot's marker

Fixes #26.
Turns out it was by design :cry: https://github.com/jlord/hack-spots/blob/8c65460501b5528c6aeb02abfd8ab824c991e235/index.html#L139
I think we should remove it because

it's confusing when you have assigned a hex color
without other markers being on the same map view it's unclear that the red means it different/new

I like the idea of having the 'currently selected' spot with a selected/active color, but it's not even working that way right now so let's :fire: it and maybe later implement active better :+1:


Make last column potentially fixed for stratagem config.

Fixes #1134.
Signed-off-by: Joe Grund<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1136   +/-   ##
=======================================
  Coverage   95.42%   95.42%
=======================================
  Files           2        2
  Lines         153      153
=======================================
  Hits          146      146
  Misses          7        7

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 486ff8c...93be3f6. Read the comment docs.


Cookie header not sent when requesting site.webmanifest

Describe the bug
I'm hosting TeslaMate behind an auth proxy which uses the Cookie header. Since the request for the site.webmanifest resource doesn't have the required cookie header, the request fails.
I've looked around a bit and found this StackOverflow thread.
According to the accepted answer, replacing the line <link rel="manifest" href="/site.webmanifest?v=5AB53N3ALo"> with <link rel="manifest" href="/site.webmanifest?v=5AB53N3ALo" crossorigin="use-credentials"> in this file should do the trick. I haven't been able to test the change myself since I didn't want to spin up a new environment (I'm using the Docker image) and (if it's even possible) haven't been able to locate the file containing the line to change in the Docker container to test it live.
Operating environment

TeslaMate Version: 1.18.2
Type of installation: Docker
OS: Ubuntu 16.04

Update: I just tested the change using Chrome DevTools Local Overrides, and adding crossorigin="use-credentials" indeed fixes the issue.


check_low_var does not work if some columns are non-numeric

It appears as though lifelines expects all columns to be numeric.  When fitting a coxPH model, a first step is to call check_low_var. Line 974 in init.py
cols = str(list(df.columns[low_var]))
throws an error, since low_var has len = number of numeric columns, whereas df.columns has len = total number of columns. I think this can be fixed by changing line 974 to:
cols = str(list(df.select_dtypes(include=np.number).columns[low_var]))

Hm, but why are you passing in non numeric data? CoxPH will just break somewhere else, no?

Perhaps. I was trying to pass in categorical data (e.g. a column containing ['A','B','C']). This could be one-hot-encoded -- is that what is required?

This could be one-hot-encoded -- is that what is required?

Yes, that's right. I expect the user to encode variables as they want, and pass me the final dataframe. For one-hot-encoding, Pandas (get_dummies), Patsy and Scikit-learn can do this. (I prefer the former two to the latter, as they work better on pandas dataframes)


unable to start container process: exec: "provider

What happened?
we found provider does not work after https://github.com/upbound/provider-gcp/commit/e49492f4d962ebc8b73ec8b2233e99790e125324#diff-0340ab4fb2cdca3e081e549cd12dec448eaf149cb8798369260b8042531b14c1L61 changes, before that, it works
here's the errors
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "provider": executable file not found in $PATH: unknown.
ERRO[0000] error waiting for container: context canceled

How can we reproduce it?
just clone this repo and run make build
and run docker run with the newly build image
root@iZp0w99jpghnvljp5nml04Z:~/provider-gcp# make build
20:09:30 [ .. ] verify go modules dependencies have expected content
all modules verified
20:09:33 [ OK ] go modules dependencies verified
20:09:33 [ .. ] go build linux_amd64
20:09:40 [ OK ] go build linux_amd64
20:09:40 [ .. ] Family base image to build: build-c66710fd/provider-gcp-amd64
20:09:40 [ .. ] Building image build-c66710fd/provider-gcp-amd64
[+] Building 0.8s (12/12) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 2.49kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/alpine:3.16.2                                                                                0.7s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 198B                                                                                0.0s
 => [builder 1/3] FROM docker.io/library/alpine:3.16.2@sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e                                                          0.0s
 => CACHED [base 2/5] RUN apk --no-cache add ca-certificates bash                                                                                0.0s
 => CACHED [base 3/5] ADD terraformrc.hcl /terraform/.terraformrc                                                                                0.0s
 => CACHED [builder 2/3] RUN apk --no-cache add curl                                                                                0.0s
 => CACHED [builder 3/3] RUN curl -L -o /tmp/terraform_1.2.1_linux_amd64.zip https://releases.hashicorp.com/terraform/1.2.1/terraform_1.2.1_linux_amd64.zip   && unzip /tmp/terraform_  0.0s
 => CACHED [base 4/5] COPY --from=builder /tmp/terraform /usr/local/bin/                                                                                0.0s
 => CACHED [base 5/5] COPY --from=builder /tmp/native/* /terraform/provider-mirror/registry.terraform.io/hashicorp/google/4.64.0/linux_amd64/                                           0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:a6796a5442600c447e275165fe2263f05d5d3778b8960356b962ca1d2af288fa                                                                                0.0s
 => => naming to docker.io/build-c66710fd/provider-gcp-amd64                                                                                0.0s
20:09:42 [ OK ] docker build build-c66710fd/provider-gcp-amd64
root@iZp0w99jpghnvljp5nml04Z:~/provider-gcp# docker run  build-c66710fd/provider-gcp-amd64
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "provider": executable file not found in $PATH: unknown.
ERRO[0000] error waiting for container: context canceled

What environment did it happen in?

if I change to any commit before, it's working
root@iZp0w99jpghnvljp5nml04Z:~/provider-gcp# make build
20:07:04 [ .. ] verify go modules dependencies have expected content
all modules verified
20:07:06 [ OK ] go modules dependencies verified
20:07:07 [ .. ] go build linux_amd64
github.com/upbound/provider-gcp/config
github.com/upbound/provider-gcp/cmd/generator
github.com/upbound/provider-gcp/apis/compute/v1beta1
github.com/upbound/provider-gcp/apis/cloud/v1beta1
github.com/upbound/provider-gcp/apis/apigee/v1beta1
github.com/upbound/provider-gcp/apis/sql/v1beta1
github.com/upbound/provider-gcp/apis/cloudbuild/v1beta1
github.com/upbound/provider-gcp/apis/composer/v1beta1
github.com/upbound/provider-gcp/apis/cloudfunctions2/v1beta1
github.com/upbound/provider-gcp/apis/container/v1beta1
github.com/upbound/provider-gcp/apis/dataproc/v1beta1
github.com/upbound/provider-gcp/apis/bigquery/v1beta1
github.com/upbound/provider-gcp/apis/datastream/v1beta1
github.com/upbound/provider-gcp/apis/iap/v1beta1
github.com/upbound/provider-gcp/apis/servicenetworking/v1beta1
github.com/upbound/provider-gcp/apis/dns/v1beta1
github.com/upbound/provider-gcp/apis/gke/v1beta1
github.com/upbound/provider-gcp/apis/gkehub/v1beta1
github.com/upbound/provider-gcp/apis/memcache/v1beta1
github.com/upbound/provider-gcp/apis/networkconnectivity/v1beta1
github.com/upbound/provider-gcp/apis/networkmanagement/v1beta1
github.com/upbound/provider-gcp/apis/tpu/v1beta1
github.com/upbound/provider-gcp/internal/controller/apigee/envgroup
github.com/upbound/provider-gcp/internal/controller/apigee/environment
github.com/upbound/provider-gcp/internal/controller/apigee/environmentiammember
github.com/upbound/provider-gcp/apis
github.com/upbound/provider-gcp/internal/controller/apigee/instance
github.com/upbound/provider-gcp/internal/controller/apigee/nataddress
github.com/upbound/provider-gcp/internal/controller/apigee/organization
github.com/upbound/provider-gcp/internal/controller/bigquery/analyticshubdataexchange
github.com/upbound/provider-gcp/internal/controller/bigquery/analyticshubdataexchangeiammember
github.com/upbound/provider-gcp/internal/controller/bigquery/analyticshublisting
github.com/upbound/provider-gcp/internal/controller/bigquery/connection
github.com/upbound/provider-gcp/internal/controller/bigquery/dataset
github.com/upbound/provider-gcp/internal/controller/bigquery/datasetaccess
github.com/upbound/provider-gcp/internal/controller/bigquery/datasetiambinding
github.com/upbound/provider-gcp/internal/controller/bigquery/datasetiammember
github.com/upbound/provider-gcp/internal/controller/bigquery/datasetiampolicy
github.com/upbound/provider-gcp/internal/controller/bigquery/datatransferconfig
github.com/upbound/provider-gcp/internal/controller/bigquery/job
github.com/upbound/provider-gcp/internal/controller/bigquery/reservation
github.com/upbound/provider-gcp/internal/controller/bigquery/reservationassignment
github.com/upbound/provider-gcp/internal/controller/bigquery/routine
github.com/upbound/provider-gcp/internal/controller/bigquery/table
github.com/upbound/provider-gcp/internal/controller/bigquery/tableiambinding
github.com/upbound/provider-gcp/internal/controller/bigquery/tableiammember
github.com/upbound/provider-gcp/internal/controller/bigquery/tableiampolicy
github.com/upbound/provider-gcp/internal/controller/cloud/idsendpoint
github.com/upbound/provider-gcp/internal/controller/cloudbuild/trigger
github.com/upbound/provider-gcp/internal/controller/cloudbuild/workerpool
github.com/upbound/provider-gcp/internal/controller/composer/environment
github.com/upbound/provider-gcp/internal/controller/compute/address
github.com/upbound/provider-gcp/internal/controller/compute/attacheddisk
github.com/upbound/provider-gcp/internal/controller/compute/autoscaler
github.com/upbound/provider-gcp/internal/controller/compute/backendbucket
github.com/upbound/provider-gcp/internal/controller/compute/backendbucketsignedurlkey
github.com/upbound/provider-gcp/internal/controller/compute/backendservice
github.com/upbound/provider-gcp/internal/controller/compute/backendservicesignedurlkey
github.com/upbound/provider-gcp/internal/controller/compute/disk
github.com/upbound/provider-gcp/internal/controller/compute/diskiammember
github.com/upbound/provider-gcp/internal/controller/compute/diskresourcepolicyattachment
github.com/upbound/provider-gcp/internal/controller/compute/externalvpngateway
github.com/upbound/provider-gcp/internal/controller/compute/firewall
github.com/upbound/provider-gcp/internal/controller/compute/firewallpolicy
github.com/upbound/provider-gcp/internal/controller/compute/firewallpolicyassociation
github.com/upbound/provider-gcp/internal/controller/compute/firewallpolicyrule
github.com/upbound/provider-gcp/internal/controller/compute/forwardingrule
github.com/upbound/provider-gcp/internal/controller/compute/globaladdress
github.com/upbound/provider-gcp/internal/controller/compute/globalforwardingrule
github.com/upbound/provider-gcp/internal/controller/compute/globalnetworkendpoint
github.com/upbound/provider-gcp/internal/controller/compute/globalnetworkendpointgroup
github.com/upbound/provider-gcp/internal/controller/compute/havpngateway
github.com/upbound/provider-gcp/internal/controller/compute/healthcheck
github.com/upbound/provider-gcp/internal/controller/compute/httphealthcheck
github.com/upbound/provider-gcp/internal/controller/compute/httpshealthcheck
github.com/upbound/provider-gcp/internal/controller/compute/image
github.com/upbound/provider-gcp/internal/controller/compute/imageiammember
github.com/upbound/provider-gcp/internal/controller/compute/instance
github.com/upbound/provider-gcp/internal/controller/compute/instancefromtemplate
github.com/upbound/provider-gcp/internal/controller/compute/instancegroup
github.com/upbound/provider-gcp/internal/controller/compute/instancegroupmanager
github.com/upbound/provider-gcp/internal/controller/compute/instancegroupnamedport
github.com/upbound/provider-gcp/internal/controller/compute/instanceiammember
github.com/upbound/provider-gcp/internal/controller/compute/instancetemplate
github.com/upbound/provider-gcp/internal/controller/compute/interconnectattachment
github.com/upbound/provider-gcp/internal/controller/compute/managedsslcertificate
github.com/upbound/provider-gcp/internal/controller/compute/network
github.com/upbound/provider-gcp/internal/controller/compute/networkendpoint
github.com/upbound/provider-gcp/internal/controller/compute/networkendpointgroup
github.com/upbound/provider-gcp/internal/controller/compute/networkfirewallpolicy
github.com/upbound/provider-gcp/internal/controller/compute/networkfirewallpolicyassociation
github.com/upbound/provider-gcp/internal/controller/compute/networkpeering
github.com/upbound/provider-gcp/internal/controller/compute/networkpeeringroutesconfig
github.com/upbound/provider-gcp/internal/controller/compute/nodegroup
github.com/upbound/provider-gcp/internal/controller/compute/nodetemplate
github.com/upbound/provider-gcp/internal/controller/compute/packetmirroring
github.com/upbound/provider-gcp/internal/controller/compute/perinstanceconfig
github.com/upbound/provider-gcp/internal/controller/compute/projectdefaultnetworktier
github.com/upbound/provider-gcp/internal/controller/compute/projectmetadata
github.com/upbound/provider-gcp/internal/controller/compute/projectmetadataitem
github.com/upbound/provider-gcp/internal/controller/compute/regionautoscaler
github.com/upbound/provider-gcp/internal/controller/compute/regionbackendservice
github.com/upbound/provider-gcp/internal/controller/compute/regiondisk
github.com/upbound/provider-gcp/internal/controller/compute/regiondiskiammember
github.com/upbound/provider-gcp/internal/controller/compute/regiondiskresourcepolicyattachment
github.com/upbound/provider-gcp/internal/controller/compute/regionhealthcheck
github.com/upbound/provider-gcp/internal/controller/compute/regioninstancegroupmanager
github.com/upbound/provider-gcp/internal/controller/compute/regionnetworkendpointgroup
github.com/upbound/provider-gcp/internal/controller/compute/regionnetworkfirewallpolicy
github.com/upbound/provider-gcp/internal/controller/compute/regionnetworkfirewallpolicyassociation
github.com/upbound/provider-gcp/internal/controller/compute/regionperinstanceconfig
github.com/upbound/provider-gcp/internal/controller/compute/regionsslcertificate
github.com/upbound/provider-gcp/internal/controller/compute/regiontargethttpproxy
github.com/upbound/provider-gcp/internal/controller/compute/regiontargethttpsproxy
github.com/upbound/provider-gcp/internal/controller/compute/regionurlmap
github.com/upbound/provider-gcp/internal/controller/compute/reservation
github.com/upbound/provider-gcp/internal/controller/compute/resourcepolicy
github.com/upbound/provider-gcp/internal/controller/compute/route
github.com/upbound/provider-gcp/internal/controller/compute/router
github.com/upbound/provider-gcp/internal/controller/compute/routerinterface
github.com/upbound/provider-gcp/internal/controller/compute/routernat
github.com/upbound/provider-gcp/internal/controller/compute/securitypolicy
github.com/upbound/provider-gcp/internal/controller/compute/serviceattachment
github.com/upbound/provider-gcp/internal/controller/compute/sharedvpchostproject
github.com/upbound/provider-gcp/internal/controller/compute/sharedvpcserviceproject
github.com/upbound/provider-gcp/internal/controller/compute/snapshot
github.com/upbound/provider-gcp/internal/controller/compute/snapshotiammember
github.com/upbound/provider-gcp/internal/controller/compute/sslcertificate
github.com/upbound/provider-gcp/internal/controller/compute/sslpolicy
github.com/upbound/provider-gcp/internal/controller/compute/subnetwork
github.com/upbound/provider-gcp/internal/controller/compute/subnetworkiammember
github.com/upbound/provider-gcp/internal/controller/compute/targetgrpcproxy
github.com/upbound/provider-gcp/internal/controller/compute/targethttpproxy
github.com/upbound/provider-gcp/internal/controller/compute/targethttpsproxy
github.com/upbound/provider-gcp/internal/controller/compute/targetinstance
github.com/upbound/provider-gcp/internal/controller/compute/targetpool
github.com/upbound/provider-gcp/internal/controller/compute/targetsslproxy
github.com/upbound/provider-gcp/internal/controller/compute/targettcpproxy
github.com/upbound/provider-gcp/internal/controller/compute/urlmap
github.com/upbound/provider-gcp/internal/controller/compute/vpngateway
github.com/upbound/provider-gcp/internal/controller/compute/vpntunnel
github.com/upbound/provider-gcp/internal/controller/container/cluster
github.com/upbound/provider-gcp/internal/controller/container/nodepool
github.com/upbound/provider-gcp/internal/controller/container/registry
github.com/upbound/provider-gcp/internal/controller/dataproc/autoscalingpolicy
github.com/upbound/provider-gcp/internal/controller/dataproc/cluster
github.com/upbound/provider-gcp/internal/controller/dataproc/job
github.com/upbound/provider-gcp/internal/controller/dataproc/metastoreservice
github.com/upbound/provider-gcp/internal/controller/dataproc/workflowtemplate
github.com/upbound/provider-gcp/internal/controller/datastream/connectionprofile
github.com/upbound/provider-gcp/internal/controller/datastream/privateconnection
github.com/upbound/provider-gcp/internal/controller/dns/managedzone
github.com/upbound/provider-gcp/internal/controller/dns/managedzoneiammember
github.com/upbound/provider-gcp/internal/controller/dns/policy
github.com/upbound/provider-gcp/internal/controller/dns/recordset
github.com/upbound/provider-gcp/internal/controller/iap/appengineserviceiammember
github.com/upbound/provider-gcp/internal/controller/iap/appengineversioniammember
github.com/upbound/provider-gcp/internal/controller/iap/tunneliammember
github.com/upbound/provider-gcp/internal/controller/iap/webbackendserviceiammember
github.com/upbound/provider-gcp/internal/controller/iap/webiammember
github.com/upbound/provider-gcp/internal/controller/iap/webtypeappengineiammember
github.com/upbound/provider-gcp/internal/controller/iap/webtypecomputeiammember
github.com/upbound/provider-gcp/internal/controller/networkconnectivity/hub
github.com/upbound/provider-gcp/internal/controller/networkconnectivity/spoke
github.com/upbound/provider-gcp/internal/controller/networkmanagement/connectivitytest
github.com/upbound/provider-gcp/internal/controller/servicenetworking/connection
github.com/upbound/provider-gcp/internal/controller/sql/database
github.com/upbound/provider-gcp/internal/controller/sql/databaseinstance
github.com/upbound/provider-gcp/internal/controller/sql/sourcerepresentationinstance
github.com/upbound/provider-gcp/internal/controller/sql/sslcert
github.com/upbound/provider-gcp/internal/controller/sql/user
github.com/upbound/provider-gcp/internal/controller
github.com/upbound/provider-gcp/cmd/provider/monolith
20:07:38 [ OK ] go build linux_amd64
20:07:39 [ .. ] Subpackages to build: monolith
20:07:39 [ .. ] Building image build-c66710fd/provider-gcp-monolith-amd64
[+] Building 8.1s (13/13) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 2.59kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/alpine:3.16.2                                                                                0.7s
 => [internal] load build context                                                                                0.8s
 => => transferring context: 78.80MB                                                                                0.8s
 => CACHED [builder 1/3] FROM docker.io/library/alpine:3.16.2@sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e                                                   0.0s
 => [base 2/5] RUN apk --no-cache add ca-certificates bash                                                                                4.9s
 => CACHED [builder 2/3] RUN apk --no-cache add curl                                                                                0.0s
 => CACHED [builder 3/3] RUN curl -L -o /tmp/terraform_1.2.1_linux_amd64.zip https://releases.hashicorp.com/terraform/1.2.1/terraform_1.2.1_linux_amd64.zip   && unzip /tmp/terraform_  0.0s
 => [base 3/5] ADD terraformrc.hcl /terraform/.terraformrc                                                                                0.0s
 => [base 4/5] COPY --from=builder /tmp/terraform /usr/local/bin/                                                                                0.6s
 => [base 5/5] COPY --from=builder /tmp/native/* /terraform/provider-mirror/registry.terraform.io/hashicorp/google/4.56.0/linux_amd64/                                                  0.6s
 => [stage-2 1/1] ADD bin/linux_amd64/monolith /usr/local/bin/provider                                                                                0.7s
 => exporting to image                                                                                0.5s
 => => exporting layers                                                                                0.5s
 => => writing image sha256:58814c2254f3ed07bc700d67103c21e499ec3cf1370fdaa95dd4970c2ccc0bb4                                                                                0.0s
 => => naming to docker.io/build-c66710fd/provider-gcp-monolith-amd64                                                                                0.0s
20:07:48 [ .. ] Building package provider-gcp-monolith-v0.31.0-rc.1.22.g28afbab9.dirty.xpkg for linux_amd64
xpkg saved to /root/provider-gcp/_output/xpkg/linux_amd64/provider-gcp-monolith-v0.31.0-rc.1.22.g28afbab9.dirty.xpkg
20:08:07 [ OK ] Built package provider-gcp-monolith-v0.31.0-rc.1.22.g28afbab9.dirty.xpkg for linux_amd64
20:08:07 [ OK ] docker build build-c66710fd/provider-gcp-monolith-amd64
root@iZp0w99jpghnvljp5nml04Z:~/provider-gcp# docker run  build-c66710fd/provider-gcp-monolith-amd64
provider: error: Cannot get API server rest config: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

Hi @elvis-cai,
This is expected as the interim image that's being built (which is build-c66710fd/provider-gcp-amd64 in your case) no longer contains the provider binary. It's the common parent image for all the provider packages we build in the provider's family. The recommended way to run the provider locally is to use one of our make targets:

In the repo root: kubectl apply -f package/crds && make run
Or, make local-deploy to run the monolithic provider on a local kind cluster named local-dev. This target will provision the local-dev cluster itself.

The most common way is to use the make run target. We use the local-deploy make target within tests run by uptest. Could you please give the run target a try?

Thanks @ulucinar for the detailed explanation, make run works perfectly in my local kind cluster.
At the same time, just wondering what' the best way to build a controller monolithic image considering make build does not work now.

Hi @elvis-cai,
Would the following workflow satisfy your needs?

make -j2 build.all
make XPKG_REG_ORGS=index.docker.io/ulucinar BRANCH_NAME=main publish (you only need to override the branch name if you are on a feature branch).

This still does not load the built package into the local docker daemon but still it will push the built monolithic provider package into the specified OCI-compliant registry (DockerHub in the above example):
❯ make XPKG_REG_ORGS=index.docker.io/ulucinar BRANCH_NAME=main publish
11:40:34 [ .. ] Batch processing smaller provider packages for: monolith
Pushing xpkg to index.docker.io/ulucinar/provider-gcp:v0.33.0-rc.0.10.g569fe05c.
xpkg pushed to index.docker.io/ulucinar/provider-gcp:v0.33.0-rc.0.10.g569fe05c
11:40:46 [ OK ] Done processing smaller provider packages for: monolith

We have also opened a feature request for a new make target that will enable folks to load the image into the local docker daemon but if you need this, a workaround could be to docker pull the pushed image:
3. docker pull ulucinar/provider-gcp:v0.33.0-rc.0.10.g569fe05c

Excellent, thanks @turkenf @ulucinar, It would be incredibly convenient for us to have service-specific provider images available.  🙇♂

might be not related, also just found xpkg  is not created when running make -j 3 SUBPACKAGES="compute" build.all ， works running make build-monolith 😂


Port project to typescript, run proxy in process, add support for deploying passthru's

Changes to serverless proxy command:

run in process for debugger ergonomics
monkey-patch bespoken ModuleManager to use chokidar rather than node's fs.watch for file watching for symlink traversal support
monkey-patch bespoken NodeUtil to allow reloading of node module's where resolved file lies outside of project directory (due to symlinks)
Add handling of --enablePassThru option which when passed to serverless deploy will cause deployment of 'passthru' lambda's which when invoked will proxy requests through bespoken proxy back to developer machine.  Works in conjunction with serverless proxy

Hi @jperata -- implemented the requested changes.  Not sure if you saw as I squashed the commits.  Let me know if you see other things you want changed!

@jperata -- I added the --with-passthru-routing option -- I had some trouble figuring out what to call this to that would make the behavior some intuitive to understand ...  Also prompted me for consistency to rename --enablePassThru to --inject-passthru...

@jperata -- I added the --with-passthru-routing option -- I had some trouble figuring out what to call this to that would make the behavior somewhat intuitive to understand ...  Also prompted me for consistency to rename --enablePassThru to --inject-passthru...


Selecting and De-selecting media is broken: count is wrong and I can’t deselect the selected media

Selecting and De-selecting media is broken: count is wrong and I can’t deselect the selected media
Uploading ScreenRecording_12-22-2024_14-46-26_1.mp4…

Please provide the current version you are using. If < 2.0 then sorry I no longer support that version

Please provide the current version you are using. If < 2.0 then sorry I no longer support that version

when a add using yarn add  @birdwingo/react-native-instagram-stories
the "@birdwingo/react-native-instagram-stories": "1.3.8", version added

Please provide the current version you are using. If < 2.0 then sorry I no longer support that version
when i am adding  using yarn add @baronha/react-native-multiple-image-picker its adding
"@baronha/react-native-multiple-image-picker": "^1.1.9",

As mentioned above. Versions < 2.0 are no longer supported. If you need a quick fix, follow the instructions in this issue:
https://github.com/baronha/react-native-multiple-image-picker/issues/175#issuecomment-2482172891

after updatein

As mentioned above. Versions < 2.0 are no longer supported. If you need a quick fix, follow the instructions in this issue: #175 (comment)

after updation its showing error on pod install
[!] Unable to find a specification for `NitroModules` depended upon by `MultipleImagePicker`

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Build service could not create build operation: unknown error while handling message: MsgHandlingError(message: "unable to initiate PIF transfer session (operation in progress?)")
after updating showing a new error

How version React Native are you using?
This is requirement:
https://baronha.github.io/react-native-multiple-image-picker/getting-started#requirements


[Chaos] While start second node in to cluster, getting error with high load

Operating System: Ubuntu 16.04
Java Version: Oracle JDK 1.8.0_45
Packs: IS 5.4.0 GA
Setup: Cluster
Steps to reproduce

Run the scenario automated [1] for the 17th use case in [2] in one active node cluster.
Run the login with higher frequency (100 threads with 10 ramp-up period while having 2 loops ). While running the test, start the other node in the cluster.

Expected Result
It should handle requests by the cluster.
Actual Result
Got following error time to time:
TID: [-1234] [] [2017-12-20 08:12:12,127] ERROR {org.wso2.carbon.identity.oauth.proxy.LoginProxy} -  org.apache.amber.oauth2.common.exception.OAuthSystemException: java.io.IOException: Server returned HTTP response code: 500 for URL: https://is540.qa.com/oauth2/token
Note: This error can even be seen with a heavy load while having both nodes in the cluster.
[1] https://github.com/wso2-incubator/identity-test-integration/tree/master/solution17
[2] https://medium.facilelogin.com/thirty-solution-patterns-with-the-wso2-identity-server-16f9fd0c0389

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Attempt downscaling the avatar pixmap to fit the button

This uses a smooth transformation (bilinear filtering)
Fixes #1611 ???

closing in favor of https://github.com/Chatterino/chatterino2/commit/06cb88f6c28096b3246e033e92e952e71e1bfcee since if you resize the button later (e.g. dpi changes) it will resize again.


Update version to 1.1.7-26 on staging

Update version to 1.1.7-26

🚀 Deployed to production by @roryabraham in version: 1.1.8-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Autocomplete tag input

Hello Guys, I saw any issues like #530 talking about autocomplete options on Tag Input Component. So I did this feature, but i could not use the default component auto complete, so I needed to create a new Auto complete component, but the final result was very cool. I added in story book too and I am sending one image for show how is:

The code for use autocomplete options must to be:
<TagInput         inputProps={{ placeholder: 'Enter something...' }}         values={values}         onAdd={addValues}         onRemove={removeValue}         autoCompleteOptions={[               'Autocomplete 1',               'Autocomplete 2',               'Autocomplete 3'         ]} />
Example on Tag input stories line 150.
Hope you like :)

Hey @edumoreira1506 ! I tested this out locally and it seems pretty neat. I had some issues with the typeahead functionality though –

I fixed the autocomplete and now the style of autocomplete can be changed.

Why doesn't it automatically have the same styles as the Autocomplete component?

Hi Guys,
I assume this feature has not been made available yet?  I do not see the component available on your website.


Mobile Use

Hello, Thank you for providing this codebase, we've just started using it and love it so far.
We have some users that'll want to use it from their mobile devices such as smart phones. The site works on these devices with small screens but is a bit hard to use. Is there any plans to make this more small mobile device friendly?
It might be nice to be able to collapse the new chat navigation side, to get more of a full screen view of the contents of the current chat. Maybe the ability to change the size of the fonts to fit more on the screen.
Thank you!

@usvjosh, it's a copy of #92


Tab nav link should have style of 'cursor: pointer'

Issue description
see https://reactstrap.github.io/components/tabs/
when I hover on the tab nav link, the cursor should be pointer.

version ^4.6.2
components: Nav NavItem NavLink

All styles come from bootstrap itself. They removed the pointer on everything that isnt a navigable link.

Temporary workaround is to add an href="#" to .
In Bootstrap 4's implementation of tabs this makes sense since the href is used as a hook to select the tab id. But since reactstrap uses state to toggle tabs, this is a hacky workaround - the href is not used for anything except to change cursor type.

I am closing this issue as it seems to be resolved or at least a bootstrap style discussion and is no longer active.

@NathanCH React starts complaining when you have a link to "#".
Adding this style works for me:
.nav-link {
  cursor: pointer
}


conda-forge CDN cloning down

Looks like the CDN mirroring is down. According to the conda-forge status page it has been down for ~409mins

I'm looking into this, thanks for the issue. Will keep you this issue up to date with new information.

We had an issue with a full disk, which our monitoring did not detect due to an edge case being triggered.
We have fixed the underlying issue and updated the monitoring to also detect this edge case.
The CDN sync is running again and we're monitoring it closely.
I will update this issue again once the sync has been successfully completed.

The sync completed sucessfully and is running on schedule again.

Thank you! 🙏


Fix quoting in the Explain plugin

Fixes bug where Bash prints a "command not found" message when the
function is run, due to incorrect quoting of the argument to the
meta function example.
See: https://stackoverflow.com/a/1250279/2573172

Thanks - nice catch!


MGS 3: Increase draw distance on certain objects

https://github.com/Lyall/MGSHDFix/assets/92535412/2a9f6973-f037-4dc6-8018-39310514b971
I believe the hover craft and some attachments on guards are affected.

Any chance you (or anyone reading) has a savegame near those hovercrafts?
Found a bunch of functions in the exe to do with grass fading / mesh visibility / camera distance checking, but haven't really played the game far enough to run into those hovercrafts yet.

Any chance you (or anyone reading) has a savegame near those hovercrafts?
Found a bunch of functions in the exe to do with grass fading / mesh visibility / camera distance checking, but haven't really played the game far enough to run into those hovercrafts yet.

You can load any stage using the dev menu.
https://www.nexusmods.com/metalgearsolidmastercollection/mods/1

Sadly haven't had much time to work on this, was able to get grass distance to increase but couldn't figure out model distances yet.
If anyone wants to look into it I posted a PDB at https://www.nexusmods.com/metalgearsolid3mc/mods/52 that names ~2500 funcs, the NewGrassMng stuff in there handles most of the grass (there's also NewGrassMng_02 which I think handles trees)
Struct for GrassMng has a far-clipping distance inside which can increase how far it renders, not sure what limits that has though, but changing that also seemed to reduce grass fading/pop-in as well.


remove copyrighted images

This is a temporary fix to just remove the uncopyrighted images with an "x".

the potentially problematic images have now been replaced 👍


[Feature Request]: Add ability for parallel invocation of actions in the action plan

Scenario
Currently, the PromptManager only allows for sequence execution of the actions drawn in the action plan. However, if an action invokes heavy time consuming operation such as LLM completion, the completion of the entire sequence of actions may result in very time lengthy responses that will not be acceptable by the end users.
Solution
Add declarative or parameterized attribute to the action entities to indicate if the specific actions can be executed in parallel.
Then, PromptManager should read this attribute to decide if the particular action(s) can be run in parallel with another action or in the sequence order.
Additional Context
No response

@lilyydu @corinagum is there an overlap with your work on the OpenAI tools support?

@singhk97 for OAI chat completions and tools, there is a toggle called parallel_tool_calls that specifies whether tools can be executed in parallel. if disabled, multiple tool calls will require multiple calls to the model


Implement face detection script in C++

Now that we have real-time face recognition, one major bottleneck is the interface between the python script and the face recognition system -- the cropped images must be saved to disk and then read by face-rec. If we use the C++ API for OpenCV we will have much finer control over the pipeline, and the data will reside only in memory. Between this and using the GPU for inference, we may be able to solve our performance problems.

Face detection is now integrated into ./face-rec.


Dynamic ISF average -- possible bug

In a previous PR, average ISF and average CR are displayed on the Dynamic ISF menu near the bottom. I never see the average CR value change on this menu. Two requests:

A second look to make sure there is no bug in the average CR code
For the CR, it would be helpful to have the first decimal point after the integer. As in 12.5 for example, instead of 13.

In a previous PR, average ISF and average CR are displayed on the Dynamic ISF menu near the bottom. I never see the average CR value change on this menu. Two requests:

A second look to make sure there is no bug in the average CR code
For the CR, it would be helpful to have the first decimal point after the integer. As in 12.5 for example, instead of 13.

It's not a bug. The averages are based on new data (previously not saved) and therefore you need some time before these averages are displayed here. The CR is using one fraction digit currently:

For the decimal point issue, we use mg/dL units and there is nothing to the right of the decimal point.

Ah, thank you. I'll puh a fix to dev now.

Fixed here https://github.com/Artificial-Pancreas/iAPS/commit/14256c66f4c99a011eaa07258e57d8233d072320


When Show Only on Combat is enabled, players need to refresh to see the change.

Describe the bug
With "Show Only on Combat" is enabled, and "Always Show Estimates" is disabled.
After initiative has been rolled and I start the encounter. I will be able to see the health estimates appear over Npc/pcs. However, the players will not. For them to see it, it will require them to refresh the screen.
If I end the encounter and start a new one, on the same scene. The players will still need to do refresh there screen to see the health estimates.
I have tested this on: Chrome, Firefox, Brave, all in there private browsers too. The issue tracks.
To Reproduce
Steps to reproduce the behavior:

Go to Configure settings and make sure "Always Show Estimates" is disabled and "Show Only on Combat" is enabled.
Be logged in as a GM and have a test account with only player rights.
Select the number of tokens on the map and have them roll initiative and start the encounter.
Change to the player account and see that the health estimates aren't being shown.
Refresh the screen as the player account, health estimates will be shown.

Expected behavior
For the Health Estimates to be shown when combat starts without the players needing to do a refresh.
Screenshots
Could only find 1 warning while logged in as the player, but always shows up with "Always Show Estimates." So could be a red herring.

Game Specifics (please complete the following information):

Game System and version: [Pathfinder 2e: 4.10.4
Version [291]
Using Forge Vtt
3 Modules Active (Health Estimate, Pathfinder 2e: Abomination Vaults, The Forge)

Additional context
Only work around I have found is if I have "Always Show Estimates" is enabled. While not what I want to happen. Could be worse.

Should be fixed now.


Windows Clang 4.4

Please review https://github.com/conda-forge/ffmpeg-feedstock/pull/148 instead
Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

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


Cannot use different ports in the projectRepo URL

What happened?
When you specify a port in the projectRepo URL it is not parsed correctly. I narrowed it down to the giturls.Parse method which eventually replaces git@foobar.com:7999/foobar.git with<EMAIL_ADDRESS>Steps to reproduce
Use a port in your projectRepo URL git@foobar.com:7999/foobar.git
Expected Behavior
That the keyscan application can connect to the host and amend the known_hosts file
Actual Behavior
It will fail silently
Versions used
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

According to https://git-scm.com/docs/git-clone#_git_urls, git@foobar.com:7999/foobar.git means use SSH with the host foobar.com and the path 7999/foobar.git. If you need to include a port, try ssh://foobar.com:7999/foobar.git.

Since we haven't heard back, I'll go ahead and close this issue as stale. Please open a new issue if you still think there is a bug here. Thank you!


Import error: from keras.utils import Progbar

After reinstalling  keras to the version your specified in requirement.txt, it still doesn't work.
change:
from keras.utils import Progbar
to:
from tensorflow.keras.utils import Progbar

reference website:
https://tensorflow.google.cn/api_docs/python/tf/keras/utils/Progbar

I assume the issue is fixed after using tf.keras.


[Flaky] TFLite quantized conv test

@tqchen
Issue - https://github.com/apache/incubator-tvm/issues/6064
The error earlier was for single element out of 3456 elements. I think this is because of rounding. For now, set the seed to 0 for deterministic randomness.
E       Mismatched elements: 1 / 3456 (0.0289%)
E       Max absolute difference: 0.06574249
E       Max relative difference: 0.0147059
E        x: array([[[ 5.193651,  4.864939,  4.470484, ...,  4.930681,  7.165924,
E                 5.390878],
E               [ 8.217802,  8.41503 ,  6.5085  , ...,  7.757606,  9.664136,...
E        y: array([[[ 5.193651,  4.864939,  4.470485, ...,  4.930681,  7.165924,
E                 5.390878],
E               [ 8.217802,  8.41503 ,  6.508499, ...,  7.757606,  9.664135,...

Ideally we should instead construct the test case to be reliable to the randomness and avoid reliance on the random seeds. Let us simply disable the flaky test for now knowing that they are not supported well.

@tqchen This is ready to go in!


[otbn] exclude hjson entries from general csr tests

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

I am currently seeing private CI failures.
Not sure this fix is sufficient yet.

Merging because the private CI is clean.

@tjaychen where did you see the CI failures? master was green all the time.

And more importantly: Thank you for adding this exclusion. I was playing around with it when doing the initial work and thought it might be unnecessary for a start, but I agree that it is the right thing to do.

i saw it here (
https://dev.azure.com/lowrisc/opentitan-private/_build/results?buildId=16562&view=logs&j=89b1484e-e59b-56b8-bef8-ec534b74be7c&t=5028a3c4-0542-585a-b10c-81f6b79fff87
)
A completely unrelated PR of mine that I recently rebased on head of tree.
I was a bit surprised to see it honestly, but I guess the changing design
also changed the registers the sanity regression was touching, and it just
happened to fail for me.
On Wed, Jul 8, 2020 at 1:18 AM Philipp Wagner<EMAIL_ADDRESS>wrote:

And more importantly: Thank you for adding this exclusion. I was playing
around with it when doing the initial work and thought it might be
unnecessary for a start, but I agree that it is the right thing to do.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/2731#issuecomment-655366826,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSTZD3NH6DFLV26RE3TR2QTWRANCNFSM4OUBOSPA
.


docker restart of container causes zeroconf fail due to NonUniqueNameException

Home Assistant release with the issue:
0.77.3 to 0.77b3
Last working Home Assistant release (if known):
I started HASS with 0.77 has happened then too
Operating environment (Hass.io/Docker/Windows/etc.):
docker
Component/platform:
zeroconf
Description of problem:
When I do a docker stop and docker rm of my container to take hass upgrade (weekly), zeroconf doesn't start back up.
This error clears itself after about 20 minutes not sure that TTL for that in the mdns cache (dont know if there is such a thing). Not sure who is caching this information. Quite possible this isn't a bug, but was wondering if can do check here if the name already exists and then reuse that?
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
:zeroconf
:ios

Traceback (if applicable):
2018-09-28 09:14:55 ERROR (MainThread) [homeassistant.setup] Error during setup of component zeroconf
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/setup.py", line 148, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/zeroconf.py", line 55, in setup
    zeroconf.register_service(info)
  File "/usr/local/lib/python3.6/site-packages/zeroconf.py", line 1836, in register_service
    self.check_service(info, allow_name_change)
  File "/usr/local/lib/python3.6/site-packages/zeroconf.py", line 1952, in check_service
    raise NonUniqueNameException
zeroconf.NonUniqueNameException

Additional information:

I should add that I am using Avahi to rebroadcast mdns boradcasts across vlans, for example guests vlan can cast to chromecasts etc.


AnimationTree with AnimationNodeStateMachine ignore speed AnimationPlayer

Godot version:
v3.1 master / c432ce4ee15fc396b2bccbbe2661b5bd34b9bee1

OS/device including version:
Ubuntu 18.04, 16.04 and Windows 10

Issue description:
AnimationTree with AnimationNodeStateMachine with Anim Player property set to an AnimationPlayer ignore the speed set in the editor or playback_speed set in code.
Also I am not able to set AnimationTree.anim_player.playback_speed property in code too.

Steps to reproduce:
Create any simple animation with AnimationPlayer change the speed and play with the AnimatinoTree
$AnimationTree.get("parameters/playback").start("default");
$AnimationTree.get("parameters/playback").travel("to_right");

Minimal reproduction project:

AnimationTree.zip

This was unexpected for me as well, but I wonder whether that's really a bug or made by design, because I figured I can change the playback speed with AnimationNodeTimeScale at any node of the tree.

@Xrayez gonna try that, but it looks like a workaround solution since I set an AnimationPlayer all setup.

Is AnimationNodeTimeScale available for AnimationNodeStateMachine?

I guess I am not going to use it for a while, gonna wait this to be fixed. Thanks!

@ricardoalcantara you could save your current tree as a resource and load it into a blend tree

My animations have different playback speeds for each animation (idle = 0.5, run = 1.4, jump = 0.8, ect). For example, I had to create a blendtree with an animation node assigned to idle and a time scale node set to 0.5 (even though the animation has this already) and name the blendtree idle. I had to do this for each animation... =(

So this is intended and there is a proper way to set the speed in AnimationTree. Closing.

To the best of my knowledge, there is no proper way to change the speed in the AnimationTree. It doesn't have a time_scale property itself, and all solutions described above are workarounds using other types of tree roots.

@RotateMe Please open a proposal on the proposal repository if you think this is a missing feature.


Updates to the Experimental Create Pattern

Made updates to the Create pattern in Experimental.
Updated images to align with changes since development of the reusable component.

@chloepoulterdesign This was easy, no worries! Thanks for contributing to Carbon 🎉


Selecting a sound more than once doubles the volume

I'm not sure if it's just a Windows (10) thing, or my system, or what. But when I select a sound, change it, and then select the first sound again it gets louder. If I do this a couple of times it gets REALLY loud!

thanks for the report, I can confirm that it is happening on macos too. going to look into it.

issue has been fixed, gonna release new version soon.


Gmail not responsive

I've read up and searched for a solution for like a month with ink to make the templates responsive on gmail though its all bits of scattered info.. and can't put it together.
Could you please do like the http://zurb.com/ink/downloads/templates/sidebar.html template and explain what was needed in order to make it responsive on gmail?
Please :)

I've not been able to get Ink to behave as suggested in the docs either. I've posted on the Zurb forum but not had a reply.
I have found a solution that does work in Gmail but it requires Ink to be modified. This is where I found the solution. I've created something of my own which is a hybrid of these.
https://www.campaignmonitor.com/blog/post/4240/creating-a-centred-responsive-design-without-media-queries
http://webdesign.tutsplus.com/articles/creating-a-simple-responsive-html-email--webdesign-12978
This is probably not what you want but my be the best for gmail.
http://blog.fogcreek.com/responsive-html-emails-a-different-strategy/
Hope this helps.

@raviedavie could you please provide an example of the modified code? Would really help and thank you

I have gone through all the github issues, all the stack overflow related ink + gmail questions and still cant find anything. Please help

@raviedavie  Can you link your forum post for help?

+1

It's clearly stated in the Ink docs that Media Queries are not supported in Gmail and that the solution is to use the block-grid.
block-grid sucks in a different way, but thats whats going down.

Our apologies for the confusion. To better phrase what's going on with gmail and the block-grid is: To fake a responsive email on gmail, you can use the block-grid to achieve this.
Basically, the block-grid can be used in gmail, since it is inline-block, and things can stack on top of each other if they run out of space.
There are more complicated approaches to achieve a truly responsive email in gmail, however, we chose to pursue a less complicated codebase and in hopes that gmail would support media queries sometime soon (fingers still crossed). With v2, the Inky language gives us some opportunities to offload the complicated "ghost tables" that are needed to create a fully responsive gmail email into customizable tags.
We'll be working through these issues in v2, however we're not supporting v1 anymore. We're more than happy to merge any PRs on our v1.0.0 branch. Hope this helps clarify. Thanks!


SpaceWar Game

Worked in issue #126  " add spacewar game using pygame"

Please let me know if you want any changes.


DAST include/exclude and single URI

Remove the autodetect configuration for web scans #898
Add the option to define include and excludes in the web configuration #568
Refactor code and implement single URI feature #896

Move specific parts of AbstractAdapterConfig into AbstractWebScanAdapterConfig, AbstractInfraScanAdapterConfig, AbstractCodeScanAdapterConfig

Fix RestDoc Test

For now the maximum number of includes/excludes is defined by a constant rather than a SpringBoot value. In addition, the maximum character number is defined by a constant as well (see: https://github.com/mercedes-benz/sechub/issues/568#issuecomment-975645255).
Closes: #568
Closes: #896
Closes: #898

@Jeeppler you added the owasp zap report extensions binary inside this PR. I think that was an accident? The pds-solutions ZAP integration should be done inside another PR.


Gt3X time zone enquiries

At the moment, GGIR assumes that the start time read from info.txt is the true local start time because GT3X doesn't have time zone information. The start time however in info.txt defaults to UTC as described here.
https://github.com/actigraph/GT3X-File-Format/blob/main/LogRecords/Parameters.md
So if a data is collected in a non-GTM time zone, what we should really do is to use the UTC_OFFSET from the PARAMETERS or time_zone from into.txt to correct the timezone. Otherwise the time zone and day light saving information is going to be wrong. There is a related discussion seen in the Google group already:
https://groups.google.com/g/rpackageggir/c/7WopOIbAHRs/m/ya-Tm0mTAgAJ
Would be great to get your views on this @vincentvanhees  :D

There is a related discussion seen in the Google group already:
https://groups.google.com/g/rpackageggir/c/7WopOIbAHRs/m/ya-Tm0mTAgAJ

Yes, that google group question resulted in a file exchange outside the group. I then used that file to work on issue #551 via PR #557, which as you can see is still open. As you see in the PR discussion the issue was almost fixed until we found some odd discrepancy in behaviour between operating systems. Either way, the idea was to ask the user what timezone they want the data to be interpreted in, because in GGIR we already do that for other data format. However, I agree that it would be nice if this defaults to a plausible value when no desired timezone is not provided.

So if a data is collected in a non-GTM time zone, what we should really do is to use the UTC_OFFSET from the PARAMETERS or time_zone from into.txt to correct the timezone. Otherwise the time zone and day light saving information is going to be wrong.

Yes that makes sense and sounds in line with Matt's recent suggestion. My only doubt has been whether I should make an effort to get this fixed inside the read.gt3x R package such or first to try to address it in GGIR only.
If we first focus on GGIR then I think best steps are:

Create issue in read.gt3x repository to inform maintainers that it is an issue and that it is being looked into.
Follow your suggestion to extract the information from the info.txt.
Merge this work with PR Allow for specifying desiredtz and configtz when working with gt3x files #557, because I think it would be nice to combine this develop effort with fixing that issue.
Test that it works on at least Windows and Linux.

I am travelling this week, but can spend a bit of time on it later this month/summer. Would you be interested to help develop and/or test this?

Hey Vincent your suggestion looks very sensible to me. That's probably what the GGIR's python sister package should also follow. I would be willing to help. However, my knowledge of R is limited to usage only probably not good enough for development sadly.
I would be happy to contribute to the discussions and testing side of things as I am familiar with the GT3X file format and have developed Python version of the gt3x reader.
Just give me a shout out whenever you think things are ready for testing! I would then compare the output format from my end accordingly.

Actigraph seems to be working  a Python version of GT3X reader now. https://github.com/actigraph/pygt3x It is fairly recent and its features are limited but good to keep an eye on this.

Sorry, it took me a while to find time for this. I think I fixed it, see my elaborate response here: https://github.com/wadpac/GGIR/issues/551
I will close this issue now, as well as the old draft PR.


Add wall versions of beta terrain edges

Resolves #340. Created new wall objects that match the texture of the two beta terrain edges.

I wasn't sure what to name these. The terrain textures are called Brick (Brown) and Rock (Brown), so I went with Brick wall (Brown) and Rock wall (Brown) to match. Open to other suggestions.
For the object ids, the terrain textures are rct1beta.terrain_edge.brick and rct1beta.terrain_edge.rock, but the walls aren't from the beta, but maybe the names should match anyway? They're easy to change regardless.

I'm a bit unsure if it would make sense to include the rock walls as there's no wall version of the final/RCT2 rock edge.
For the names i would just shorten them to "Brick Wall" and "Rock Wall" or even just "Wall" as the wall names in vanilla are pretty generic.
For the object ids should remain "official" as they were not a part of the rct1 beta, they're just official additions based on the beta assets.

I didn't even consider that some of the terrain edges don't have corresponding walls. I probably wouldn't have made the rock wall if I'd thought about it.
If anyone feels strongly about not having them, that's fine by me.

Maybe add that wall texture as an object, too?

I generally want to keep the brakes on adding too much extra content. Could you put forth your arguments for including these as official content?

Having the beta brick wall would create a nice parity with how the existing brick terrain edge has a wall that goes with it.
The rock wall doesn't fit as well and I don't have any strong arguments about keeping that one.


[NFC] Remove Legacy Parser-Based Redeclaration Diagnostics

These are superseded by ASTScope-based lookoup and semantic redeclaration diagnostics.

@swift-ci smoke test and merge


Adding transaction for setting execution memory limit

Use this Transaction for setting/changing execution memory limit.

I added this to https://github.com/onflow/flow-core-contracts/pull/292 which also includes a test for it, and the script to check it.


Wrap nvim client API to return a Promise if callback function is not supplied

Reference #15
Looking at this from a plugin author's POV, I think we should wrap nvim client API here and return a Promise if a callback function is not supplied. This way plugin authors can easily use promises if they wish (and keeps compatibility with callbacks).
Otherwise, as a plugin author, I would need to promisify nvim, and it would have to happen everytime a callback is invoked versus this method, where it happens just once when we attach to nvim.
Thoughts?

Cool PR! This is definitely a nice feature to have. Would you mind adding some tests and updating the documentation? Thanks!

Will do!
Is it just me or are tests not passing on master?

Hmm, the tests are, indeed, not passing. If you update the docs, I'll see if I can update the tests to match. In any case, the test setup is fragile enough that it's probably better to just get this out to people who can test it in practice.

By the way, this is not ready to merge yet, will update when it is


provide default for this.opts in plugins

From what I can tell plugins do not necessarily need options to be passed in. Currently if no hydra.plugins[plugin-name] is provided in the configuration then the plugin initialization throws the error Unhandled rejection TypeError: Cannot read property [plugin-name] of undefined
This PR safely accesses hydra.plugins[plugin-name] and if it doesn't exist then defaults to an empty object.
My preference would be to use pathOr from Ramda.js or get from lodash, but didn't want to add new dependencies without permission.

@emadum thoughts on this? @ecwyne I'd rather not add additional dependencies - in fact I'd like to remove any we currently use can can possibly do without.

I'll defer to @cjus on this but I'm a big fan of lodash and wouldn't mind having it as a dependency. I end up using it in most of my microservices anyway.

The PR looks good to me. Regarding lodash I'd rather see ES6 code fro whatever you would otherwise pull from lodash.

Agreed when possible, but ES6 doesn't have the vast majority of what I use lodash for.
Sent from my iPhone
On Apr 17, 2017, at 5:01 PM, Carlos Justiniano <notifications<EMAIL_ADDRESS>wrote:
The PR looks good to me. Regarding lodash I'd rather see ES6 code fro whatever you would otherwise pull from lodash.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fflywheelsports%2Fhydra%2Fpull%2F85%23issuecomment-294592025&data=01|01|eric%40flywheelsports.com|e14efab7ec534810f83d08d485d4f2c6|e110a28e5f4f4e558488575a2ed46dbc|0&sdata=wUbddqWyKcNrVvGJxV%2Fhij9wvdO%2BymfPhumMEVRL07c%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAASVedune7RnV1VcxHui2PqjfqnYeVmZks5rw9M1gaJpZM4M_bgA&data=01|01|eric%40flywheelsports.com|e14efab7ec534810f83d08d485d4f2c6|e110a28e5f4f4e558488575a2ed46dbc|0&sdata=Yxg28ik203Fpcw9vgDxn7hvb%2BkWCU88wFpgVjUd7jDg%3D&reserved=0.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

Definitely don't recommend replacing lodash in larger applications. I'm only referring to its use in Hydra core.

@cjus @emadum Speaking of new ecmascript features, how do you guys feel about using async/await in the core of hydra?

@ecwyne commit here looks good. Is it good to go?

@cjus
Yes, it should be good to publish


Add a branch-restore.sh script for restoring branches after accidental deletion

It has happened a few times that branches get accidentally deleted in
mass. This script pushes all branches that are known to be at origin
and pushes them back to origin.

That checkout is inconvenient. I came up with this (--dry-run for testing):
git fetch origin

git for-each-ref refs/remotes/origin --format 'branch=%(refname:lstrip=3)' --shell |
    while read entry; do
        eval "$entry"
        if [ "$branch" != HEAD ] && [ "$branch" != master ]; then
           git push --dry-run origin "refs/remotes/origin/$branch:refs/heads/$branch"
        fi
    done

@GrahamcOfBorg build hello php fizzbuzz

@GrahamcOfBorg build help

Are there any updates on this pull request, please?


Meta title Changed

Solved the issue number https://github.com/Yaswanth820/Ambulance-tracker/issues/28

lgtm


Error when using "npm test"

Here is the error log:
><EMAIL_ADDRESS>test /Users/ptinkosinarmedia/version-control/HelloCodeSchoolProject
> mocha test/

sh: mocha: command not found
npm ERR! Test failed.  See above for more details.

Hello


Support for lookup of email address and mobile number for given person or organisation

Description
The Notification component should be able to identify an email address and/or mobile number when the intended recipient of a notification is a person or organization.

The profile lookup should occur at the time when the notification is to be sent.
There should also be a lookup with the placement of the order in order to give feedback about the likely outcome.
It should be unnecessary to do a lookup if the notification already have a target with an address.
The lookup is done only if the Notification.PartyReference is filled in with an (SSN - National Identity Number) or organization number.

Other issues will cover lookup based on other values and properties like InstanceId.
Workflows
The work is split into workflows. Completing a single workflow should add new value or introduce a new feature in Altinn Notifications.  The workflows are placed in the order of development and functionality that is reused by a later workflow only needs to be specified once by the workflow that first implements the functionality.
Send notification to person identified with national identity number
Altinn's responsibility:

Lookup contact point in Altinn's copy of KRR.
Consider reservation in KRR

Recipient has no reservations => send notification
Recipient has reservation & app owner has bypassed => send notifications
Recipient has reservation & app owner has NOT bypassed => return error message to application owner

App owner responsibility:

Provide national identity number of recipient
State whether sending notification should bypass reservations in KRR

### Tasks
- [ ] https://github.com/Altinn/altinn-notifications/issues/436
- [ ] https://github.com/Altinn/altinn-profile/issues/132
- [ ] https://github.com/Altinn/altinn-profile/issues/136
- [ ] https://github.com/Altinn/altinn-notifications/issues/446
- [ ] https://github.com/Altinn/altinn-notifications/issues/437
- [ ] https://github.com/Altinn/altinn-notifications/issues/439
- [ ] https://github.com/Altinn/altinn-notifications/issues/441
- [ ] https://github.com/Altinn/altinn-notifications/issues/496
- [ ] https://github.com/Altinn/altinn-studio-docs/pull/1546

Support notification to organization by organization number without service affiliation
Altinn's responsibility:

Lookup organization contact point in Altinn's copy of KoFuVi
- Lookup user contact point in Altinn Profil (din kontaktinformasjon for virksomhet)

App owner responsibility:

Provide organization number of recipient

Requirements

Fall back to main unit if sub unit doesn't have contact information
Separate endpoints for official and personal contact information on the organization
Make it possible to filter contact information based on any resource registered in resource registry.

Questions
Authorization of access to the resource that the notification is about

What if different people have read access to different steps in the process?
How to handle those cases?
Do we need to?
What if the policy have completely different actions? (Not read)

### Tasks
- [ ] https://github.com/Altinn/altinn-notifications/issues/442
- [ ] https://github.com/Altinn/altinn-notifications/issues/455
- [x] Dependency on issue #436
- [x] Dependency on issue #446
- [ ] https://github.com/Altinn/altinn-notifications/issues/450
- [ ] https://github.com/Altinn/altinn-notifications/issues/456
- [ ] https://github.com/Altinn/altinn-notifications/issues/507
- [ ] https://github.com/Altinn/altinn-notifications/issues/511
- [ ] Add functionality to localtest https://github.com/Altinn/altinn-notifications/issues/496

Workflow: Support notification to organization by organization number with service affiliation
Altinn's responsibility:

Lookup organization contact point in Altinn's copy of KoFuVi
Lookup user contact point in Altinn Profil (din kontaktinformasjon for virksomhet)

contact point is only retrieved for user's that satisfy the following:

User can represent the organization
User has registered a personal contact point for the organization in Altinn
User has access to the affiliated service through a role, access group or direct delegation
User has no limitations on which services it should be notified about OR user has whitelisted notifications related to the affiliated service

App owner responsibility:

Provide organization number of recipient
Provide resourceId for affiliated service

### Tasks
- [ ] https://github.com/Altinn/altinn-notifications/issues/470
- [ ] https://github.com/Altinn/altinn-notifications/issues/449
- [ ] https://github.com/Altinn/altinn-notifications/issues/504
- [ ] #451
- [ ] #472
- [ ] https://github.com/Altinn/altinn-notifications/issues/508
- [ ] https://github.com/Altinn/altinn-notifications/issues/510
- [ ] https://github.com/Altinn/altinn-notifications/issues/512
- [x] Do we send notifications to the official contact address if there is a service affiliation with role requirements? YES

Workflow: Support notification to person identified by national identity number with service affiliation
Altinn's responsibility:
Altinn will generate notifications to a person ragardless of resource affiliation. There are currently no feature in Altinn to send notifications to somone else when the recipient of a notification is a person.

Consider reservation in KRR for each recipient

Recipient has no reservations => send notification
Recipient has reservation & app owner has bypassed => send notifications
Recipient has reservation & app owner has NOT bypassed => return error message to application owner

App owner responsibility:

Provide national identity number of recipient
Provide appId for affiliated service
State whether or not notification should bypass reservations in KRR

### Tasks
- [ ] https://github.com/Altinn/altinn-notifications/issues/524

All related issues closed. Closing epic.