[BIA-1168] Implement parallel calls to the API to generate the Json files.

[BIA-1168] Implement parallel calls to the API to generate the Json files.

We are missing something because data doesn't have the output json.


Model evaluation fails

On staging infra:

Traceback (most recent call last):
File "/usr/local/bin/decanlp", line 11, in
load_entry_point('decanlp', 'console_scripts', 'decanlp')()
File "/opt/decanlp/decanlp/tool.py", line 58, in main
main_fn(canned_argv)
File "/opt/decanlp/decanlp/server.py", line 251, in main
server.run()
File "/opt/decanlp/decanlp/server.py", line 198, in run
self._run_stdin()
File "/opt/decanlp/decanlp/server.py", line 176, in _run_stdin
sys.stdout.write(self.handle_request(line))
File "/opt/decanlp/decanlp/server.py", line 116, in handle_request
request = json.loads(line)
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 27-28: surrogates not allowed
Worker local/0 exited

There seems to be some UTF-8 encoding error. Perhaps something is encoded as two surrogate pairs instead of one UTF-8 character.

I found the culprit sentence is:
byt låt

(which Google says is Swedish for "change song").
I don't know how it ended up in the staging dataset. Regardless, it is correctly UTF-8 encoded in the dataset, and correctly UTF-8 in the dataset file.
I suspect one of two things:

aws sync is converting from UTF-8 encoding to some legacy encoding during download
decanlp is converting from legacy encoding to UTF-8, and choking on something that is already UTF-8
(nodejs ignores the character encoding anywhere and just blindly assumes UTF-8, which is the correct thing to do IMHO).

I cannot unfortunately reproduce the problem locally, even with LC_ALL=C. But I remember in the tokenizer I had to set env LANG=C.UTF-8, maybe we need the same in our images?

I found something in the python3 doc for sys.stdin https://docs.python.org/3/library/sys.html:

The character encoding is platform-dependent. Non-Windows platforms use the locale encoding (see locale.getpreferredencoding()).

 docker run  --entrypoint "python3" stanfordoval/almond-cloud:latest-decanlp \
        -c 'import locale; print(locale.getpreferredencoding())'
ANSI_X3.4-1968

The default locale in decanlp seems to be ANSI.  How about setting environment  PYTHONIOENCODING  to override stdio encoding to utf-8 as recommended in the doc?
PYTHONIOENCODING=UTF-8

Yeah we should be UTF-8 everything, so making sure Python uses that seems the best option.


initial commit

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

AWS CodeBuild CI Report

CodeBuild project: IDFModuleTestsInfrastructur-59JoFoVH64CI
Commit ID: 165dd5b34cfe310d77652857822397703d309f47
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


use consistent server/client terminology

use LangChain terminolgoy in ChatMessage.author
removes references to LLM in favor of Agent
scroll to bottom only when agent component displays chat
minor fixes in agent selector component

follow up to #24 -- TBR by @adamconnors


Add a new adopter

Ⅰ. Describe what this PR does
Add Asiainfo as Adopter

Ⅱ. Does this pull request fix one issue?
N/A

Ⅲ. Describe how to verify it
N/A
Ⅳ. Special notes for reviews
N/A
V. Checklist
N/A

welcome!!

/lgtm
/approve


