Extreme performance loss after upgrade to SPFx 1.8.0 in FabricUI controlled TextField

After upgrading from SPFx 1.7.1 to 1.8.0 I noticed that input in FabricUI TextFields (controlled) is suddenly slow (in a non-tolerable way, see videos attached, takes 70ms to show a typed character instead of <20ms as before, on a very fast computer) and is instable (before it used to be fluently the same little delay, now I have sporadical stops and slowdowns on the already slow input).
I just tested it again and can reproduce it by just changing the 1.7.1 packages to 1.8.0 (without adjusting React, leaving it at 16.3.2 (same issue with 16.7.0 though, so React does not seem to be the cause), and without switching to the new Typescript compiler (uses 3.2.4 instead of 2.x before, but same issues also with 3.3).
I will have to investigate what causes the problem (can it have sth to do with the new isolated Fabric style changes?).
Check the videos - all I did was replace 1.7.1 by 1.8.0, npm install, gulp serve and F5:

It is not only slow but also input gets rendered delayed. I tried to delete only the "iiii"s but ended up deleting all the text before as well even though the key was released (this is how the user experience looks in real-time on a 8core CPU):

So, a few questions.
1 - Does this repro in the "hosted" workbench (/_layouts/15/workbench.aspx)?
2 - Are you creating the control, or is this in the property pane?
3 - If you are creating the control, did your version of fabric react change?

Hi @patmill, thanks for following up.
This does indeed reproduce in the workbench, locally and in SharePoint Online, but less visibly so than on a real SitePage.
I attached two solutions (shipped), one using 1.7.1 and one using 1.8.0 (with different IDs so you can deploy them together).
I hope you can reproduce it. I also attached the project source.
The difference between the two versions is immanent only with a lot of controls redrawing, but it is there (I went overboard and made 200 text fields).
The 1.8.0 version typically takes twice the time and has irregular latencies and delayed processing, compared to the rather fluent 1.7.1 packages.
To rule out any issues with my project, I created a brand new test project using the latest yo generator, a simple webpart solution with React framework.
This btw does not compile because the Fabric components use a newer Typescript version than the configured rush-stack-compiler-2.7 can deal with.
One has to remove line in tsconfig or use 3.3.
Also I run into strange "cannot find module 'typescript'" errors whenever switching between the 2.7 and 3.3 compilers, when tslint runs, which I can solve only by toggling between versions of the rush-stack-compiler-x.y package, apparently npm install has to run twice for this package).
I documented the whole procedure in the HOW-TO-TEST.md in the attached project.
In the webpart I render 200 controlled FabricUI TextFields (they all re-render if one changes and display the same value), in order to see the impact visually.
I then profiled how long it takes to enter text, once using the 1.8.0 packages and once using 1.7.1.
I need 10 seconds to fill a textbox with "i"s using 1.8.0, and merely 5 seconds to do the same using the 1.7.1 packages.
Perf-Test.zip


Refactor/api result resources to have only keys helper

This removes this helper, which was only used in 3 places, in favor of consolidated expectations on the response which are more transparent in reflecting the structure of the response JSON. This PR favors readability over terseness, so there's a bit more :green_apple: to :red_circle: here.
@miq-bot add-label api, test, refactoring
@miq-bot assign @abellotti

This is ok for now, better readability for sure.  Future direction would be to have tests specific to response structure, then individual tests would only tests the specifics for the tests, i.e. name, etc.

LGTM!!


Query on use case

Hello,
Suppose i wanted to use bert on data which belongs to a different language. For this, training data with this library would be correct or do i need to train my own custom bert using the hugging face library.

You haven't specified the language.  But, you can most likely use ktrain for this.
There are two different text classification APIs in ktrain.  The first is the text_classifier API shown in this example.  By default, the text_classifier API will detect the language and use either the English model for English, the Chinese model for Chinese, or the  multilingual model if the language is something else.  The multilingual model supports over 100 languages shown here.
The Transformer API is the second text classification API, which provides more control over which Hugging Face model used.  For instance, if the language is Arabic, you can use the AraBERT model as shown in this example, which may potentially provide slightly better results than the  multilingual BERT model.  To find a pretrained model for your language, you can look here.
If you cannot find a model for your language and it is not supported by the multilingual model, you can pretrain/fine-tune your own BERT language model for your language using this Hugging Face script or use a non-pretrained model like NBSVM.


[STP-007] - Implement About Section

Overview
Write a short description of what your PR does.
We need to implement the about section in the design which will interact the user to work with the company
TODO

[ ] text should be aligned as design
[ ] image should be fit the window
[ ] spaces should be followed as design

Demo
Expected:

Output

We need to export the SVG then use it in this PR. the one that has exported is not complete.
cc: @Mjanuary


Rouge-1 and Rouge-2 and Rouge-SU4

In the name of Allah
Hello,
This program give P,R,F. Can it give Rouge-1 and Rouge-2 and Rouge-SU4?
Thank you very much?

It supports only Evaluation of ROUGE-N for now.


FIPs mode not enabled before applying crypto changes.

Describe the Issue
When the crypto changes are made in RHEL-08-010290, there is no check to see if FIPS mode is enabled yet.  This causes the wrong file to be edited if FIPs is not enabled.
Expected Behavior
A check for if FIPs mode is enabled should be performed to ensure that the correct files are modified.
Actual Behavior
The check for FIPs mode seems to happen in the RHEL-08-010293 task, however, the modification of the corresponding files happens in RHEL-08-010290.
Control(s) Affected
RHEL-08-010290 through RHEL-08-010293
Possible Solution
I believe the RHEL-08-010293 task should be performed before RHEL-08-010290.

hi @prestonSeaman2
Thank you for raising this query, It is with interaction we continue to enhance these baselines. I am adding this issue to the June_issues branch, that i hope to get available later today in the repository.
If all is as expected will raise the PR later this week.
many thanks
uk-bolly

hi @prestonSeaman2
Thank you again for raising this issue. This has now been merged into main for a while, i will close this issue please open a new request if this is not resolved.
many thanks
uk-bolly


Shallow ensembles

WIP just for the visibility / ease of feedback.

This PR has become a bit of a collection of stuff I've done in the last month. Not a particularly good practice, but here we are.
The PR contains the following:

implementation of shallow ensembles
This includes the model itself as well as two loss functions, NLL and CRPS.
A small refactor of the loss function internals was required to allow them the processing of uncertainties.

updated use of the jax host callback api (Jaxmd compatible with newest jax version)

implementation of an ApaxImport Node wich allows the use of standalone trained apax models to be used in IPSuite workflows


Feature request: Account limit information

Feature Request
I want to use the Python HCloud API to automate server creation and management for my project - basically, we want to start servers to run our application whenever a customer needs an instance of the application. These servers are long-lived and will not be shut down any time soon. Thus we will run into the server count limit quite soon.
I understand that this limit is per account and can be increased, however, it would be very helpful to be able to monitor this limit automatically and react to the server count getting close to the limit. In addition, I would like to test beforehand if the new server would still fit into the limit or if I need to postpone server creation until a server is available or the limit has been increased.
I understand that the limits are not per project while the API is. Thus I see two different solutions for this:

(Preferred solution): Report on Limits anyways using either limit and usage attributes on the particular objects (e.g. Server) or an additional Limit object (I would prefer that since it bundles all information in one place).
It needs to be understood that the usage metrics associated with the limits may change due to changes in other projects, thus error handling is still needed. Monitoring would be working well, though.

Dry runs - the possibility to do a dry run on what you wanted to do. Flags are added to the requests to basically try what you want to do as a dry-run and simulate the result, checking the API Limits, ... . This would still not be a guaranteed success for e.g. server creation if the dry-run succeeds and the server creation is triggered afterward (for example if another server has been created in parallel and the server limit is now used up). But it would help for testing if what the script wants to do works and is at least sufficiently safe to do.

In any case required
I do not see any information in the cloud API documentation on what happens if I try to create a server using the API and the API limits are used up. Which errors do I have to catch and how can I differentiate between a server limit issue and e.g. an availability or connection issue?
Teachability, Documentation, Adoption, Migration Strategy
While the documentation in general either needs a section on limits and what happens when they are reached (I would especially expect that documented on e.g. the ServersClient.create() call), adding limit information would mostly add a new section to the API documentation and does not necessarily need any migration unless error reporting will change the behavior of certain methods (e.g. if the ServersClient.create() method now could throw an exception). Here, the philosophical question of throwing exceptions vs. adjusting flags in the returned object is relevant. The first would be explicit but would be breaking code, the second would still need to be looked out for but is most likely less invasive. Personally, I prefer solutions that let me choose between either option using an optional keyword argument to turn exceptions either on or off.

Any comments?

Hey @philippfreyer,
I have added 2 votes to our internal feature request tracker for adding Limit information to our public API.

Thank you @apricote - I am looking forward to this feature, once it is available since it would allow me to automate a lot of our processes.


Revert removed method

Fixes #1461

Calling @tobya, @mholt

This brings up an interesting point about breaking plugins.  Do we need/watn to run plugin builds with travis-ci as well as core caddy, to see when core code changes break plugins.

Good question, and the way I've approached this in the new build server is that Caddy core is the boss: nothing blocks the release of Caddy (as long as its tests pass, etc.) - even if it means that a plugin breaks.
That's kind of harsh, but:

