GCP Cloud Functions Endpoint

see https://github.com/ObrienlabsDev/eventstream/issues/6
write https://github.com/ObrienlabsDev/blog/issues/3
write https://github.com/ObrienlabsDev/blog/wiki/Serverless-Reference-Architecture
follow

testing
michael@cloudshell:~/functions-old/biometric-gcp-functions (functions-old)$ ./deployment.sh -c true -d false -p true -b functions-old
existing project:
Date: Tue May 21 12:41:05 AM UTC 2024
Timestamp:<PHONE_NUMBER>
old
running with create=true delete=false boot_project_id=functions-old
Creating project: biometric-gcp-functions-8600
STREAM_PROJECT_ID: biometric-gcp-functions-8600
Updated property [core/project].
Creating KCC project: biometric-gcp-functions-8600 on folder:<PHONE_NUMBER>95
Create in progress for [https://cloudresourcemanager.googleapis.com/v1/projects/biometric-gcp-functions-8600].
Waiting for [operations/cp.8587305812735454100] to finish...done.
Enabling service [cloudapis.googleapis.com] on project [biometric-gcp-functions-8600]...
Operation "operations/acat.p2-303733271336-393643f6-b161-48b0-99ee-ff64465156f1" finished successfully.
Updated property [core/project] to [biometric-gcp-functions-8600].
billingAccountName: billingAccounts/019283-6F1AB5-7AD576
billingEnabled: true
name: projects/biometric-gcp-functions-8600/billingInfo
projectId: biometric-gcp-functions-8600
Updated property [core/project].
Operation "operations/acf.p2-303733271336-5114abf0-11bc-46bc-93d8-fc5870722a13" finished successfully.
Operation "operations/acf.p2-303733271336-28966a73-c3d9-4d7c-8298-7d1f5fa07d99" finished successfully.
Operation "operations/acf.p2-303733271336-7f81ec56-d5fc-41d2-8874-bd31a8d9f77f" finished successfully.
Updated property [core/project].

provisioning to biometric-gcp-functions-8600
Created .gcloudignore file. See `gcloud topic gcloudignore` for details.
Preparing function...done.
X  Deploying function...
     [Build] Logs are available at [https://console.cloud.google.com/cloud-build/builds;region=us-central1/3cb4ec2c-1ae1-4fd6-9435-9f9450a4eb8b?project=653
  783037549]
  OK [Service]
  .  [ArtifactRegistry]
  .  [Healthcheck]
  .  [Triggercheck]
Completed with warnings:
  [WARNING] Failed to find vendored functions-framework dependency. Installing version 1.3.1:
<nil>
You can view your function in the Cloud Console here: https://console.cloud.google.com/functions/details/us-central1/java-http-function?project=functions-old

buildConfig:
  build: projects/653783037549/locations/us-central1/builds/3cb4ec2c-1ae1-4fd6-9435-9f9450a4eb8b
  dockerRegistry: ARTIFACT_REGISTRY
  dockerRepository: projects/functions-old/locations/us-central1/repositories/gcf-artifacts
  entryPoint: gcfv2.HelloHttpFunction
  runtime: java17
  source:
    storageSource:
      bucket: gcf-v2-sources-653783037549-us-central1
      generation: '1716252122870972'
      object: java-http-function/function-source.zip
  sourceProvenance:
    resolvedStorageSource:
      bucket: gcf-v2-sources-653783037549-us-central1
      generation: '1716252122870972'
      object: java-http-function/function-source.zip
createTime: '2024-05-21T00:42:03.106226230Z'
environment: GEN_2
labels:
  deployment-tool: cli-gcloud
name: projects/functions-old/locations/us-central1/functions/java-http-function
serviceConfig:
  allTrafficOnLatestRevision: true
  availableCpu: '0.3333'
  availableMemory: 512M
  ingressSettings: ALLOW_ALL
  maxInstanceCount: 100
  maxInstanceRequestConcurrency: 1
  revision: java-http-function-00001-nan
  service: projects/functions-old/locations/us-central1/services/java-http-function
  serviceAccountEmail<EMAIL_ADDRESS>  timeoutSeconds: 60
  uri: https://java-http-function-xhrlbsc4nq-uc.a.run.app
state: ACTIVE
updateTime: '2024-05-21T00:43:24.411239617Z'
url: https://us-central1-functions-old.cloudfunctions.net/java-http-function
Total Duration:<PHONE_NUMBER> sec
Date: Tue May 21 12:43:26 AM UTC 2024
Timestamp:<PHONE_NUMBER>

Getting a periodic issue with the logWriter role on the compute service account when running the cloud build under the cloud functions deployment

adding
# The service account running this build does not have permission to write logs. To fix this, grant the Logs Writer (roles/logging.logWriter) role to the service account.
# set roles/logging.logWriter on project id service account -<EMAIL_ADDRESS>
 PROJECT_NUMBER=$(gcloud projects list --filter="${STREAM_PROJECT_ID}" '--format=value(PROJECT_NUMBER)')
 echo "PROJECT_NUMBER: $PROJECT_NUMBER"
<EMAIL_ADDRESS> echo "bind $SA_EMAIL"
 gcloud organizations add-iam-policy-binding "${ORG_ID}" --member="serviceAccount:${SA_EMAIL}" --role=roles/logging.logWriter --condition=None --quiet

 echo "wait 60 sec"
 sleep 60


Updating objects replaces any Mappable children rather than updating them.

When using the map(JSONString: String, toObject object: N) -> N method to update an object with relationships to the Mappable entities those child objects are replaced rather than updated.
This is an issue when you rely on reference semantics to update an in memory store.
It looks as though this is because the methods
class func object<N: Mappable>(inout field: N, object: AnyObject?)
class func optionalObject<N: Mappable>(inout field: N?, object: AnyObject?)
class func optionalObject<N: Mappable>(inout field: N!, object: AnyObject?)

methods in FromJSON all clobber the field property by calling Mapper().map(object) instead of Mapper().map(object toObject:field) (where appropriate)
I wrote up a test case demonstrating this issue https://gist.github.com/tapi/490f581fb9223d8832b6
It also appears to be related (tangentially) to the following two issues
https://github.com/Hearst-DD/ObjectMapper/issues/74
https://github.com/Hearst-DD/ObjectMapper/issues/230

You're right, this is an issue that I never noticed. I'll think about how this could be addressed.
I have a work in progress branch which may address this issue in another fashion. The branch is called class-clusters. It provides the following extension to the Mappable protocol:
public protocol MappableCluster: Mappable {
	static func objectForMapping(map: Map) -> Mappable?
}

The objectForMapping function can be used to return an existing instance of an object to be used for mapping

I should also note that I am considering simply replacing the init?(_ map: Map) requirement with the above function.

I was going to suggest adding an object source function. I was thinking about leaving the init and using it as a default implementation for objectForMapping()
Either way, if your adding it then that saves me from filing my last issue ;) needed something that allowed me to check a db

I just merged a fix that handles updating children objects when mapping using the toObject function:
https://github.com/Hearst-DD/ObjectMapper/pull/310
This does fix does not handle arrays or dictionaries of child objects though.

Yeah, Not sure how you'd do it with collections, objectForMapping() will probably help there.

Dictionaries might still be okay as the keys for a value are likely sufficient to identify which object in a collection should be updated. Arrays, sets, etc that are no referenced collections are probably not something thats doable.

Yep I think you're right about that

I will be merging an update that handles sub dictionaries shortly. I will close this ticket up after that considering there is no safe way to handle Arrays and Sets

👌

+1 for renaming or object source


Improve download handling in StreamingDataset

Load all locally cached shards before performing download and load in a background thread (if needed), potentially resulting in a DONE state resulting in iter_ids_static() being called correctly again.

download() is slow when called interactively, users resort to fake iterating the dataset -> download(blocking=True) now downloads using a process pool, so you get similar parallelism as downloading sequentially in each worker as happens in __iter__.

__getitem__ lazily, blocking loads the shard if you request a sample that is not loaded, as researchers expect.

Forgot to mention but could you also add some test cases to cover the bug fix?

Closing as stale -- the changes in here will be migrated to the streaming repo.


[nextcloud] - run in subfolder. example.com/nextcloud