[#6156] Refactor profile configuration

Codecov Report

Merging #6239 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6239      +/-   ##
==========================================
- Coverage   39.54%   39.54%   -0.01%
==========================================
  Files        3051     3051
  Lines       91429    91429
  Branches    11884    11884
==========================================
- Hits        36157    36156       -1
  Misses      52295    52295
- Partials     2977     2978       +1

Impacted Files
Coverage Δ

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0%> (-11.12%)
:arrow_down:

...p/pinpoint/rpc/stream/StreamChannelRepository.java
75% <0%> (-10%)
:arrow_down:

...ollector/cluster/zookeeper/ZookeeperJobWorker.java
79.53% <0%> (-1.4%)
:arrow_down:

...pinpoint/profiler/monitor/DeadlockMonitorTask.java
18.6% <0%> (-1.17%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.92% <0%> (-1.06%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
72.4% <0%> (+0.32%)
:arrow_up:

...cluster/zookeeper/ZookeeperClusterDataManager.java
54.83% <0%> (+1.93%)
:arrow_up:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
59.57% <0%> (+2.12%)
:arrow_up:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
85.36% <0%> (+2.43%)
:arrow_up:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
73.33% <0%> (+3.33%)
: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 81b6163...824a0ef. Read the comment docs.


terms defined in both the core and packages Google sheets

This has probably been documented somewhere else, but I haven't found it yet.
The following terms are defined in both the core and packages Google sheets. Unless a package in overriding one of the legitimately variant term attributes, then the terms should only appear in the core sheet. We may need to be more careful (in the LinkML model) about asserting which terms go with which checklists and which environmental packages.

adapters
alt
annot
assembly_name
assembly_software
biotic_relationship
chimera_check
collection_date
depth
elev
env_broad_scale
env_local_scale
env_medium
experimental_factor
geo_loc_name
host_disease_stat
host_spec_range
isol_growth_condt
lat_lon
lib_layout
lib_reads_seqd
lib_screen
lib_size
lib_vector
mid
nucl_acid_amp
nucl_acid_ext
pathogenicity
pcr_cond
pcr_primers
project_name
samp_mat_process
samp_name
samp_size
samp_vol_we_dna_ext
seq_meth
seq_quality_check
sop
source_mat_id
specific_host
subspecf_gen_lin
target_gene
target_subfragment
temp
trophic_level

Terms in the core are to identify which terms should be required/optional across new checklists.
Think of the core as a list of possible terms to use to build checklists and packages.
It is OK if terms are reused across checklists and packages.
This ticket can be closed, unless there is a new issue identified.

I believe we need to tidy the extensions to remove terms that are used in the checklists, we should never be in a situation where a term is in BOTH a checklist AND an extension, see problematic example of Depth in MIGS and Soil #672


feat(alert): add the ability to close the alert

Add brand style - https://www.sketch.com/s/f792aa60-01d9-472d-b53c-c74dd501ef9c?search=Molecules 🦠%2FBanners%2FDesktop%
Add ability to close banner - https://www.sketch.com/s/f792aa60-01d9-472d-b53c-c74dd501ef9c/p/banners
https://jira.zopa/browse/ZDS-22

you might need a bit more padding on the right if close icon present

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update jQuery and jQuery UI to 1.13

Acceptance Criteria

jQuery and jQuery UI are running recent stable versions
jQuery and jQuery UI versions are compatible with our supported browsers for 4.0 (IE11+, see https://github.com/silverstripe/silverstripe-framework/issues/6321)

Notes

This assumes the library upgrade does not require large changes to entwine or jstree libraries. Please investigate this early (run the entwine specs)
We'll need to find another solution for jQuery.browser in entwine (see https://github.com/hafriedlander/jquery.entwine/issues/32)
Entwine was updated to support jQuery 1.11 and 2.1 already a while ago
Currently running jQuery 1.7.2, jQuery UI 1.9.2,
jstree is compatible up to jQuery 3.x
jQuery UI 1.12 has a new theme and dropped IE10 support
jQuery 1.12 supports IE6+, jQuery 1.13 and newer support IE9+
jQuery will eventually be phased out, so this is a low value activity
We're discouraging using the framework bundled jQuery as project dependency (moved paths of jquery.js), and have removed support for using CMS JavaScript in projects (e.g. DateField.js)
We're proposing removing jQuery UI

Background
No longer relying on:

Buttons
Datepicker
Most dialogs

Still relying on:

Tabs in non-react sections
ToggleCompositeField
Login dialog (on session expiry) - should be removed via https://github.com/silverstripe/silverstripe-framework/issues/3384
Some ui-widget CSS styling
JSTree (jQuery)

It looks like we are going to upgrade to jquery 3.x now... probably 3.1.
https://blog.jquery.com/2016/07/07/jquery-3-1-0-released-no-more-silent-errors/

Is the 1 line no longer supported? Assuming it is, what are the pros/cons of moving away from it?
As I see it, cons are:

Use on front-end will now be limited because this version may not have the browser compatibility devs need
Upgrades required to entwine
We're moving away from jQuery in the CMS - so time invested in this may be better spent on something else

I've previously tried just upgrading the version of jQuery to the latest v1 and it's not easy, probably need the jQuery migrate plugin to really ease the pain.

I'm bumping this out of alpha2 for our open-sourcerers team's work; this seems like it'll be a distraction.

As a note, I've found that any potential upgrade to jquery ui is capped at 1.11, as 1.12 no longer supports ie10.
http://blog.jqueryui.com/2016/09/jquery-ui-1-12-1/

1.12 doesn't officially support ie10 but has the ie10 compat code in it. 1.13 is when it gets removed.

Note that the outcome of #6321 is that we can drop IE10 support and upgrade to 1.13

Entwine works just fine with current jQuery
We're not trying to fix any immedate bugs or browser incompatibilities with this upgrade
This is independant of versions used in bespoke projects
jQuery UI only really impacts tabs in Entwine UIs

Conclusion: Not essential for 4.0, since we're moving away from jQuery in new UIs anyway. At least, it's not worth 8 points.

Agreed - the only argument I can think of to upgrade these components is that they will stick around for the life of the 4 release and so we implicitly have to support them anyway - upgrading to get away from having to support ancient versions is perhaps in our long-term benefit.

I don't think any frontend library used in the CMS are part of a strict API - the frontend world moves way too quickly for this. Along the same lines, I doubt we'll be on React v16 in 2021

If we break modules on minor releases because we're changing JS libraries all the time, then that's not good - I think it does form part of a developer's API tbh

Instead of upgrading we'll likely continually remove dependencies on entwine / jquery until we can remove this library altogether. :)

jQuery 1.x is now EOL, but gets security fixes on a best effort basis: https://github.com/jquery/jquery.com/issues/162. I'd say that's good enough for us, given the usage patterns in the CMS. It's more impactful if newer browsers break old jQuery code.

After a bit of confusion, we've established that a) we're running jQuery 3.x in our CMS webpack builds, and b) we're also running jQuery 1.x on the global window object, because it's required by jQuery-ui.
We're also still shipping jQuery 1.x as part of the client/*/thirdparty/* and client/*/vendor/* folders, which is publicly accessible because they're copied into resources/. Most of these aren't actually included on the CMS (none of them?), so they're never executed. But any file-based security scanners will pick them up anyway

I've separated out the task of upgrading jQuery 3.x to the latest release, since our current one has a vulnerability: https://github.com/silverstripe/silverstripe-admin/issues/875

Changing to impact/high since this gets repeatedly flagged by audits, and gives SilverStripe sites an unnecessarily bad look - even if the real world exploit potential is small.

I'm not sure that embargoing this until SS 5.x is feasible; strictly speaking people's code might rely on these, but are they part of our Public API? It feels like "delete the code" is the more likely approach than "upgrade the code". We'd probably want to have a mechanism for people to add these back. Probably just "install it in your project yourself", but at least outlining this in the docs would be good.

@sminnee what would be the issue in including the old and updated version. the change could but opt in, so nothing would break for people using the old version. It would be great to have a config flag to load an updated version of jquery instead in the cms.
Ideally, the framework itself should provide a public api for including these kind of requirements, something like Jquery::requirements() that would include all things based on chosen config. This way, module providers could rely on this and everyone would use this api instead of including files based on their path. just a thought.

something like Jquery::requirements()

Hell no, if anything we're trying to decouple our CMS backend and frontend, not bake in more coupling like this. jQuery is an implementation detail of the CMS UI. For your own websites, we kindly provide a Requirements API which prevents you from withing <script> tags in your templates, but that's about it :)

@chillu

Sorry, inadvertently closed this issue :-)

@chillu We keep being pinged on this one by qualys/security scans for CWP clients as an outdated dependency. So for our clients, this carries quite a high priority. Can we get an explicit summary of when/if this will be worked on for core?

@Leapfrognz Yep this comes up often. We've previously said something along these lines on vendor responses:

JavaScript that interacts with the DOM poses a risk for end users as it enables attackers to deliver malicious
scripts over the web and run them on the user’s computers. For the vulnerable packages to be exploited, it requires the application to use the affected function, often in a particular way.

The SilverStripe CMS utilises an older version of jQuery. jQuery is used in large portions of the content management system, and has been ruled out for an upgrade in SilverStripe as it has been deemed too much effort for very limited gain. It should be noted that there are no known paths to exploit a vulnerability with this version of jQuery in this particular context. If such a vulnerability was found, it would be treated separately and patched by SilverStripe following our standard security release process.

The affected code file should only be referenced in the CMS, which is protected by authentication and should only be used by trusted staff. The jQuery version used in the CMS should not be used for the front-end website.

If your customer is still concerned about this, we can work with them (through you) on how they can fund an upgrade, but it won't be cheap.

We updated it


Test for repository loading

Fixes Issue
Refs: #148
Changes proposed

Created repos_test.go
Test: Load() of Repositories

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

BTW this test fails in CI, because there is no repo file exists. The test should be fixed to address that.

Yes , I will fix this


Kepler model

First step was to revamp the model. Used Keras Functional API and used up to date code for preprocessing. The models used are still strictly a linear regression model, and they seem to be inaccurate (but this is because the datasets only have 5 rows and are completely made up). Second step included implementing the prometheus scraper. All that is needed is to include the configuration data for the tfio.experimental.IODataset.from_prometheus which should be in the configuration yaml on Kepler. A temporary scheduler was also provided which will commence scraping and training every day at 12 am. This can be replaced with a cron job if necessary. A major todo would be to implement a function which will check the loss after training and only save the model if the loss is in an acceptable range. This should be further discussed when the kepler-model-server is tested using real metrics from kepler on AWS.

Also worthy of noting, I tried to figure out how to retrieve the weights and the corresponding feature names for the coefficients. However, I was only able to return the weights which in itself is not that useful. I don't think tensorflow allows getting corresponding feature names for the coefficients even though it is a regression model (unless I am mistaken). Workarounds could include having Kepler directly using the model server for prediction or having Kepler retrieve and work with the entire trained model.


Hangfire is not working for CosmosDB after migrating from MongoDB giving error: A bulk write operation resulted in one or more errors. WriteErrors: [ { Category : "DuplicateKey", Code : 11000, Message : "E11000 duplicate key error collection: Hangfire

We were using MongoDb in our project and Hangfire was working perfectly fine over there but after we have shifted to CosmosDb Hangfire has stopped working, we are using MongoClient only to connect to CosmosDB by passing CosmosDB connection string to MongoClient everything is fine with this MongoClient object but Hangfire is not working with this. It is creating Hangfire default collections into the CosmosDB and when we are trying to manually execute any of the jobs from Hangfire dashboard it gives us this error:
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]       An unhandled exception has occurred while executing the request. MongoDB.Driver.MongoBulkWriteException1[MongoDB.Bson.BsonDocument]: A bulk write operation resulted in one or more errors. WriteErrors: [ { Category : "DuplicateKey", Code : 11000, Message : "E11000 duplicate key error collection: bomHangfire2.core.hangfire.jobGraph. Failed _id or unique index constraint." } ].    at MongoDB.Driver.MongoCollectionImpl1.BulkWrite(IClientSessionHandle session, IEnumerable1 requests, BulkWriteOptions options, CancellationToken cancellationToken)    at MongoDB.Driver.MongoCollectionImpl1.<>c__DisplayClass30_0.<BulkWrite>b__0(IClientSessionHandle session)    at MongoDB.Driver.MongoCollectionImpl1.UsingImplicitSession[TResult](Func2 func, CancellationToken cancellationToken)    at MongoDB.Driver.MongoCollectionImpl1.BulkWrite(IEnumerable1 requests, BulkWriteOptions options, CancellationToken cancellationToken)    at Hangfire.Mongo.MongoWriteOnlyTransaction.Commit()    at Hangfire.Mongo.MongoConnection.CreateExpiredJob(Job job, IDictionary2 parameters, DateTime createdAt, TimeSpan expireIn)    at Hangfire.Client.CoreBackgroundJobFactory.<>c__DisplayClass15_0.b__0(Int32 _)    at Hangfire.Client.CoreBackgroundJobFactory.RetryOnException[T](Int32& attemptsLeft, Func2 action) --- End of stack trace from previous location where exception was thrown ---    at Hangfire.Client.CoreBackgroundJobFactory.RetryOnException[T](Int32& attemptsLeft, Func2 action)    at Hangfire.Client.CoreBackgroundJobFactory.CreateBackgroundJobTwoSteps(CreateContext context, Dictionary2 parameters, DateTime createdAt, TimeSpan expireIn)    at Hangfire.Client.CoreBackgroundJobFactory.Create(CreateContext context)    at Hangfire.Client.BackgroundJobFactory.<>c__DisplayClass12_0.<CreateWithFilters>b__0()    at Hangfire.Client.BackgroundJobFactory.InvokeClientFilter(IClientFilter filter, CreatingContext preContext, Func1 continuation)    at Hangfire.Client.BackgroundJobFactory.<>c__DisplayClass12_1.b__2()    at Hangfire.Client.BackgroundJobFactory.CreateWithFilters(CreateContext context, IEnumerable1 filters)    at Hangfire.Client.BackgroundJobFactory.Create(CreateContext context)    at Hangfire.RecurringJobExtensions.TriggerRecurringJob(IBackgroundJobFactory factory, JobStorage storage, IStorageConnection connection, IProfiler profiler, RecurringJobEntity recurringJob, DateTime now)    at Hangfire.RecurringJobManager.TriggerJob(String recurringJobId)    at Hangfire.RecurringJobManager.Trigger(String recurringJobId)    at Hangfire.Dashboard.DashboardRoutes.<>c.<.cctor>b__6_27(IRecurringJobManager manager, String jobId)    at Hangfire.Dashboard.RouteCollectionExtensions.<>c__DisplayClass4_0.<AddRecurringBatchCommand>b__0(DashboardContext context, String jobId)    at Hangfire.Dashboard.BatchCommandDispatcher.Dispatch(DashboardContext context)    at Hangfire.Dashboard.AspNetCoreDashboardMiddleware.Invoke(HttpContext httpContext)    at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.Invoke(HttpContext context)    at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)    at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
We have used this code into the Startup.cs file

public void ConfigureServices(IServiceCollection services)
 		{
 			services.AddScoped<IMailService, MailService>();
  			services.AddHangfire(config =>
  			{
 				var opt = new CosmosStorageOptions
  				{
 					MigrationOptions = new MongoMigrationOptions
  					{
  						BackupStrategy = new NoneMongoBackupStrategy(),
 						MigrationStrategy = new DropMongoMigrationStrategy(),
 					},
  					Prefix = "job.hangfire",
 				};
 				var mongoClient = new MongoClient(Configuration.GetConnectionString("DefaultConnection"));
 				GlobalConfiguration.Configuration.UseCosmosStorage(mongoClient, "Hangfire", opt);
 			});
			services.AddHangfireServer(serverOptions =>
  			{
 				serverOptions.ServerName = AppSettings.Environment.CurrentServer;
  			});
   			}

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
 		{
 						app.UseEndpoints(endpoints =>
 			{
				endpoints.MapRazorPages();
 				endpoints.MapHangfireDashboard("/jobs", new DashboardOptions{});
  			});
 			RecurringJob.AddOrUpdate<IMailService>("sendEmails", h => h.SendMails(), $"0 1 * * *");
 		}
}

And we have Our method SendMails() which is sending mail.
Problem is that hangifre.jobgraph table is not handled by us and hangfire only inserts and updates that table and in cosmos _id key is made unique by default, so, how can we fix this issue.

Hi @murtuza3436,
unfortunately I dont currently have access to a CosmosDB instance and the emulator is working very well. Is it a completely new setup? so there is nothing in the DB. It could be CosmosDB is not supporting Bulkwrites?
I will see if I cant get access to a CosmosDB instance.
Thanks

Oh I see you have migrated from Mongo. Maybe try a fresh start?
out of curiosity. Why did you change to CosmosDB?
Thanks

Yes, you can try and check it, it is giving error in Bulkwrites operation. Can you try it bit fast as I am stuck it in since last 20 days and I need it little urgently.
I tried it with a fresh installation as well but it is giving error in that as well.
In project I am working needs CosmosDB, so I migrated to that

@murtuza3436,
ok I see. I will prioritize this. :)
You can also try https://github.com/imranmomin/Hangfire.AzureCosmosDb. It hasnt had any commits for a while, so im not sure its still maintained.