We're pre-1.0 so we move quick and break things (I'm still not 100% sure what the 1.0 compatibility guarantee looks like, but there will be one).
Depending on compute resources available, a possible future upgrade to the new build server would be to re-build all plugins with Caddy and notify plugin authors if their plugin has broken due to a Caddy update.

We took out IncrNest because we decided we don't want the Caddyfile to have deep nesting (more than 2 blocks) -- in other words, directives cannot nest blocks inside them.
I'm going to revert this change since we want to get rid of IncrNest, and we do not let plugins block the advancement of Caddy core.
@echocat You have some time to update the filter plugin -- I'm sorry about this -- if you would like any assistance please let me know. :)


Be able to put middleware in processing the AST

Howdy!
I think you've got the only golang library out there that supports going from markdown to AST and then back to Markdown.
What do you think about allowing AST manipulations between parse and render? The idea being I pass in a function as a callback, or I have ownership of the blackfriday/v2 AST between parse and render?
Would basically mean adding a wrapper around the internal Render structure. I could do it today if instead of being in internal/ it was in pkg...
What do you think?

Turns out I could import  https://github.com/jsternberg/markdownfmt/blob/c2a5702991e37f837f84104a79fa48fd215d0458/markdown/main.go today

I remember being warned by a Mr Aldridge to place anything I do not want to maintain publicly in internal/ while starting this project :)
I can't remember exactly what but it seems like there were some serious issues with blackfriday to the point that I would rewrite from a different backend were I to do any serious work on this project.  Yes, that other project works pretty well but was not foolish enough to attempt to format to a set length column, which turned out to be a rather unpopular feature.

I imported github.com/jsternberg/markdownfmt/markdown and used it as here: https://github.com/Vaelatern/mdbook-d2-go/blob/ace29af66b63df6f54abc66973104b49bb0d6c4f/main.go#L186-L192 to go from blackfriday's AST back to markdown
also pictured, an example of mutating an AST before returning it to markdown.

I don't think blackfriday's API was bad.

I don't think blackfriday's API was bad.

Yeah, the only complaint is an obscure bug making me vendor things to get the current functionality, and other elements missing or incorrect in the AST. Upstream does not seem interested since the AST is not designed for public consumption and the bugs do not affect their use case.

Shame when Rust has a pullmark crate that does this easily, but I like using Go.


feat: use a default ftl-db port with ftl serve

Tries to use a default port of 5433 if possible.
If it's taken by another process it will use the bind allocator to pick the next available port
@alecthomas does this look ok to you?

I think for the DB it would be better to have a flag, and fail if it can't allocate the port. ie. let the user control the port to bind to. Otherwise, if it allocates a random port it's going to be annoying for them.

Good point! Lemme add that as well


[stable/datadog] How to do Deployment instead of Daemonset ??

Describe the bug
I'm not using DataDog as my primary solution on/for kubernetes.
But some of applications use DogStatd to send some metrics.
I've datadog chart installed and not touched for quite some time.
But today when i've decided to upgrade/refresh datadog I've discovered that there is no more option to do Deployment instead of Daemonset.
I don't need datadog as a Daemonset running on each node. I need only one Pod with dogstatsd. Chart Quck Start still states that Deployment is possible in some special cases.
Version of Helm and Kubernetes:
helm2-3
kubernetes 1.15-16-17-18....
Which chart:
stable/datadog
What happened:
unable to install chart using deployment
What you expected to happen:
Install chart on a single node, single pod using deployment

For now had to uninstall old release, upgrade of which was somehow throwing error:
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

(I know that I'm running kubernetes 1.16 and what they have deprecated..... but everything is using apps/v1 Deployment ... or apparently not everything)
Uninstall/re-install with chart --version workerd fine this time.
helm3 upgrade \
-i datadog \
-n default \
stable/datadog \
--version=1.39.9 \
--set image.tag=7.18.1 \
-f values.yaml

Fix README and remove ambiguous info!


[WIP] Add short-hand registry getters

For Game/Server scope, a REGISTRY field
For world scope, a static util method that is passed a ServerWorld
This is only on Javapoet side currently. Need to do it on other side next.
Signed-off-by: Chris Sanders<EMAIL_ADDRESS>

@zml2008 Be kind :)
Additionally, could probably elect to not do a field for GAME/SERVER scope but was having issues keeping it "clean"

@Grinch will continue this one.


test_multiple_bind_addresses_port_forward appears to hang and fails (Macbook M3)

Which project are you reporting a bug for?
kr8s
What happened?
I've been running pytest kr8s/tests -k "not test_multiple_bind_addresses_port_forward" to test because that test function appears to hang and eventually fails. I am on a Macbook M3.
❯ uname -a
Darwin laptop-D96560.home 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:37 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6031 arm64

Anything else?
No response