Hi,
Thanks for building a awesome docker image. How do I go about running nextcloud in example.com/nextcloud ?
I am running Nginx locally and do a proxy reverse to the running container localhost:8888.  When I access nextcloud in location block, it redirects back to example.com/login and fails. Problem is, if I set webroot in Nextcloud config.php to /nextcloud I get stuck in a redirect loop.
I have tried to use subfilter rules, but images and css get broken.
  location /nextcloud/ {                                                                                proxy_pass http://localhost:8888/;                                                                                auth_basic off;                                                                                proxy_set_header        Host                 $host;                                                                                proxy_set_header        X-Real-IP            $remote_addr;                                                                                proxy_set_header        X-Forwarded-For      $proxy_add_x_forwarded_for;                                                                                proxy_set_header        X-Remote-Port        $remote_port;                                                                                proxy_set_header        X-Forwarded-Proto    $scheme;                                                                                proxy_redirect          off;                                                                                }
My sub_filter loads login page but with no css. When I edit config.php (overwritewebroot) to include /nextcloud everything breaks..
    proxy_set_header Accept-Encoding "";     sub_filter "http://server.domain/" "http://server.domain/nextcloud/";     sub_filter_once on;

i would like the same feature, since Windows and webdav only works if it is placed in a subfolder..


Different Layouts per Monitor in FancyZones

Microsoft PowerToys version
0.60.0
Running as admin

[x] Yes

Area(s) with issue?
FancyZones, FancyZones Editor
Steps to reproduce
FancyZones
Open "Launch layout editor"
Click monitor 1, select layout.
Click monitor 2, select layout.
✔ Expected Behavior
Each of my dual monitors would previously retain their own different layout.
❌ Actual Behavior
Each monitor mimicked the exact layout of the other monitor. Can't have two different layouts on each screen.
Other Software
No response

Me too.... I think I have some data that can be helpful.
I have 4 monitors, 3 of 4 are all the same even thought the applied-layouts.json clearly has a different applied-layout/uuid defined. So why does the 4th one work? Its a different type of monitor. All of my monitors report by the tool with the exact same serial number. (See below)
All added by the editor as 2231 but in fact they are 2231, 2308, 2257
Sadly editing the file and putting the correct SN's doesnt fix it. This makes me think that the editor isnt the issue but whatever global function interpits the monitor SN must be busted. Perhaps the bug only happens when you have identical make/model (but diff serial numbers). I guess ill drop to a older version and see if it goes away, this wasnt a problem before but I rebuilt my PC today.
{
  "applied-layouts": [
    {
      "device": {
        "monitor": "AOC2402",
        "monitor-instance": "5\u00269ddbf8d\u00260\u0026UID413952",
        "serial-number": "2231",
        "virtual-desktop": "{00000000-0000-0000-0000-000000000000}"
      },
      "applied-layout": {
        "uuid": "{06024AFE-7636-4BF3-9199-FADCA1A6DE7B}",
        "type": "custom",
        "show-spacing": false,
        "spacing": 0,
        "zone-count": 3,
        "sensitivity-radius": 20
      }
    },
    {
      "device": {
        "monitor": "TCL0000",
        "monitor-instance": "5\u00269ddbf8d\u00260\u0026UID413959",
        "serial-number": "0",
        "virtual-desktop": "{00000000-0000-0000-0000-000000000000}"
      },
      "applied-layout": {
        "uuid": "{93272CCF-5B5C-4A96-B041-3819AAEEFFE6}",
        "type": "columns",
        "show-spacing": true,
        "spacing": 16,
        "zone-count": 3,
        "sensitivity-radius": 20
      }
    },
    {
      "device": {
        "monitor": "AOC2402",
        "monitor-instance": "5\u00269ddbf8d\u00260\u0026UID413957",
        "serial-number": "2231",
        "virtual-desktop": "{00000000-0000-0000-0000-000000000000}"
      },
      "applied-layout": {
        "uuid": "{4A1FBDEA-3BA6-46B6-840A-7BC71C6B44F6}",
        "type": "custom",
        "show-spacing": false,
        "spacing": 0,
        "zone-count": 4,
        "sensitivity-radius": 20
      }
    },
    {
      "device": {
        "monitor": "AOC2402",
        "monitor-instance": "5\u00269ddbf8d\u00260\u0026UID413955",
        "serial-number": "2231",
        "virtual-desktop": "{00000000-0000-0000-0000-000000000000}"
      },
      "applied-layout": {
        "uuid": "{136686AB-3D8B-48E3-A5F5-48AF08FA5DF0}",
        "type": "custom",
        "show-spacing": false,
        "spacing": 0,
        "zone-count": 5,
        "sensitivity-radius": 20
      }
    }
  ]
}

Another update, I removed .60 with
choco uninstall powertoys
then install 59.1
choco install powertoys --version=0.59.1
Works again, its just a bug in .60

Looks like a /dup #19203 ,
We released a fix for it on 0.60.1: https://github.com/microsoft/PowerToys/releases/tag/v0.60.1


Google Mobile Friendly user agent not detected

google offers a mobile test inside the webaster tools here:
https://www.google.com/webmasters/tools/mobile-friendly/
the used agent string  is not detected as a mobile client
"Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

This issue is a concern to me too. It seems the cut for robots in the code is not inclusive enough of these cases where the 'Googlebot' string is buried later in the UA string.

It is a robot.  If the name field of the parsed user agent is "Googlebot-Mobile" and you do a reverse IP lookup** of the client and it is, in-fact, Google, you can special case your code to return your mobile website.
** While a reverse IP lookup could still be forged by the owner of the IP space (verses a reverse and forward lookup that can't),  the reverse lookup alone will weed out almost all fake google bots if response time is of the critical.  Keep in mind that most bots claiming to be google are not really google.

I found that the Google adwords mobile bot was not detected as a robot. I will post some sample code.
I don't think many of us are doing reverse IP lookups due to the performance overhead. For us it's more important to classify roughly than have it 100% accurate. We know some people will fake the UA. Besides if UADetector doesn't indicate a robot we wouldn't do a reverse lookup anyway.

@jugglingcats, @PlusMinusNull started the thread and he was having the reverse issue.  i.e. He wanted Google's bot, which tests/index sites as if it is a mobile client, to get classified as a mobile client, but it's getting classified as a bot.
I was only recommending the reverse lookup for the exceptional case when you want to treat a bot as a real user.  In that case you could potentially conserve resources, as only a fraction of the bots claiming to be Google are actually Google, and you wouldn't serve up your site to the fake ones.

My bad, I misread the original post. I will do some more testing and raise a separate issue for the Google adwords bot detection. Thanks.

I have the same problem as the OP: I want my application to treat the Googlebot-Mobile like a mobile client (and redirect it to the mobile page).
Right now, I use uadetector for checking if the user agent is categorized  into: ReadableDeviceCategory.Category.SMARTPHONE - but the mobile google robot is categorized from uadetector (correctly) as 'OTHER'
When debugging, I found that there is a field ReadableUserAgent.name which contains the value
Googlebot-Mobile
Do you think it's an acceptable way to check the value of this field for the concrete val Googlebot-Mobile?

+1 to a resolution for this, added the obvious fallback (parse lower case user-agent string for "mobile") in case UA not detected.

We're facing a similar issue. Funny enough, the user agent
Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
is recognized as Robot while the user agent
Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
is classified as Mobile Browser.

I agree with @phjardas for our use case (robot detection) we would like both to be classified as Robot, but can see that the opposite view is equally valid, eg. for site adaptation for mobile browsers.
Would it be an idea to separate robot into a separate field/flag, because increasingly robots are presenting themselves with different user agents specifically with the aim of interpreting sites from the perspective of different devices.

+1 for the separation of bot-ness into a separate boolean flag.


🚀 Feature Request: Use edge-preview-authenticated-proxy running in workerd for remote-mode dev

Describe the solution
Use edge-preview-authenticated-proxy running in workerd for remote-mode dev

Closing in favour of the startDevWorker work, which will effectively do this


[HeroSystem6eHeroic] Line item delete functionality added. Updated styling.

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Added functionality:
•	Expanded line item delete function to include martial maneuvers, skills, powers, talents, and complications.
•	Health reset buttons now also abort the delete mode.
Style updates:
•	Added text area scroll bar styling when viewed in Firefox or Chrome.
•	Improvements to alignment of power input fields and check boxes.
•	Changes to maneuver and targeting styles to make these consistent with powers, talents, and complications.
•	Improved the visibility of maneuver, martial maneuver, targeting, and treasure selection buttons.

Character Sheet Info Roll20 Internal Use only.


Tolerate Exemplars in Unexpected Metric Types

Proposal
As suggested in the following thread https://github.com/helidon-io/helidon/issues/6318, Prometheus ServiceMonitors should not outright reject the entire /metrics EP that have unexpected exemplars in some of its data, especially since it is expressed as commented output.
Would be better to log this as a WARNING and continue parsing the EP
This will help future proof metrics that could one day support examplars in the OpenMetrics specs

Duplicate of #11982


Syntax issue

[Enter feedback here]
About the “Once your account is create”, I think it should be "Once your account is created". plz check
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2bb93356-67a7-32cd-fd3b-cdce20871675
Version Independent ID: a5c1d845-10eb-c72e-4560-ff2206c4ee7e
Content: Overview of the Woodgrove Groceries demo - Microsoft Entra
Content Source: articles/active-directory/external-identities/customers/overview-solutions-customers.md
Service: active-directory
Sub-service: ciam
GitHub Login: @msmimart
Microsoft Alias: mimart

@phoenix-repo
Thanks for your feedback! We will investigate and update as appropriate.

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


Hotfix/column row fix

Purpose
Currently, a number of youtube videos in the Getting Started Page have menu bars that disappear on mouseover and have non-functional buttons. Additionally the page is very improperly formatted with rows and columns extremely disorganized.
Closes Issue #2640
Changes
Organized rows and columns into proper formats.
Side Effects
Fixes youtube problem and improves page organization

Can you bring this up to date with osf develop?

I'm working on it.  Need to redo a lot of it


institutions view is missing relations to other institutions and places

in the original data we have relations like preceding institution https://apis.acdh.oeaw.ac.at/apis/entities/entity/institution/152447/detail

Apperently we decided on those relations: https://github.com/acdh-oeaw/apis-instance-oebl-pnp/blob/main/apis_ontology%2Fmanagement%2Fcommands%2Frelations.py#L15
Are there others apart from institution-institution that are missing in this list?

InstitutionInstitution is the only missing relationtype


The robot collided with an obstacle

I wanted to experiment in an actual environment, so I only ran the SLAM node and the FE node (without running the simulation node). My robot was performing well initially, but it collided with the final obstacle(as shown in the picture). Is it an issue related to inappropriate parameter settings of the FE? Could you tell me the solution?

Hi,
You can try increasing the expansion_size value. If this does not work for your problem, try increasing the robot_r value.
The expansion_size value should be increased to prevent the robot from moving too close to defined obstacles on the map. The robot_r value represents the offset distance used by the collision avoidance system when the robot approaches dynamic or static obstacles that are not marked on the map.
https://github.com/abdulkadrtr/ROS2-FrontierBaseExplorationForAutonomousRobot/blob/0a1ec895ff0de1272968e7c2d7e741f3909c3596/autonomous_exploration/config/params.yaml#L3
https://github.com/abdulkadrtr/ROS2-FrontierBaseExplorationForAutonomousRobot/blob/0a1ec895ff0de1272968e7c2d7e741f3909c3596/autonomous_exploration/config/params.yaml#L5

I would like to ask if you could delete this issue. I sincerely apologize for any inconvenience this may cause and greatly appreciate your understanding and cooperation in resolving this matter.
Thank you for your prompt attention to this request.

I’m glad to hear that your issue has been resolved. I have closed this issue but decided not to delete it for future reference. This way, others who encounter the same problem can look at this discussion to resolve their issues.


Go indexer: Fix a field-initializer ordering bug. [phab:D1803]

Created by fromberger at 2017-07-26 01:03:40:
When decorating the initializers of key-value fields in composite literals, the
code was not correctly checking for fields out of declaration order. Add some
tests that omit fields and permute the declaration order, and verify that the
now fixed code correctly handles these.
Note that the solution in this case involves a linear scan over the field
names, but most struct types are small enough that I don't expect this to
matter.

zarko accepted this revision at 2017-07-26 01:09:57

fromberger closed via commit 57c8dc7906019b01da9a2745273e4f1fbac2a4bf at 2017-07-26 01:51:47


Switch to updating a checkrun.

checkruns will be created by webhook handler down the road, or by stickler-ci application code.

Codecov Report

Merging #229 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #229      +/-   ##
==========================================
+ Coverage   89.73%   89.77%   +0.03%
==========================================
  Files          42       42
  Lines        2368     2376       +8
==========================================
+ Hits         2125     2133       +8
  Misses        243      243

Impacted Files
Coverage Δ

lintreview/repo.py
96.7% <100%> (+0.23%)
:arrow_up:

lintreview/processor.py
100% <100%> (ø)
:arrow_up:

lintreview/review.py
95.87% <100%> (ø)
:arrow_up:

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 eb7f620...6306b18. Read the comment docs.


Use TryRegisterClassMap for Concurrency-Safe Class Map Registration in MassTransit-MongoClient Integration

Version
8.x
On which operating system(s) are you experiencing the issue?
Windows, MacOS, Linux
Using which broker(s) did you encounter the issue?
RabbitMQ, Azure Service Bus, Amazon SQS, ActiveMQ, In-Memory, Mediator, Kafka, Azure Event Hub
What are the steps required to reproduce the issue?
Configure MassTransit to use MongoDB as the persistence provider.
Run the MassTransit application with the MongoDB integration in a concurrency scenario where multiple operations involve the same RegisterClassMap.
What is the expected behavior?
The integration between MassTransit and MongoClient should handle concurrent operations, ensuring the proper registration of class maps without any concurrency errors.
TryRegisterClassMap should be used in place of RegisterClassMap.
What actually happened?
During concurrent operations, occasional concurrency errors occur when registering class maps using the RegisterClassMap method in MongoClient within MassTransit. This results in inconsistent behavior and may lead to incorrect data processing.
Related log output, including any exceptions
System.ArgumentException: An item with the same key has already been added. Key: <<Key>>
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at MongoDB.Bson.Serialization.BsonClassMap.RegisterClassMap(BsonClassMap classMap)
   at MassTransit.Configuration.MongoDbSagaRepositoryConfigurator`1.<Register>g__MongoDbCollectionFactory|4_0[T](IServiceProvider provider) in /_/src/Persistence/MassTransit.MongoDbIntegration/Configuration/Configuration/MongoDbSagaRepositoryConfigurator.cs:line 50
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at MassTransit.MongoDbIntegration.TransactionMongoDbContext.GetCollection[T]() in /_/src/Persistence/MassTransit.MongoDbIntegration/MongoDbIntegration/TransactionMongoDbContext.cs:line 95
   at MassTransit.Configuration.MongoDbSagaRepositoryConfigurator`1.<>c__4`1.<Register>b__4_1(IServiceProvider provider) in /_/src/Persistence/MassTransit.MongoDbIntegration/Configuration/Configuration/MongoDbSagaRepositoryConfigurator.cs:line 68
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at MassTransit.DependencyInjection.DependencyInjectionSagaRepositoryContextFactory`1.<>c__DisplayClass6_0`1.<<Send>g__CreateScope|0>d.MoveNext()
--- End of stack trace from previous location ---
   at MassTransit.DependencyInjection.DependencyInjectionSagaRepositoryContextFactory`1.<>c__DisplayClass6_0`1.<<Send>g__CreateScope|0>d.MoveNext() in /_/src/MassTransit/DependencyInjection/DependencyInjection/DependencyInjectionSagaRepositoryContextFactory.cs:line 98
--- End of stack trace from previous location ---
   at MassTransit.Middleware.CorrelatedSagaFilter`2.MassTransit.IFilter<MassTransit.ConsumeContext<TMessage>>.Send(ConsumeContext`1 context, IPipe`1 next) in /_/src/MassTransit/Middleware/CorrelatedSagaFilter.cs:line 46

Link to the PR in the MongoDB repository that resolves the issue
https://github.com/mongodb/mongo-csharp-driver/pull/979

Easy enough, changed them all.


Relative Links

Lemmy/kbin doesn't have a way to link to posts irrespective of the instance currently. Users will post links that link to pages on their own instance, disrupting the flow of people on remote instances.
This addon should replace links posted by remote users that link to their own instance with links on the KES user's instance.
For example<EMAIL_ADDRESS>with kbin.social/m/kbinmeta.
This is more intended for comment and post direct links than simple magazine links like in the example though.
Use https://kbin.social/search?q= to find the local version of the remote page. Just put the url after the q= and kbin will spit out the local url in its reply.
Not all remote content might exist on the local isntance though, so this should be handled properly. Maybe add a tooltip or something that it will be opened on another instance?

When using the search query, make sure to escape characters:

: -> %3A
/ -> %2F


Makes WINDOW_TITLE_HEIGHT visible to derived classes

This is a branch off of #153 only the last two commits are new.
Previously WINDOW_TITLE_HEIGHT was internal to Window.cpp and unavailable to derived classes for GUI element positioning. This PR makes the variable a compile-time constant and visible to derived classes through a getter.

The base branch has been merged. Please rebase on master. (This may be important as the base branch has had some history edited).

My guess is, the second last commit could have been an independent change, which didn't depend on #153. That one commit could have been it's own PR, and perhaps even merged before #153 was merged. Looks like the last commit could have become part of #153 in that case, if the second last commit had been merged there as well. Just some thoughts about how to make changes more independent.

To clarify: Rebase on second-to-last or last commit on master?


How to disable scrolling when pressing spacebar?

Hi I am doing a page with an editor in it. The editor that I'm using is summernote editor. The editor works by changing a textarea into a div shaped rich text editor. This is where the problem kicks in.
Because the rich text editor is in div format, everytime spacebar is pressed, smooth scrollbar will trigger the scroll down effect.
Is there anyway to disable the spacebar scrolling login on smooth scrollbar?

Inside your editor, try:
editor.addEventListener('keydown', (event) => {
    event.preventDefault();
    // or
    // event.stopPropagation();
});

Spacebar scrolling is fixed via #210. Please update your scrollbar to v8.4.1 :)


🎉 Flow Typing 🎉

This was a pretty huge project, and I'm certain that mistakes have been made, but we might need to rely upon the community to find them all.

Codecov Report

Merging #3138 into master will decrease coverage by 0.06%.
The diff coverage is 99.61%.

@@            Coverage Diff             @@
##           master    #3138      +/-   ##
==========================================
- Coverage     100%   99.93%   -0.07%
==========================================
  Files          68       68
  Lines        1452     1440      -12
==========================================
- Hits         1452     1439      -13
- Misses          0        1       +1

Impacted Files
Coverage Δ

src/actionTypes.js
100% <ø> (ø)
:arrow_up:

src/defaultShouldValidate.js
100% <ø> (ø)
:arrow_up:

src/index.js
100% <ø> (ø)
:arrow_up:

src/FormSection.js
100% <ø> (ø)
:arrow_up:

src/structure/plain/expectations.js
100% <ø> (ø)
:arrow_up:

src/structure/plain/keys.js
100% <ø> (ø)
:arrow_up:

src/SubmissionError.js
100% <ø> (ø)
:arrow_up:

src/immutable.js
100% <ø> (ø)
:arrow_up:

src/defaultShouldAsyncValidate.js
100% <ø> (ø)
:arrow_up:

src/util/eventConsts.js
100% <ø> (ø)
:arrow_up:

... and 58 more

Continue to review full report at Codecov.

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

@erikras the action creators need to indicate which arguments are optional.
For example
const change: Change = (
  form: string,
  field: string,
  value: any,
  touch: boolean,
  persistentSubmitErrors: boolean
): ChangeAction => ({
  type: CHANGE,
  meta: { form, field, touch, persistentSubmitErrors },
  payload: value
})

should be
const change: Change = (
  form: string,
  field: string,
  value: any,
  touch?: boolean,
  persistentSubmitErrors?: boolean
): ChangeAction => ({
  type: CHANGE,
  meta: { form, field, touch, persistentSubmitErrors },
  payload: value
})

at least according to the API docs

Hi @gausie, please open a new issue for this.


Add Audited Field to Patient

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

What are we trying to do?

Adding a boolean field to Patients that denotes whether the patient fulfillment has been audited.

What feature or behavior is this required for?

Avoiding archiving fulfilled patients until they have been audited, up until a certain point.

How could we solve this issue? (Not knowing is okay!)

Add the field and tie archiving into it. Add a failsafe to archive regardless after X days.

Anything else?

We need to hash out what the timeline looks like for archiving fulfilled patients with audit and without.
We strongly want to err towards code that supports best practices.
Tagging in @alisonnjones and @colinxfleming

I'm on it!

resolved via #1524


Remove extraneous mount cli aliases

Follow up to #24872
Adding too many aliases makes the UX worse. Let's just add a couple that are shorter than the original values.

/cc @tiborvass @stevvooe

💩

I agree there's way to many ways to express the same things, and we'll regret that.
My vote goes to source / src, and destination / dst. The rest can come later.

Should we drop name (which only works for volumes), target (now that we have dst/destination), and path (kind of ambiguous unless you use name) ?

I think name is useful (at least; I expect to be able to use a "volume" with name "foo")

Sure, it makes sense with volume, and my original PR only allowed it for volumes. With the current aliases this is valid:
--mount bind,name=/etc/foo,path=/etc/foo

Keyless values are not implemented. The following is valid:
--mount type=bind,name=/etc/foo,path=/etc/foo

@stevvooe @dnephin If we don't reach an agreement immediately, whatever is in master will ship as is and we'll have to maintain. Can you work together and make some compromises? :)
I'm okay with whatever you guys decide so long as there are not 15 ways of doing the same thing.

I'm okay with getting rid of "dest" and "destination".

I'm not okay with getting rid of destination. If i see source i think destination.

I'm okay with removing dest

And whatever we decide, please open against bump branch too to gain time.

Okay, remove dest.

#25144 opened against bump branch

LGTM

LGTM

Removing that one from the milestone is it was also submitted against the bump branch.


Feature request: Allow fractional shares (no rounding) in discrete allocation (post-processing)

Is your feature request related to a problem?
Somewhat (see below for more info).
Describe the feature you'd like
Market allows to purchase fractional shares (e.g. crypto). Currently implemented post-processing methods in discrete_allocation.DiscreteAllocation do not allow that - they by default do rounding without option to disable that.
The idea is to include an argument rounding: bool or similar that allows to either do rounding or not while doing post-processing discrete allocation.
Additional context
None.

This is great suggestion, maybe you could do it by yourself then open the PR, or you could wait for the next release.


Forum has 500 Internal Server Error

Challenge Name

N/A
Issue Description

I'm getting a 500 Internal Service Error when making a reply on the forum. I didn't see a place to submit bugs on the forum so I'm posting it here. I had another camper in the chat room confirm that they are getting the same error.
Browser Information

Browser Name, Version: Chrome, 51
Operating System: OS X, El Capitan
Mobile, Desktop, or Tablet: Desktop

Your Code

Screenshot

I can confirm this. Blank page when going to http://forum.freecodecamp.com/
Checked the console.
right.js:22 Uncaught TypeError: Cannot read property 'version' of null http://forum.freecodecamp.com/  Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Browser Information

Broswer Name, Version: Chrome, 51
Operating System: Windows 10
Mobile, Desktop, or Tablet: Desktop

I had the same issue. Seems to be back online now.

Please open on https://github.com/FreeCodeCamp/discourse
/cc @m-henderson


update packagist link in home with query="zendframework/zend"

@samsonasik the proposed link is about Packagist project itself. Thanks anyway!


Split load/run game to enable setup event

This adds the :setup event with requisite changes to the VM.
The idea is that active NPCs, or the player, can be teleported to their correct places before the loaded
scene is ever shown.
This removes the problem of having the player (or NPC) "flash" in the wrong place before appearing in the correct one.

Seems cool :)