@murtuza3436,
I have gained access to a CosmosDB instance and I can reproduce your issue.
However I do not yet understand why its throwing an duplicate key error. the _id is definitely not the same. I do have another unique index for a field "Key" Its fine for Mongo if the document does not have that field, but it might trigger something in cosmosdb. I will try to figure out what is going on.
if you can, you should consider the above link. its with the SQL driver however.

I have tried with Hangfire.AzureCosmosDb as well that is also not working

I've been following this conversation since yesterday or so. I was facing the exact same issue. I tried the latest fix that was submitted to the cosmosdb branch yesterday and that seemed to fix the problem for me. (Hangfire.AzureCosmosDb also wasn't working for me). Thanks @gottscj !

Thanks @gottscj for the fix. This changes are also working for me as well, you can merge this change into master and can create a package with this code, if no other issues are there from your side.

@murtuza3436 , @MrKingEd,
Thank you for testing this. I only have access to a free tier, so its somewhat limited what I can test.
I have just released v1.9.10 which should address your issues.
Please test this thoroughly in your setup before using this in any production environments! My tests has been quite limited!
Please also create a new issue if you experience issues in your findings, but you are most welcome to supply feedback in this thread if you are successfully using it.
Thanks!

@gottscj
Thank you so much for the prompt response, and resolving the issue.
Sure, we will test it thoroughly and will provide feedback regarding that as well.
Thanks!

closing.. please feel free to comment in this issue with feedback


Permission for use

I forked old version of your mod and did some changes in it.
Can I use this version of mod in my public modpack?

Sure


executeQuery() is not triggering

Hi,
I need to refetch a query but both,  client.query(Document) and executeQuery() is not getting called.
"@urql/exchange-auth": "^0.1.3", "@urql/exchange-multipart-fetch": "^0.1.12", "urql": "^2.0.4",

Our issue-template asks for a reproduction, it's hard for us to just help without having a proper way to look at this issue ourselves.

I did the yarn-deduplicate and now it works. Thanks!


Align project card with activity feed.

Summary
The activity feed is slightly vertically above the first project card on the homepage:

We should vertically align these.

https://github.com/jbx-protocol/juice-interface/pull/854


Update GWOSC URL

Hello,
I'm working with the GWOSC. We are in the process of adding links to this tutorial but we have noticed that it uses the old URL (www.gw-openscience.org) which redirects to gwosc.org. This PR uses the new URL.

Hi @duboism Ive updated the Live Script as well and merged your pull request. Can you please share the URL where you add links to this tutorial?

Hi,
That was super quick, thanks ! We don't know yet where we will add the link but we will let you know.

Perfect. Would be great if you could drop me a line at<EMAIL_ADDRESS>when this happens


Create typing effects

Accompany the poetic verse with inter-key typing delays and/or typewriter sounds.

Erik Temple's "Real-Time Delays" extension may be useful here.


docs(README): add en doc

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


Update read and write of time str that used by >= v11_2 (Dev)

Runs v11_2 (Dev) onwards use the string 'hhmmss' instead of 'HHMMSS' to refer to hours/minutes/seconds. Ignore this for all read-in cases and write out input files with new updated time string
Signed-off-by: ts551<EMAIL_ADDRESS>

I have not tested this, but I can only think it would effect someone's independent script to read the input.geos file. I have a script like this and intend to update the independent script to use 'hhmmss'/ignore the later part of the line. I will be running a few v10-01 runs later this week so we could hold of the pull until then. I don't think that is necessary.

Testing a single v10-01 run with the changes would be nice, if you don't mind carrying out that test and reporting back.

This test passed.


Enhancement: Update tailwindcss

This PR

[ ] updates tailwindcss

Possibly related to #910.
💁♂ For reference, see https://github.com/tailwindcss/tailwindcss/compare/v0.1.6...v0.4.0.

See https://github.com/tailwindcss/tailwindcss/releases/tag/v0.2.0, https://github.com/tailwindcss/tailwindcss/releases/tag/v0.3.0 and https://github.com/tailwindcss/tailwindcss/releases/tag/v0.4.0 for resolutions to broken build. I've been very pleased with their pre-1.0 upgrade guides on other projects I've used Tailwind on.


Remove all-caps from speaker tags in semi-diplomatic transcriptions

Speech prefixes are currently showing up as all-caps on the website. We don't want them to show up as upper case letters unless we type them as upper case letters in semi-diplomatic transcription files. The files should have the following <textClass> categories:
<catRef scheme="tax:emdDocumentTypes" target="cat:ldtPrimaryText">
<catRef scheme="tax:emdEditorialTreatments" target="cat:letOldSpelling">
<catRef scheme="tax:emdBookFormats" target="cat:lbfQuarto"> or <catRef scheme="tax:emdBookFormats" target="cat:lbfFolio">
<catRef scheme="tax:emdWorkTypes" target="cat:lwtPlay">
The speech prefixes are encoded with <speaker> in TEI (<span data-el="speaker"> in HTML).

@pszpak See "KING." (should be King.) on the lemdo-dev site at emdH5_Q1.html#emdH5_Q1_sp2

@LEMDO-PM I don't see "KING" in that context; I see "King". Is this ticket now obsolete?

Yes. I fixed that one and then forgot to close the ticket.


Logo and Name change

Please replace with the ACI logo on navigation bar:

Fix the name: The Alliance for a Conscious Internet
And make full logo showing on people/project pages:

done at staging but i ll be nice if I have logos in SVG to avoid pixelation

Here you go @ehab-hassan : https://drive.google.com/drive/folders/1YpI50TErbV02BeYK8px6icdZOox85Xip

@Vilnite thanks SVG updated


[maintenance/release-1.0] Updates Elasticsearch and Kibana versions

Elasticsearch and Kibana updated to address security vulnerabilities
ref: https://discuss.elastic.co/t/elastic-stack-6-6-1-and-5-6-15-security-update/169077

bors r+

bors r+


Prevent spam-clicking from accidentally request many scrims

From Nate:
When you request a scrimmage match, the button changes to a tick, but it is not disabled
So you can accidentally press it again and create another request

closing as subset of #362

closing as subset of #362


Missing content in Shogo