I am able to reproduce this on my M3 MacBook.
future: <Task finished name='Task-55' coro=<PortForward.start.<locals>.f() done, defined at /Users/jtomlinson/Projects/kr8s-org/kr8s/kr8s/_portforward.py:122> exception=OSError("could not bind on any address out of [('<IP_ADDRESS>', 28235)]")>
Traceback (most recent call last):
  File "/Users/jtomlinson/Projects/kr8s-org/kr8s/kr8s/_portforward.py", line 124, in f
    async with self as port:
  File "/Users/jtomlinson/Projects/kr8s-org/kr8s/kr8s/_portforward.py", line 112, in __aenter__
    return await self._run_task.__aenter__(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jtomlinson/miniconda3/envs/kr8s/lib/python3.11/contextlib.py", line 210, in __aenter__
    return await anext(self.gen)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jtomlinson/Projects/kr8s-org/kr8s/kr8s/_portforward.py", line 159, in _run
    server = await asyncio.start_server(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jtomlinson/miniconda3/envs/kr8s/lib/python3.11/asyncio/streams.py", line 84, in start_server
    return await loop.create_server(factory, host, port, **kwds)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jtomlinson/miniconda3/envs/kr8s/lib/python3.11/asyncio/base_events.py", line 1539, in create_server
    raise OSError('could not bind on any address out of %r'
OSError: could not bind on any address out of [('<IP_ADDRESS>', 28235)]

We don't actually test Windows or Mac in CI so we can't really guarentee support. But I'd like to change that so I've opened #382 to track adding this.
Given this particular error happens when starting an asyncio server I suspect this error will either go away or change once #333 has been implemented. Therefore I suggest we prioritise that issue and then come back here once it is done and see what state things are in.
In the meantime we should probably just skip that test on Mac.

Just adding my 👍 here that the portforward feature hangs on my macbook as well 😢

Please give a :+1: reaction to the issue, it helps when sorting issues.


Que keeps logging job_unavailable instead of doing its job

I keep getting
{"lib":"que","hostname":"df7fcecc-24b6-405b-899a-0ca294f09637","pid":6,"thread":70002836492360,"event":"job_unavailable"}

in the error log. The jobs are not launched.
Running my app on heroku with unicorn.
Added Que.mode = :async after establishing DB connection in unicorn starter script.
Some debug info:
irb(main):004:0> Que.execute("select count(*) from que_jobs")
=> [{"count"=>3}]
irb(main):005:0> Que.job_stats
=> [{"queue"=>"default", "job_class"=>"ActiveJob::QueueAdapters::QueAdapter::JobWrapper", "count"=>3, "count_working"=>0, "count_errored"=>0, "highest_error_count"=>0, "oldest_run_at"=>2015-09-22 04:52:02 +0000}]

DB dump
> select * from que_jobs;
 priority |            run_at             | job_id |                    job_class                     |                                                                                args                                                                                | error_count | last_error |  queue
----------+-------------------------------+--------+--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+------------+---------
      100 | 2015-09-22 04:52:02.720106+00 |     90 | ActiveJob::QueueAdapters::QueAdapter::JobWrapper | [{"job_class":"ChannelMedatatumCoverArtJob","job_id":"54641e0e-b226-4eb9-9d60-6d91a232be59","queue_name":"default","arguments":["b65df816-69a0-441c-bd6e-ae0a539b6b63"],"locale":"en"}] |           0 |            | default
      100 | 2015-09-22 04:52:18.360613+00 |     91 | ActiveJob::QueueAdapters::QueAdapter::JobWrapper | [{"job_class":"ChannelMedatatumCoverArtJob","job_id":"596c03d1-ef9f-4c83-8872-366e636ec24c","queue_name":"default","arguments":["3394a021-c1ea-46a9-bc37-934c334c1e53"],"locale":"en"}] |           0 |            | default
      100 | 2015-09-22 04:52:39.149772+00 |     92 | ActiveJob::QueueAdapters::QueAdapter::JobWrapper | [{"job_class":"ChannelMedatatumCoverArtJob","job_id":"bee4fad9-3a22-4695-b98d-53508cd13fc4","queue_name":"default","arguments":["d81c7dc8-b61b-4783-a878-817a72727bef"],"locale":"en"}] |           0 |            | default
      100 | 2015-09-22 04:55:09.047588+00 |     93 | ActiveJob::QueueAdapters::QueAdapter::JobWrapper | [{"job_class":"ChannelMedatatumCoverArtJob","job_id":"7541030d-138e-4eea-9a21-0647fee22d84","queue_name":"default","arguments":["06673e53-66cc-4705-976e-e7a61501eeaa"],"locale":"en"}] |           0 |            | default
(4 rows)

Job code
class ChannelMedatatumCoverArtJob < ActiveJob::Base
  def perform(channel_metadatum_id)
    Channel::Metadatum.transaction do
      begin
        metadatum = Channel::Metadatum.find(channel_metadatum_id)

        if metadatum.kind == "music" and metadatum.music_cover_art_url.blank?
          metadatum.music_cover_art_url = Utils::Discogs.new(metadatum.music_artist, metadatum.music_album).image_url

          if metadatum.music_cover_art_url.blank?
            metadatum.music_cover_art_state = "not-found"
          else
            metadatum.music_cover_art_state = "found"
          end

          metadatum.save!
        end

      rescue
        metadatum.music_cover_art_state = "error"
        metadatum.save!
      end
    end
  end
end

Tried to set QUE_QUEUE=default via env vars - no success.
Running jobs via rake que:work works OK but I want to run them within unicorn.
que 0.11.2
ruby 2.2.3
rails 4.2.4
unicorn 4.9.0
Regardless of what is the exact reason behind this, there's no single info in the que docs about this type of error message.

There's no info in the docs about it because there's not a known common reason why it would happen :smile: And in fact I don't know offhand why you're getting it. You'll get job_unavailable if the job locking query can't find any jobs that are ready to work, but it doesn't look like that should be the case.
I notice you're using ActiveJob, are you using it to set a time for the job to run? Que uses the database's clock to determine whether it's time for a job to run. There's not enough information for me to tell from what you've written, but my first guess would be some kind of time-related issue in either your application or DB, maybe involving whatever your time zone is.
You can also learn more by running the job lock query yourself (see the recursive CTE in sql.rb) and seeing whether it returns any rows, or whether it starts once you remove some of the conditions in it. That'll start narrowing things down.

I am just using MyJob.perform_later arg syntax. But I tried to use raw Que methods and the issue was the same.
I had not switched any time zones or any other significant configuration. The app is really simple,  plain RoR app with a few simple models, run on standard heroku environment.
I am unable to dig into that issue any more, I had to proceed and switched the backend to socker punch.

Alright, sorry it didn't work for you.

If anyone else has similar symptoms, btw, please bring them up!

I experienced this a few days back. (running 0.8.1)
Thanks to your suggestion of running the raw SQL job lock query I could see the job was created with
a queue name because job class has the line
"queue_as :collection_sync_job"
whereas the config and thus the query was looking for an empty string where the queue value was '_collection_sync_job' and thus never returned the job.
Solution:
I removed the line above and let it use the default queue name 'active_jobs'
Upgraded que to 0.11.2
Adjusted the initialiser  to use  'active_jobs'
All working.

Thanks, good to know!

I'm getting this message right after installing  0.12, did nothing except  just opened rails console.

Hello,
getting same error in fresh 0.12 install: {"lib":"que","hostname":"localhost","pid":6101,"thread":70269362725740,"event":"job_unavailable"}
database log:
ostgresql_1     | ERROR:  relation "que_jobs" does not exist at character 147
postgresql_1     | STATEMENT:
postgresql_1     | 	      WITH RECURSIVE jobs AS (
postgresql_1     | 	        SELECT (j).*, pg_try_advisory_lock((j).job_id) AS locked
postgresql_1     | 	        FROM (
postgresql_1     | 	          SELECT j
postgresql_1     | 	          FROM que_jobs AS j
postgresql_1     | 	          WHERE queue = $1::text
postgresql_1     | 	          AND run_at <= now()
postgresql_1     | 	          ORDER BY priority, run_at, job_id
postgresql_1     | 	          LIMIT 1
postgresql_1     | 	        ) AS t1
postgresql_1     | 	        UNION ALL (
postgresql_1     | 	          SELECT (j).*, pg_try_advisory_lock((j).job_id) AS locked
postgresql_1     | 	          FROM (
postgresql_1     | 	            SELECT (
postgresql_1     | 	              SELECT j
postgresql_1     | 	              FROM que_jobs AS j
postgresql_1     | 	              WHERE queue = $1::text
postgresql_1     | 	              AND run_at <= now()
postgresql_1     | 	              AND (priority, run_at, job_id) > (jobs.priority, jobs.run_at, jobs.job_id)
postgresql_1     | 	              ORDER BY priority, run_at, job_id
postgresql_1     | 	              LIMIT 1
postgresql_1     | 	            ) AS j
postgresql_1     | 	            FROM jobs
postgresql_1     | 	            WHERE jobs.job_id IS NOT NULL
postgresql_1     | 	            LIMIT 1
postgresql_1     | 	          ) AS t1
postgresql_1     | 	        )
postgresql_1     | 	      )
postgresql_1     | 	      SELECT queue, priority, run_at, job_id, job_class, args, error_count
postgresql_1     | 	      FROM jobs
postgresql_1     | 	      WHERE locked
postgresql_1     | 	      LIMIT 1
postgresql_1     |

PG 9.5, Rails <IP_ADDRESS>, table does exist:
app_development=# \d que_jobs
                                      Table "public.que_jobs"
   Column    |           Type           |                         Modifiers
-------------+--------------------------+-----------------------------------------------------------
 priority    | smallint                 | not null default 100
 run_at      | timestamp with time zone | not null default now()
 job_id      | bigint                   | not null default nextval('que_jobs_job_id_seq'::regclass)
 job_class   | text                     | not null
 args        | json                     | not null default '[]'::json
 error_count | integer                  | not null default 0
 last_error  | text                     |
 queue       | text                     | not null default ''::text
Indexes:
    "que_jobs_pkey" PRIMARY KEY, btree (queue, priority, run_at, job_id)

Oops, was responding to the email but I see you edited your post so that
response doesn't make sense :)
So, there used to be logic to try to start Que in a certain mode in
different Rails contexts (off in the console and rake tasks, on in the
server) but I removed it because it was too dependent on Rails internals
and kept causing problems. Now, Que only starts when you tell it to, and
should usually be run via the executable. So, I suspect you're setting
Que.mode = :async in an initializer? So if you want to do things that way
that's fine, but it'll be your responsibility to make sure that that logic
doesn't run in the console.
Also, where did you see that it wouldn't start up in the console? That's
old information and should be fixed.
On Sunday, October 16, 2016, Chris Hanks<EMAIL_ADDRESS>wrote:

Are you doing something with the search_path? Are you sure that you're
connecting to the right DB? If you examine the DB being connected to during
startup, does everything look as you think it should?
On Sunday, October 16, 2016, Yevhenii Kurtov<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Hello,
getting same error in fresh 0.12 install: {"lib":"que","hostname":"local
host","pid":6101,"thread":70269362725740,"event":"job_unavailable"}
database log:
ostgresql_1     | ERROR:  relation "que_jobs" does not exist at character 147
postgresql_1     | STATEMENT:
postgresql_1     |        WITH RECURSIVE jobs AS (
postgresql_1     |          SELECT (j)., pg_try_advisory_lock((j).job_id) AS locked
postgresql_1     |          FROM (
postgresql_1     |            SELECT j
postgresql_1     |            FROM que_jobs AS j
postgresql_1     |            WHERE queue = $1::text
postgresql_1     |            AND run_at <= now()
postgresql_1     |            ORDER BY priority, run_at, job_id
postgresql_1     |            LIMIT 1
postgresql_1     |          ) AS t1
postgresql_1     |          UNION ALL (
postgresql_1     |            SELECT (j)., pg_try_advisory_lock((j).job_id) AS locked
postgresql_1     |            FROM (
postgresql_1     |              SELECT (
postgresql_1     |                SELECT j
postgresql_1     |                FROM que_jobs AS j
postgresql_1     |                WHERE queue = $1::text
postgresql_1     |                AND run_at <= now()
postgresql_1     |                AND (priority, run_at, job_id) > (jobs.priority, jobs.run_at, jobs.job_id)
postgresql_1     |                ORDER BY priority, run_at, job_id
postgresql_1     |                LIMIT 1
postgresql_1     |              ) AS j
postgresql_1     |              FROM jobs
postgresql_1     |              WHERE jobs.job_id IS NOT NULL
postgresql_1     |              LIMIT 1
postgresql_1     |            ) AS t1
postgresql_1     |          )
postgresql_1     |        )
postgresql_1     |        SELECT queue, priority, run_at, job_id, job_class, args, error_count
postgresql_1     |        FROM jobs
postgresql_1     |        WHERE locked
postgresql_1     |        LIMIT 1
postgresql_1     |
PG 9.5, Rails <IP_ADDRESS>, table does exist:
app_development=# \d que_jobs
Table "public.que_jobs"
Column    |           Type           |                         Modifiers
-------------+--------------------------+-----------------------------------------------------------
priority    | smallint                 | not null default 100
run_at      | timestamp with time zone | not null default now()
job_id      | bigint                   | not null default nextval('que_jobs_job_id_seq'::regclass)
job_class   | text                     | not null
args        | json                     | not null default '[]'::json
error_count | integer                  | not null default 0
last_error  | text                     |
queue       | text                     | not null default ''::text
Indexes:
"que_jobs_pkey" PRIMARY KEY, btree (queue, priority, run_at, job_id)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/chanks/que/issues/124#issuecomment-254030167, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASUGhnkrYH23_YkLw6_IpAKEosgE_gMks5q0cONgaJpZM4GBX4D
.


Changed RealmScreen Label and placeholder.

https://chat.zulip.org/#narrow/stream/feedback/subject/signup.20flow/near/274298

I am reworking the RealmScreen and this rename not be needed (there are two inputs with different labels)


Proposed 0.27.0-b6

This renames the websocket directory and adds the latest websocketpp library as a new folder. The new code is not used yet.

Looks fine to me. :+1:

:+1:


Add Table statistic support

DEPENDS on #40
Set of 4 PRs:

statistics: https://github.com/Terracotta-OSS/statistics/pull/40
statistics: https://github.com/Terracotta-OSS/statistics/pull/42
platform: https://github.com/Terracotta-OSS/terracotta-platform/pull/421
ehcache: https://github.com/ehcache/ehcache3/pull/2224

Changes:

add support for a more versatile Statistic object which can be sampled and where the types can be: COUNTER, GAUGE, TABLE, etc.

add support for TABLE statistics. This can be used for example in the case where we would like to report a TopQueries statistic with the content being for an entry per query pattern, and each entry could have several statistics (count, total execution time, etc)

add support for sampled statistics in api that we need for latencies

Fixes / Refactoring:

moved statistic type to a lower level (this is the registrant that know if it registers a gauge or a counter or a table)

statistic value type (T) needs to be a serializable object because of passive -> active com. constraint and because we are using java serialization

SIZE replaced by GAUGE, which is the right name to use in the monitoring lexicography

Deprecated the old StatisticsRegistry and moved the one from platform in statistics project (StatisticRegistry). Let me know if we can clean up unused classes

Using Supplier instead of Callable for passthrough stats (change missing from previous migration to 1.8)

Moved in statistics project ZeroOperationStatistic from ehcache

Isn't there too much here? More than only the Table?

@henri-tremblay : this PR depends on #40  ;-) So it is rebased onto. Only the last commit is relevant for this PR. #40 contains only the other ones.


Grab pre-compiled DiscordRPC plugin

Instead of re-compiling on each release, simply grab the precompiled DiscordRPC DLLs.
Shaves off around 1 minute of build time.
Sample run: https://github.com/GeckoEidechse/Temp-Northstar/actions/runs/4407266520
(Upload to Thunderstore is expected to fail on fork due to missing access key)

@pg9182 giving approval is good enough for me :P


Categories

create categories
being able to classify teas into categories
This has the advantage that you do not have to enter the categories each time.

Examples::
Black Teas
Black Tea
Assam
Ceylon
Earl Grey
White Teas
White Tea
Pai Mu Tan
Xin Zhen

The design concept of Cuppa is to be a simple tea timer with only the minimum functionality needed to track your tea steeping preferences and easily initiate a tea timer.
Can you share your reasoning / use case for adding tea categories to the app? How would this be useful? How would it fit into the minimalist concept of the Cuppa app? I'm not totally discounting this idea, but I don't immediately see why someone would want a tea category in a tea timer app for anything other than informational purposes. Unlike tea steep time and temperature, it is not necessary to know the tea type when brewing one's tea.
Also, what would this look like in the UI?

you always talk about the minimum, 1 tea is enough. that is the minimum.

Haha, fair enough! :)

I would like to suggest using tea colors to categorize your teas. For example, I set all my black teas to the gray color, and my green teas to the green color.
The next version of Cuppa will add more color choices too, so that might help.


Bluetooth: Mesh: Use decimals instead of hex nums in DFD shell cmds

JSON doesn't support hexdecimals as numbers.

Could you elaborate how JSON is related to mesh shell?

We format output commands of DFD server in JSON.

Could you elaborate how JSON is related to mesh shell?

We format output commands of DFD server in JSON.

...in shell. This is for easy parsing when using mcumgr IIRC.


[5.10] Remove rounding from device frame calculations

Explanation: Removes the rounding from the DeviceFrames screen calcs, because they are causing weird rounding issues in browsers, while resizing.
Scope: Device Frames
Issue: rdar://115480995
Risk: Low
Testing: Tested manually and updated unit tests
Reviewer: @marinaaisa
Original PR: https://github.com/apple/swift-docc-render/pull/750

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test


AST: refactor getLoc() of decls to have a single entry point for all decl kinds, NFC

After we start to serialize the result of getLoc() in the
.swiftsourceinfo file, getLoc() needs a single entry point to look up via
USRs in the serialized format.

@swift-ci please smoke test

@swift-ci Please smoke test Linux platform

This doesn't seem right. swiftsourceinfo still isn't going to be able to provide SourceLocs, which are references into open buffers.

hmm, that seems to be our plan. When getLoc() is invoked for a module-imported decl, the local source file is lazily loaded and a SourceLoc instance is formed pointing to that buffer.

:-/ I guess you could do that. I was thinking you'd put line/column information in the file rather than offsets, so that it was already in user display form. But I guess LSP wants line/column and offset, so either we record all of it or we need to read the buffer in some way anyway.

:) One design goal of this is to be entirely transparent to the rest of the compiler pipeline. Plus translating from SourceLoc to line:column isn't so heavy for diagnostic cases

I was thinking being transparent to the rest of the compiler pipeline could mean modifying DiagnosticEngine rather than modifying getLoc. DiagnosticEngine's already where the fake pretty-printed SourceLocs come from.

We have to channel through getLoc() to be compatible with how merge module works, right?

You have to do something, but whether that means going through getLoc or having your source info serializer call getSourceInfo explicitly is up to you.


Update email should not modify user object before its confirmed

After passwordless #9660 has landed, the reset logic on accounts will be removed.
This means that we should not be updating the email on records with an update unless it's confirmed via the update email sent.
This needs a minor refactoring to the updating logic.

I can work upon this as soon as https://github.com/freeCodeCamp/freeCodeCamp/pull/15891 has landed

What is the status of this issue? Is it still open? Is anyone working on this?

@raisedadead Now that #15891 has landed, are you interested in starting working on this? We are getting closer to shipping beta, and this issue is on the critical path :)

@QuincyLarson I have already made a PR, see linked above.


Media library field missing trigger

Media library field is missing trigger options in the UI. But if I edit fields.yaml file and add it by hand it works as expected.
The problem is if you make changes via the UI, those trigger options get deleted.
Guess this would be a bug, or missing feature.

As per the contribution guidelines, please provide the exact steps you are taking for the issue to occur. This will be used for peer review.

Ok, so I want to add media finder field to my model. In the UI there is no trigger option, in my case I needed it because I wanted to show that field when I choose a specific value from some other dropdown field for example.
So there is no trigger option in UI. That is fine, I go to fields.yaml and add a trigger to media finder. And everything works. But if go to the UI again make some change, and save it, the trigger that I added to media finder field in fields.yaml is now gone. And I would have to add it again.
The way I see it obvious solution would be to just add trigger option to media finder in UI. Because as I understand it, every time you hit Save in the UI it overwrites fields.yaml file. And since there is no option for the trigger in the UI that option gets overwritten.
Please let me know if you need anymore info.

Hey @ivandoric, thanks for the detailed report. We just need some simple steps to follow that will reproduce the issue, along with the expected and actual behavior.

We work hard to process bugs that are reported, to assist with this please ensure the following details are always included:

Bug summary: Make sure your summary reflects what the problem is and where it is.

Request location: Enter the URL where this bug occurs, if applicable.

Reproduce steps: Clearly mention the steps to reproduce the bug.

Expected behavior: How OctoberCMS should behave on above mentioned steps.

Actual behavior: What is the actual result on running above steps i.e. the bug behavior - include any error messages.

Feel free to submit a Pull Request to the test plugin for investigation that demonstrates the issue. Don't forget to include step by step instructions how how to replicate it using the test plugin.

I already provided detailed steps. But ok. Here are the steps for reproducing the bug in numbered form :) .

Builder -> Plugin -> Models -> Fields
Add a Media Finder field.
Realize that Media Finder doesn't have trigger options

Go to plugins/author/plugin/models/model-name/fields.yaml
Add trigger there by hand. For example:

trigger:
    action: show
    field: block_chooser
    condition: 'value[mob_text]'

Trigger now works - yaaay :)
Go back to Builder -> Plugin -> Models -> Fields in the backend UI
Make any kind of change and save
Trigger now does not work because the fields.yaml file got overwritten