Merci!


Typescript support

TippyProps is currently missing the appropriate types to be able to use this library with typescript.

Whats missing?

I'm noticing that props autocomplete is not working + passing invalid types like delay={true} is not erroring.
I think the culprit is the [key: string]: any that allows you to pass anything in (for plugins), but it should probably be removed and force the user to create strict types?
interface Props extends LifecycleHooks {
  // ...
  [key: string]: any;
}

Apologies for not responding to this sooner. I should have put more detail into what was actually wrong.
This seemed to fix the issue. Thanks for responding so quickly.


Adding box-shadow property, removing '$0' and adding max-(width/height)

Adding a box-shadow property as I keep having to Google the parameter order, bonus that this also addresses one of the three support issues https://github.com/dsandstrom/atom-css-snippets/issues/18
Default parameter outputs put a Material Design-style card shadow emphasising the container "floating".
Also outputs a comment at the end of the line with the parameters for reference.

Also addressed:
https://github.com/dsandstrom/atom-css-snippets/issues/17
by removing the trailing '$0' at the end of snippets; tested on latest Atom with no issues

Aaand just addressed https://github.com/dsandstrom/atom-css-snippets/issues/19 by adding max-width and max-height!

Awesome work.  I added some inline comments.

Have committed some adjustments based on your feedback!