Next to the speed up of sound (see #37) there is also content missing in Shogo. Voices are missing during the start dialogue (only self is heard). Portraits with the spoken text are missing. Intro text during start new game is missing (press esc to skip).
These items work as intended with ReWarp.

It was an error on my machine. My FONTS: directory was corrupted. Portraits and spoken text now come up.
The starting text flickers, however (at start of a new game). But the content is now there so I am closing this.


0.63 Weather Underground Friendly Names Lost

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.63.0
Python release (python3 --version):
3.5.3
Component/platform:
Weather Underground
Description of problem:
In 0.62.1 all WUnderground entities had friendly names automatically populated (i.e. High Temperature Today). As of 0.63.0, these are now all the entity names (i.e. PWS_temp_high_1d_c).
I can't see any notes related to this in the latest release but haven't made any changes to this component in quite a while.
Expected:
Friendly names to remain, rather than having to add customize entries for every one manually.
Problem-relevant configuration.yaml entries and steps to reproduce:
  - platform: wunderground
    api_key: REMOVED
    monitored_conditions:
      - alerts
      - precip_today_metric
      - precip_1d_mm
      - precip_1d
      - precip_2d_mm
      - precip_2d
      - precip_3d_mm
      - precip_3d
      - relative_humidity
      - temp_c
      - temp_high_1d_c
      - temp_low_1d_c
      - temp_high_2d_c
      - temp_low_2d_c
      - wind_gust_kph
      - wind_gust_1d_kph
      - wind_kph
      - wind_1d_kph```

**Traceback (if applicable):**

**Additional info:**

Confirmed.

Me too ... and same problem in version 0.64 dev :(

Same here :/ Most probably due to the new entity registry. This line seems to be the culprit:
https://github.com/home-assistant/home-assistant/blob/678f284015a2c52f96a7687979cfd9f785e4527a/homeassistant/components/sensor/wunderground.py#L704
Before the entity registry the friendly name was manually set using ATTR_FRIENDLY_NAME (which was a bad way of doing so anyway)
https://github.com/home-assistant/home-assistant/blob/678f284015a2c52f96a7687979cfd9f785e4527a/homeassistant/components/sensor/wunderground.py#L687
and with the entity registry (which uses the name method) that no longer works. Hope that helps somebody that wants to fix this - should be relatively simple, but I don't have too much time on hand right now.

yeah, i want to know how to deal it?

Submitting a PR right now.

I want to know where the problem is，my own plug-in can not display  friendly name， can you tell me? thank you~

0.63.1 still displaying same issue  as VDRainer


RAINCATCH-539 - mediator

Motivation
Move source code and templates from demo apps into the module.
Setup module boundaries (example scenario).
Posting as example how we can move source code from demo apps into mobile.
Schema
mediator-subscribers deals call client actions
client itself is separated by mediator messages delivered by subscribers.
Review @witmicko @nialldonnellyfh @JameelB

LGTM


Could we add "withType" to the public API

It seems that when you want to create your own custom action creators on top of the ones from typesafe actions, that you sometimes need to use the "withType" method from utils. Indeed the documentation itself states that it is useful for 3rd party action creators.
However, I had to replicate the code in my own code base, since it is not exposed. Do you think it could be exposed, just as the documentation suggests? :)

The repo that is linked in issue #54 actually contains examples of why I needed withType - I think it’s when an action creator you specify calls upon another one that you also specified.

I'll try to find some time to look at this issue this week, or maybe even today. Will see.

@boostio funded this issue with $20. Visit this issue on Issuehunt

@issuehuntfest has funded $20.00 to this issue. See it on IssueHunt

@piotrwitek has submitted a pull request. See it on IssueHunt

@piotrwitek has rewarded $28.00 to @piotrwitek. See it on IssueHunt

:moneybag: Total deposit: $40.00
:tada: Repository reward(20%): $8.00
:wrench: Service fee(10%): $4.00


Stuck on trying to run tests non-headless

Heya
Im evaluating jest-puppeteer. and so im running the example.
It runs smoothly as is. but im now trying to run the test non-headless/headfull (?) and i get stuck.
i simply added the following as found in the README.md:
module.exports = {
  preset: 'jest-puppeteer',
  testRegex: './*\\.test\\.js$',
  launch: {
    headless: false
 },
  browserContext: 'default',
}

this triggers a bunch of validation warnings and stil run the tests headless:
● Validation Warning:

  Unknown option "launch" with value {"headless": true} was found.
  This is probably a typing mistake. Fixing it will remove this message.

  Configuration Documentation:
  https://jestjs.io/docs/configuration.html

● Validation Warning:

  Unknown option "browserContext" with value "default" was found.
  This is probably a typing mistake. Fixing it will remove this message.

  Configuration Documentation:
  https://jestjs.io/docs/configuration.html

Im pretty new to al this, so excuse any stupidity on my part, but I thought id share my troubles.

Hello @midgethoen, you mixed the jest-puppeteer.config.js and the jest configuration. It is two separated files. You should give another look to the documentation.

@midgethoen
try this
// jest-puppeteer.config.js
module.exports = {
  launch: {
    headless: false
 },
  browserContext: 'default',
}

// jest.config.js
module.exports = {
  preset: 'jest-puppeteer',
  testRegex: './*\\.test\\.js$',
}


Manage Conduit token within Jenkins UI

Currently, this plugin relies on the ~/.arcrc file. Instead, it would be better to allow the Conduit token to be managed in the Jenkins UI and be passed to arcanist with the --conduit-token flag.

This could possibly be done with a jenkins slave setup script, but I agree that this is a much better route.

Yes, this makes a lot of sense. I'll accept PRs or put it on the backlog for my mythical "free time"


Brainstorm of other UDFs to implement

Paired t-test
ANOVA
ANCOVA
MANOVA
(Multiple) Linear regression
(Multiple) Logistic regression
Wilcoxon Signed-Ranks test
Wilcoxon Rank-Sum Test (aka Mann-whitney U test)

@boaguilar you mentioned some others that we might want to implement?

Yes, the following is a list of potential additional statistical tests:

Benjamini-Hochberg multiple testing correction (implemented as a procedure)
Fisher exact test ( I implemented a version in javascript, still needs a little bit of testing )
I have also implemented Wilcoxon Rank-Sum tests
Chi Square test


⚠ Bofrost.es has degraded performance

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

HTTP code: 200
Response time: 1834 ms

Resolved: Bofrost.es performance has improved in 75803c6 after 7 minutes.


Add GlobalHeader

@macdonst you mentioned you wanted to try out GlobalHeader so I started with this one. I'll do PRs one by one so once this is merged I'll move on with Code as it was also on the list.

@icaraps sounds good but you don't have to do them all yourself. We should have a list and chip away at them together.

can you fix the minor issues around useState and a11y then merge?

Done thx !

The other questions like the adobe icon and making console/sign in props we can look at later.

If we release it in the current state and change it afterwards it's breaking. Can we decide now or do you need more time ?

minor issues around useState

Do you know if they can be catched and fixed by eslint ?

@icaraps my preference would be for console/sign in to be props. With regards to the logo it would be cool to see a story on how to specify a non-Adobe icon for folks.
I'm not aware of an eslint rule to fix that useState issue.

my preference would be for console/sign in to be props

Ok how do you want to name the props ?

With regards to the logo it would be cool to see a story on how to specify a non-Adobe icon for folks

+1

We should have a list and chip away at them together.

+1. I think GlobalHeader was a good first one. I don't really have a prioritized list but let me know if you do.

@icaraps leaving it as console and signIn works for me.

Mhh I don't know why the icon change is persistent across stories in this case ?

Mhh I don't know why the logo change is persistent across stories in this case ?

Found the problem. I was doing a shallow copy with the spread operator while I needed a deep copy of globalNav.
See https://github.com/adobe/parliament-ui-components/pull/42


How to resume playback after manipulating the timeline when in STATE_ENDED?

I am wanting to add a media item to ExoPlayer's timeline after the timeline is finished. I tried to do this when playback state is STATE_ENDED, but the commands do not appear to do anything.
Here is some code illustrating what I am trying to do. The added media item being the current media item is temporary while I try to figure this out. Note that playerHolder.getPlayer() returns a ForwardingPlayer that has no overrides and is wrapped around an ExoPlayer instance.
        override fun onPlaybackStateChanged(playbackState: Int) {
            super.onPlaybackStateChanged(playbackState)
            if (playbackState == STATE_ENDED) {
                playerHolder.getPlayer().addMediaItem(
                    playerHolder.getPlayer().currentMediaItem!!
                )
                playerHolder.getPlayer().play()
            }
        }

I have messed around a bit and notice it will work if I replace the playlist entirely and send the play command.
Also, I notice that this code does nothing at all
        override fun onPlaybackStateChanged(playbackState: Int) {
            super.onPlaybackStateChanged(playbackState)
            if (playbackState == STATE_ENDED) {
                playerHolder.getPlayer().play()
            }
        }

but if the user sends a play command through a MediaController after a timeline is over, then ExoPlayer will start playing the timeline again.
I am wondering why the two snippets above do not work, but something like below, where the playlist is replaced, does work.
        override fun onPlaybackStateChanged(playbackState: Int) {
            super.onPlaybackStateChanged(playbackState)
            if (playbackState == STATE_ENDED) {
                playerHolder.getPlayer().setMediaItems(
                    listOf(playerHolder.getPlayer().currentMediaItem!!)
                )
                playerHolder.getPlayer().play()
            }
        }

When in STATE_ENDED you need to seek to get out of STATE_ENDED. Like player.seekTo(C.TIME_UNSET) would be sufficient to get to the start of the last item and make playback resume.
I think this also applies to your case when adding an item.
What happens when you do
player.addMediaItem(itemToAppend)
player.seekTo(player.getMediaItemCount() - 1, C.TIME_UNSET)

?

Also, I notice that this code does nothing at all: playerHolder.getPlayer().play()

player.getPlayWhenReady() only changes when requested by the user. When in STATE_ENDED the player is still ready for playing and resumes after a seek without play() being called again. Calling play again is redundant and hence a no-op.

it will work if I replace the playlist entirely and send the play command.

When calling player.setMediaItems(items) this is delegated to setMediaItems(List<MediaItem> mediaItems, /* resetPosition= */ true) which implicitly seeks the default position of the first media items that is set.

You can ignore that last question. I found a workaround using onPlaybackStateChanged and the onClickListener of the UI's play/pause button.


Inspect automated cert methods (i.e. letsencrypt.org)

This might prevent missed cert renewals etc.

Moved: https://github.com/neptulon/neptulon/issues/40


next-on-output isn't working when focused on the first workspace

I have two monitors, workspace 1 and 2 assigned to each respectively
Running sway-workspace next-on-output doesn't do anything if I am focused on 1. I would expect it to create a new workspace 3 on the first monitor and switch to it.
sway-workspace -o next-on-output when focused on 1 prints "1"
I basically want to use this tool to have per-monitor independent workspaces and being able to switch to one on the same output, creating an additional workspace if none exist.

Hey, thanks for taking interest into the tool.
I get what you mean, but the tool is designed to go in order of workspace id. That said if you assign the workspace for example 5 to the second monitor, you will be able to move 1 to 4 freely.


AssetEntityImageProvider._loadAsync

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: PlatformException(Thumbnail request error, java.util.concurrent.ExecutionException: l2.q: Failed to load resource
There were 3 root causes:
s2.x$h(MediaMetadataRetriever failed to retrieve a frame without throwing, check the adb logs for .MetadataRetriever. prior to this exception for details)
s2.x$h(MediaMetadataRetriever failed to retrieve a frame without throwing, check the adb logs for .MetadataRetriever. prior to this exception for details)
s2.x$h(MediaMetadataRetriever failed to retrieve a frame without throwing, check the adb logs for .MetadataRetriever. prior to this exception for details)
call GlideException#logRootCauses(String) for more detail, null, null). Error thrown Instance of 'ErrorDescription'.
at StandardMethodCodec.decodeEnvelope(message_codecs.dart:653)
at MethodChannel._invokeMethod(platform_channel.dart:315)
at AssetEntityImageProvider._loadAsync(image_provider.dart:116)
Expected results
Not to crash
Actual results
App is crashing
Code sample
The crash was detected on Firebase Crashlytics.
Screenshots or Video
Device Details
	* Brand:Motorola
	* Model:Moto G31
	* Orientation:Portrait
	* RAM free: 1.6 GB
	* Disk free: 38.51 GB

Logs
Logs
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: PlatformException(Thumbnail request error, java.util.concurrent.ExecutionException: l2.q: Failed to load resource
There were 3 root causes:
s2.x$h(MediaMetadataRetriever failed to retrieve a frame without throwing, check the adb logs for .*MetadataRetriever.* prior to this exception for details)
s2.x$h(MediaMetadataRetriever failed to retrieve a frame without throwing, check the adb logs for .*MetadataRetriever.* prior to this exception for details)
s2.x$h(MediaMetadataRetriever failed to retrieve a frame without throwing, check the adb logs for .*MetadataRetriever.* prior to this exception for details)
 call GlideException#logRootCauses(String) for more detail, null, null). Error thrown Instance of 'ErrorDescription'.
       at StandardMethodCodec.decodeEnvelope(message_codecs.dart:653)
       at MethodChannel._invokeMethod(platform_channel.dart:315)
       at AssetEntityImageProvider._loadAsync(image_provider.dart:116)

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.7.12, on macOS 13.4 22F66 darwin-arm64, locale en-IN)
    • Flutter version 3.7.12 on channel stable at /Users/sagar.ghag23/fvm/versions/3.7.12
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (6 weeks ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/sagar.ghag23/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = /Users/sagar.ghag23/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.126

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @meet7-sagar23
Can you check if the crash can be reproducible when running in release mode?
Also, are there any affected devices else? And what is the percentage occurrence of the crash on devices?
Moreover, can you share the pubspec.yaml file content? Thank you!


🤗 [REQUEST] - AutoCoder

Model introduction
AutoCoder is a very strong coding model family with a code interpreter mode. Its 33B version surpasses GPT-4-Turbo on base HumanEval, and it has generally strong benchmark performance.
Models:

based on Deepseek-Coder-33B
based on Deepseek-Coder-6.7B
based on CodeQwen1.5-7B

Model URL
https://huggingface.co/Bin12345
Additional instructions (Optional)
No response
Author
No
Security

[X] I confirm that the model is safe to run which does not contain any malicious code or content.

Integrity

[X] I confirm that the model comes from unique and original work and does not contain any plagiarism.

Done.

Link to: https://github.com/evalplus/evalplus/issues/200


Edit Home/Warp menu does not update based on permission grants

          Fixed in [65cc90e](https://github.com/WiIIiam278/HuskHomes/commit/65cc90e79eb396ff70d8bac292238d9c255a5d33)

Originally posted by @WiIIiam278 in https://github.com/WiIIiam278/HuskHomes/issues/595#issuecomment-2028800271
Hello,
This bugfix doesn't work with the latest version of the plugin (v4.6.2)

After re-evaluating this, i'm moving this to a Feature Request as this basically requires a rewrite of how those menus are displayed.


Update 00-hook.py

Previous one didn't work

Overview

What this PR does / why we need it

Special notes for your reviewer
Does this PR introduce a user-facing change?

It seems you really want to fix this example. Can you put all fixes in this PR?

I think it is all :)15.09.2021, 17:34, "Ivan Mikheykin" @.***>:
It seems you really want to fix this example. Can you put all fixes in this PR?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
-- С уважением,Денис @.***


gridlayout is not compatible with grafana4.6,the pdf file is empty.

gridlayout is not compatible with grafana4.6,the pdf file is empty.

Yup, that is correct.
If you like you could submit a PR to improve the documentation? You could add "Not compatible with Grafana versions older than 5" here.


Use Types in type specs

In files like constants.ex we usually see stuff like
@spec domain_beacon_proposer() :: <<_::32>>
def domain_beacon_proposer, do: <<0, 0, 0, 0>>

which is a DomainType for the spec. However, we annotate it as a generic <<_::32>>. We have a file called mod.ex with SszTypes module which has the definition:
@type domain_type :: bytes4

We should export those types so that we can correctly annotate the value as:
@spec domain_beacon_proposer() :: Ssz.domain_type()
def domain_beacon_proposer, do: <<0, 0, 0, 0>>

The same goes for every other type in SszTypes module.

Let's close this and tackle each case as we find them


v1.9.15, EGS v425.1

Thanks for the hard work!
Looks like you might only be missing BuffHandler updates but we already have those and it'll be updated it later today.


Telegram: Multiple captions of individual photos of an album get overwritten

  Feature: Send individual captions per photo
    As a user
    I would like to caption every photo of my photo album differently
    Each caption should become the `alt` attribute of an image respectively
    Because I want to describe what you can see on each photo separately, not only the album
    as a whole. I would like to have this information incorporated in the 100eyes software,
    maybe I want to tell the journalists something through image captions.

Status quo: Captions get overwritten. The last caption of an image wins.

Don’t think the caption should become the alt text — I’d assume users don’t primarily use that feature to provide optional, purely descriptive  text, but additional info on the photo.
Instead, I think the caption should either be displayed below the image or alternatively when hovering over the image.


Error when trying to execute

Hello,
I installed the plugin, both with pip3 and manually, and I have this error.
Traceback (most recent call last):   File "/usr/local/bin/pylinky", line 11, in <module>     load_entry_point('pylinky==0.3.0', 'console_scripts', 'pylinky')()   File "/usr/local/lib/python3.5/dist-packages/pylinky-0.3.0-py3.5.egg/pylinky/main.py", line 27, in main   File "/usr/local/lib/python3.5/dist-packages/pylinky-0.3.0-py3.5.egg/pylinky/client.py", line 202, in get_data   File "/usr/local/lib/python3.5/dist-packages/pylinky-0.3.0-py3.5.egg/pylinky/client.py", line 142, in format_data AttributeError: 'NoneType' object has no attribute 'get'
Can someone help me?

do you have the pb with v0.2.1 or v0.1.8 ?

I did a git clone, so the 0.2.1 I think

no you are on 0.3.0
do a pip install pyplinky==0.2.1
and do pylinky -u  -p
if it now work do
do a pip install pyplinky==0.1.8
and do pylinky -u  -p


test: behaviors-message_on_lock_failure (2024-02-19 22:36:37.848205+00:00)

automatic test cleanup


Format tables using DuckDB's Markdown formatter

Two points:

DuckDB's outputs should be rendered as a table (in most cases).
Tables should have their numeric (int/float) cells right-aligned.

Related to #2, See the new feature introduced in https://github.com/duckdb/duckdb/pull/10767
Note: there are 155 tables in the documentation.
$ agidm ┌  | grep ┌ | wc -l
     155

See the new feature introduced in https://github.com/duckdb/duckdb/pull/10767

Should we add a check for these tables to the build?

Ultimately we should generate these tables using the CLI client and also give the users the ability to run code snippets via Wasm. But these are long-term plans. I think there's no need to add a check for these tables now.


Adjusting ZetaSQL table resolution to standard

Because I am developing on Mac and ZetaSQL does not support Mac I cannot run the required unit tests so easily. Uploading to run them.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

I'm expecting the data catalog postcommit to fail.

s/amazingly/suspiciously/g
Investigating the gradle scans

run sql postcommit

OK, confirmed that it works at least for the test coverage we have. Pushing a tiny cleanup. I'm on Mac now so I cannot confirm it so quickly.

run sql postcommit

run sql precommit

"join compound identifiers" table resolver is removed. In fact, all uses of TableResolver are unused. There is just one form of table resolution. There is a lot of unused code that I did not get all the way to deleting because I was focused on getting it working first. I will now go and clear it up a bit more.
I will take another look at the test file and see if there are tests that should be in unit tests of some other class.

I took another look and I think all the functionality tested by that file is gone.

Let me ask in another way: do we need unit tests for table resolution? If so, can you add some?

Thanks for clarifying. That makes sense. I will review the existing tests and make sure we have coverage of a few different situations. For example I noticed that SqlTransform.withDefaultTableProvider is different than how the unit tests are set up.

Ah. Now that I have looked closer, these tests were running against ReadOnlyTableProvider which does not support real table resolution. So it used join components to just create a string for lookup.
Since ZetaSQL table reference (list of strings) is the same structure as a Calcite table reference (list of strings), the main thing that is helpful is just unit testing of the one real method of TableResolution. The only real logic there is doing a for loop over that list of strings. I will write a couple of tests for that.

run sql postcommit

Please take another look. I have restored unit testing to ensure that TableResolution works as expected.

run sql postcommit


Github repo metadata multinode downloader

I havn't commited the persistence and ability to resume as testing yet not done completely.
remoting is complete.

Please squash your commits into one single commit, to keep the history clean and easy to read.


MB-15094 replace MakeOrder functions with BuildOrder

Jira ticket for this change
Summary
Replace calls to MakeOrder with BuildOrder in all files except pkg/testdatagen/*
Setup to Run Your Code
Run make server_test and make sure tests pass
Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots

Messages

:book:
:link: MB-15094

  Generated by :no_entry_sign: dangerJS against 2ad081c59f92d81a6a9985b1ed32182cfbcfcc6f


[SPARK-26120][TESTS][SS][SPARKR]Fix a streaming query leak in Structured Streaming R tests

What changes were proposed in this pull request?
Stop the streaming query in Specify a schema by using a DDL-formatted string when reading to avoid outputting annoying logs.
How was this patch tested?
Jenkins

cc @felixcheung

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5149/
Test PASSed.

Test build #99015 has started for PR 23089 at commit 3353bb1.

Test build #99015 has finished for PR 23089 at commit 3353bb1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99015/
Test PASSed.

Merged to master and branch-2.4.

Thanks!


Add files doesn't work for Iphone

Unable to add files from safari-iphone

thanks for the feedback! Not responsive on mobile also! I'll fix!

Safari support is currently limited due to its implementation of WebCrypto https://github.com/ipfs/js-ipfs/issues/995


Use semantic-release

I've seen this library used to great effect. It eases maintenance burden.
https://github.com/semantic-release/semantic-release
👍or 👎?

I can set it up to run on Travis.


Add fluid handler object

Create a fluid handler object that creates and returns a fluid object based on a string and x input.
Usage:
fluid = scp.fluid.Fluid('MPG', 10.)

@j-c-cook thanks. We're not going to merge this. There are only 5 classes to handle currently so users can just manage that on their own. We may reevaluate later if the need arises.

@MassimoCimmino FYI


kv URL return value is a incorrect

kv URL return value is a incorrect
        v := New()
	v["name"] = "111"
	v["age"] = 18
	v["sex"] = "girl"
	v["node"] = "bast"
	s := v.URL()

// s value age=age&name=name&node=node&sex=sex  is a incorrect
//  s correct value age=18&name=111&node=bast&sex=girl

fixed https://github.com/aixiaoxiang/bast/commit/d15c32533131f58abb7aeab6c8ed848be002b400


Migration to go modules

What does this PR do?

remove vendor and dep configuration
add go modules files
update scripts (Makefile, Dockerfile, Travis, scripts, ...)
update contributing guide
update k3s version (0.5.0 -> 0.8.0)

Motivation
Be able to use v2+ go module.
More

[x] Added/updated tests
[x] Added/updated documentation

In order to add Traefik 2.x to Gentoo Linux, i was just looking around for the reason of the vendor directory to have vanished from Traefik 2.x unlike what was shipped with up to Traefik 1.7. Up until now, i was and still am maintaining the Traefik package for the 1.x Versions and would have loved to move on with Traefik 2.x. But it's unlikely to happen in the state it is now.
The issue now is that any provided release of Traefik 2.x can be considered broken unless you compile the thing yourself. Maintaining packages for distributions won't be thing unless the distribution in question ships their packages pre build or does not bother about random network access during build phase.
Let me explain:
Gentoo for example expects all the dependencies to exist in system or at least downloaded as files prior of starting the build phase of the actual package. To write a package (called Ebuild) for Gentoo, i would have to go through the list of dependencies listed in go.mod and copy paste every of these links to my browser and get the actual commit ID out of their repo and put both into a list inside the Ebuild. This might not be an issue for 2 or 3 dependencies but Traefik now comes with 100+. That's out of the question!
While not a Go developer myself, i am aware of this: https://tip.golang.org/cmd/go/#hdr-Modules_and_vendoring and it's just a bad practice when shipping production software and it's not supported by Gentoo and it will not be in future.
That means Traefik is on a dead end for Gentoo Linux. But on a side note, it seems that not only Gentoo is stuck now. FreeBSD for example seems also to be stuck on 1.7: https://www.freshports.org/net/traefik
Please stop shipping software releases to production that is missing half the code!

Hello,
It's not a real good place to speak about that but I will try to provide a quick anwser.

Please stop shipping software releases to production that is missing half the code!

It's the go module way: no vendor and the use of proxies to get, securely, dependencies files.
Go modules uses mainly the same approach than npm, maven, ... : a file descriptor to define direct dependencies and override of indirect dependencies.
For me, there is the same problem with other languages.
Maybe I don't understand the gentoo packaging, but seems like a problem for every Go (and node, java, ...) software.
As I understand, gentoo still use the "GOPATH' way to build Go application, it's a problem because the GOPATH will die.
I can see some Go software with Go modules on FreeBSD: https://www.freshports.org/security/lego
I propose to continue the discussion in a dedicated issue or a topic on the forum

Thanks for your reply. Thought about your suggestion to discuss this in forums but i don't really see any progress coming out of it for my end as i don't really see you adding the vendors back. I am also not in the position to change Gentoo policy regarding network access while installing a package.
The main reason, i've replied here in the first place was that this is the source of the vanishing vendor directory.
What could help would be something like this https://crates.io/crates/cargo-ebuild which is a tool for Rust to solve the same issue. It basically translates their file containing a download list into a list usable for an Ebuild in Gentoo. But there is nothing like that for Go right now and i am not a Go developer. So i am not going to write something.
Regarding your statement about the future of GOPATH, if that's ever going to be removed, it might end up like it did for Composer (similar tool for PHP) which is now shipped with a patch that allows a slightly different behavior for Gentoo. But the patch actually comes from Fedora. Gentoo just picked it up from there.
The general idea about the inclusion of vendors into the package is that a package provided by any Linux distribution always comes with the goal to have to installed as expected from the maintainer when requested. For that reason, every of those dependencies will be put on the Distribution mirrors in order to not depend on every of those developers actually keeping their stuff online. Just imaging the fact, you release a new version and one of those dependencies in your list just decides to move their project or it gets taken over by someone with bad intentions. I've seen both situations already. Not with Go but with NodeJS. That's not entirely happening with the Ebuild i am maintaining as it's not included in the main tree. But that's where the policy comes from.
So thanks again for your reply.

@r7l does go mod vendor not properly build the vendor directory as you are expecting?
It should create a vendor directory, and then populate it with all the dependencies that are required for the go build.

@r7l maybe this can be useful https://archives.gentoo.org/gentoo-dev/message/f2a7abcc8506ae3e56a0ebb0ea0cadc8
But once again I don't know Gentoo packaging.
We will not restore the vendor in the git repo, but we can help you to write a tool or you can help us to write a tool, we can think about other solutions.
So I recommend to open a new dedicated issue in GitHub to speak more about that.


[Network] az network private-endpoint-connection: support app configuration

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

Network


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1117 ms

Resolved: Bofrost.be performance has improved in 5ed0459.


Orbit makes firefox crash

Hi we tried orbit.chat with a few friends and after some use in firefox in makes firefox crash (or make the whole system lag).

Thanks for reporting the issue @DeveloppSoft! This is a known issue and being figured out in https://github.com/orbitdb/orbit-web/issues/9, https://github.com/ipfs/js-ipfs/issues/950 and https://github.com/orbitdb/orbit-web/issues/8.
Will update this issue when there's a fix.


fix: RegExp "invalid group specifier name" exception on Safari < 16.4

Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:

[X] Target branch: Please verify that the pull request targets the dev branch.
[X] Description: Provide a concise description of the changes made in this pull request.
[X] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[X] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[X] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[X] Testing: Have you written and run sufficient tests for validating the changes?
[X] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[X] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry
Description
This PR fixed the issue of regex exception for Safari before 16.4 (iOS 16.4), where regex lookbehind syntax is not supported. Before this change, devices that are not supported by or updated to iOS 16.4 or later are unable to use Open WebUI chat, e.g. iPhone 7.
Fixed

RegExp "invalid group specifier name" exception on Safari < 16.4 (#3306, #3371)

Additional Information
This issue was first observed in Open WebUI 0.3.5.
For more information, see discussion here: https://github.com/open-webui/open-webui/discussions/3372#discussioncomment-9889979
Prior art:

https://stackoverflow.com/questions/51568821/works-in-chrome-but-breaks-in-safari-invalid-regular-expression-invalid-group
https://stackoverflow.com/questions/11761563/javascript-regexp-for-splitting-text-into-sentences-and-keeping-the-delimiter

Thanks!

This change has been reverted in dev as this broke compatibility with OpenAI models. Feel free to reopen the PR again after THOROUGHLY testing the changes, thanks!

Apologize for the oversight in my previous submission. It doesn't handle empty strings properly, which can occur quite often when token generation is slow.
Here's the updated one:
let sentences = text.match(/[^\.!\?]+[\.!\?]*|.+/g) || [];

I've tested it in both UI and browser console, and it works as expected. Here are the test results:
> let text = "Hello, there! What's this? This is a string."
> text.match(/[^\.!\?]+[\.!\?]*|.+/g) || [ "" ]
[ 'Hello, there!', " What's this?", ' This is a string.' ]
> text.split(/(?<=[.!?])\s+/)
[ 'Hello, there!', "What's this?", 'This is a string.' ]
> text = ""
> text.match(/[^\.!\?]+[\.!\?]*|.+/g) || [ "" ]
[ '' ]
> text.split(/(?<=[.!?])\s+/)
[ '' ]
> text = `Multiple
... lines.
... !`
> text.match(/[^\.!\?]+[\.!\?]*|.+/g) || [ "" ]
[ 'Multiple\nlines.', '\n!' ]
> text.split(/(?<=[.!?])\s+/)
[ 'Multiple\nlines.', '!' ]

Even though leading whitespace characters exist, they will be trimmed later by sentence.trim().
As this PR has already been merged, I'm unable to reopen it. You could commit this directly. Thank you for your time.


Removal of Index from the config broke my sensors

Version of the custom_component
6.2.0
Configuration
multiscrape:
  - resource: https://meteoregionelazio.it/rete/stazione.php?id=RM-139
    scan_interval: 600
    sensor:
      - unique_id: infernetto_hum
        name: Umidità Infernetto
        select: ".dato_grande"
        index: 1
        value_template: '{{ (value.split("%")[0]) }}'
        device_class: "humidity"
        state_class: "measurement"
        unit_of_measurement: "%"

Describe the bug
Removal of Index from the config broke all my sensors. It was a useful feature... now how can I get the same result?
Also, the readme.md still lists Index as a parameter.

Have a look at this:
https://stackoverflow.com/questions/13193224/target-the-2nd-instance-of-a-css-class

Removed the index attribute now from the readme. Thanks for pointing that out.

Versão do custom_component
6.2.0
Configuração
multiscrape :
   - recurso : https://meteoregionelazio.it/rete/stazione.php?id=RM-139
    scan_interval : 600
    sensor :
       - unique_id : infernetto_hum
        name : Umidità Infernetto
        select : " .dato_grande "
        index : 1
        value_template : ' {{ (value.split("%")[0]) }} '
        device_class : " humidade "
        state_class : " medição "
        unit_of_measurement : " % "

Descreva o erro
A remoção do Index da configuração quebrou todos os meus sensores. Foi um recurso útil... agora como posso obter o mesmo resultado?
Além disso, o readme.md ainda lista Index como um parâmetro.

I have the same issue here. Is for that I'm not updating the component to new version. Did you solved? please, paste here.

Taking the example from above:
select: ".dato_grande"
index: 1

Then reading the link of Daniel leads to:
select: "tr > td[width="243.3"]:nth-of-type(4) > .dato_grande"

The issue on that webpage is that there is no specific indicator for the field that @namadori wanted to have.
Generally the solution is :nth-of-type(<number>) where number is the previous index number + 1 (since it doesn't start with zero).

I have the same issue here. Is for that I'm not updating the component to new version. Did you solved? please, paste here.

same thing for me! I scrape from a plain site, that mostly consists of paragraphs , and I need the 17th paragraph - no way (so far) to have this scraped off the site with the new version (in the old version it was just like "select: "p" // index: 17"). The methods mentioned above all do not work...
Can we please have "index" back?

Could you provide an example (with config) in which the new approach does not work?

Could you provide an example (with config) in which the new approach does not work?

sure, here you go (working config as of v5.7.0):
multiscrape:
  - resource: https://www.meteoschweiz.admin.ch/home.html?tab=report
    scan_interval: 900
    sensor:
      - name: Report
        select: "p"
        index: 17

I like to scrape the line under the title (as ow now "Aktualisiert am Sonntag, 24. April 2022, 16:54 Uhr")
the methods mentioned above do not work, e.g.
select: ".p:nth-of-type(n)"
or
select: ".p:nth-child(n)"
also using the "CSS Selector" (from page inspector) does not work, e.g.
select: "div.tabcontainer:nth-child(1) > section:nth-child(1) > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > article:nth-child(1) > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > p:nth-child(2)"
But: Maybe (for sure!?), there is a working CSS select statement...?

This works: .textFCK > p:nth-of-type(1) (even without the nth-of-type)
Check this for more info on CSS selectors: https://www.w3schools.com/cssref/css_selectors.asp

his works: .textFCK > p:nth-of-type(1) (even without the nth-of-type)

Thanks!

I want to select the text in the n'th
 (like select blabla from
blabla
) on a page, so I tried select: "p:nth-of-type(3)". This gives the error Unable to scrape data: Could not find a tag for given selector
I'm not great at CSS and it took me like a day to get the scrape working last time. If this is not the place to ask this please point me in the right direction.


Internal server error on client login on custom product

Receiving a internal server error popup when placing a custom order getting to stage 4 when asks for client to register or login. the order goes through anyway.

Also need to mention I am using a custom hook "MyPlugin" option with that custom order.

Remove your custom Hook and try testing it again, i strongly believe it is your Custom hook issue

You are correct it is the hook, however you gave me the template to use. Can you tell me what is wrong with this hook? I am trying to find out what I can reference in this method.
public static function onAfterOrderActivate(Box_Event $event)
{
$order = $event->getSubject();
$plugin = $order->Product->plugin;
if($plugin == 'MyPlugin') {
// init plugin class
// do something with plugin on order activation action
$results = "";
$results .= print_r($order, true);
$results .= "";
$message = sprintf('"%s" parameters', $results);
<EMAIL_ADDRESS>'Display Array', $message);
}
}

removing pre so you see the actual function
public static function onAfterOrderActivate(Box_Event $event)
{
$order = $event->getSubject();
$plugin = $order->Product->plugin;
if($plugin == 'MyPlugin') {
// init plugin class
// do something with plugin on order activation action
    $results = print_r($order, true);

    $message = sprintf('"%s" parameters', $results);
<EMAIL_ADDRESS>'Display Array', $message);
    }
}

Hook routine is always returning internal server error. Can you provide a working function that shows what array fields can be referenced in the code?

System is returning the following error in php_error.log after execution of custom hook.
Page http://www.yourdomain.com/box/box/index.php/invoice/[object Object] not found

This error is because of cached Javascript file. Simple fully refresh page (ctrl+F5) several times and you should be ok.

I deleted everything in bb-data/cache directory and it still occurs. Again can you please provide a snippet of code that will display or email all the variable array fields I can reference in this function.

This event hook:
    public static function onAfterOrderActivate(Box_Event $event)
    {
        $order = $event->getSubject();
        throw new Exception(print_r($order->toArray(), 1));
    }

would show you:
Array (
[id] => 1
[client_id] => 1
[product_id] => 3
[promo_id] =>
[group_id] => 1
[group_master] => 1
[title] => Samsung tv set
[currency] => USD
[unpaid_invoice_id] => 1
[service_id] => 1
[service_type] => custom
[period] =>
[quantity] => 1
[unit] => product
[price] => 1000.00
[discount] => 0.00
[status] => active
[reason] =>
[notes] =>
[config] => {"plugin":null,"quantity":"1","single":"1","id":"1","product_id":"3","title":"Samsung tv set","type":"custom","unit":"product","price":"1000.00","setup_price":"0.00","discount":0,"total":1000}
[expires_at] =>
[activated_at] => 2012-02-24T07:19:30+00:00
[suspended_at] =>
[unsuspended_at] =>
[canceled_at] =>
[created_at] => 2012-02-24T07:18:43+00:00
[updated_at] => 2012-02-24T07:19:30+00:00
[Product] => Array (
  [id] => 3
  [product_category_id] => 4
  [product_payment_id] => 3
  [title] => Samsung tv set
  [slug] => samsung-tv-set
  [description] => Default product description
  [unit] => product
  [active] => 1
  [status] => enabled
  [hidden] => 0
  [is_addon] => 0
  [setup] => after_payment
  [addons] =>
  [icon_url] =>
  [allow_quantity_select] => 1
  [stock_control] => 1
  [quantity_in_stock] => 9
  [plugin] =>
  [upgrades] =>
  [priority] => 80
  [config] =>
  [created_at] => 2012-01-01T12:00:00+00:00
  [updated_at] => 2012-02-24T07:19:30+00:00
  [type] => custom )
 )

How do you access a variable name value inside the curly braces on the [config] variable?

$config = json_decode($order_array['config'], 1);
print $config['quantity'];

will output: 1


Blocking Users

Overview

Created routes to block users, find all blocked users, and unblock users. The routes are GET api/block, POST api/block, and POST api/unblock.
Changes Made

Created a blocked_users assoc table in the Person model. When blocking and unblocking with POST requests, you need to specify the user_id using "blocked_user" and "unblocked_user" as the key, respectively.
Test Coverage

Tested with postman requests.

No, should we do that?


Bug: CI fails because it can't set up Node

The current behavior
Unexpectedly, CI fails while fetching NodeJS with a 522 error (timeout):
log: https://github.com/facebook/lexical/actions/runs/10107570076/job/27951708511?pr=6367

According to the log, the builds use the cached version from actions/node-versions and skip the download step if the version (i.e., 18.18.0) can be found in manifest.
But 18.18.0 for arm64 is not on this list. So we fetch it directly from Node.js:

And there is possibility of hitting rate limit when downloading from dist:

...there is possibility of hitting rate limit when downloading from dist
https://github.com/actions/setup-node#supported-version-syntax

which is leading timeout with 522 unexpectedly.
The expected behavior
No failures while setting up node on CI.

Maybe it makes sense to update the version of node that is used? I'm not sure why it was all on 18 to begin with


BCP - Prompts to download update every time it is opened

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Banana Cake Pop
Describe the bug
Every time I open BCP, I am asked if I'd like to update its version, even though no updates are available. This is also the case if I go to Banana Cake Pop > Check for Updates in the menu bar.

Steps to reproduce

Open BCP with latest version

Expected
Not to be prompted to upgrade
Actual
Prompted to upgrade. Selecting 'Sure' has no effect.
Relevant log output
No response
Additional Context?

Version
5.0.3

This issue occurs on Windows because the BCP app is not yet code-signed. We'll soon fix this. We're basically waiting for our Certificate and our Windows build machine 😉  To get the latest version uninstall manually, then downlaod latest (10.0.7), and then install.

Solved in Nitro App (fka BananaCakePop) with version 20.0.2. If you have installed a lower version of Nitro before, make sure to uninstall first.


Refactor ASCII Armor Detection Code

PGPainless' current code for processing encrypted / signed data is a mess.
The problem is, that the user can provide different formatted data and we want to process it all without the need for the user to state what nature of data they are providing.
There are 4 (plus?) types of data the user can provide:

ASCII armored OpenPGP data
ASCII armored cleartext data
Binary OpenPGP data
Cleartext data

Cleartext Data
This is unmodified data. Examples are files or messages signed using a detached signature.
I believe this is also what's used in OpenPGP/MIME signed messages.
Example:
Ah, Juliet, if the measure of thy joy
Be heaped like mine, and that thy skill be more
To blazon it, then sweeten with thy breath
This neighbor air, and let rich music’s tongue
Unfold the imagined happiness that both
Receive in either by this dear encounter.

ASCII Armored Cleartext Data
See https://datatracker.ietf.org/doc/html/rfc4880#section-7
This is data which is human readable, but escaped and pre/post-fixed with an ASCII header.
It usually also contains a appended ASCII armored signature. This is used mainly in OpenPGP inband signed emails.
Example:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Ah, Juliet, if the measure of thy joy
Be heaped like mine, and that thy skill be more
To blazon it, then sweeten with thy breath
This neighbor air, and let rich music’s tongue
Unfold the imagined happiness that both
Receive in either by this dear encounter.
-----BEGIN PGP SIGNATURE-----

iHUEARMKAB0WIQRPZlxNwsRmC8ZCXkFXNuaTGs83DAUCYJ/x5gAKCRBXNuaTGs83
DFRwAP9/4wMvV3WcX59Clo7mkRce6iwW3VBdiN+yMu3tjmHB2wD/RfE28Q1v4+eo
ySNgbyvqYYsNr0fnBwaG3aaj+u5ExiE=
=Z2SO
-----END PGP SIGNATURE-----

Binary OpenPGP Data
This is data where the message is wrapped in OpenPGP packets (e.g. Literal Data, Compressed Data, Encrypted Data, as well as any nested combination of those). It may also contain other added OpenPGP packets such as signatures or One-Pass-Signature packets.
Since the data is binary, I will spare you of an example.
ASCII Armored OpenPGP Data
This is Binary OpenPGP Data, but wrapped in an ASCII armor.
Example:
-----BEGIN PGP MESSAGE-----
Version: BCPG v1.70

hF4DrtaS0Fxq0aMSAQdAVPDljIdMzgRyxSsdZMMVtxrdkwjBmNQKkjtR1i6ZDyow
ycDTKZoah39zQvZPHZE2MbvWUgmMcx//djL5vym5K44JNDWt6uFxer5jP/MDWt97
0q4Brzlu9gKvssTQYk0OwQyrkqlVYROQR8VLTp3aGnO8l4nShOr4s4thPwxXPmt2
Ga613HVrLfw3I0Q7f3yBPkMjtoOJdtbxDSKTkBWhQR3OP66VBEettLFBGV5t4iWX
gY5TkN2RCJtrLXA2CoqZrIfXwovuJ/lFKgz308WIIy1YshSN2BLTubQSBj/BKHEj
PtiOoAys5kaDz/j1yJ+M8Y+EAvf8KlDB0FYTYJK/lPaEXgOu1pLQXGrRoxIBB0Bi
ElF1qyylV+9R7e1k+gTlFyGJQvFTtzTUOdFTXsYiVjCgXrOj6hw5XugfA4Wp7JF1
/fndFw4iB2wnh8DdlRpnXRIMLh5419uXo9ohRcpOtFTSqQHdP1UymeWJV1Ch/ZPK
RY9qxb6OtMBX7RdCVJFXdjzhQroE2/Z043XdIvW7rRL6Z7/B2tPNbLxFLIZemjPJ
Xt5SqcVPmCz0426SZP/pKr6Z4qla62vicOdAb6deDG72m2gSCDXjK5o+t/maBDro
McqhfYXt4isgmGCYdyur7r6zzyXpaKcgzyMxq5rxDZsLTfDbvAXR9p1eR+JFp4kH
YxXGW1MJ72swRBM=
=dI46
-----END PGP MESSAGE-----

Why it's hard
Solving this problem sounds reasonable simple:
if (isArmored(data)) {
    dearmored = dearmor(data);
    if (isOpenPGPData(dearmored)) {
        processOpenPGPData(dearmored);
    } else {
        processPlaintext(deamored);
    }
} else {
    if (isOpenPGPData(data) {
        processOpenPGPData(data);
    } else {
        processPlaintext(data);
    }
}

However, BC's PGPUtil.getDecoderStream() which we use to detect armored data does not work properly and sometimes mistaken unarmored data for armored data.
What we need are sane implementations of above mentioned isArmored(), isOpenPGPData(), as well as distinct processOpenPGPData() and processPlaintextData().

Some progress was made in https://github.com/pgpainless/pgpainless/pull/245


App unusable on Safari 16.3

CC @rojiphil @jjcoffee

Version Number: ?
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1702869444870729
Action Performed:

Open app
Should not see error

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

View all open jobs on GitHub

@anmurali we might already know the fix. Let's not make it external just yet.

@anyongjitiger Tagging you in here as you worked on the PR that (probably) caused this.

Not going to count this as a regression, as it's impossible to test old safari versions... so we'll treat it as a new issue, with a regular bounty

@rojiphil are you interested in working on this bug?

@rojiphil are you interested in working on this bug?

@Julesssss
Yes. Would be interested.
I think we can do this using capture groups
Let me look at the issue.
Will get back within an hour.

Proposal
Please re-state the problem that we are trying to solve in this issue.
In older versions of Safari (i.e. 16.3) , the app does not load.
What is the root cause of that problem?
Older versions of Safari do not support lookbehind regex. So, here, the regex uses lookbehind regex. This is the root cause.
What changes do you think we should make in order to solve the problem?
We can solve the problem using capture groups as follows here
    const match = avatarURL.match(/(default-avatar_)(\d+)(?=\.)/);
    const lastDigit = match && parseInt(match[2], 10);

What alternative solutions did you explore? (Optional)

@Julesssss
Have sent a proposal.
I can raise a PR immediately.

Thank you, I'll assign a C+ for the PR review.

I have very old macOS 12.6 so if assigned C+ is not able to test (because they don't have old version), I can help

The PR is ready for review.

I can review but giving priority to assigned reviewers first

Bumping @Santhosh-Sellavel, which Safari version are you running?

Feel free to review this one @situchan, I'm not sure how to test this one!

Just to rephrase this issue:

PR merged awaiting deployment

If no regressions arise, payment will be issued on 2024-01-02.

@anmurali
Gentle bump on processing payment here


[Tracking] Cloud Native Sustainability Week 2024 Oslo

Description

Location/Region: Oslo, Norway
Organizers: @guidemetothemoon @xamebax as part of the Green Software - Oslo meetup group
Sponsors: Computas
Date: 9th October 2024
Event link: Green Software Foundation Oslo - October Meetup [In-Person]

Details
Bring together community members who are interested in the topic of environmental sustainability in tech, create a forum for discussions and spread knowledge and learnings around the topic, adoption of tools, patterns and routines, etc.
The plan is to have 2-3 speakers for the event + introduction to the TAG ENV by the organizers.
To-Do

[X] Review the Meetup Organizer Guide for onboarding.
[X] Check the website.
[x] Create a PR to update the Meetup's table on the website. Example PR.
[x] Join one of the TAG ENV Sustainability Week Syncs to talk about your event.
[X] Find a sponsor for the event.
[X] Find a location for the event.
[X] Set a date for the event.
[x] Announce the event.
[x] Reach out to the Cloud Native Sustainability Week Organizer team to promote the event.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Comments
No response

Hello  @guidemetothemoon
I hope you're doing well. With just a few weeks left, I wanted to check in and see if you need any help with anything.

The last task remaining for our meetup is to upload recordings of the talks. Our meetup groups doesn't have our own YouTube channel. Recordings are available in the "Post-Event Local Meetup" folder for Oslo, Norway in the TAG ENV Google drive: https://drive.google.com/drive/folders/1w_8hQGvlBTD-gMubN0ajuc3J-yJSXzCS?usp=drive_link
@claire-fletcher @Nancy-Chauhan @vallss can local meetup recordings be uploaded to the TAG ENV YouTube channel, for example to a Cloud Native Sustainability Week 2024 playlist?
@xamebax @leonardpahlke FYI.

All recordings from Oslo meetup are now added and published in the Cloud Native Sustainability Week 2024 playlist: https://youtube.com/playlist?list=PL_3_oSSuNpD7I2OHgywlAuKnJf700wcXH&si=d_E2diGJst8L3ONm
As far as I can see no more action points left for the organizers of this local meetup organizers so the issue is ready to be closed😊

I don't think that we will be writing any blog post about this specific meetup but we will probably create some social media posts where the meetup and session recordings, and Cloud Native Sustainability Week will be mentioned☺ Therefore I'll just close this issue since we have no more items to follow-up.
Thanks for all your support throughout this initiative! Already looking forward to next year💚


FR: Filtering and Search

Add a global search function in the sidebar or at the top.  Additional filtering (by indicator type, confidence, tag, etc.) on indicator pages and for export would be superb.

Is the DB currently indexed at all?


Adding Dapr quickstart

Summary
Adding some quickstart dashboards for Dapr (www.dapr.io).

Pre merge checklist

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you include a Data source and Documentation reference?
[x] Are all documentation links publicly accessible?
[x] Did you check your descriptive content for voice and tone?
[x] Did you check your descriptive content for spelling and grammar errors?
[x] Did you review your content with a subject matter expert? (e.g. a Browser agent quickstart is reviewed with a member of the Browser Agent team)

Dashboards

[x] Does the PR contain a screenshot for each of your dashboards?
[x] Do your screenshots show data?
[x] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?

Hey @harrykimpel looking great! Something I missed on the first pass is that it looks like we have two dashboards in the same directory, which our validation is complaining about. Our pipeline currently expects one dashboard defined per dashboard directory, so will need to split those dashboards out into respective directories. More on dashboards

More on dashboards

Thank you @MichelLosier. I moved the dashboards into separate folders and updated the quickstarts config to refer to these two dashboards. I hope this is as expected. If not, how do others deal with multiple dashboards. I guess it is not that unusual, right?

Looks great @harrykimpel ! And yep this is exactly how you handle multiple dashboards thanks!

Looks great @harrykimpel ! And yep this is exactly how you handle multiple dashboards thanks!

Thank you @MichelLosier! I promise to remember all of this next time ;-)


contrib/auth/hashers: fix typo in BCryptPasswordHasher docstring

There is no BCryptSHA512PasswordHasher.

Merged in 8048411c97559afd4bca28fbeaabafc2df05bcae, thanks!


[RFC][SPARK-17549][sql] Only collect table size stat in driver for cached relation.

The existing code caches all stats for all columns for each partition
in the driver; for a large relation, this causes extreme memory usage,
which leads to gc hell and application failures.
It seems that only the size in bytes of the data is actually used in the
driver, so instead just colllect that. In executors, the full stats are
still kept, but that's not a big problem; we expect the data to be distributed
and thus not really incur in too much memory pressure in each individual
executor.
There are also potential improvements on the executor side, since the data
being stored currently is very wasteful (e.g. storing boxed types vs.
primitive types for stats). But that's a separate issue.
On a mildly related change, I'm also adding code to catch exceptions in the
code generator since Janino was breaking with the test data I tried this
patch on.
Tested with unit tests and by doing a count a very wide table (20k columns)
with many partitions.

@marmbrus @yhuai this is not really my area so I'd appreciate eyes to check if this is sane.

Test build #65449 has started for PR 15112 at commit ede3548.

I have touched this part for a long time. I think we also use min/max to evaluate predicates. Can you double check? Also, what stats do we collect right now?

The current code collects ColumnStats objects for every column of the relation; those are captured in a huge GenericInternalRow (one per partition) and sent back to the driver, which stores everything in a collection accumulator. Thus the memory issue.
On the driver side, all that seems to be done is to sum up the sizes of each column to provide a Statistics object, so it seems like most of the data could be thrown away.

I think we also use min/max to evaluate predicates.

I see that the stats are used in InMemoryTableScanExec.scala, but they only seem to be used on the executor side; since I'm not removing the stats on the executor side, it should work the same as before.

Thanks! I will take a look.
btw, if you have comparison related to memory footprint before and after the change, it will be good to add that in the description.

btw, if you have comparison related to memory footprint before and after the change

That's all in the bug.

Test build #65449 has finished for PR 15112 at commit ede3548.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65449/
Test PASSed.

Merged build finished. Test PASSed.

Test build #65459 has started for PR 15112 at commit d356ae3.

Test build #65459 has finished for PR 15112 at commit d356ae3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65459/
Test PASSed.

@yhuai any more comments?
I really want to keep the codegen metrics change because otherwise Spark just fails on the large table I tested on. We can file a separate bug to look at the janino issue and point at this one (and the data attached to the bug) as the source of the issue.

Test build #65501 has started for PR 15112 at commit dc86fe3.

Test build #65501 has finished for PR 15112 at commit dc86fe3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65501/
Test PASSed.

Merged build finished. Test PASSed.

LGTM. Merging to master and branch 2.0.


Optional serde support feature

As discussed in #7, here is a new PR with the serde support wrapped into a feature, "serde_support". I have updated the README to include a Usage section that describes activating the feature.
Please let me know if there is anything else I can do to help.

Thanks!


node resolver package

[Enter steps to reproduce:]

...
...

Atom: 1.19.5 x64
Electron: 1.6.9
OS: Microsoft Windows 10 Home Single Language
Thrown From: node-resolver package 1.0.1
Stack Trace
Failed to activate the node-resolver package
At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.exports.activate (/packages/node-resolver/index.js:12:21)
    at Package.module.exports.Package.activateNow (~/AppData/Local/atom/app-1.19.5/resources/app/src/package.js:253:25)
    at ~/AppData/Local/atom/app-1.19.5/resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.19.5/resources/app/src/package.js:99:21)
    at ~/AppData/Local/atom/app-1.19.5/resources/app/src/package.js:218:32
    at Package.module.exports.Package.activate (~/AppData/Local/atom/app-1.19.5/resources/app/src/package.js:215:40)
    at PackageManager.module.exports.PackageManager.activatePackage (~/AppData/Local/atom/app-1.19.5/resources/app/src/package-manager.js:645:40)
    at ~/AppData/Local/atom/app-1.19.5/resources/app/src/package-manager.js:626:35
    at Config.module.exports.Config.transactAsync (~/AppData/Local/atom/app-1.19.5/resources/app/src/config.js:346:24)
    at PackageManager.module.exports.PackageManager.activatePackages (~/AppData/Local/atom/app-1.19.5/resources/app/src/package-manager.js:621:25)
    at PackageManager.module.exports.PackageManager.activate (~/AppData/Local/atom/app-1.19.5/resources/app/src/package-manager.js:603:52)
    at ~/AppData/Local/atom/app-1.19.5/resources/app/src/atom-environment.js:843:36

Commands

Non-Core Packages
apex-ui 1.0.1
atom-clock 0.1.15
atom-nodejs-snippets 2.0.0
atom-terminal 0.8.0
Hydrogen 1.20.0
node-debugger 1.10.1
node-resolver 1.0.1
platformio-ide-terminal 2.6.0
scroll-through-time 0.2.0
terminal-plus 0.14.5

Thanks for contributing!
It appears that this is being caused by the node-resolver package, not Atom itself. It may be that there is still a bug in Atom. If so, we'll need the maintainer of the package that is causing the problem to help track that down. You should file this issue on their repository so they can either fix the problem or tell us where the problem is coming from. The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme.


update dependencies in C# examples to GA versions

This updates the nuget dependencies in csharp examples to use the versions intended to be used in GA (Google.Protobuf.3.0.0, Grpc.1.0.0, and System.Interactive.Async.3.0.0).
It also removes another solution level packages.config file that was missed earlier (./nuget/packages.config) since it no longer works with the new nuget versions.
Note that these won't run as is, but are meant to work when 1.0.0 is published.

LGTM

test this please

test this please

test this please

test this please

test this please