Solution: Add Trigger options to the UI of Media finder field.

Got it! It took less than 10 seconds this time! Thanks for the detailed explanation, there is only limited attention span I can give each issue.


[BUG]: inverted colors and google maps error.

Describe the bug

we playin evil geoguessr fr 😈
To Reproduce
i just started a new game.
Expected behavior
unsilly. please.
Describe alternatives you've considered
No response
Screenshots
No response
What is your OS ?
Windows, Linux
What browsers are you seeing the problem on?
Firefox, Microsoft Edge
Version
the demo on the website. 1.0.0 afaik.
Additional context
No response
Code of Conduct

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

This is not a bug, remember to check the faq in the Official Discord server, here's what it says:

oh cool, thanks :)


Legal advice

Proposed changes
Add the html structure to LegalAdvice ReactComponent and style the content
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

This PR doesn't pass jenkins checks: please compile and run tests locally with npm run tests and npm run start to ensure that the proyect isn't broken.

Please change name into classname in camelCase format


React Native RestorationResult is Expecting the Wrong Key in iOS

When attempting to restore purchases in react-native, in the file src/public/RestorationResult.ts (https://github.com/superwall/react-native-superwall/blob/main/src/public/RestorationResult.ts#L15) the toJson() functions return the objects as either {result: "restored"} or {result: "failed", ...}.
However, in the iOS code (https://github.com/superwall/react-native-superwall/blob/main/ios/Json/RestorationResult%2BJson.swift#L9), the RestorationResult.fromJson() function is expecting the object to have key type, not result.
This should be addressed in the src or in the iOS code as android already expects the correct key of result

Thanks for reporting, this is now fixed in the latest release v1.1.0


Input validation

This is a request not an issue. Is possible to set in the validator a correct answer. For example if you are trying to verify a password in a second input field paint green as the input is correct.
Use the validator to show errors and success.

@xster or @cbracken might know?

Sounds like you already found it but TextFormField.validator is the right place to start. See an example in https://github.com/flutter/flutter/blob/master/examples/flutter_gallery/lib/demo/material/text_form_field_demo.dart for instance.


move MAP_ANON back to core.sys.posix.sys.mman

it's not Posix standard but literally supported
by every OS and also a widely used flag, therefor
we consider it standard

group MS_SYNC/ASYNC/INVALIDATE flags

Auto-merge toggled on

thanks!

Good tip to quickly find all non-default values for double-checking, grab a copy of glibc (git://sourceware.org/git/glibc.git) and grep over all architectures.
grep -nH MAP_ANON ./sysdeps/unix/sysv/linux/*/bits/mman.h


Fix keyword warnings in ruby 2.7

All failures are not related to the changes. I'll merge this one and set up CI via GH actions using a custom config.


live demo is broken

(linked at top of readme)

Thanks - will investigate.

Duplicate of https://github.com/BinomialLLC/basis_universal/issues/171


do-notation tests don't compile with GHC-9.0.2

Although the package itself compiles, compiling the tests fails:
Preprocessing library for do-notation-<IP_ADDRESS>..
Building library for do-notation-<IP_ADDRESS>..
[1 of 3] Compiling Control.Monad.Trans.Ix ( src/Control/Monad/Trans/Ix.hs, dist/build/Control/Monad/Trans/Ix.o, dist/build/Control/Monad/Trans/Ix.dyn_o )
[2 of 3] Compiling Language.Haskell.DoNotation ( src/Language/Haskell/DoNotation.hs, dist/build/Language/Haskell/DoNotation.o, dist/build/Language/Haskell/DoN>
[3 of 3] Compiling Paths_do_notation ( dist/build/autogen/Paths_do_notation.hs, dist/build/Paths_do_notation.o, dist/build/Paths_do_notation.dyn_o )
[1 of 3] Compiling Control.Monad.Trans.Ix ( src/Control/Monad/Trans/Ix.hs, dist/build/Control/Monad/Trans/Ix.p_o )
[2 of 3] Compiling Language.Haskell.DoNotation ( src/Language/Haskell/DoNotation.hs, dist/build/Language/Haskell/DoNotation.p_o )
[3 of 3] Compiling Paths_do_notation ( dist/build/autogen/Paths_do_notation.hs, dist/build/Paths_do_notation.p_o )
Preprocessing test suite 'do-notation-test' for do-notation-<IP_ADDRESS>..
Building test suite 'do-notation-test' for do-notation-<IP_ADDRESS>..
[1 of 2] Compiling Main             ( test/Spec.hs, dist/build/do-notation-test/do-notation-test-tmp/Main.o )

test/Spec.hs:66:13: error:
    • Couldn't match type ‘a0’
                     with ‘forall s.
                           Linear s ('LinearState 0 '[]) ('LinearState n '[]) a’
      Expected: (forall s.
                 Linear s ('LinearState 0 '[]) ('LinearState n '[]) a)
                -> IO a
        Actual: a0 -> IO a
      Cannot instantiate unification variable ‘a0’
      with a type involving polytypes:
        forall s. Linear s ('LinearState 0 '[]) ('LinearState n '[]) a
    • In the expression: coerce
      In an equation for ‘runLinear’: runLinear = coerce
    • Relevant bindings include
        runLinear :: (forall s.
                      Linear s ('LinearState 0 '[]) ('LinearState n '[]) a)
                     -> IO a
          (bound at test/Spec.hs:66:1)
   |
66 | runLinear = coerce
   |             ^^^^^^

Ignoring this (skipping tests) leads to very similar errors on the usage site.

The issue here is that quicklook in 9.2 changed how rank-n types typecheck. Eta expanding things should fix it, but I don't understand what you mean by

Ignoring this (skipping tests) leads to very similar errors on the usage site.

Which usage site do you mean?
I'm happy to push a fix for the eta expansion, but I think this package is obsoleted by qualified do

What I meant was that when I skip testing do-notation, my own code (the usage site) throws very similar errors as these tests do.
I will have a look at qualified do first.
I haven't been following new haskell developments for a while now, so I wasn't aware of that.
The reason I'm still using do-notation is because my CI system started to complain about all the example / tryout code I have based on your book "thinking with types" when nixpkgs default ghc got updated to 9.0.2 :)
If I can change to qualified do easily I will close this issue. I'll let you know in a few days.

I can confirm that the eta expansion does the trick.
But after that, I managed to indeed just get rid of do-notation in full by using the QualifiedDo extension.
Thanks for pointing this out!

No problem, glad you figured it out! I'll archive this repo towards that end.


Im facing some issues with the syntax in Xcode 9 ,

any idea how to at that in PodFile im new to this?

That looks right to me. Here’s an example you can copy and paste: https://github.com/ZevEisenberg/Padiddle/blob/master/Padiddle/Podfile

Oops, sorry, my mistake. That branch was merged and deleted. Please use the master branch for now.

@harshit-mapmyindia BonMot 5 has been released, with support for Xcode 9 and Swift 4. Please update, and file a bug if you find any problems. Thanks for using BonMot!


AssertionError: TensorRT plugin should be compiled.

Hi, When I use "python tools/deployment/onnx2tensorrt.py"  to convert the onnx file to trt, it appears "TensorRT plugin should be compiled."

For deployment issue, please refer to MMDeploy. It seems that you have not install the corresponding package.


S133 clean-up

It was asked at https://math.stackexchange.com/questions/4833751 if a certain space was in the $\pi$-Base. As it turns out, yes, it is, but it wasn't obvious due to the very specified construction. It'd be good to make this clearer in the $\pi$-Base, and while we're at it, remove some of the redundant assertions.
I've invited the asker of https://math.stackexchange.com/questions/4833751 to make this contribution, so they are encouraged to reply here to learn more.

Hello all,
I'm Greg Nisbet, the author of the linked question. I'd be more than happy to update the files.
I would like some direction on exactly what to change, if that's all right.
I'd also like to know if there are any instructions for how to build the project locally.  This page has some embedded LaTeX and I can probably get Emacs to render it inline, but I'm curious if there's a preferred way to do that.
Thanks,
Greg

I started work on https://github.com/pi-base/data/pull/506 . It is not finished. I'll work on it some more and remove the [DO NOT MERGE] label from the title when it is ready for review.
I still need to look around some more to see how to do citations (and some other stuff).

I made my PR ready for review. From what I can gather, citations to math exchange are just done as markdown links [example](like this), aside from {{mathse:question#}} links which also exist.

Thanks - sorry for my slow reply! I've made a suggested tweak in #516 - feel free to comment there, here, or in #506. Thanks for your time. :-D

#516 completed this.


Imagesets txt

Hello, may I ask you about how can I get the MSRA-B_id.txt？

@Roudgers It is the image name (without postfix e.g. .jpg) of the training set of MSRA-B.  You can find the dataset at https://mmcheng.net/msra10k/

Thanks for your reply. And that's very helpful for me.
---Original---
From<EMAIL_ADDRESS>Date: Sun, Apr 26, 2020 12:06 PM
To<EMAIL_ADDRESS>Cc: "Mention"<mention<EMAIL_ADDRESS>Subject: Re: [Kinpzz/RCRNet-Pytorch] Imagesets txt (#3)
@Roudgers It is the image name (without postfix e.g. .jpg) of the training set of MSRA-B.  You can find the dataset at https://mmcheng.net/msra10k/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


The vscode internal terminal cannot load information registered in ${env:PATH}.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.88.0
OS Version: Windows11 Home 22H2, 22621.3447

The vscode internal terminal cannot load information registered in ${env:PATH}.
for example,
When you run the “where.exe where” command in Windows Terminal,
"C:\Windows\System32\where.exe" is displayed.
However, if you enter the same command in the Powershell terminal within vscode, an "Object Not Found" error is displayed.
Commands that run well in Windows Terminal Powershell, such as "py", "ipconfig", and "cmd", do not work in vscode.
I installed cmake and tried to use it in vscode but ran into this problem.
How do I solve this?

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to our code. As such, I will go ahead and close it. Please try to reproduce in Windows Terminal and report to microsoft/terminal with repro steps.
If you cannot reproduce in Windows Terminal, chances are it's fixed in a later version of Windows. You can read more about how we consume conpty here. Thanks for understanding.
/label upstream terminal-conpty windows


add more tests for the source

@codrcodz
Added some test coverage, will add more tests tomorrow.

Looks good to me.
I'm going to be submitting three PRs once this is merged. One for a .gitignore, one for the addition of tox, and another for the addition of travis-ci


Outbound throttle seems inaccurate

E.g. setting to 1.5mbps/384kbps shows 1.24mbps down and 2.67mbps up on speedtest.net, setting to 780kbps/330kpbs shows 0.73 down and 2.75 up. Similar results on speakeasy.net/speedtest
WinShaper v1.0 (latest); Win10 x64 14986.1001

For my sanity, can you try uploading a large file somewhere (or copying across the network) and seeing what the actual transfer rate looks like?

Interesting; if I use Windows Explorer to copy across the network, the performance does not exceed the configured value (it's actually about 1/3 as fast, e.g. 111kbps for the 384kpbs setting).
I need to find or build a website that calculates INPUT TYPE=FILE upload speed and see whether this is some sort of browser-specific thing.

Strangely, I can't reproduce it so I wonder if there is maybe some interaction going on with other bits of the net stack.

I generally disable Windows' QOS and other filter drivers on my main desktop.  I'll see if I can reproduce it in a VM.  You are running the bleeding-edge insiders build of 10, right?
I also tested with WinSCP to upload large files to a local server and it stabelized around 44KB/s which is about right though it took a while before congestion control came to it's senses.  There was a flood of data filling the queue until packet loss kicked in and the queue drained - repeat a few times and then it hit a happy equilibrium.

Interesting. I tried on another Win10 PC (also v14986, the latest) and got the same results. I notice now that both of the test sites I mentioned were based on Ookla technology. Both PCs are connected via wifi.
When I try on my Google desktop at work (Win10 v10586, wired LAN connection) the numbers returned by the test sites match expectations.

I'm heading out of town for a week so it'll be a while before I can try it out but I'll take a look as soon as I get back.  I'll try a mix of stable/insider and wifi/LAN to see if I can find a combination that reproduces it.  Current theory is that maybe the packet size information isn't returning correctly for outbound WiFi packets which would throw off the bandwidth throttling.

Just released <IP_ADDRESS> with the fix


fixed the broken link and update readme file

Hi! @karussell Please review it. Is this broken link you talking about it?
#338
Also, fixed the syntax in getting started readme file.

It would be great to merge this PR because one of them I 'm using frequently and sometimes see the page is not available and after that, I have to go manually

@karussell @oblonski, @braktar @pierredavidbelanger
Please review and merge it.

I think it would be good in one PR.


Haskell data from R package 'boot'.

I am about to use the coal dataset from boot: https://stat.ethz.ch/R-manual/R-devel/library/boot/html/coal.html so I thought I would add it to datasets but you need R, the R boot library and inline-r installed which seems overkill to add to the dependencies. Should we just store the data as a CSV file using my little script? Maybe have a stanza in the .cabal that builds an exe and creates the CSV file with a flag -reconstructData? Then the data set can be reconstructed if you want to go to the horse's mouth and you don't mind all the dependencies but normally this flag would be off and no dependencies would be required.

Thank you! I suggest instead following the example in Numeric.Datasets.CO2 where R datasets are downloaded from this page:
http://vincentarelbundock.github.io/Rdatasets/datasets.html

That is a good resource! I will use that.

The internal API in Numeric.Datasets isn't very good. I have a better one in mind.

@idontgetoutmuch i have added the coal dataset using your record definition along with a new internal API to master and Hackage as v 0.2.3


[Windows] Support LoadBalancer Service.

Support handle LoadBalancer Service traffic:

Install loadbalancing OpenFlow entires for Pod to LoadBalancer
Service traffic. The traffic handling logic is same with the
existing logic for ClusterService.
Install OpenFlow entires for LoadBalancer Service traffic from
outside. The traffic is forwarded antrea gateway, and then
kube-proxy will handle the traffic.

Signed-off-by: Rui Cao<EMAIL_ADDRESS>

/test-all

/test-windows-conformance

/test-all

/test-windows-networkpolicy

/test-windows-conformance

/test-windows-conformance

/test-windows-conformance

/test-windows-conformance

/test-windows-conformance

/make-all

/test-all

/test-windows-conformance

/test-windows-conformance

/test-windows-networkpolicy

Please add e2e tests that ensures related flows can be create, delete and update as expected.

/test-e2e

/test-all

Please add e2e tests that ensures related flows can be create, delete and update as expected.

Thanks Weiqiang. I will add e2e tests to verify the flows. But consider the e2e can not run on Windows. I will add linux related tests for now.

/test-e2e

/test-all


Build linux failed by INSTALL not found "native_assets/linux"

Steps to reproduce
'flutter build linux' will trigger this bug. I've tried 'flutter clean' or create a sample project but this bug still occurred.
Expected results
build successfully just as 'flutter build apk' does.
Actual results
CMake Error at cmake_install.cmake:112 (file):
  file INSTALL cannot find "/home/....../build/native_assets/linux": No such
  file or directory.

Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.5, on Arch Linux 6.11.9-zen1-1-zen, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.3)
[✓] Connected device (2 available)
[✓] Network resources

Hi @shilkazx
Does this issue also appear with flutter run command? Can you please share the entire output of running command with verbose? (flutter run -v or flutter build linux -v) [^1]
[^1]: The output may be too large to be uploaded to GitHub, you may upload it as a txt file or use online tools like https://pastebin.com/ to share it.

Hi @shilkazx Does this issue also appear with flutter run command? Can you please share the entire output of running command with verbose? (flutter run -v or flutter build linux -v) 1
Footnotes
1. The output may be too large to be uploaded to GitHub, you may upload it as a txt file or use online tools like https://pastebin.com/ to share it. [↩](#user-content-fnref-1-c981bb592aae5e63f6907a8701d844c0)

Sure, the flutter run failed just like what build linux do. And the verbose output is:
flutter build linux -v
[  +11 ms] executing: uname -m
[   +8 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +31 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] Flutter assets will be downloaded from https://mirrors.tuna.tsinghua.edu.cn/flutter. Make sure you trust this source!
[  +27 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +13 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +34 ms] Skipping pub get: version match.
[  +86 ms] Generating /home/user/Nutstore/project/flutter/xuan/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +61 ms] Building Linux application...
[   +3 ms] executing: [~/.cache/gradle_build/linux/x64/release/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/user/Nutstore/project/flutter/xuan/linux
[  +38 ms] -- Configuring done (0.0s)
[   +8 ms] -- Generating done (0.0s)
[        ] -- Build files have been written to: /home/user/Nutstore/project/flutter/xuan/~/.cache/gradle_build/linux/x64/release
[  +18 ms] executing: ninja -C ~/.cache/gradle_build/linux/x64/release install
[  +14 ms] ninja: Entering directory `~/.cache/gradle_build/linux/x64/release'
[+1134 ms] [1/5] Generating /home/user/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/libflutter_linux_gtk.so, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/user/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/user/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /home/user/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/user/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h, /home/user/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/user/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h, /home/user/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/user/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/fl_view.h, /home/user/Nutstore
Files/Nutstore/project/flutter/xuan/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[   +3 ms] [   +7 ms] executing: uname -m
[        ] [   +5 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [  +26 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +1 ms] Flutter assets will be downloaded from https://mirrors.tuna.tsinghua.edu.cn/flutter. Make sure you trust this source!
[        ] [  +48 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +34 ms] Initializing file store
[        ] [   +5 ms] Done initializing file store
[        ] [  +31 ms] Skipping target: gen_localizations
[        ] [   +4 ms] Skipping target: gen_dart_plugin_registrant
[        ] [ +130 ms] Skipping target: unpack_linux
[        ] [ +177 ms] Skipping target: kernel_snapshot_program
[        ] [   +1 ms] Skipping target: native_assets
[        ] [        ] Skipping target: kernel_snapshot_native_assets
[        ] [        ] Skipping target: kernel_snapshot
[        ] [ +107 ms] Skipping target: aot_elf_release
[        ] [  +17 ms] Skipping target: linux_aot_bundle
[        ] [  +21 ms] Skipping target: release_bundle_linux-x64_assets
[        ] [        ] Persisting file store
[        ] [   +3 ms] Done persisting file store
[        ] [   +2 ms] build succeeded.
[        ] [   +3 ms] "flutter assemble" took 601ms.
[        ] [ +252 ms] ensureAnalyticsSent: 229ms
[        ] [        ] Running 1 shutdown hook
[        ] [        ] Shutdown hooks complete
[        ] [   +3 ms] exiting with code 0
[ +285 ms] [2/5] Building CXX object CMakeFiles/xuan.dir/flutter/generated_plugin_registrant.cc.o
[  +33 ms] [3/5] Building CXX object CMakeFiles/xuan.dir/my_application.cc.o
[  +76 ms] [4/5] Linking CXX executable intermediates_do_not_run/xuan
[        ] [4/5] Install the project...
[   +7 ms] -- Install configuration: "Release"
[   +1 ms] -- Installing: /home/user/Nutstore/project/flutter/xuan/~/.cache/gradle_build/linux/x64/release/bundle/xuan
[        ] -- Set non-toolchain portion of runtime path of "/home/user/Nutstore/project/flutter/xuan/~/.cache/gradle_build/linux/x64/release/bundle/xuan" to "$ORIGIN/lib"
[        ] -- Installing: /home/user/Nutstore/project/flutter/xuan/~/.cache/gradle_build/linux/x64/release/bundle/data/icudtl.dat
[        ] -- Installing: /home/user/Nutstore/project/flutter/xuan/~/.cache/gradle_build/linux/x64/release/bundle/lib/libflutter_linux_gtk.so
[   +7 ms] CMake Error at cmake_install.cmake:112 (file):
[        ]   file INSTALL cannot find "/home/user/Nutstore
[        ]   Files/Nutstore/project/flutter/xuan/build/native_assets/linux": No such
[        ]   file or directory.
[        ] FAILED: CMakeFiles/install.util
[        ] cd "/home/user/Nutstore/project/flutter/xuan/~/.cache/gradle_build/linux/x64/release" && /usr/bin/cmake -P cmake_install.cmake
[        ] ninja: build stopped: subcommand failed.
[   +8 ms] Building Linux application... (completed in 1,640ms)
[        ] "flutter linux" took 1,885ms.
[  +24 ms] Build process failed
[        ]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      _runBuild (package:flutter_tools/src/linux/build_linux.dart:210:5)
           <asynchronous suspension>
           #2      buildLinux (package:flutter_tools/src/linux/build_linux.dart:83:5)
           <asynchronous suspension>
           #3      BuildLinuxCommand.runCommand (package:flutter_tools/src/commands/build_linux.dart:87:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:93:3)
           <asynchronous suspension>

[ +136 ms] ensureAnalyticsSent: 134ms
[        ] Running 1 shutdown hook
[   +1 ms] Shutdown hooks complete
[   +4 ms] exiting with code 1

Can you try this to see if it helps in your case or not ?

Can you try this to see if it helps in your case or not ?

Thanks for your hints. But that's not my situation. In the post you mentioned above, the bug reporter uses a Redhat based system and lack of libstdc++ library. But I use an up-to-date Archlinux and the content shipped with "libstdc++-devel" under Redhat is already shipped with gcc in Archlinux(I've checked the content of libstdc++-devel on a Rocky Linux server).

@shilkazx
I don't have the said Linux setup to verify at my end. Can you switch to latest master and re-run your scenario to check if it still persist or not ?

@shilkazx I don't have the said Linux setup to verify at my end. Can you switch to latest master and re-run your scenario to check if it still persist or not ?

I've cloned repo with depth 1, and it gives me this error:
The current Flutter SDK version is 0.0.0-unknown.

Because every version of flutter_test from sdk depends on leak_tracker_flutter_testing >=2.0.3 which requires Flutter SDK version >=3.18.0-18.0.pre.54, flutter_test from sdk is forbidden.
So, because test depends on flutter_test from sdk, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Try using the Flutter SDK version: 3.24.5.
Failed to update packages.

@shilkazx
You probably are on checkout version of stable. Please run flutter channel master and then try to run your scenario.

It drives me nuts.
The flutter channel master works perfect and I run flutter upgrade also completed without error:
Flutter is already up to date on channel master
Flutter • channel master • https://gitee.com/mirrors/Flutter.git
Framework • revision 9bd2853737 (14 hours ago) • 2024-11-24 19:06:26 -0500
Engine • revision 0ced389c84
Tools • Dart 3.7.0 (build 3.7.0-183.0.dev) • DevTools 2.41.0-dev.2

Then flutter build linux still complain "The current Flutter SDK version is 0.0.0-unknown." etc.

Then flutter build linux still complain "The current Flutter SDK version is 0.0.0-unknown." etc.

Check https://github.com/flutter/flutter/issues/148000 for further reference.

The flutter channel master works perfect and I run flutter upgrade also completed without error:

Does this mean the reported error doesn't occur in master ?

Then flutter build linux still complain "The current Flutter SDK version is 0.0.0-unknown." etc.

Check #148000 for further reference.

The flutter channel master works perfect and I run flutter upgrade also completed without error:

Does this mean the reported error doesn't occur in master ?

No. The new obstacle block the build process.
I tried to fix this according to #148000, but met another bug that the flutter hint about git remote set-url not work:
> git remote set-url upstream https://github.com/flutter/flutter.git                                                                                > ./bin/flutter update-packages
The current Flutter SDK version is 0.0.0-unknown.

Because flutter_update_packages depends on provider >=4.0.0-dev which requires Flutter SDK version >=1.12.1, version solving failed.

If the current version was resolved as 0.0.0-unknown and this is a fork of flutter/flutter, you forgot to set the remote upstream branch to point to the canonical flutter/flutter:

  git remote set-url upstream https://github.com/flutter/flutter.git

See https://github.com/flutter/flutter/blob/main/docs/contributing/Setting-up-the-Framework-development-environment.md#set-up-your-environment.
Failed to update packages.

I will keep the issue open for team's tracking as currently I don't have linux setup to verify this.

UPDATE:
I create and build a sample project on a rocky linux 9.3 server. Everything worked fine. I checked the build/native_assets/linux directory and found it was empty.
Then I manually create the build/native_assets/linux folder under project position on my buggy Arch Linux. Rebuild my project--it completed without error.
So it seems this bug might be something related to build/make process(scripts) but not lack of some library.
Regards,


JAMES-4080 Refactor EventDeadLetters redeliver code to work with multiple serializers

I propose creating a new EventSerializer implementation that accepts a input Set<EventSerializer>, such as JmapEventSerializer, MailboxEventSerializer, AnyEventSerializer...
This approach will simplify Guice binding (using a set binder) and easy when one day we have a new EventSerializer implement.
The code looks like:
class EventSerializers implements EventSerializer {

    Set<EventSerializer> eventSerializers;

    @Inject
    public EventSerializers(Set<EventSerializer> eventSerializers) {
        this.eventSerializers = eventSerializers;
    }

    @Override
    public String toJson(Event event) {
        return "";
    }

    @Override
    public Event asEvent(String serialized) {
        eventSerializers.forEach(eventSerializer -> {
            // loop to find the correct event serializer
            }
        });
    }
}

Then we can use EventSerializers for deserialize event at CassandraEventDeadLettersDAO

I propose creating a new EventSerializer implementation that accepts a input Set<EventSerializer>, such as JmapEventSerializer, MailboxEventSerializer, AnyEventSerializer... This approach will simplify Guice binding (using a set binder) and easy when one day we have a new EventSerializer implement.
The code looks like:
class EventSerializers implements EventSerializer {

    Set<EventSerializer> eventSerializers;

    @Inject
    public EventSerializers(Set<EventSerializer> eventSerializers) {
        this.eventSerializers = eventSerializers;
    }

    @Override
    public String toJson(Event event) {
        return "";
    }

    @Override
    public Event asEvent(String serialized) {
        eventSerializers.forEach(eventSerializer -> {
            // loop to find the correct event serializer
            }
        });
    }
}

Then we can use EventSerializers for deserialize event at CassandraEventDeadLettersDAO

I do not totally agree with this approach, but because you all think it is good, I would follow

Created EventSerializersAggregator that extend EventSerializer. This is the default event serializer. Although EventSerializersAggregator has both serialize and deserialize method, CassandraEventDeadLettersDAO instance used by webadmin only use deserialize method. Therefore, we do not need to care about serialize case. For CassandraEventDeadLettersDAO instances used by event bus, we inject appropriate EventSerializer.
public CassandraEventDeadLettersDAO(CqlSession session, EventSerializer eventSerializer)


Survey: allow to search for public and private groups that belong to …

…the current user when creating surver runs
#1593

Should we make it so that you search through only subscribed public groups rather than all public groups ?  We could then do this without adding another endpoint as we already have app-group/my-group-subscriptions....   Just a thought.
@rovats (linking you in)

Either way is fine I think, searching across all public groups saves you from having to subscribe to a group before creating a survey.
Ideally, if a group is public, one should be able to use it irrespective of whether they are subscribed to it or not I think..

Okay - will merge as is


step1.html is called without port (in quarkus-version)

SUMMARY
I installed keycloak using the quarkus version.
The installation worked, keycloak is running, the start page is showing as expexted.
But the administration console is unusable, if a port is included in the URI, as at least one file (step1.html) is loaded without the port.
ISSUE TYPE

Bug Report

ANSIBLE VERSION

ansible 2.9.27

COLLECTION VERSION

none

STEPS TO REPRODUCE

Install keycloak using the quarkus-role

EXPECTED RESULTS

A usable administration console -> the step1.html should use the same path WITH the port, if one is used.
ACTUAL RESULTS

Currently I don't use a reverse proxy and use keycloak via Port 8080/8443.
After I login, while all other files are referenced with a path like the page itself (so in my case with the port included in the URI - https://MYSERVER:8443/admin/master/console/) the following is always included without port:
https://MYSERVER/auth/realms/master/protocol/openid-connect/3p-cookies/step1.html?version=txb9r
This results in a blank unusable page which reloads every few seconds.

Hello, thanks for reporting. Can you show your host/group_vars, or any variable that overrides defaults?
If you are not running behind a proxy, I check that keycloak_quarkus_frontend_url points to https://MYSERVER:8443/auth/

Hi,
thanks, I will try that.
What I already tried was adding nginx as reverse proxy. Now I get a 404 for the mentioned step1.html and following css files:
2022-05-30 17:08:12,486 DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-11) Error response   404: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://MYSERVER/aut  h/realms/master/protocol/openid-connect/3p-cookies/step1.html?version=txb9r
2022-05-30 17:08:12,538 DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-11) Error response   404: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://MYSERVER/aut<EMAIL_ADDRESS>2022-05-30 17:08:12,541 DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-13) Error response   404: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://MYSERVER/aut  h/resources/txb9r/common/keycloak/node_modules/patternfly/dist/css/patternfly-additions.min.css
2022-05-30 17:08:12,542 DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-11) Error response   404: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://MYSERVER/aut<EMAIL_ADDRESS>2022-05-30 17:08:12,543 DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-13) Error response   404: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://MYSERVER/aut  h/resources/txb9r/common/keycloak/lib/pficon/pficon.css
2022-05-30 17:08:12,544 DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-11) Error response   404: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://MYSERVER/aut  h/resources/txb9r/common/keycloak/node_modules/patternfly/dist/css/patternfly.min.css
2022-05-30 17:08:12,546 DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-11) Error response   404: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://MYSERVER/aut  h/resources/txb9r/login/keycloak/css/login.css
2022-05-30 17:08:12,555 DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-11) Error response   404: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://MYSERVER/aut  h/resources/txb9r/login/keycloak/css/tile.css

Hmm, I set keycloak_quarkus_frontend_url as you told me to, but the problem remains.
It doesn't matter if I set the frontend_url to the one with port and open that in the browser, or if I don't set the port and use the address provided by the reverse proxy. The 404 errors stay the same apart from the URI.
Here's my host_vars content:
`
keycloak_quarkus_version: 18.0.0
keycloak_quarkus_offline_install: True
keycloak_quarkus_host: MYSERVER
keycloak_quarkus_db_enabled: True
keycloak_quarkus_db_user: keycloakdb_usr
keycloak_quarkus_db_pass: []
keycloak_quarkus_jdbc_url: jdbc:postgresql://localhost:5432/keycloakdb
keycloak_quarkus_metrics_enabled: True
keycloak_quarkus_https_enabled: True
keycloak_quarkus_key_file: conf/MYSERVER.key
keycloak_quarkus_cert_file: conf/MYSERVER.crt
keycloak_quarkus_log: file
keycloak_quarkus_log_level: debug
keycloak_quarkus_log_file: data/log/keycloak.log
keycloak_quarkus_log_format: '%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n'
`
keycloak_quarkus_frontend_url: https://MYSERVER/auth/

One more thing - I didn't find anything in the role, where the frontend_url is used.
And there was no change in the systemd-file or the keycloak.conf.

Indeed keycloak_quarkus_frontend_url is only kept for compatibility with the keycloak role, and not used yet. It is difficult to reproduce your problem without seeing your complete setup (of the reverse proxy too). To recap the possible configurations (and the defaults):

no reverse proxy at all, keycloak running on default 8443, set keycloak_quarkus_http_relative_path to '' (because with no proxy, the relative context path is ignored by Keycloak.X) and keycloak_quarkus_host to localhost:8443 (or your locally dns-resolved name with port; then run your browser to https://localhost:8443/realms/master/.well-known/openid-configuration to verify the returned endpoints (example 1 from the doc[1])
reverse proxy on :443/some_path -> :8443/, set keycloak_quarkus_http_relative_path to /some_path; then check the URL above again, both directly on port 8443 on localhost or 443 via the proxy: it will return endpoints on /some_path (example 3 from the doc[1])

If possible please also paste the output of:
curl GET "https://localhost:8443/realms/master/.well-known/openid-configuration" -k | jq .
[1] https://www.keycloak.org/server/hostname

Here's the output of the curl call:
keycloakoutput.log

I've added https to the quarkus keycloak molecule scenario with endpoint verification; please check that setup to see if it works for you: #36

You are getting a mix of localhost and MYSERVER on endpoints; set:
    keycloak_quarkus_host: MYSERVER:8443
    keycloak_quarkus_http_relative_path: ''

redeploy, then open the console on MYSERVER:8443, and please report the javascript console output

That are exactly the settings I have set.

Here's the output of the javascript console of the startpage:
Strict-Transport-Security: The connection to the site is untrustworthy, so the specified header was ignored.
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”.

And the URL from which you get the 404 is?

As mentioned in the first post, the URL is https://MYSERVER:8443/admin/master/console/.
The page itself loads, but the included https://MYSERVER/auth/realms/master/protocol/openid-connect/3p-cookies/step1.html?version=txb9r does not, as it is not accessible without the port.
So the browser runs into a timeout or the automatic refresh just tries again to load it.

:+1: :+1:  thanks for reporting anyway, the additional test on https endpoints validation was much needed


Fix Get-DbaKbUpdate search (#7204)

Type of Change

[X] Bug fix (non-breaking change, fixes #7204  )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

Make the Get-DbaKbUpdate command work again.
Approach

I've tried a few scenarios and the thing that made the difference was targeting the https url instead of the http one.
Commands to test

Get-DbaKbUpdate -Name KB4577194 -Verbose
Screenshots

Learning

ping @potatoqualitee , IMHO it makes sense.

Not sure if we should change the GET url in the function to https as well. It's not need to work but maybe it's nice anyway.

Thank you so much @krokofant 🙇🏼 ! It also made sense to me and I have merged it into the code. The new release will be published today.


Implementation of LinearTransformation class that reports solution

The goal is to transform and explain the steps needed to obtain homogenous equation.

Description of the current achievements is here:
https://cocalc.com/projects/cdcf3856-3e8b-4d1c-bcb2-5c42ba749d83/files/UCZESTNICY/Guide_Source/Source/[PL][Guide][Development] Śledzenie podstępów prac.ipynb


Update da-dynamodb-client, da-s3-client to 0.1.30

About this PR
📦 Updates

uk.gov.nationalarchives:da-dynamodb-client
uk.gov.nationalarchives:da-s3-client

from 0.1.28 to 0.1.30
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "uk.gov.nationalarchives" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #48.


Renaming styles not working without using themes.

Describe the bug
Since 123, you can rename tokens and the plugin asks to rename the styles as well. This is working when you're working with themes, but when you're not using themes, the style doesn't get renamed. Also if you afterwards change a color for example, this is not updated.
Introduced after release 123
To Reproduce
Steps to reproduce in the attached video.
Expected behavior
Would expect that the style gets renamed and also the style updates afterwards, if for example the color is changed.
Note
Some strange behaviour when you first create the style without themes and afterwards create styles with a theme for the same token. In this case the plugin and style seems to be messed up, which causes the renaming not to work within themes as well.
Screenshots or Screencasts
https://user-images.githubusercontent.com/109062656/197723344-cf5cf5a7-11e0-4326-b0d7-bf9c9bdae7e4.mp4
Related issue: https://github.com/six7/figma-tokens/issues/1194

Closing this as it seems to be a duplicate of #1194


Fix multiple parameters substitution error

Description:
Fresh build on Android Studio 3.0.1 throws "Multiple substitution specified in non-positional format" error. Correctly formatted the substitutions in strings.xml, compiles and runs fine now.

Seems like this is not required in the latest version of Android Studio 3.1.3.

Thanks for submitting this @PramodJoshi. As it is no longer required, I am now closing it out.


Can't start the apprtc dev server

Hello,
I downloaded the apprtc project in the Github on my computer, then I installed Google App Engine SDK For Python, Node js and Grunt.
After installing Google App Engine SDK I launched the command line to start the project:
C:\Program Files (x86)\Google\Cloud SDK> dev_appserver.py ./out/app_engine but I get error messages:
Traceback (most recent call last):   File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\dev_appserver.py", line 96, in <module>     _run_file(__file__, globals())   File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\dev_appserver.py", line 90, in _run_file     execfile(_PATHS.script_file(script_name), globals_)   File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 613, in <module>     main()   File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 601, in main     dev_server.start(options)   File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 277, in start     env_variables=parsed_env_variables)   File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\application_configuration.py", line 940, in __init__     env_variables)   File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\application_configuration.py", line 139, in __init__     self._config_path)   File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\application_configuration.py", line 501, in _parse_configuration     with open(configuration_path) as f: IOError: [Errno 2] No such file or directory: './out/app_engine'
How do I start the project in the command line of Google App Engine SDK?
Thank you in advance for your answers.

I am also getting same err any update @Epeny14

Hi @Epeny14 close this issue solved !!! i was mad at the moment


Move BlockWorker interface to core/common module

This refactor will help https://github.com/Alluxio/alluxio/pull/12890/

@apc999 You may need to pull the latest master branch with my updated commit to revert the changes which introduce the test failures

@LuQQiu  updated

Codecov Report

Merging #13007 (39859eb) into master (797ece1) will decrease coverage by 25.50%.
The diff coverage is 20.73%.

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

@apc999 A high-level confusion is the role of  alluxio-core-base and alluxio-core-common.
In PR  #12838, i put all the BlockReadRequest, ReadRequest related concepts in alluxio-core-base.
From the previous idea of introducing alluxio-core-base, it act as a single definition of option classes shared b/w client and server modules. Define interfaces for all services.  (which i think is the role of alluxio-core-common, not knowing why we introduce it)
Not sure BlockWorker related interfaces will be better to go in alluxio-core-base or alluxio-core-common.

The only left issue is the alluxio-core-base vs alluxio-core-common issue. Maybe @calvinjia @madanadit have better understanding of whether those interfaces should be moved to?

I believe there is no real reason to keep both alluxio-core-base & alluxio-core-common, as every module depending on alluxio-core-base also depends on alluxio-core-common. @madanadit @calvinjia  what's your thought

alluxio-bot, merge this please


adding gtbrass

👷 Deploy Preview for sparkly-mousse-72daf9 processing.

Name
Link

🔨 Latest commit
a309817e9043bb7490a66ba55075ee46445f2e98

🔍 Latest deploy log
https://app.netlify.com/sites/sparkly-mousse-72daf9/deploys/631e89771764110008d25212