Thanks @neromaki


Add some more fields to the volcano preset

The wiki says that there are two more tags that can be added to a volcano.

Sounds good 👍

btw, I use the "preset" label for things that are .json config only, and the "field" label for things that require custom programming in the fields code - sorry that is confusing!


Automated Package Upgrade

:tada: This PR is included in version 7.7.312 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Help, difficult phenotype to describe

Although I'm sure  @JackyVH  had this in one of Ken's papers. I can't find the terms used...
In contrast, for3􏰀 cells produced nonequivalent daughters;one daughter grew only in a monopolar manner at the old end, while the other daughter immediately initiated growth from both ends and proceeded to grow in a bipolar manner (Figure 1a,b). Thus, one daughter (the monopolar cell)exhibited no NETO(or a greatly delayed NETO), while the other daughter (the bipolar cell) exhibited premature NETO. These patterns occurred in the large majority of cell divisions(85%ofcell divisions, n 􏰂 52). Analyses of lineages over multiple generations and of lineages using morphological characterization of mothers showed that both bipolar cells and monopolar cells divided to produce one bipolar daughter and one monopolar daughter (75% of cell divisions with monopolar mothers [n 􏰂 16]; 81% of cell divisions with bipolarmothers[n􏰂22]).

I need somthing which means  "exclusively monopolar and bipolar daughter cells"

this is intertesting (although I can't think of a way to capture it!)
Although the extent of these abnormal mor- phologies was variable among cells,bipolar cells generally grew into lemon-shaped or bottle-shaped cells,while monopolar cells were more rod-shaped or bent.

daughter cells with in equivalent growth polarity?

That is for the first one obviously

could we add this as a comment to the term?
Almost every cell (97%)that inherited the birth scar from two cell divisions prior becomes the cell with a bipolar growth pattern

It's not very clear to me what term(s) you're requesting here -

"exclusively monopolar and bipolar daughter cells"
daughter cells with in equivalent growth polarity?

Neither of these strings makes sense.
But ... is there any overlap between this and the stuff in #2938? That one hasn't been resolved because we all moved on to other things after I raised some questions. It might not be exactly the same thing, but it still might make sense to tackle them together.
It looks like a similar question came up in #2926 but we punted it then.

That should have been
daughter cells with inequivalent growth polarity
(this is the phrase used to describe the phenotype in the paper)
definition One daughter cell is exclusively monopolar, and one dauughter is exclusively biopolar
I think https://github.com/pombase/fypo/issues/2938
is different but related.
Here cells never grow  in a bipolar manner (although I would need to look at the paper again to be sure)
For this one the paper is
PMID:11696322

I think I may have this sorted in #3614 (new terms for the latest paper from Maitreyi's lab) ... check it out and see if the terms there will work for this ticket.

Reopen this if the terms added for #3614 & #3699 don't sort it out.


Installing on macOS

What steps or special requirements do I need to install this library on a mac?

I would recommend using the tarball published at http://hyperdex.org/src/ and use the typical ./configure && make && make install.  I have not tested it on a Mac, so I cannot speak to any specifics.  If you encounter trouble I can try to help you debug it.


[BUG] submodule sync failing with cmake json parse error

The submodule sync job is failing with this cmake error:
[2024-07-24T11:33:27.796Z] [INFO]      [exec] CMake Error at /home/jenkins/agent/workspace/jenkins-spark-rapids-jni_submodule-sync-dev-3471/target/libcudf/cmake-build/_deps/rapids-cmake-src/rapids-cmake/cpm/detail/pinning_write_file.cmake:278 (string):
[2024-07-24T11:33:27.796Z] [INFO]      [exec]   string sub-command JSON failed parsing json string: * Line 145, Column 4
[2024-07-24T11:33:27.796Z] [INFO]      [exec]
[2024-07-24T11:33:27.796Z] [INFO]      [exec]     Missing ',' or '}' in object declaration
[2024-07-24T11:33:27.796Z] [INFO]      [exec]
[2024-07-24T11:33:27.796Z] [INFO]      [exec]   .
[2024-07-24T11:33:27.796Z] [INFO]      [exec] Call Stack (most recent call first):
[2024-07-24T11:33:27.796Z] [INFO]      [exec]   /home/jenkins/agent/workspace/jenkins-spark-rapids-jni_submodule-sync-dev-3471/target/libcudf/cmake-build/_deps/rapids-cmake-src/rapids-cmake/cpm/detail/pinning_root_dir_hook.cmake:29 (rapids_cpm_pinning_write_file)
[2024-07-24T11:33:27.796Z] [INFO]      [exec]   /home/jenkins/agent/workspace/jenkins-spark-rapids-jni_submodule-sync-dev-3471/target/libcudf/cmake-build/_deps/rapids-cmake-src/rapids-cmake/cpm/generate_pinned_versions.cmake:102 (include)
[2024-07-24T11:33:27.796Z] [INFO]      [exec]   CMakeLists.txt:DEFERRED

Filed rapidsai/cudf#16384.

This issue should already be fixed in rapids-cmake.


Two issues with GeneratorYield in the context of yield*

@ajklein and I found two issues with the proposed version of GeneratorYield and how it's used in the evaluation of yield*.  What is special about the yield* use case is the fact that the inner iterator result (innerResult in <IP_ADDRESS>), which is passed to GeneratorYield, may be a user-created object.

Getting this object's value or done property may throw, but GeneratorYield fails to account for abrupt completions of IteratorValue and IteratorComplete.

By the time GeneratorYield gets called, the object's done property has already been retrieved, e.g. in <IP_ADDRESS>.a.v.  This means that yield* will observably [[Get]] the done property twice, which I think is incomprehensible from a user perspective.

seems to be fixed by https://github.com/tc39/proposal-async-iteration/pull/87 ?


Transfers of Care

Edit functionality doesn't work. (PUT)
Could you please check it: http://prntscr.com/i86npg
Related issue: https://github.com/PulseTile/PulseTile/issues/64
https://github.com/RippleOSI/Ripple-Qewd/issues/67

Try PUT /api/patients/:patientId/events/toc/:sourceId   (edit Transfer of Care) on dev now and let me know if it works OK

it works, thank you


iso19115-2 to dcatus publisher

related to #4878

add responsible parties module

responsible parties are grouped by role ( e.g. publisher, originator, pointOfContact, etc.. ) which is processed by the util self.consolidate_iso191152_rparties. I confirmed with johnathan this is correct to do.

add internal contact processing

i ended up having to move module "instance" (quoted because ruby modules can't be instantiated only classes can) vars outside the unpack method to under the module declaration to get the contact processing to work. unit testing for citation produced a nil error during contact create when those vars were inside unpack so clearly there's some scope things occurring.

Checklist

[x] reader tests
[x] transformation tests
[x] response tests

i'm going to do a writeup justifying my decision to move those instance vars

background
ruby instance vs class variables

@var is an instance variable ( used here )
@@var is a class variable ( not used here )
information on instance vs class vars
i didn't make the call to use instance variables vs class but the utility of both is that module function calls can now access those vars via @var or @@var

mbjson contact information

mdtranslator manages contact information internally (i.e. mdjson) in a unique way different from other types of information.

example of contact information in ISO19115-3

there's several helper functions in each reader which are responsible for managing contacts

fgdc example

explanation for change

it's only in Iso191152.unpack that contacts is turned into an instance var. the contact helpers functions refer to contacts as an instance var (i.e. @contacts) so in order for the helpers functions to work properly Iso191152.unpack has to happen prior. that shouldn't be the case. that data should exist without the need for that function call so we can unit test module_responsibility without calling Iso191152.unpack (which would be a very silly thing to do)

@jbrown-xentity


Tweak editorconfig

⚠ this is based on #35 ! don't merge it until #35 is merged
at the behest of https://github.com/spenserblack/actions-wiki/pull/35#pullrequestreview-1349523245

Left a few nitpicks.
Additionally, could you update .editorconfig in this PR? I'm thinking
indent_style = tab
indent_size = unset (so we don't force our opinions on tab size)

don't merge it

Perhaps mark this as a draft?
Also, you (or I) can cherry-pick 6fb8945 into #35. Or just merge it.

don't merge it

Perhaps mark this as a draft?
Also, you (or I) can cherry-pick 6fb8945 into #35. Or just merge it.

🤷♂


No line break after paragraphs?

I'm trying to render multiple paragraphs. The rendered texts show no breaks between paragraphs, which makes it very hard to read:

As a comparison, here's the same text rendered on the web:

Is it possible to show line breaks? I tried adding marginBottom in paragraph's custom styles, like so:
        const customStyles = StyleSheet.flatten({
          paragraph: {
            marginBottom: 7,
            fontSize: 14,
          },
        });

It doesn't work. @raphaelpor @Canedo  could you help?

Hello @natashache .
I'll take a look about that issue in the next couple days. Can you provide us how your data is coming? How the contentState is on your scenario? It'd help a lot!
Thank you for your issue!

Hi @Canedo
The contentState is from our database, which is stored as string.
After fetching the data from the database, I do this:
            blocks = getRNDraftJSBlocks({
                contentState: JSON.parse(soundcast.long_description),
                customStyles,
            });

where soundcast.long_description is the content state string from the database. And then in render function I have:
                <View style={[styles.section, { paddingTop: 31 }]}>
                    {
                        blocks
                    }
                </View>

Here is an example of JSON.parse(soundcast.long_description). Sorry it's kind of long.
{ entityMap: {},
  blocks:
   [ { key: 'cb1uu',
       text: 'Despite promises of "fast and easy" results from slick marketers, real personal growth is neither fast nor easy. The truth is that hard work, courage, and self-discipline are required to achieve meaningful results--results that are not attained by those who cling to the fantasy of achievement without effort.',
       type: 'unstyled',
       depth: 0,
       inlineStyleRanges: [Object],
       entityRanges: [],
       data: {} },
     { key: 'acahp',
       text: 'Personal Development for Smart People reveals the unvarnished truth about what it takes to consciously grow as a human being. In this course, you\'ll learn practical, insightful methods for improving your health, relationships, career, finances, and more. You\'ll see how to become the conscious creator of your life instead of feeling hopelessly adrift, enjoy a fulfilling career that honors your unique self-expression, wake up early feeling motivated, energized, and enthusiastic, achieve inspiring goals with disciplined daily habits and much more.',
       type: 'unstyled',
       depth: 0,
       inlineStyleRanges: [Object],
       entityRanges: [],
       data: {} },
     { key: '8t85h',
       text: 'With his refreshingly honest yet highly motivating style, Steve Pavlina will help you courageously explore, creatively express, and consciously embrace your extraordinary human journey.',
       type: 'unstyled',
       depth: 0,
       inlineStyleRanges: [Object],
       entityRanges: [],
       data: {} } ] }

Here is what it looks like when rendered on the web:

And here is what it looks like when rendered on mobile app, using react-native-draftjs-render. As you can see, no space between paragraphs:

@Canedo any update on this?

Hello @natashache!
Could you please try this?
const customStyles = StyleSheet.flatten({
  unstyled: {
    marginBottom: 7,
    fontSize: 14,
  },
});

It's because the type of the blocks is unstyled. So I think you need to use it in your styles.
😉


Fix package name in examples

Received malformed response from registry for "babylonjs-dice". The registry may be down.

Oh my bad, it renamed to @planarally/dice!

I've fixed the examples in the dev branch.

fixed import
fixed older APIs that have been reworked
Added example meshes

The webpack example should be buildable and runnable if you have a simple http server in the examples folder e.g. python3 -m http.server or something similar

Hmm. Nope.
I did npm run build and got this (after quite a long wait and I thought my laptops fans were going to exit the building):
npm run build

><EMAIL_ADDRESS>build
> rimraf dist && webpack

asset bundle.js 4.83 MiB [emitted] [minimized] [big] (name: main)
orphan modules 8.31 MiB [orphan] 897 modules
runtime modules 1.13 KiB 5 modules
cacheable modules 10.1 MiB
  modules by path ./ 10.1 MiB
    ./src/index.ts 3.38 KiB [built] [code generated]
<EMAIL_ADDRESS>+ 869 modules 8.3 MiB [built] [code generated]
<EMAIL_ADDRESS>+ 7 modules 14.2 KiB [built] [code generated]
    ./node_modules/ammo.js/builds/ammo.js 1.8 MiB [built] [code generated]
  path (ignored) 15 bytes [built] [code generated]
  fs (ignored) 15 bytes [built] [code generated]

WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  bundle.js (4.83 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (4.83 MiB)
      bundle.js

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

Then I tried python3 -m http.server and all I get is a blank page.

I think the problem is that the meshes etc. folders are outside of the webpack folder, and since the web server index is inside the webpack folder, it can't reach them.

I tried running the web server from one folder up but got the same errors in console.

The meshes are provided as an example and thats why they're in the example folder.  The idea is that if you incorporate this somewhere you have a place to host the meshes. (or in the future a default set will be included in the lib itself).
That said you can perfectly run this with the python server if you start the server in the examples folder.  How are you accessing the webpack example? If you host the server in the examples folder it should work from the http://localhost:8000/webpack/index.html endpoint. Another approach is to simply copy the meshes inside the webpack folder and adjust the load url.
A last thing, the build really shouldn't take that long.

Ah.. I was trying from <IP_ADDRESS>, as the python server instructed. Didn't try localhost. Eureka! It works!

Haha woo!
Yeah it's still in an early phase, didn't really expect someone to find it ;)
But I expect to work this out more properly as I plan to use it for my own program (planarally).
So feel free to let me know of any complaints

What is planarally going to be?

It's my virtual tabletop software :D (https://github.com/Kruptein/PlanarAlly)


BrowserExitLock not working on WASM

I have configured the BrowserExitLock on our application. And for the Blazor server everthing works fine.
But on WASM when I try to close the tab no warning is shown.

That's strange, since it was originally developed for WebAssembly and Server was more of an afterthought.
Can you provide more details about your environment?  What versions of all the framework and related packages are you using?  Did you place all the component code usages in the right places?

Thanks for the response. Indeed I found the error. Some JS file where corrupt. After fixing that it works perfect! Thanks


Audio Distance

So this is something that just started happening, the audio distance on the radio seems to only be about 200 metres before it cuts out and you cant hear anyone outside of that 200m, walk back near and it works
Does anyone have any idea on it at all?

I've found this issue as well, seems the script is just outdated and no longer being maintained


Register

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/111718
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.5 -m "<description of version>" aa7ece5958437a02dd748710c9c7fa64fb55232d
git push origin v0.2.5


Restructure and Refactor the file structure and code

Description
As our project advances towards the integration of additional chains and functionalities, it becomes imperative to enhance the organization of our codebase for improved maintainability and clarity. The proposed solution involves a thorough refactor of the current folder structure, specifically segregating functionalities into distinct folders.
Objective
To establish a more organized and scalable folder structure that accommodates the growing complexity of integrating various chains and functions seamlessly.
Proposed Changes
Introduce a refined folder structure that categorizes functionalities based on their respective chains. Specifically, create separate folders for each chain, where the related contracts and associated functions will reside.
Example
project-root/
|-- chain1/
|   |-- contracts/
|   |-- functions/
|-- chain2/
|   |-- contracts/
|   |-- functions/
|-- shared/
|   |-- common/
|   |-- utilities/
|-- other_folders_and_files...

According to the proposed changes,  I'll resturcture the project like this. Please review it once @mbcse, then i'll raise a PR. Thank you!
project-root/
|-- chain1/ (e.g., Ethereum)
|   |-- contracts/
|   |   |-- Contract.ts
|   |   |-- deploy.ts
|   |   |-- draft.ts
|   |   |-- interact.ts
|   |-- functions/
|   |   |-- mint.ts
|-- chain2/ (e.g., Polygon)
|   |-- contracts/
|   |-- functions/
|-- shared/
|   |-- common/
|   |   |-- Infura.ts
|   |-- utilities/
|       |-- ProgressBar.ts
|-- documentation/
|   |-- docs/
|   |   |-- Contracts/
|   |   |   |-- category.json
|   |   |   |-- deploy.md
|   |   |   |-- draft.md
|   |   |   |-- initializeContract.md
|   |   |   |-- interact.md
|   |   |-- Upload/
|   |   |   |-- category.json
|   |   |   |-- initializeFileStorage.md
|   |   |   |-- uploadCollection.md
|   |   |   |-- uploadSingle.md
|   |   |-- generate.md
|   |   |-- intro.md
|   |-- src/
|   |   |-- components/
|   |   |-- css/
|   |   |-- pages/
|   |   |-- static/
|   |-- .gitignore
|   |-- README.md
|   |-- babel.config.js
|   |-- docusaurus.config.js
|   |-- package-lock.json
|   |-- package.json
|   |-- sidebars.js
|   |-- tsconfig.json
|-- examples/
|   |-- layers/
|   |   |-- background/
|   |   |-- first character/
|   |   |-- fourth character/
|   |   |-- second character/
|   |   |-- third character/
|   |-- abi.json
|   |-- account.json
|   |-- connection.json
|-- tests/
|   |-- Arweave.spec.ts
|   |-- Collection.spec.ts
|   |-- Contract.spec.ts
|   |-- Infura.spec.ts
|   |-- NFTstorage.spec.ts
|   |-- Pinata.spec.ts
|   |-- Storj.spec.ts
|   |-- test.png
|   |-- test_specs.json
|-- .eslintignore
|-- .eslintrc.json
|-- .gitignore
|-- LICENSE
|-- README.md
|-- package-lock.json
|-- package.json
|-- tsconfig.json
|-- workflows.png

hi @mbcse can i work on it


Where to get git on AL9

There is no rush on this - it's a question of how to avoid git atrophy with time.
On the SL7 GPVM nodes the system git was ancient, v<IP_ADDRESS>.  That was OK since we got an up-to-date git from UPS.  We did the UPS setup in mu2einit.
On AL9 the system git is 2.43.0, which  fairly recent.  We are not currently loading a version of git in our spack view.  As it happens the most recent version in /cvmfs/mu2e.opensciencegrid.org/packages/git is 2.40.0, so a little older than the system.
We should decide what we want moving forward.  Do we want CSAID to keep the system git reasonably up to date?  Or do we want to include it in our spack view?  Do we want to make this decision together with the online group or on our own?
When discussing this, do we need to consider control over the timing of new git releases and the possibility of the need for a rollback?  We could decide that git is mature enough that we can ignore this.  In that case, asking the system people to do it is the least work for us.
I don't know what the AL9 people at the lab intend to do with versions of the system git moving forward.  I have put in a ticket to learn about it RITM2140247 .

From Seth Graham:

Our support for git is "we install whatever the OS provides." RHEL does not to do major version updates within an OS release, so the /usr/bin/git available now will remain about the same for RHEL9's entire lifecycle. It will get bug fixes and security updates backported to it.
So if you need to change versions more often than that.. you should probably continue to use the version in cvmfs.

This sounds definitive.  The OS people do not plan to keep git up to date, end of story.

I would wait to change source until the version in spack is at least as
recent as the version provided by the OS.
On Mon, Jun 24, 2024 at 9:42 AM Rob Kutschke @.***>
wrote:

From Seth Graham:
Our support for git is "we install whatever the OS provides." RHEL does
not to do major version updates within an OS release, so the /usr/bin/git
available now will remain about the same for RHEL9's entire lifecycle. It
will get bug fixes and security updates backported to it.
So if you need to change versions more often than that.. you should
probably continue to use the version in cvmfs.
This sounds definitive. The OS people do not plan to keep git up to date,
end of story.
—
Reply to this email directly, view it on GitHub
https://github.com/Mu2e/Muse/issues/110#issuecomment-2186989203, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAH572D53TDLZWHIRGZA5DZJBD7HAVCNFSM6AAAAABJ2BCRQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWHE4DSMRQGM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
David Brown            @.***
Office Phone<PHONE_NUMBER>
Lawrence Berkeley National Lab
M/S 50R5008 (50-6026C)  Berkeley, CA 94720

I would wait to change source until the version in spack is at least as recent as the version provided by the OS.

Yes.  I think we all agree on that
After discussing with Kyle and Marc, I have opened an issue  in a CSAID issue tracker to discuss this and other products that we used to get via UPS, suchs  as gitflow, gdb, valgrind ... .  Let's mostly move this conversation to that issue
   https://github.com/FNALssi/spack-at-fnal/issues/2

We can use the current issue if we want to discuss some things in house before presenting a consensus to Kyle and Marc.


spotfire-workerhost image build not working

Getting below error while trying to build spotfire-workerhost image
odbcinst: SQLGetPrivateProfileString failed with .
The command '/bin/sh -c scripts/install-odbc-drivers.sh' returned a non-zero code: 1
make: *** [spotfire-workerhost] Error 1
##[error]Bash exited with code '2'
Can anybody help me resolve this.
Thanks in advance.

It is resolved.


Fix: Correctly manage route tables for database subnets when multiple NAT gateways present

Description
Original pull request from @y-batsianouski  (https://github.com/terraform-aws-modules/terraform-aws-vpc/pull/494).
I'm taking it forward because the aforementioned author no longer has interest in carrying the PR forward.
The module fails when trying to add the NAT gateway route to the database route table when there is more then a single NAT gateway. Fixes https://github.com/terraform-aws-modules/terraform-aws-vpc/issues/516
Motivation and Context
In particular, I want to enable the NAT gateway route for the database route tables. When I tried that by setting the following options,
  database_subnets  = [
    "<IP_ADDRESS>/22",
    "<IP_ADDRESS>/22",
    "<IP_ADDRESS>/22",
    "<IP_ADDRESS>/22",
    "<IP_ADDRESS>/22",
   ]

  enable_nat_gateway       = true
  one_nat_gateway_per_az   = true
  single_nat_gateway       = false

  create_database_subnet_route_table = true
  create_database_nat_gateway_route  = true
  create_database_subnet_group       = false

it fails with:
Error: Error creating route: RouteAlreadyExists: The route identified by <IP_ADDRESS>/0 already exists.
	status code: 400, request id: 6739c57a-097a-433d-a032-28fe6835033f

Error: Error creating route: RouteAlreadyExists: The route identified by <IP_ADDRESS>/0 already exists.
	status code: 400, request id: c4ab4221-dcc8-4eb0-b976-e5f15f6c7f47

Error: Error creating route: RouteAlreadyExists: The route identified by <IP_ADDRESS>/0 already exists.
	status code: 400, request id: 99a91d24-cb7b-4b4c-90db-e68e8faf1625

Error: Error creating route: RouteAlreadyExists: The route identified by <IP_ADDRESS>/0 already exists.
	status code: 400, request id: ad82436e-223e-4f90-91e9-5b12fc096c11

The problem lies here:
The database route table: https://github.com/terraform-aws-modules/terraform-aws-vpc/blob/master/main.tf#L231-L232
The database route rule for adding the nat gateway: https://github.com/terraform-aws-modules/terraform-aws-vpc/blob/master/main.tf#L257-L260
Only one database route table for all of the database subnets is created, but when enabling the create_database_nat_gateway_route and one_nat_gateway_per_az option, the database route rule resource expects there to be more then 1 database route table. However, what ends up happening is that it tries to modify that single database route table the same number of times there are nat gateways which causes the above RouteAlreadyExists error.
The solution would be to create multiple database route tables when both create_database_nat_gateway_route and one_nat_gateway_per_az are enabled, then it should work as expected.
Breaking Changes
There are no breaking changes as this particular behavior was not working beforehand. The changes here preserve the existing behavior if there is only a single nat gateway.
How Has This Been Tested?
The following cases have been tested:
Case 1
module "vpc-test" {
  ...
  cidr             = "<IP_ADDRESS>/16"
  azs              = ["us-east-1a", "us-east-1b"]
  public_subnets   = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
  private_subnets  = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
  database_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]

  single_nat_gateway                     = false
  create_database_subnet_route_table     = true
  create_database_nat_gateway_route      = true
  ...
}

Creates 2 route tables for database subnets. Points each route table to appropriate NAT gateway
###Case 2
module "vpc-test" {
  ...
  cidr             = "<IP_ADDRESS>/16"
  azs              = ["us-east-1a", "us-east-1b"]
  public_subnets   = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
  private_subnets  = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
  database_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]

  single_nat_gateway                     = true
  create_database_subnet_route_table     = true
  create_database_nat_gateway_route      = true
  ...
}

Creates 1 route table for all database subnets. Points route table to single NAT gateway
Case 3
module "vpc-test" {
  ...
  cidr             = "<IP_ADDRESS>/16"
  azs              = ["us-east-1a", "us-east-1b"]
  public_subnets   = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
  private_subnets  = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
  database_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]

  create_database_subnet_route_table     = true
  create_database_nat_gateway_route      = false
  create_database_internet_gateway_route = true
  ...
}

Creates 1 route table for all database subnets. Points route table to internet gateway
Case 4
module "vpc-test" {
  cidr             = "<IP_ADDRESS>/16"
  azs              = ["us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d", "us-east-1f"]

  public_subnets   = [
  "<IP_ADDRESS>/24",
  "<IP_ADDRESS>/24",
  "<IP_ADDRESS>/24",
  "<IP_ADDRESS>/24",
  "<IP_ADDRESS>/24",
]
  private_subnets  = [
    "<IP_ADDRESS>/19",
    "<IP_ADDRESS>/19",
    "<IP_ADDRESS>/19",
    "<IP_ADDRESS>/19",
    "<IP_ADDRESS>/19",
  ]

  database_subnets  = [
    "<IP_ADDRESS>/22",
    "<IP_ADDRESS>/22",
    "<IP_ADDRESS>/22",
    "<IP_ADDRESS>/22",
    "<IP_ADDRESS>/22",
   ]

  enable_nat_gateway       = true
  one_nat_gateway_per_az   = true
  single_nat_gateway       = false

  create_database_subnet_route_table = true
  create_database_nat_gateway_route  = true
  create_database_subnet_group       = false

Creates 5 route tables, one per az for the database subnets; each of the route tables has a corresponding route rule to one of the NAT gateways. This is similar to case 1.

Thanks @Chili-Man to handover this changes!

@antonbabenko @DrFaust92 any chance you guys can take a look at reviewing / merging this in?

@antonbabenko @DrFaust92  anything I can do to help get this pr reviewed/merged in ?

Hi @Chili-Man !
Thanks for this update. I can't promise when I have time to review such non-trivial PR, but maybe other people can review it and comment on it faster.

no worries @antonbabenko , I've tried pinging @DrFaust92 as well but to no avail. Is there anyone else I can ping ?

Maybe somebody from @terraform-aws-modules/triage-supporters can review and verify various cases.

@antonbabenko   @terraform-aws-modules/triage-supporters  it's been a month now since this pr was open; can I do anything from my side to show you guys that the various cases have been properly verified?

Hey @Chili-Man, ill try to take a close look at this the coming week.

thanks @DrFaust92 ; let me know if there's anything you need to get this through

would we get this merge into master?

@DrFaust92 @antonbabenko  any updates on this?

Happy new years @DrFaust92 @antonbabenko ; any chance we can get an update on this?

Happy new years @DrFaust92 @antonbabenko ; any chance we can get an update on this?

@antonbabenko @DrFaust92  hey what I can do to help push this through

@antonbabenko @DrFaust92  hey what I can do to help push this through

Tested by running simple vpc example with database_subnets on main branch and than upgrading by switching to this branch.
upgrade worked fine and created multiple subnets as expected. and reducing to a single one again when single nat is enabled.
@antonbabenko LGTM 🚀

thanks @DrFaust92 , appreciate the review!

Thanks @Chili-Man for being so patient for 4 months!
v2.72.0 has been just released.

@antonbabenko thank you for getting it merged in 💯


Ports required for POC servers

Hello Team,
Can you please let me know how many ports do we require to setup a POC server setup, below is my setup I am planning to have
Load balancer----> Webserver ( Web zone) ----> App zone(Application server)---> DB

Hi @psadineni,
Where does PCF Dev play into this POC? Again, general CF questions should go to cf-dev@, and questions about PCF Dev should go here.
Thanks,
Stephen

PCF dev planning in App zone, as all my applications are in app zone , where as I get requests to webzone requests from external world and internal world as well. present infrastructure is designed ( traditional data center) in such a way that LB gets the requests and based on the requests it will be distributed to external webservers or internal and after authentication it will be routed to App servers.

Stephen do you have any answer for this how many IP's do we require for this.

I'm not sure that I understand your question, but I think you're trying to do something with PCF Dev that we wouldn't encourage. PCF Dev is designed to run in a Virtualbox VM on your local machine, and only be accessed by the host. It's not designed to run in a data center, and it's not secure enough to allow untrusted external access.
We will eventually have secure distributions of PCF Dev for various cloud platforms (ex. AWS).

On the whole we cannot use the Pivotal in a productive env is that correct
Stephen?, or do we have any alternative to use Pivotal as a service in data
centers.
On Wed, Sep 21, 2016 at 10:46 AM, Stephen Levine<EMAIL_ADDRESS>wrote:

I'm not sure that I understand your question, but I think you're trying to
do something with PCF Dev that we wouldn't encourage. PCF Dev is designed
to run in a Virtualbox VM on your local machine, and only be accessed by
the host. It's not designed to run in a data center, and it's not secure
enough to allow untrusted external access.
We will eventually have secure distributions of PCF Dev for various cloud
platforms (ex. AWS).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pivotal-cf/pcfdev/issues/141#issuecomment-248634697,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUFuuZnT8_qBjOPJHVzFTv-XK9jjA35Wks5qsUMzgaJpZM4KB9-b
.

--
Thanks & Regards,
Praveen Kumar S
+91<PHONE_NUMBER>

You should not use PCF Dev in a production environment. You can certainly use a full PCF or CF installation in a production environment.

If I am using Full PCF how many ports do i need as per my scenario.
On Wed, Sep 21, 2016 at 11:10 AM, Stephen Levine<EMAIL_ADDRESS>wrote:

You should not use PCF Dev in a production environment. You can certainly
use a full PCF or CF installation in a production environment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pivotal-cf/pcfdev/issues/141#issuecomment-248642310,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUFuuWapCVhMO-rLn1Gg-k7GHdEzicNVks5qsUjqgaJpZM4KB9-b
.

--
Thanks & Regards,
Praveen Kumar S
+91<PHONE_NUMBER>

If you are a PCF customer, I'm sure Pivotal support would be happy to answer your questions about this. If you are not a PCF customer, I recommend asking this question on the cf-dev mailing list with more details.
This issue tracker is for PCF Dev, which is a different product from CF or PCF.


Add the ability to provide a default message

Is it possible to check if the injection failed,
for example:
I want to be able to check if the injection failed to find the message, if so then display a default.
Could you allow the creation of something like:
Localizer#inject(key, defaultMessage);

Dear Kieron,
well, that depends on the error that is occuring internally. For example, if there simply is no translation of a specific key in one language but that specific key is still available in the fallback language set inside I18N's configuration it will default back to the fallback translation if instructed to do so (see the Configuration Guide). If no translation is available in the fallback language either, the localization will fail with "ENOTRANS". If you should thus ever encounter an "ENOTRANS" message you should rather interpret it as a hint to an incomplete fallback translation which is why I do not really think a default message is generally needed. Providing such a default message inside the plugin's code would break up the clear distinction between displayed text and code that I18N is striving to achieve.
In case I should have misunderstood you, feel free to comment again so that I may rework my answer.
Best regards,
BlackyPaw.

Yeah, okay that's all good, I understand.


Extensions viewlet: home / end strange behavior

Refs: #20440

Extensions viewlet, have the whole list of extensions with @sort:installs
Press end key - the very last elements gets focussed (there are like thousands)
Press up / down -> the bottom of the huge list gets revelaed
Press home -> the first element gets selected but does not get revelead

So there are two werid things here:

Home / end should reveal the element in the tree
End with an infinite list of items is weird and should be disabled

End with an infinite list of items is weird and should be disabled

Why? Works fine after my fix.

Ok - it is just a bit weird that end takes me to a random location and there are still items beneath it. But I think it is fine in the end

@isidorn hm, for me I get to the last element of the list. If that was not working, the scrollbar would also be wrong. But maybe there are cases where the list actually does not know how many elements there are. In that case I would need API from the list to actually continue to resolve until the end.

@bpasero got it. Still not something we need to stress about imho

Works for me on Linux. End brings me to the last element.


Fix Travis builds (Closes #160)

The problem was that the current lockfile requires bundler 2, so this includes changes to expose that error more obviously and install the latest bundler.


Question: Immutability of reliable dictionary results not an issue here?

Regarding the StockService.PurchaseProduct and AddStock methods, isn't immutability of the product object returned from the lookup an issue in that the same result object is updated and set back into the IReliableDictionary?
I thought it was necessary to deep copy returned objects before updating properties and setting the dictionary entry again as shown in this article.
Just wondering if I'm missing something... Thanks!

Yes you are correct that a deep copy of the object must be completed before assigning updated values. We'll get this fixed up so it doesn't cause confusion. Immutable objects are a great way to prevent this type of error.

Thanks for the clarification Todd - appreciate it.


test:assertFail sould retrun never

test:assertFail sould retrun never otherwise user has to put a fake return after assertFail just to make the compiler happy.

@manuranga Can you provide us a use case where you had to add a fake return?


Feature : Pagination sharable comopnent

Resolves #56
Description
This PR includes the following changes:

Introduced a loader for our website
Implemented a reusable pagination component.
Implemented a reusable search component
Implemented a reusable Searchapi component
Integrated the pagination and searching component into the all pagea.
updated the types

Checklist

[x] Pagination component is reusable.
[x] Pagination is functional on the all pages.
[x] Searchcomponent is reusable.
[x] Seachapiendpoint correctly working
[x] Loader is working
[x] no extra api calls

media

pagination component
light mode

dark mode

SearchBar component

Loader component

working
https://github.com/user-attachments/assets/544654bc-608e-4258-ad7c-41e23dd36c1d

Great work! It seems the very first load still  makes 2 requests
I commented on some components but changes should be made on all of them:

it's cause of react strictmode


Weekend

fixed tests that did not include the now parameter
added support for weekend, weekdays

Pull Request Test Coverage Report for Build 46

18 of 18 (100.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 98.718%

Files with Coverage Reduction
New Missed Lines
%

timefhuman/data.py
2
96.83%

Totals

Change from base Build 44:
-0.3%

Covered Lines:
616

Relevant Lines:
624

💛  - Coveralls


Define the "standard" way to handle accepting pointers as the start of another walker

There's a bit of an inconsistency in how walkers are joined together.
As an example, to connect something to the array walker we use:
gdb-pipe ... | array $cur->underlying_array; 4
While to connect something to the gcc-gimple walker we use:
gdb-pipe ... | eval $cur->gimpl_seq | gcc-gimple
Should decide whether nested iteration should be done through avoiding the first argument or evaluating it.
Currently leaning towards evaluating the first argument, but this depends on whether the code looks just as nice (i.e. whether a new implementation of self.call_with can be made just as convenient).

Another thing to look out for is whether using expressions everywhere means the programmatic interface gets more ugly.


Alertmodule - message serialization

Hello - Thanks for the very best IoT end to end implementation guideline. Learnt a lot.
While working on module 5 to setup a alert module,   i found that below is line
---- BEGIN ORIGINAL CODE
var alertMsg = JsonConvert.DeserializeObject<Alert[]>(messageString)[0];
---- END
This was causing an deserialization error - reporting that the input messagestring  is not a Json Array.
When i replaced it with the below correction,  IT WORKED FINE so was wondering may be you had a setting where in messagestring was a Json array ??
--- BEGIN MODIFIED CODE
var alertMsg = JsonConvert.DeserializeObject < Alert >(messageString);
-- END

sorry for the slow response - for some reason github is not alerting me to issues...   the json going into the alert module comes from teh output of the ASA module.  Perhaps that behavior changed in newer versions of that module such that it doesn't do an array if it's outputing only one item?  I'd have to check


multiplication table extension added

Description
Added a multiplication table extension
Fixes:  #1178
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Please review my pull request @Sulagna-Dutta-Roy

I made a new pull request #1405 . Please review it @Sulagna-Dutta-Roy


ORDER keyword for sequences is not supported by mssql

Environment
Liquibase Version: 4.5.0
Liquibase Integration & Version: CLI
Liquibase Extension(s) & Version:
Database Vendor & Version: Microsoft SQL Server 2017 (RTM-CU12) (KB4464082) - 14.0.3045.24 (X64)
Operating System Type & Version: Windows 10
Description
The documentation states at https://docs.liquibase.com/change-types/create-sequence.html that
the ordered attribute of createSequence entitiy is supported for mssql. But when running the generated SQL or the changeSet against a MS SQL Server
I get an Error 'Incorrect syntax near the keyword 'ORDER'.', without ORDER the statemant works as expected.
Steps To Reproduce
List the steps to reproduce the behavior.

use createSequence entity with ordered="true" to generate a sequence as doen here:

<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
                   xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">

  <changeSet id="Test" author="Me">
    <createSequence sequenceName="MY_DUMMY_SEQUENCE" startValue="1" incrementBy="1" ordered="true" />
  </changeSet>
</databaseChangeLog>

run against MSSQL

Actual Behavior
Execution of createSequence fails.
Expected/Desired Behavior
Documentation is adjusted.

Fixed by #2549