what should we do if we encounter error while consuming in Errors Channel (EOF)

I had sarama cluster set up as specified in the README.  we had errors enabled and we are listening for them .
so if consumer.Errors() returns "kafka: error while consuming topicname/4: EOF" are we supposed to close the consumer and start it again. Does that makes sense ?
In cases where we ignored the messages such as above we are have seen that  entire subscription goes in to a limbo state . No messages are received for that particular consumer until restarted.
I have seen that this issue is discussed here (https://github.com/Shopify/sarama/issues/913)  where you mentioned you return what ever sarama returns but losing connection with one broker does sarama cluster automatically redial the connection or no ?  So in general is it a good idea to restart subscription when there are errors in Error channel  ?
previously i was under the impression that error happening in Error channel would be automatically recovered since any connection loss would be redialed and sarama cluster would recover from it . But i think in case where partition consumer of sarama gets an EOF ( which happens on conn.Read ) we wont automatically recover from those failures.
please suggest what is the right approach .
example code given in Readme
for {
select {
case msg, more := <-consumer.Messages():
if more {
fmt.Fprintf(os.Stdout, "%s/%d/%d\t%s\t%s\n", msg.Topic, msg.Partition, msg.Offset, msg.Key, msg.Value)
consumer.MarkOffset(msg, "")	// mark message as processed
}
case err, more := <-consumer.Errors():
if more {
log.Printf("Error: %s\n", err.Error())
}
case ntf, more := <-consumer.Notifications():
if more {
log.Printf("Rebalanced: %+v\n", ntf)
}
case <-signals:
return
}
}

@chandradeepak this PR should have fixed the problem - https://github.com/bsm/sarama-cluster/pull/169. Could you pls try it and re-open in case it's still an issue

Thanks for the PR @dim  but what should we do to encounter or create the errors.  This happened once and i coulnt manually reproduce it .

but what should we do to encounter or create the errors...
I don't quite understand what you mean by that, sorry

in general: EOF errors are not something that sarama or sarama-cluster can do much about, they are due to network disconnects between your clients and your kafka server. the change that #169 makes is that it forces a rebalance when these errors occur.

again.
sarama-cluster version : 704b0be


Expandable options on Ask/Offer form

After checking a Category (and SubCategory?) on Ask/Offer form, person would see metadata options
Ask:

urgency_level_id
recurring?
requested_by_date (new field on listing)
title
description?

Offer:

monthly_matches_max (field is currently on person, needs to move to be on listing)
monthly_donation_amount_max (field is currently on person, needs to move to be on listing)
title
description?

If it's okay with everyone, I'm going to take the ? items, and fold them out into a "needs discussion" ticket so that people feel clear to implement the other items in the list


Export SummarizedExperiment object

Export SummarizedExperiment object (with data and DGE results) for use with e.g. iSEE.

Probably should be a SingleCellExperiment object, to include dimension reduction results.

The corresponding work is updated in the branch exportSE_fiona.
To summarize the work, I have created the singleCellExperiment (sce) and SummarizedExperiment  (se) in the following way:
The original output from the prepare_results_for_shiny.R is as below.
list(wideResults = list(edgeR = edgeRwide),
longResults = list(edgeR = edgeRlong),
geneModels = genemodels,
bwFiles = bwfiles,
bwCond = condition,
dimReds = list(MDS = mds),
abundances = list(logCPM = logcpms),
geneInfo = genes)
I have created the sce and se to store the result as below.
Assays:
a list of two tables:
raw count (data saved from run_dge_edge.R)
count in logCPM (apply cpm to the raw count with log =TRUE and prior.count = 2; actually, it is the matrix form of value column in abundances)
colData: cbind(bwFiles,  bwCond)
rowData:
Gene, symbol, gene_biotype, chromosome, strand
These columns are from tx2gene and the row orders are the same to the rownames of the count table (data saved from run_dge_edge.R)
type, group
These columns are obtained from mds
Output from edgeR
The result table of each contrast is saved as a column in the rowData with the name of the contrast. So, actually, it's a DataFrame in a column.
Metadata: list(geneModels, geneInfo)
ReducedDims: (only exists in sce)
Mds without ID type and group columns

Fixed in b3bc321c4f69b3c7ede8603a2dcf0243bf002cb6


How to add more languages?

Is there an easy way to add more languages than just coding the languages in? Also, Will there be syntax highlighting on the languages at all?

I think coding the languages in is pretty much the easiest way I could make it. It’s already fairly easy; just look at some of the existing implementations to get an idea of how it’s structured.
Syntax highlighting is not currently on the radar, but if you find a text-editor component that supports it and runs within WinForms that you like, feel free to experiment with it and show it to me! :)


Facing issue with uninstall app

I'm seeing that uninstall webhook is being called multiple times, after removing the app once.

https://community.shopify.com/c/shopify-apis-and-sdks/webhook-firing-multiple-times/td-p/728598


scale points with zoom

It is half set up in create_circles, because the radii change based on the value of scale but the scale value doesn't actually change right now. Need a way to use k from the clicked function when it zooms to figure out how much to scale the circle radii. Can't just do zoom vs not zoom because some zooms are farther in than others.

Just realized I already had this one in #23.


Tags

Adds a "tags" property to the binci.yml that can be used in conjunction with the recently added dockerfile functionality. When Binci builds a new container from a dockerfile, it can now optionally tag it with one or more additional tags.
The use case here is that, if building a container on CI, the user may want to push that container directly to deployment rather than rebuilding it again under a different tag. This saves a second build, or hacky code to search for the binci build to re-tag it.

Codecov Report

Merging #92 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #92   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          11     11
  Lines         377    378    +1
=====================================
+ Hits          377    378    +1

Impacted Files
Coverage Δ

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

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

Continue to review full report at Codecov.

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


Supporting LaTeX documents

Hello,
I am working at adding some level of support for LaTeX documents to RedPen (WIP).
Please review when I'm done.
Thanks.

:+1:

Fascinating :+1:


change the module name to reflect the github path

Describe the bug
loss of connectivity to published golang docs
Additional Details
falcon_sandbox_submitter should be the module name.
This is causing some issues with golang doc linkage etc..
Expected behaviorrunning the go_proxy list will publish the correct module name

closed with v1.1.0


fix issue that no available connections cause by concurrency request limit bug

Close #1225.
Data race issue #1222 should be fix in PR #1219.

I didn't get it very well. Why are we fixing it by checking sent > 0? Seems to me it should be fixed by making sure sent is always non-negative?

I didn't get it very well. Why are we fixing it by checking sent > 0? Seems to me it should be fixed by making sure sent is always non-negative?

sent may be negative is cause by data race in issue #1222 , and I also have PR #1219 to do this fix, but I need to to more test to avoid regression as mentioned in https://github.com/tikv/client-go/pull/1219#discussion_r1523342977 , so I try to fix this bug without fix data race in this PR, since  code freezes.


Add carousel slides in clubs section of home page.

@HarshRaj4523  can you please assign me this

If this issue still persists assign it to me


C++14 Support?

Hi,
Could you please give us any idea how can we adapt serdepp with our C++14 project?
Serdepp is the only suitable library for our project ( it's amazing between others [serde-cpp, getml->reflect-cpp etc.] ) but we suffer from some drawbacks.

Using exceptions prohibited.
Using macros prohibited.
Using any version other than C++14 prohibited.

Thank you so much.

When I first created serdepp, I considered C++14, but as I created serdepp with only the features of C++14, the complexity of the code increased noticeably, so I chose C++17, which has better TMP support.
If modifying to support C++14, you will need to modify everything using constexpr and string_view.
Can you tell me in more detail about the non-use of macros?
Do you mean DERIVE_SERDE?

Please bear with me because my native language is not English so I used a translator.
Oh, you are welcome.

I think I can use custom implementation of string_view ( with ETLCPP )

Do you mean DERIVE_SERDE?
Yes macros like DERIVE_SERDE.

Maybe macros can be ignored for projects like our's but do you think will be hard to convert serdepp to c++14?

I think I can use custom implementation of string_view ( with ETLCPP )

I would need to look into replacing string_view with serdepp's custom library, but perhaps it could be supported in a similar way to how serdepp supports custom containers.
Additionally, the reason serdepp currently uses string_view is to support compile-time computation (constexpr) to reduce the cost of member name computation, so using a custom string library may result in poor performance.

Do you mean DERIVE_SERDE?
Yes macros like DERIVE_SERDE.

serdepp does not use any macros except DERIVE_SERDE, which is a utility to reduce code repetition.
In Reflection.hppAlthough I am using DERIVE_SERDE I think that part can be easily removed.

Maybe macros can be ignored for projects like our's but do you think will be hard to convert serdepp to c++14?

The biggest part of the c++17 -> c++14 task seems to be modifying all if constexpr statements to SFINAE.
For example, the most easily changeable code in serdepp is:
C++17
template<typename T, typename serde_ctx, typename = void>
struct serde_serializer {
    using Adaptor = typename serde_ctx::Adaptor;
    template <typename = void>
    constexpr inline static auto from(serde_ctx& ctx, T& data, std::string_view key) {
        if constexpr(is_serdeable_v<serde_ctx, T>) {
            if(key.empty()) {
                serde_context struct_ctx = serde_context<Adaptor>{ctx.adaptor};
                data.serde(struct_ctx, data);
            } else {
                serde_adaptor<Adaptor, T, type::struct_t>::from(ctx.adaptor, key, data);
            }
        } else {
            serde_adaptor<Adaptor, std::remove_reference_t<T>>::from(ctx.adaptor, key, data);
        }
        ctx.read();
    }
    constexpr inline static auto into(serde_ctx& ctx, const T& data, std::string_view key) {
        if constexpr(is_serdeable_v<serde_ctx, T>) {
            if(key.empty()) {
                auto struct_ctx = serde_context<Adaptor, true>(ctx.adaptor);
                data.serde(struct_ctx, const_cast<T&>(data));
            } else {
                serde_adaptor<Adaptor, T, type::struct_t>::into(ctx.adaptor, key, data);
            }
        } else {
            serde_adaptor<Adaptor, std::remove_reference_t<T>>::into(ctx.adaptor, key, data);
        }
        ctx.read();
    }
};

C++14
  template<typename T, typename serde_ctx, typename = void>
  struct serde_serializer {
      using Adaptor = typename serde_ctx::Adaptor;
      template <typename = void>
      constexpr inline static auto from(serde_ctx& ctx, T& data, std::string_view key) {
          serde_adaptor<Adaptor, std::remove_reference_t<T>>::from(ctx.adaptor, key, data);
          ctx.read();
      }
      constexpr inline static auto into(serde_ctx& ctx, const T& data, std::string_view key) {
          serde_adaptor<Adaptor, std::remove_reference_t<T>>::into(ctx.adaptor, key, data);
          ctx.read();
      }
  };

  template<typename T, typename serde_ctx>
  struct serde_serializer<T, serde_ctx, std::enable_if_t<is_serdeable_v<serde_ctx, T>>> {
      using Adaptor = typename serde_ctx::Adaptor;
      template <typename = void>
      constexpr inline static auto from(serde_ctx& ctx, T& data, std::string_view key) {
          if(key.empty()) {
              serde_context struct_ctx = serde_context<Adaptor>{ctx.adaptor};
              data.serde(struct_ctx, data);
          } else {
              serde_adaptor<Adaptor, T, type::struct_t>::from(ctx.adaptor, key, data);
          }
          ctx.read();
      }
      constexpr inline static auto into(serde_ctx& ctx, const T& data, std::string_view key) {
          if(key.empty()) {
              auto struct_ctx = serde_context<Adaptor, true>(ctx.adaptor);
              data.serde(struct_ctx, const_cast<T&>(data));
          } else {
              serde_adaptor<Adaptor, T, type::struct_t>::into(ctx.adaptor, key, data);
          }
          ctx.read();
      }
  };

If you don't use constexpr, you'll see your code grow significantly.
As a result of roughly calculating the number of parts that use 'if constexpr' in serdepp, it seems to be about 76.
Converting all of this is expected to be a very difficult task.

Thank you so much for you politeness.
I just realized the other problem will be for magic_enum and nameof libraries. They don't support c++14 :)

I've been working on a similar project in C++11 -> https://github.com/asherikov/ariles, it wont be usable in your case either though due to exceptions and excessive macro usage. There is also a C++98 enum library that may be useful -> https://github.com/aantron/better-enums, but it also relies on macro. If macro prohibition is a choice it is a bad one. ;(


Is this project still under maintenance?

Hi @biesbjerg,
Just a quick update on the project, do you still provide some maintenance?
Do you need help?
Thank you for this extractor it is a really great tool in my opinion!! :+1:
With regards,

I still maintain this project when I have some spare time :)
Thank you!


Refactor SingleMessageLogger

Signed-off-by: Bo Zhang<EMAIL_ADDRESS>Context
All this PR does is refactoring work:

Rename DeprecationFeatureHandler/DeprecationFeatureUsage to FeatureHandler/FeatureUsage
Move incubating logging out of SingleMessageLogger
Use synchronized method instead of reentrant lock in SingleMessageLogger

Thanks @oehme


Create day objects for each day

Using the weight and body fat dictionaries, create a day object for every day in the 5 week date range.

Closed with commit 14cc2682f973776d00473639116469a093fe97ee


small changes in datatypes for backwards compatibility

Added small datatype changes for backwards compatibility

Thanks for helping this make backward compatible!
Since you are anyway helping this make backward compatible, can you also change the python_requires option in setup.py with the minimum Python version you think this would be compatible with?
Also, I believe in the function experiment_utils.add_umiacs_params, argparse.BooleanOptionalAction usage (which is also only available in Python 3.9+) must also be replaced with something like below:
parser.add_argument('--flag', action='store_true')
parser.add_argument('--no-flag', dest='flag', action='store_false')
parser.set_defaults(flag=False)

Can you make these changes too? Can this PR should be good to merge with the repo.

Thanks for the changes, merging them now.


What is the difference between 'PointNet2PartSeg' and 'PointNet2SemSeg'?

Hi @yanx27 ! Thank you for your work!
There are two classes relating to segmentation, can they both be used for segmentation task?
I find that you only use class PointNet2PartSeg in train_seg.py.

Hi @yanx27 ! Thank you for your work!
There are two classes relating to segmentation, can they both be used for segmentation task?
I find that you only use class PointNet2PartSeg in train_seg.py.

Thank you for you attention, 'PointNet2PartSeg' and 'PointNet2SemSeg' use different dataset, you can try  ScanNet dataset with PointNet2SemSeg . I will complete this part in future :)


📝 Documentation: More accurate phrasing around what this package is

Bug Report Checklist

[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
Right now in the README.md, I phrase this package as a "drop-in replacement" for tsutils. I think a better phrase would be "successor".
Additional Info
No response

Resolved by 525e1c40aa73800ddb117e846d855f5d218f6c0a


child_process.ChildProcess.exec has been renamed to run, updating the…

I just tried building with latest zig version and it failed.
child_process.ChildProcess.exec has been renamed to run, updating the build script to match.

Thanks!


ci(cron,staging): add maximize-build-space

Description
After upgrading Hugo to 0.126.1, a lot of free space is required - https://github.com/aquasecurity/avd-generator/actions/runs/9122475599/job/25083663442#step:18:9
Add maximize-build-space to reallocate space.
Related PRs

#87

@DmitriyLewen should we close this?

right. we delete repositories after #91. So now we have enough space.


Unsupported/Unrecognized file type (1002) error with ArcGIS connector

Trying to import from: http://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer

It is fixed now. Probably related to all the mess with ogr2ogr/cartodbfy. Closing this ticket.


Projected Range (using usable_battery_level)

I recalled, that this would be useful, therefore now provided an update dashboard, that fixes the issue described in #2610

Screenshots confirming the change's behaviour.

Hi, @JakobLichterfeld, do you think this can be used?

Let me make some tests and will confirm as soon as possible.

Have you had time to try it out?

Let me make some tests and will confirm as soon as possible.

Have you had time to try it out?

Thank you for reminding me. Yes, I did, it works as described here https://github.com/teslamate-org/teslamate/issues/2610
LGTM!


[FEATURE] Set defaults for some send parameters

Describe the solution you'd like
...
'config' => [
    ...
    'send_defaults' => [
        'parse_mode' => ParseMode::HTML,
        'allow_sending_without_reply' => true,
        'protect_content' => true,
        ...
    ],
    ...
]

https://github.com/nutgram/nutgram/issues/673


Require JSONAPI Request with Relationship without Include

Hi
Would it be possible to render a JSON request with a relationship without having to specify the include option. When I specify only the relationship I get a "meta"=>{"included"=>false}} as part of the JSON output
Thank you very much

Hi @fredmaremyob – this is by design. Linkage data, by default, is only loaded when the corresponding relationship is included. Note that if you had a link defined for that relationship, the "meta included false" would be replaced with that link.
If you do want to include linkage data regardless of whether the relationship was included, then you can add linkage always: true in your relationship definition.

Thank you for the quick response.
Would it be possible to render the following request? Without the include
POST /resources
{
"data":{
"type":"resource",
"id":"id",
"relationships":{
"resourceType":{
"data":{
"type":"resourceType",
"id":"id"
}
}
}
}
}

Yes, just do:
has_one :foo do
  linkage always: true
end

Thank you so much. Works perfectly!


Type inference leaves unsolved uvars and crashes

module Test
let rec test ps = match ps with
  | [] -> 0
  | a::q ->
    let rec blah i = match i with
      | [] -> 0
      | b::r -> blah r
    in
    if a = 0 then 0
    else test q

Failure("(Test.fst(6,16-6,17)) CheckNoUvars: Unexpected unification variable remains: (?u1736) _")
Thanks to @R1kM

Still present, here's a minimization:
let test =
   let rec blah i = () in ()

The uvar seems to stem from the type of i, annotating it makes it work. If blah is not rec, we just get:
A.fst(4,17-4,18): (Error 66) Failed to resolve implicit argument ?1593 of type Type introduced for user-provided implicit term

as expected.

Isn't it expected given that inner lets are not generalized and here the type of i can't be inferred?

An different (?) repro
val foo : unit -> unit
let foo t =
  let rec bar env t = ()
  in bar [] t

It doesn't fail without the first argument:
val foo : unit -> unit
let foo t =
  let rec bar t = ()
  in bar t

But fails when the let rec is not nested:
let rec bar env t = ()

val foo : unit -> unit
let foo t = bar [] t

(don't know if it related, but I got the same error a few weeks ago https://github.com/FStarLang/FStar/issues/1423)

Another example:
noeq type ins 'ins_typ = {
  eval_ins : 'ins_typ -> unit;
  ins_to_string : 'int_typ -> string
}

noeq type add64 't1 't2 = {
  dst: 't1;
  src: 't2
}

assume val eval_add64 : add64 't1 't2 ->  unit

assume val add64_to_string : add64 't1 't2 -> string

let add64_ins (#t1:Type)(#t2:Type) : ins (add64 t1 t2) = {
  eval_ins = eval_add64;
  ins_to_string = add64_to_string
}

Replacing the last definition with the following code would work:
let add64_ins (#t1:Type)(#t2:Type) : ins (add64 t1 t2) = {
  eval_ins = eval_add64;
  ins_to_string = add64_to_string #t1 #t2
}

Yet at different one:
type test (a : unit) =
  | Test : test a

val f : #x:unit -> test x
let f #x = (Test #x)

let g () : unit = match f with
  | Test -> ()

I'm on this


How to use in localhost?

Is there some easy way to use these images locally? I have a containerized website running on my machine and I have set domain for it to the host machines /etc/hosts like <IP_ADDRESS> dev.mysite.com.
I also have the thumbor container running locally in address dev.mythumbor.com and nginx proxy container that listens hosts port 80 and automatically routes the domains to correct containers.
Now I would like to use the local version of thumbor inside the website like:
<img src="http://dev.thumbor.com/unsafe/50x50/http://dev.mysite.com/image.jpg" />

But this gives me HTTP Error 504. If I'm on the right path this is happening because the thumbor container cannot resolve the domain set in host machines /etc/hosts but I havent figured out how to fix this issue.
I would like if someone has found some solution for this problem and perhaps even solution where I could have n amount of dev websites running and all of them using the same instance of thumbor without linking it to every website project separately.

is your nginx capable of serving that image, if requested directly? Like this: http://dev.mysite.com/image.jpg ?
If yes, you might want to add extra hosts to compose config
https://docs.docker.com/compose/compose-file/#extra_hosts
On the other hand, might be easier to make thumbor use file_loader and mount directory with your images into thumbor container. Then request it as http://dev.thumbor.com/unsafe/50x50/image.jpg

Hi!


Add Debian packaging information

Add the necessary information to build Debian packages from inside the repository. With this commit, you can build packages using
debmake -t -i debuild

Closes #16

You might want to use native format instead of quilt for now. This removes the need for the source tarball and - in the version number.
The copyright file does not have to contain the apache license. If you can rely on being on a Debian system there already is a copy.
The dh_installdocs in rules can be replaced by a docs file and you might want to include pgxs_debian_control.mk.

Thanks @narc-Ontakac2!
Not very familiar with the Debian build and release process, so some of these items take longer than I expected. Merging this work for now instead of sitting on it, but will look into these issues separately.

You might want to use native format instead of quilt for now. This removes the need for the source tarball and -<n> in the version number.

Hmm... building using debmake -n does not work unless I do a debmake -t first, so will investigate this a little more in a separate PR.

The copyright file does not have to contain the apache license. If you can rely on being on a Debian system there already is a copy.

Fixed the copyright file, and some others that gave errors.

The dh_installdocs in rules can be replaced by a docs file and you might want to include pgxs_debian_control.mk.

Included pgx_debian_control.mk, but will look at dh_installdocs separately.

Hmm... building using debmake -n does not work unless I do a debmake -t first, so will investigate this a little more in a separate PR

I just saw that the debmake man page advises against using native format. I personally find it convenient to use. I will most likely branch my native packages to quilt format when they become official debian packages, but until then there is no need for an additional  -debversion. What I am building is a native package, so native seems appropriate.
A good thing with quilt is however, that you can not accidentally package files that just happen to be in the build directory. Files that are not in the orig.tar or have been modified give an error. If you want that, something like
git archive --output=../libsml_${VERSION}.orig.tar.gz --format=tar.gz HEAD

might be preferrable over debmake -t.

Hmm... building using debmake -n does not work unless I do a debmake -t first, so will investigate this a little more in a separate PR

I just saw that the debmake man page advises against using native format. I personally find it convenient to use. I will most likely branch my native packages to quilt format when they become official debian packages, but until then there is no need for an additional -debversion. What I am building is a native package, so native seems appropriate.

Seems reasonable, yes.

A good thing with quilt is however, that you can not accidentally package files that just happen to be in the build directory. Files that are not in the orig.tar or have been modified give an error. If you want that, something like
git archive --output=../libsml_${VERSION}.orig.tar.gz --format=tar.gz HEAD

might be preferrable over debmake -t.

Yeah, I tried that (that's why there's a .gitattributes file in the PR), but it gave other errors.  I'm going to investigate that going forward because that seems way easier than using debmake -t.


update Makefile and Dockerfile to have a full make, except push

force merge coz travis passed and reviewed


Chip visualization in multiselect SelectField

The SelectField, when in multiselect  mode, doesn't show all the selected values, just a recap like "X elements selected". We should support also a different visualization, with the select values as chips in the field.

cc @Phyele

Yes, we have a few options:

truncate + ellipsis
scroll horizontally
grow vertically

A mixed approach (e.g. grow up to a number of lines then truncate, etc)

Discussed today with @Phyele @sarabi57 @federico-ercoles and @veej:

let's add a "chip" option to SelectField, the field fill grow vertically if the options don't fit on a single line (we will discourage the use of this UI component if you foresee many options being selected in the UX guidelines, but at least we have the option available)
in case the field is used for filtering, we can come up with a more complex pattern involving (potentially) a SelectField + external chips that represent the active filters. This is something we will explore as a UX guideline.


error when I was making build process with nextjs 14

hello @dosu,
I tried to run npm run build and this error popped up.

here are my next.config.js configurations:

Originally posted by @momensalama in https://github.com/langchain-ai/langchainjs/issues/5161#issuecomment-2232820942

@dosu
I tried to follow your steps and this did not solve the problem.
here are the imports from Langchain

and here is my package.js

also here is the Updated Webpack Configuration in my next.config.mjs

@dosu
Unfortunately, all your steps did not work.

@dosu
also did not work ):

@jacoblee93 could you help me with this error?

@dosu
@jacoblee93
I tried this solution https://github.com/vercel/next.js/issues/60807#issuecomment-2087055777 and it works

Ah ok good to hear!

@dosu @jacoblee93
I tried this solution vercel/next.js#60807 (comment) and it works

Thanks @momensalama , I was searching the fix for a long time, it did resolve🙌


Order of keyword args between versions can cause breakage.

In Python, keyword args can also be passed as positional args. So in gapic-google-logging-v2 (0.9.3), LoggingServiceV2Api.list_log_entries had the signature:
def list_log_entries(self,
                     project_ids,
                     filter_='',
                     order_by='',
                     page_size=0,
                     options=None):

but in gapic-google-logging-v2 (0.10.1), it became:
def list_log_entries(self,
                     project_ids,
                     resource_names=None,
                     filter_='',
                     order_by='',
                     page_size=0,
                     options=None):

i.e. it grew resource_names in the middle. Hence when we called via positional only
page_iter = self._gax_api.list_log_entries(
    projects, filter_, order_by, page_size, options)

that code broke on the upgrade from 0.9.x to 0.10.x.

This is somewhat fine, but if you wanted, you could force users to always use some arguments as keywords by using *args, **kwargs and then unpacking args according to a specified length needed for positional and then removing from kwargs to sanitize.

@bjwatson and I discussed this, and our initial thought is that we'd rather not take such a strong definition of what constitutes a breaking change; that is, if code breaks because it calls keyword arguments as positional parameters, that's not our concern.
To support this would require either (1) moving the options parameter to always be the first argument, and ensuring new optional arguments always appear at the end of the parameter list, or (2) using *args, **kwargs as the signature for all functions as you suggested. We'd prefer not to do (1) for stylistic and pragmatic reasons, and (2) seems un-Pythonic.
Still open to more discussion before we settle, though. @jonparrott, do you have any thoughts on this?

Please don't use *args, **kwargs as the signature for all functions.
In general, I feel that the calling code should specify keyword arguments explicitly. If we were in a Python 3-only world, we could use keyword only arguments.

I don't think we intend to change GAPIC in this area; we'll consider it the responsibility of the calling code to specify kwargs explicitly.

I think it's fair to expect callers to specify kwargs as kwargs and not let
args overflow into kwargs. In Python 3, you can actually do keyword-only
args.
On Wed, Nov 23, 2016, 3:53 PM Jacob Geiger<EMAIL_ADDRESS>wrote:

Closed #526 https://github.com/googleapis/toolkit/issues/526.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/toolkit/issues/526#event-870452104, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPUc3RG5KyNhKnXiZaIdMoDDnn5N_4eks5rBNH8gaJpZM4KIMa6
.


Update hiring link

The old link returns a 404 page for me. I tried a few different VPN locations and had the same issue. Feel free to disregard or update as you please.

Ha yea, we filled the position. The whole thing should be just deleted if you want to update this PR.


AttributeError: This QueryDict instance is immutable

Replace a existing filer image under "Advanced" results in:
File ".../lib/python3.5/site-packages/filer/admin/imageadmin.py" in clean_subject_location
  68.         self._set_previous_subject_location(cleaned_data)

File ".../lib/python3.5/site-packages/filer/admin/imageadmin.py" in _set_previous_subject_location
  37.         self.data['subject_location'] = subject_location

File ".../lib/python3.5/site-packages/django/http/request.py" in __setitem__
  434.         self._assert_mutable()

File ".../lib/python3.5/site-packages/django/http/request.py" in _assert_mutable
  431.             raise AttributeError("This QueryDict instance is immutable")

Exception Type: AttributeError at /de/admin/filer/image/807/change/
Exception Value: This QueryDict instance is immutable

Django==1.11.10
django-cms==3.4.5
django-filer==1.3.0

I cannot reproduce this on master

Think it was the bug https://github.com/divio/django-cms/issues/6035 in django CMS and fixed with v3.4.6

Thanks for the update


[$1000] IOU amount position glitches when opening IOU report chat for first time

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login to staging new dot
Click on + icon and select request money
Enter an amount and click next
Select an account with whom you dont have prior money request history and enter next
Go to chat with the requested account and click on the IOU box
Observe that the amount first appears at the top of the screen before jumping to the bottom of the screen

Expected Result:
Amount position should not glitch
Actual Result:
The amount position jumps to its right place after a few seconds
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

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

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number:
Reproducible in staging?: Needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/e42088e3-ae41-4b2b-b462-93faea3fb889
Expensify/Expensify Issue URL:
Issue reported by: @sofoniasN
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691085140246529
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01fee18dadcae45f9f
Upwork Job ID:<PHONE_NUMBER>269925888
Last Price Increase: 2023-08-15

Will try to reproduce today.

Hm, I'm not seeing the jump when testing. It is always at the bottom for me. Will ask in Slack if anyone else can reproduce.

@mananjadhav could you double check this one and make sure you're able to reproduce?

I have tried on Android emulator and an Android tablet for multiple different accounts and currencies. I couldn't reproduce this.
https://github.com/Expensify/App/assets/3069065/cfc7725b-5b24-4c5e-b4ed-cff7b5cf3d70

Android phone, TCL is the phone brand

Hm, @mananjadhav what do you think of this? Should we close?

Bump @mananjadhav for your thoughts on this one.

I don't know. I've tried this further on another device, and I couldn't reproduce it. I think we can post on slack and if unable to get proper reproduction steps, then best to just close it?

Going to close.


Final Distance in Push

Hi, Vitchyr
When I use env.sample_goal() in the Push environment, it returns a dict that includes desired_goal .  desired_goal is a 4-D array, where the first 2 numbers are the position of the hand and the last 2 numbers are the position of the puck.
When I use ' env.step(any_action)' , the returned state is a dict that includes achieved_goal ,  achieved_goal has the same structure as the abovementioned  desired_goal .
My question is
Final_distance = hand_distance + puck_distance = Euclidean(achieved_goal[0:2], desired_goal[0: 2]) + Euclidean(achieved_goal[2:4] + desired_goal[2:4])
Is the equation correct?
I'm sorry that I didn't find a similar snippet in your implementation, so I ask you here.
Thank you

Hi Mianchu,
Which "final_distance" are you referring to? The env returns both the hand_distance and the puck_distance. If you're referring to the metric used in e.g. the Skew-Fit paper, we report just the puck distance, since the hand distance is pretty easy to optimize.
Vitchyr

rt just the puck dista

Thanks for your reply. I mean the Final Distance to Goal in RIG, like the y-axis in figure 3.

Hi Mianchu,
Which "final_distance" are you referring to? The env returns both the hand_distance and the puck_distance. If you're referring to the metric used in e.g. the Skew-Fit paper, we report just the puck distance, since the hand distance is pretty easy to optimize.
Vitchyr

Hi Vitchyr,
Thanks for your reply. I'm referring the "Final Distance to Goal" in RIG, like the y-axis in figure 3.
I'm sorry that I closed the issue by accident.
Mianchu

For RIG I believe we actually just reported Euclidean(achieved_goal, desired_goal) and didn't compute the sums separately. Qualitatively the results are the same.

For RIG I believe we actually just reported Euclidean(achieved_goal, desired_goal) and didn't compute the sums separately. Qualitatively the results are the same.

Thank you, it solves my problem!


Fix bug because of duplicated join

Fix #14448

Codecov Report

Merging #14454 (5329849) into master (0f726ca) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #14454      +/-   ##
==========================================
- Coverage   42.09%   42.09%   -0.01%
==========================================
  Files         758      758
  Lines       81014    81017       +3
==========================================
- Hits        34104    34101       -3
- Misses      41342    41346       +4
- Partials     5568     5570       +2

Impacted Files
Coverage Δ

models/issue.go
57.24% <100.00%> (+0.10%)
:arrow_up:

modules/util/timer.go
42.85% <0.00%> (-42.86%)
:arrow_down:

modules/git/tree_nogogit.go
60.86% <0.00%> (-8.70%)
:arrow_down:

modules/git/repo_language_stats_nogogit.go
57.44% <0.00%> (-4.26%)
:arrow_down:

modules/indexer/stats/db.go
56.00% <0.00%> (-4.00%)
:arrow_down:

services/pull/check.go
48.52% <0.00%> (-2.95%)
:arrow_down:

models/repo_list.go
77.87% <0.00%> (-0.89%)
:arrow_down:

models/error.go
39.48% <0.00%> (ø)

services/pull/pull.go
42.64% <0.00%> (+0.49%)
:arrow_up:

modules/log/event.go
61.79% <0.00%> (+1.88%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #14454 (5329849) into master (0f726ca) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #14454      +/-   ##
==========================================
- Coverage   42.09%   42.09%   -0.01%
==========================================
  Files         758      758
  Lines       81014    81017       +3
==========================================
- Hits        34104    34101       -3
- Misses      41342    41346       +4
- Partials     5568     5570       +2

Impacted Files
Coverage Δ

models/issue.go
57.24% <100.00%> (+0.10%)
:arrow_up:

modules/util/timer.go
42.85% <0.00%> (-42.86%)
:arrow_down:

modules/git/tree_nogogit.go
60.86% <0.00%> (-8.70%)
:arrow_down:

modules/git/repo_language_stats_nogogit.go
57.44% <0.00%> (-4.26%)
:arrow_down:

modules/indexer/stats/db.go
56.00% <0.00%> (-4.00%)
:arrow_down:

services/pull/check.go
48.52% <0.00%> (-2.95%)
:arrow_down:

models/repo_list.go
77.87% <0.00%> (-0.89%)
:arrow_down:

models/error.go
39.48% <0.00%> (ø)

services/pull/pull.go
42.64% <0.00%> (+0.49%)
:arrow_up:

modules/log/event.go
61.79% <0.00%> (+1.88%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


Stream must be replayable to calculate a body hash

Describe the bug
Hello,
trying to upload file to S3 in Jetpack Compose.
Uri for file i got from PhotoPicker.
Regression Issue

[ ] Select this option if this issue appears to be a regression.

Expected behavior
file uploaded successfully
Current behavior
error:  java.lang.IllegalArgumentException: Stream must be replayable to calculate a body hash
Steps to Reproduce

click button "Open Gallery"

@Composable
fun GalleryScreen() {
    var selectedUris by remember {
        mutableStateOf<List<Uri>>(emptyList())
    }

    val multiplePhotoPickerLauncher =
        rememberLauncherForActivityResult(contract = ActivityResultContracts.PickMultipleVisualMedia(),
            onResult = { uris ->
                selectedUris = uris
            })

    fun onOpenGallery() {
        multiplePhotoPickerLauncher.launch(
            PickVisualMediaRequest(ActivityResultContracts.PickVisualMedia.ImageAndVideo)
        )
    }

    Row() {
          Button(onClick = ::onOpenGallery) {
              Text(text = "Open Gallery", color = MaterialTheme.colorScheme.onError)
          }
    }
}

prepare additional parameters (bucket, key, metadata) and run fun upload

private suspend fun upload(bucket: String, key: String, metadata: Map<String, String>, uri: Uri) {
    val inputStream = context.contentResolver.openInputStream(uri)
        ?: throw IllegalArgumentException("Unable to open input stream for URI: ${config.uri}")

    try {
        inputStream.use { stream ->
            S3Client.use { s3 ->
                s3.putObject {
                    bucket = bucket
                    key = key
                    metadata = metadata
                    body = ByteStream.fromInputStream(stream)
                }
            }
        }
    } catch (e: Exception) {
        Log.d("TAG", "$e")
        throw e
    }
}

Possible Solution
No response
Context
No response
AWS SDK for Kotlin version
2.0.21
Platform (JVM/JS/Native)
Native
Operating system and version
Ubuntu 20.04.5 LTS

I've proposed a small fix to infer the replayability of a given InputStream using markSupported(), it won't help you in this case because I believe context.contentResolver.openInputStream returns a FileInputStream which is still not replayable.
https://github.com/smithy-lang/smithy-kotlin/pull/1187

We've merged the fix I noted above and it should be available in today's release. Do you have any other questions / concerns?

@lauzadis
QUESTIONS

I've proposed a small fix to infer the replayability of a given InputStream using markSupported(), it won't help you in this case because I believe context.contentResolver.openInputStream returns a FileInputStream which is still not replayable.
smithy-lang/smithy-kotlin#1187

how this fix should be used? or it is some internal logic, which will be used automatically and will show some error for developer?

If you have direct access to the file through the uri, you can set the body to: File(uri).asByteStream(), which does not use an InputStream and is correctly marked as replayable.

AFAIU uri doesn't have direct access to file. i tried next code to copy into real file. after that it works. BUT maybe exists some better approach to make it without additional copy?

fun fileFromContentUri(context: Context, contentUri: Uri): File {
    val fileExtension = getFileExtension(context, contentUri)
    val fileName = "temporary_file" + if (fileExtension != null) ".$fileExtension" else ""

    val tempFile = File(context.cacheDir, fileName)
    tempFile.createNewFile()

    try {
        val oStream = FileOutputStream(tempFile)
        val inputStream = context.contentResolver.openInputStream(contentUri)

        inputStream?.let {
            copy(inputStream, oStream)
        }

        oStream.flush()
    } catch (e: Exception) {
        e.printStackTrace()
    }

    return tempFile
}

thanks!

The fix affects internal logic, you don't need to modify your application code to get the change.
You're right, it's very difficult to get a File handle from content URI in Android, I couldn't find anything to suggest. One option is to continue using openInputStream(uri) and then wrap that in a BufferedInputStream which is now supported after that fix I linked earlier.

I was able to replicate your error, I don't think BufferedInputStream was the right recommendation. I'm taking a look to see if there's anything better for you to use

@lauzadis

I'm taking a look to see if there's anything better for you to use

thanks for the help.

Are you using a 3rd party object storage like MinIO
no

next is FYI, because behavior is strange)

Can you send a full request wire log by configuring LogMode.LogRequestWithBody on your client

ohh) it was magic trip. i spent several hours to enable logging.
this docs doesn't work for API < 26.
for API 26 it also needs to make adjustments for packaging.resources.excludes (i didn't finish, maybe something else also).
maybe it should be some warnings in docs about possible challenges?
then i installed logback. i ran sources like in previous post.
so my results of wire log. also interesting)

log is enabled

I  18:13:06.791 [DefaultDispatcher-worker-3] DEBUG aws.smithy.kotlin.runtime.http.operation.AuthHandler -rpc="S3.PutObject" sdkInvocationId="60bde336-37f1-421a-bfa1-1869fd252a41"- resolved endpoint: Endpoint(uri=https://s3.us-east-1.amazonaws.com/upload.appname.com, headers=null, attributes={AttributeKey(aws.smithy.kotlin#endpointAuthSchemes)=[AuthOptionImpl(schemeId=AuthSchemeId(id=aws.auth#sigv4), attributes={AttributeKey(aws.smithy.kotlin.signing#AwsSigningRegion)=us-east-1, AttributeKey(aws.smithy.kotlin.signing#AwsSigningService)=s3, AttributeKey(aws.smithy.kotlin.signing#UseDoubleUriEncode)=false})]})
I  18:13:06.794 [DefaultDispatcher-worker-3] DEBUG aws.smithy.kotlin.runtime.http.interceptors.FlexibleChecksumsRequestInterceptor -rpc="S3.PutObject" sdkInvocationId="60bde336-37f1-421a-bfa1-1869fd252a41"- no checksum algorithm specified, skipping flexible checksums processing
I  18:13:06.810 [DefaultDispatcher-worker-3] DEBUG aws.smithy.kotlin.runtime.auth.awssigning.DefaultAwsSignerImpl -rpc="S3.PutObject" sdkInvocationId="60bde336-37f1-421a-bfa1-1869fd252a41"- Calculated signature: 6a35daec350518be878dd88e2e784c9374f1767d5ff6617c83b43e6f3c091aab
I  18:13:06.820 [DefaultDispatcher-worker-3] DEBUG aws.smithy.kotlin.runtime.awsprotocol.ClockSkewInterceptor -rpc="S3.PutObject" sdkInvocationId="60bde336-37f1-421a-bfa1-1869fd252a41"- service did not return "Date" header, skipping skew calculation
I  18:13:06.824 [DefaultDispatcher-worker-3] DEBUG aws.smithy.kotlin.runtime.http.middleware.RetryMiddleware -rpc="S3.PutObject" sdkInvocationId="60bde336-37f1-421a-bfa1-1869fd252a41"- request failed with non-retryable error
D  UploadWorker: java.io.IOException: Stream closed

log is disabled

UploadWorker: aws.sdk.kotlin.services.s3.model.S3Exception: A header you provided implies functionality that is not implemented, Request ID: XNAPR3KWRS6160A5, Extended request ID: dFUeKVH31om2BMX0NAakcZu71j5bXaAawp67I2tXvXiTYBnGMZNkYD9JxG1S0cTCU7QgHpHPGjM=

but we can't see SDK logs, because they are disabled))

Hello @lauzadis,

I'm taking a look to see if there's anything better for you to use

did you get some results?

I'm observing a related issue when trying to make a general solution for streams and buffers.
If I run the below code - I get aws.smithy.kotlin.runtime.http.HttpException: java.net.ProtocolException: unexpected end of stream error before the request is sent to S3.
❌ Problematic example:
@Test
fun minimalFailingTest(): Unit = runBlocking {
    val data = "Hello world!".toByteArray()
    val request = PutObjectRequest {
        bucket = BUCKET_NAME // Already created
        key = "minimal-test.txt"
        body = data.inputStream().asByteStream(data.size.toLong())
    }

    s3Client.putObject(request)
}

Also tried body = ByteStream.fromInputStream(data.inputStream(), data.size.toLong()) -- with the same outcome.
If I pass the body as ByteStream.fromBytes(data) - everything works.
✅ Successful example:
@Test
fun minimalSuccessfulTest(): Unit = runBlocking {
    val data = "Hello world!".toByteArray()
    val request = PutObjectRequest {
        bucket = BUCKET_NAME // Already created
        key = "minimal-test.txt"
        body = ByteStream.fromBytes(data)
    }

    s3Client.putObject(request)
}

I use the latest SDK version at the moment: 1.3.99 (with Kotlin 2.0.20), and I see that the version SDK already has the fix with override val isOneShot: Boolean = !markSupported() (can see this line in the source code).
Any idea why this could happen?
Please let me know if it needs to be put as a separate issue.


Create group in HA

All components of a single vehicle should be part of one group

done in https://github.com/home-assistant/home-assistant/pull/13305


Minor comments on landing page

https://hyp.is/go?url=https%3A%2F%2Fcontributor.r-project.org%2Fr-dev-env%2F&group=__world__

Excellent. Thanks, @StarTrooper08 for fixing my typo :) Good to see the Website workflow is working well.


:book: Update p2p docs, general enhancements

What this PR does / why we need it: It includes docs for #2
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

This needs to be merged with 1.4, as will include changes into the p2p/HA stack of Kairos

@check-spelling-bot apply updates.

@check-spelling-bot apply updates.

@check-spelling-bot apply updates.


The Codec name is not displayed in "Code in Use" Menu

In Mac app..

The Codec name is not displayed in "Codec in Use" Menu.
The name briefly appears and then disappears when resizing the window.

This issue has been resolved in version 1.1.3.


Add files via upload | Mountain House High School

Add YunTech
yuntech.txt

@TanishqTyagi lib/domains/net/lammersvilleusd.group.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TanishqTyagi lib/domains/net/lammersvilleusd.group.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TanishqTyagi lib/domains/net/lammersvilleusd.group.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TanishqTyagi I corrected the pull request a little bit make it conforming the repository rules. Pull request merged. Thank you!


small edits to initialize?

Hi, I think I might've noticed a couple small things (although I'm just getting familiar with your repo)
In initialize for DiagonalGaussianHMM, the inputs to NormalInverseGamma are in this order
https://github.com/probml/dynamax/blob/71ea2d44860a377409c39706f37a7c551d5f3212/dynamax/hidden_markov_model/models/gaussian_hmm.py#L177
In log_prior these are switched (which I think is correct) https://github.com/probml/dynamax/blob/71ea2d44860a377409c39706f37a7c551d5f3212/dynamax/hidden_markov_model/models/gaussian_hmm.py#L200
the other thing is that I couldn't initialize a Bernoulli HMM with emission_probs because the asserts force them to zero. I think this line should have a 1:
https://github.com/probml/dynamax/blob/71ea2d44860a377409c39706f37a7c551d5f3212/dynamax/hidden_markov_model/models/bernoulli_hmm.py#L73

Hi @mcusi, I think you're right, well noticed and thanks for the heads up! I'll push a fix for these shortly.


[Fork request] Russian localizations for admin-on-rest

Hey guys,
I am using admin-on-rest in one of my pet projects I am currently building and would like to contribute Russian localizations which I made based on aor-language-french
https://github.com/RomanShumikhin/aor-language-russian
Could you please fork and create a npm package?
Thanks!

Hi!
There is already a package for Russian: https://github.com/cytomich/aor-language-russian.
It has been published on npm.

Ha-ha, awesome, thanks! I was just checking the official repos so I didn't notice it. Closing.


Camo requirement length breaks formatting on weapon cards

When in list view, long challenge text which breaks onto more than two lines, is cut off top and bottom. Perhaps either make it four columns instead of 5 on desktop, or truncate to a maximum character length I guess and append a … after it.
I feel if the string is less than or equal to 48 characters, it is fine.
If the string is more than 48 characters it should truncate to 48, and append a … to the end to show there is something more to read. The tooltip popover should continue to display the full text.
This is only an issue on desktop when the weapons are displayed in columns. In Tablet / Mobile view the weapon cards are full width and should not be truncated to 48 characters.

I decreased the columns to 4 for now and will revisit this in the future if there are even longer requirements texts released 😄 Thanks for reporting! 🎉


Adding invited resource to after_invite_path_for

Im my use case there are different types of user being invited and the redirect post invite should go to different places.  The original code only supplied the 'inviter'.  I've added the option to have a second parameter that includes the 'invitee'.  Backward compatibility is handled by checking the arity of the defined method to determine how many parameters to pass in.  I've also added a test, fairly limited but should cover the change.

Thank you so much, I'm adding it to README


Formatter: right side comments inside comment's code blocks are incorrectly aligned

I know, very mouthful, but bear with me while I try to describe the issue :smile:
Inline comments placed on the right side of the code are properly aligned when the code is formatted.
Example diff:
   class MultiRouter < Beryl::Router
     routing do
-      get    "/products",     DummyAction # [0]
-      post   "/products",     DummyAction # [1]
-      get    "/products/:id", DummyAction # [2]
+      get "/products", DummyAction        # [0]
+      post "/products", DummyAction       # [1]
+      get "/products/:id", DummyAction    # [2]
       delete "/products/:id", DummyAction # [3]
     end
   end

However, when the comments are inline inside code blocks, those are re-aligned closest to the code or completely stripped of all spaces, like the following example:

       # ```
       # tree = Tree.new
-      # tree.add "/", :root           # /         (:root)
-      #
-      # tree.add "/abc", :abc         # /         (:root)
-      #                               # \-abc     (:abc)
-      #
-      # tree.add "/abcxyz", :xyz      # /         (:root)
-      #                               # \-abc     (:abc)
-      #                               #     \-xyz (:xyz)
+      # tree.add "/", :root # /         (:root)
+      #
+      # tree.add "/abc", :abc # /         (:root)
+      # # \-abc     (:abc)
+      #
+      # tree.add "/abcxyz", :xyz # /         (:root)
+      # # \-abc     (:abc)
+      # #     \-xyz (:xyz)
       # ```

Perhaps this is expected for those lines without code, but not sure if the re-align of the comment for the ones with code is correct.
Thank you. :heart: :heart: :heart:

The problem is how to recognize this:
a = 1 # this comment
      # continues
b = 2

from this:
a = 1 # this is one comment
# this is for the one below
b = 2

The formatter doesn't take existing indentation into account, so it can't distinguish between the two cases.  However, maybe we can decide that two comments are still considered "consecutive" if there's no newline between them. The second code would be incorrectly aligned, but to fix it you'd leave a newline before b = 2. I think it'll also be more visually understandable.
What do you think?

As a side note, this happens in regular code, not only in comments inside comments. Comments inside comments are formatted just like regular code (recursively, try it! :-))

The second code would be incorrectly aligned, but to fix it you'd leave a newline before b = 2. I think it'll also be more visually understandable.

I think that compromise is OK, besides for readability you will split your code blocks :smile:

As a side note, this happens in regular code, not only in comments inside comments

Weird, see my first case, the comments on the right side are still aligned, only the ones in new lines are messed up (as you described).
See this:
# ```
# tree = Tree.new
# tree.add "/", :root # /         (:root)
#
# tree.add "/abc", :abc # /         (:root)
#
# tree.add "/abcxyz", :xyz # /         (:root)
# ```

The problem seems to be the new lines between the lines of code, if there is no new line, all comments remain aligned :thumbsup:

When I have comments before a line, I always prefix it with a newline for clarity. So I definitely vote for 'empty line' as separator of natural groupings.

After some though, I'm not so sure about this.
The formatter fixes spaces and indentation problems, and re-aligns comments, but it never takes the existing code's space/indentation into account (because that info might be wrong). So, let's say we have:
a = 1 # this comment
      # belongs to a

Seems natural to align it all together. Next we have:
if some_condition # this condition is triggered
                  # in some particular cases
  a = 1
end

Again, seems natural to align the comments. But then:
if some_condition # if X
  # assign to a
  a = 1
  # assign to b
  b = 2
end

Now it doesn't seem good to align the first two comments, but this is exactly the case above: there's no way that the formatter can distinguish both unless it takes the current space info into account (which it won't).
Or:
if some_condition
  # here comes the hard part
  a = foo # first assign to a
  b = 3   # then b
end

You wouldn't want to align the first comment with the others, but they all come in consecutive lines.
In short, the formatter will align successive comments on the right-hand side of a line if they all have an expression on the left. That's the only rule.
So, I'd suggest that if you have existing code like this:
tree = Tree.new

tree.add "/", :root           # /         (:root)

tree.add "/abc", :abc         # /         (:root)
                              # \-abc     (:abc)

tree.add "/abcxyz", :xyz      # /         (:root)
                              # \-abc     (:abc)
                              #     \-xyz (:xyz)

tree.add "/", :root           # /         (:root)

tree.add "/abc", :abc         # /         (:root)
                              # \-abc     (:abc)

tree.add "/abcxyz", :xyz      # /         (:root)
                              # \-abc     (:abc)
                              #     \-xyz (:xyz)

(and note that in the above case if we align successive comments they will still not be aligned different comment sections, because the expression lengths are different)
You change it to this:
tree = Tree.new

# /         (:root)
tree.add "/", :root

# /         (:root)
# \-abc     (:abc)
tree.add "/abc", :abc

# /         (:root)
# \-abc     (:abc)
#     \-xyz (:xyz)
tree.add "/abcxyz", :xyz

# /         (:root)
tree.add "/", :root

# /         (:root)
# \-abc     (:abc)
tree.add "/abc", :abc

# /         (:root)
# \-abc     (:abc)
#     \-xyz (:xyz)
tree.add "/abcxyz", :xyz

Finally, not that it matters much, but gofmt also applies the same rule I described above.

@asterite thank you for taking the time to respond and provide the reasoning behind the decision.
Cheers.

I noticed the style that an end-line comment is continued in the next line (without there being an expression in the next line) is used a lot in crystal-book examples. When passing that through the formatter, it breaks the intended format.
It's probably possible to change most of these case, for example refactoring to full-line comments.
But I would actually suggest reconsidering the formatter behaviour. IMO it would make sense to use this rule: End-line comments in consecutive lines are aligned at the same column. Full-line comments following a line with end-line comment are aligned with the end-line comment. In order to break the alignment, you need to put in an empty line (or more general, a line without a comment).
I agree with https://github.com/crystal-lang/crystal/issues/1756#issuecomment-148938893 that a full-line comment should usually be prefixed by an empty line. That's especially when directly following an end-line comment.
When @asterite's examples from https://github.com/crystal-lang/crystal/issues/1756#issuecomment-148876817 and https://github.com/crystal-lang/crystal/issues/1756#issuecomment-150920444 follow that rule, there'd be no ambiguity about comment alignment.
a = 1 # this is one comment

# this is for the one below
b = 2

if some_condition # if X

  # assign to a
  a = 1
  # assign to b
  b = 2
end

A little bit odd is the formatter behaviour with end:
foo do
  foobar # comment
end # other comment

formatted:
foo do
  foobar # comment
end      # other comment


Need to use quotation marks for Locale name with "-" in i18 configuration

📚 Documentation
https://docusaurus.io/zh-CN/docs/docusaurus.config.js#i18n
In existing Chinese docs, the i18 configuration has mistake.
module.exports = {
  i18n: {
    defaultLocale: 'zh-cn',
    locales: ['en', 'zh-cn'],
    localeConfigs: {
      en: {
        label: 'English',
        direction: 'ltr',
      },
      zh-cn: {
        label: '中文（中国）',
        direction: 'ltr',
      },
    },
  },
};

The field zh-cn need to use quotation marks in docusaurus.config.js
'zh-CN': {
  label: '中文（中国）'
}

I've made a PR  fix in Crowdin.
Have you read the Contributing Guidelines on issues?
Yes

This only exists in the Crowdin translation but not in the source, because the source uses fr as example: https://docusaurus.io/docs/next/i18n/tutorial
Still, good catch and glad that it probably wasn't me who made that translation mistake😁

Thanks, I've accepted your change on Crowdin


Add example to clarify --workspace-resource-id value for az aks enable-addons

The --workspace-resource-id option is confusing, as is requires a full URL, and not a guid. https://github.com/Azure/azure-cli/issues/6949 discusses this issue in a different context.
Here, it would be useful to add an example that uses this parameter, along the lines of
az aks enable-addons --addons monitoring \
--name AKS-CLUSTER \
--resource-group AKS-RESOURCEGROUP \
--workspace-resource-id /subscriptions/11112222-3333-4444-5555-666677778888/resourcegroups/WORKSPACE-RESOURCEGROUP/providers/microsoft.operationalinsights/workspaces/WORKSPACE-NAME

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d75c3a8d-1187-bea1-a7d4-7ebba71c1790
Version Independent ID: 75b0c352-762e-16ae-5cc6-d807ffc1dc3f
Content: az aks
Content Source: latest/docs-ref-autogen/aks.yml
Service: container-service
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

aks

This suggestion was to add an example, in the very useful "Examples" chapter at https://docs.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az-aks-enable-addons-examples. This has very specifically not happened. I can't see any reason for not doing this, but I guess you guys decide the quality of your own documentation.


Add <GLFW> as a git subdirectory

Need to connect our project CMake with the GLFW CMake

Blocked by #46

Now only going to worry about the binary because of the problem by #46.


⚠ Bofrost.at has degraded performance

In 5c8b5df, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1560 ms

Resolved: Bofrost.at performance has improved in 8190099.


On demand summarize

This the final PR as part of #6382 (Part 3/3)
PR #6788 should be merged first.
Get return results from summarize attempts within SummaryGenerator, and then propagate those up through a new function summarizeOnDemand.
The RunningSummarizer class actually takes care of the work for generating the on demand summary. So it can only be done from a summarizer client, but we expose it all the way up to the parent client.
Possible call methods
There are two possible ways to call this, pivoting on the clientDetails.type being "summarizer" or not.
Call on interactive parent client (type !== "summarizer")

ContainerRuntime.summarizeOnDemand on parent client
SummaryManager.summarizeOnDemand on parent client

fails if this client is not tracking a spawned summarizer client

Summarizer.summarizeOnDemand on summarizer client

fails if not started yet (via run() call) or if disposed/stopped

RunningSummarizer.summarizeOnDemand on summarizer client

returns a promise to await if a summary is already in progress

Call on non-interactive summarizer client (type === "summarizer")

ContainerRuntime.summarizeOnDemand on summarizer client
Summarizer.summarizeOnDemand on summarizer client

fails if not started yet (via run() call) or if disposed/stopped

RunningSummarizer.summarizeOnDemand on summarizer client

returns a promise to await if a summary is already in progress

So as you can see, it bypasses (2) if you have access directly to the summarizer container. This is intended for testing purposes.
Result type
The summarizeOnDemand function synchronously returns an object with several promises that can be awaited as needed.

If something goes wrong in any of the piping functions, then an error will be thrown with a brief message.
If the innermost function detects that it is already generating a summary, it will return an object with an alreadyRunning property, which is a promise that resolves when the already running summary attempt completes.
If the alreadyRunning property is undefined, then we attempt to generate an on-demand summary, and we get the object containing the following promises:

generateSummary: this promise resolves successfully as soon as the summary tree is generated, uploaded to storage, and the op is submitted. It may still return some information even if one of those steps fails. It will contain the summary tree, handle from storage, and client sequence number of submitted op.
broadcastSummaryOp: this promise resolves successfully as soon as the summarizer client observes its summarize op broadcasted from the server. It will contain the "summarize" op message.
summaryAckNack: this promise resolves when all the summarizing work is complete, indicated by either a summary ack or nack op. It will contain the "summaryAck" or "summaryNack" op message.

Future to-dos
Probably should add more unit testing, specifically around the new SummaryGenerator.
Should further clean up the error processing within summarize flow, particularly within Summarizer.
Some other possible actions:

When calling on interactive parent client: could spawn summarizer client on demand call, if not already running
When calling on non-interactive summarizer client: could start running summarizer on demand call, if not already running

We need tests to validate that on-demand summary is working as expected. That will also help us identify if we need to add / update things to make it easier to test. You could probably look at updating existing summarize / GC tests to use on demand summary.

I was thinking about the following scenario that we have discussed before -
For testing, most of the time we want to summarize after certain operations have happened. Basically, something like wait for a summary that includes sequence number X. Currently, the tests do that via SummaryCollection. They wait for a summary ack for a summary that contains X. I was wondering if it might be worth building that into the on demand summary - Basically, you can specify that you want a summary that contains X.
Do you think we should add that to this current API or build a layer on top of this for testing that can do the above? Or perhaps we can continue doing what the tests are currently doing?

I was thinking about the seq number summarization thing, and I figure I can add it in a follow-up PR. I started tinkering with it already, and I think I should be able to add it to the options object.

Sounds good :-).

Is there a way to disable summarize heuristics? Tests would want to do that and just run summarize on demand. I believe that is what the work ask is too.

Disable heuristics and queueing up a summary at a sequence number will be later PRs.


[in_app_purchase] App crashes while buying non consumable subscription

Steps to reproduce
Use buy non consumable.
Expected results
App should be able to process a purchase
Actual results
My app was working fine but when I changed subscription id, app started to crash immediately as soon as I click the button to execute buy non consumable. Debugger shows that it stops on retrieve receipt data nothing is logged in the console.
Code sample
Code sample
late InAppPurchase _inAppPurchase;
  late StreamSubscription<List<PurchaseDetails>> _subscription;

  final RxList<ProductDetails> products = <ProductDetails>[].obs;
  final RxBool isAvailable = false.obs;
  final RxString queryProductError = ''.obs;

  OverlayEntry? loaderOverlay;

  Future<void> init() async {
    if (!UserStore().isLoggedIn || UserStore().isSubscribed) return;

    _inAppPurchase = InAppPurchase.instance;
    final Stream<List<PurchaseDetails>> purchaseUpdated =
        _inAppPurchase.purchaseStream;

    _subscription =
        purchaseUpdated.listen(_listenToPurchaseUpdated, onDone: () {
      _subscription.cancel();
    }, onError: (Object error) {
      debugPrint('$error');
    });
    await _initStore();
    loaderOverlay = OverlayEntry(
        builder: (context) =>
            LoaderOverlay(onClose: _cancelSubscriptionStream));
  }

  Future<void> _initStore() async {
    isAvailable.value = await _inAppPurchase.isAvailable();
    if (!isAvailable.value) {
      return;
    }

    final ProductDetailsResponse productDetailResponse =
        await _inAppPurchase.queryProductDetails({kSubscriptionID});

    if (productDetailResponse.error != null) {
      queryProductError.value = productDetailResponse.error!.message;
      return;
    }

    products.value = productDetailResponse.productDetails;
  }

  Future<void> buySubscription() async {
    final PurchaseParam purchaseParam = PurchaseParam(
      productDetails: products.first,
      applicationUserName: UserStore().uuid,
    );

    _inAppPurchase.buyNonConsumable(purchaseParam: purchaseParam);
  }

  void _listenToPurchaseUpdated(
      List<PurchaseDetails> purchaseDetailsList) async {
    for (PurchaseDetails purchaseDetails in purchaseDetailsList) {
      if (purchaseDetails.status == PurchaseStatus.error) {
        Get.snackbar("Error", "Unable to buy subscription");
      } else if (purchaseDetails.status == PurchaseStatus.purchased ||
          purchaseDetails.status == PurchaseStatus.restored) {
        loaderOverlay!.remove();
        Get.toNamed(kVerifyPurchaseRoute, arguments: {
          'transactionId': purchaseDetails.purchaseID!,
        });
      }
      if (Platform.isIOS) {
        await _inAppPurchase.completePurchase(purchaseDetails);
      }
    }
  }

  void _cancelSubscriptionStream() {
    _subscription.cancel();
    if (loaderOverlay != null) {
      loaderOverlay!.remove();
    }
  }

Screenshots or Video

Screenshots / Video demonstration

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.19.0, on Red Hat Enterprise Linux 9.3 (Plow) 5.14.0-362.13.1.el9_3.x86_64, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.89.1)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!```

</details>

I'm dealing with a similar issue. Looks to be crashing on _inAppPurchase.completePurchase(purchaseDetails);

Any update on this? I'm facing the same.


Please fix dead link

https://docs.microsoft.com/en-us/azure/log-analytics/query-language/search-queries#next-steps
The following URL <http://http//docs.loganalytics.io> is not working, please fix to <https://docs.loganalytics.io/index> or appropriate URL please.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: deb37cee-0e7c-06ad-3053-d05d49378b26
Version Independent ID: a1dae060-7ee3-c6a7-52ca-5a17249a81f3
Content: Search queries in Log Analytics
Content Source: articles/log-analytics/query-language/search-queries.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

@KeiroKamioka0000
Thanks for the feedback! We are currently investigating and will update you shortly.


[flake8] E999 SyntaxError: invalid syntax

I am learning the source code, but have this flake8 ERROR.

requests_html.py:63:25: E999 SyntaxError: invalid syntax

Could I know the syntax of this argument? And how to ignore if it's not error.

That's the first line in the file that includes the new PEP 484 Type Hints syntax. Presumably your flake8 version doesn't yet support it.

@andrewsg My flake8 version is 3.5.0 which is same via pypi.

Please use Python 3.6


Fix CategoryEncoding generates output with 1 additional dimension in all backends except NumPy (#19724)

Make the behavior consistent across all backends.

@Grvzard ,
Thank you for catching and fixing this bug. This all looks correct.
The fact that there was a discrepancy with one backend shows that we're missing a unit test in nn_test.py. Can you please add an input covering this case of a last dimension of 1 here: https://github.com/keras-team/keras/blob/master/keras/src/ops/nn_test.py#L1652
Thanks!

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

Project coverage is 56.46%. Comparing base (53940d7) to head (3bfc45e).
Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #19790       +/-   ##
===========================================
- Coverage   78.71%   56.46%   -22.26%
===========================================
  Files         498      498
  Lines       45770    45779        +9
  Branches     8430     8432        +2
===========================================
- Hits        36030    25847    -10183
- Misses       8042    18367    +10325
+ Partials     1698     1565      -133

Flag
Coverage Δ

keras
56.46% <100.00%> (-22.12%)
:arrow_down:

keras-jax
?

keras-numpy
56.46% <100.00%> (+<0.01%)
:arrow_up:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

The original one_hot in numpy will fail on this test

Fixed #19724


When the command service:dev throws an error, the engine is not stopped and the next use of service:dev doesn't stop the engine and the running service:

Migrated from https://github.com/mesg-foundation/js-sdk/issues/201
Originally created by @antho1404 on Tue, 24 Mar 2020 08:58:05 GMT

When the command service:dev throws an error, the engine is not stopped and the next use of service:dev doesn't stop the engine and the running service:
➜  js-sdk git:(bug/config-path) ./packages/cli/bin/run service:dev ../services/service-ethereum
  ✔ Start environment
  ✔ Compiling service
  ✖ Creating service
    → out of gas: out of gas in location: WritePerByte; gasWanted: 300000, gasUsed: 347768
    Starting service
    Fetching service's logs
Error: out of gas: out of gas in location: WritePerByte; gasWanted: 300000, gasUsed: 347768
    at API.<anonymous> (~/Development/MESG/js-sdk/packages/api/lib/lcd.js:58:23)
    at Generator.next (<anonymous>)
    at fulfilled (~/Development/MESG/js-sdk/packages/api/lib/lcd.js:5:58)

➜  js-sdk git:(bug/config-path) ./packages/cli/bin/run service:dev ../services/service-emit-event-interval
  ✔ Start environment
  ✔ Compiling service
  ✔ Creating service
  ✔ Starting service
  ✔ Fetching service's logs
(node:1) UnhandledPromiseRejectionWarning: Error: 2 UNKNOWN: create event: data invalid request: instance "En6ewB6q5Gh5s7V7E4ftTzkbFSV2ozeHgTB8QN7wMWAv" not found
    at Object.exports.createStatusError (/app/node_modules/grpc/src/common.js:91:15)
    at Object.onReceiveStatus (/app/node_modules/grpc/src/client_interceptors.js:1209:28)
    at InterceptingListener._callNext (/app/node_modules/grpc/src/client_interceptors.js:568:42)
    at InterceptingListener.onReceiveStatus (/app/node_modules/grpc/src/client_interceptors.js:618:8)
    at callback (/app/node_modules/grpc/src/client_interceptors.js:847:24)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
EVENT[every_2_seconds]: {"timestamp":1584706450623}
EVENT[every_1_second]: {"timestamp":1584706450638}
EVENT[every_1_second]: {"timestamp":1584706451643}
EVENT[every_2_seconds]: {"timestamp":1584706452623}
EVENT[every_1_second]: {"timestamp":1584706452646}
EVENT[every_5_seconds]: {"timestamp":1584706453623}
EVENT[every_1_second]: {"timestamp":1584706453648}
EVENT[every_2_seconds]: {"timestamp":1584706454591}
EVENT[every_1_second]: {"timestamp":1584706454615}
^C  ✔ Stopping logs
  ✔ Stop environment
 ›   Warning: Event stream error: 1 CANCELLED: Cancelled
 ›   Warning: Result stream error: 1 CANCELLED: Cancelled

➜  js-sdk git:(bug/config-path) docker service list
]ID                  NAME                                                  MODE                REPLICAS            IMAGE                                                                     PORTS
fmp8nhmaj1co        engine                                                replicated          1/1                 mesg/engine                                                               *:1317->1317/tcp, *:26656->26656/tcp, *:50052->50052/tcp
iitonbjnjx28        engine-8nMhm14WhFSZr2dGAgrH1xe86mUZLrQUNY2jnbBzoQ3G   replicated          1/1                 sha256:d84c5f68c5994d42bdc2aab41a88e8a457f86380b26fd051f90adc321ad115b4

Originally posted by @NicolasMahe in https://github.com/mesg-foundation/js-sdk/pull/197#issuecomment-601670084

fixed by https://github.com/liteflow-labs/liteflow-js/pull/35


map view properties to understandable values

Hi
One thing I'd really like to see in stetho is mapping out a few of the view properties into readable defaults. For example when I inspect a view and I get the mViewSomething flags it's hard to read from that whether or not the view is visible for example. I also think 1% of the values in there are what people would be looking for to debug their views with stetho.
For example showing things like layouted size/padding/alpha/view visibility in a seperate tab/seperate category/just sorted on top would be very nice.

We're actually working on this right now :)
Specifically we're looking at populating the "Styles" and "Computed" tabs with more refined Android-specific concepts that are largely provided by inspecting @ViewDebug annotations (take a look through LinearLayout.java for instance at all the @ViewDebug datasets being exposed).  Hopefully this will be ready within the month.

Note also that Stetho does development in the public view so this should be showing up as early proof-of-concept PRs fairly soon.

Sounds great! Looking forward to it :)

I think this was resolved in 1.2.0? @jasta, can you close this?


GetDeltas_OpProcessing incorreclty tracks op processing time

GetDeltas_OpProcessing telemetry event incorrectly tracks amount of time to process ops.
This is obvious from looking at telemetry, where most of the time it takes 0 seconds to process ops.
That's because enqueueMessages() only pushes ops into the queue, queue is drained asynchronously.
In addition to not have good data here, it also points to a fact that we might have a problem described in https://github.com/microsoft/FluidFramework/issues/5733 at this level, i.e. throttling needs to take into account whole end-to-end pipeline, not just driver's ops fetching.

Note - there are two events with same GetDeltas_OpProcessing name. One in DeltaManager does not correct time well.
One in container runtime only fires when we get empty queue, but looking at telemetry it has a lot of data so it's sufficient to use in analyzes

I remove event in delta manager that was incorrect, and left one in runtime


How to use vuejs with postgresql ?

hi everyone, i tried to use vuejs with postgresql, i use Sequelize, but this error when run:
These dependencies were not found:

* fs in ./~/pgpass/lib/index.js, ./~/bindings/bindings.js
* dgram in ./~/native-dns/lib/server.js, ./~/native-dns/li

To install them, you can run: npm install --save fs dgram

so i tried install them:
npm install --save fs dgram
but still error, please help !

Looks like an issue with Sequelize as Vue has nothing to do with those modules.


Fix flow settings validation and save button

This pull request fixes the validation and save button behavior in the flow settings modal. Previously, the save button was not disabled when it should have been, and the endpoint name validation was not working correctly. This PR updates the validation logic and ensures that the save button is disabled when necessary.

When I just change the description, it throws an error about endpoint error name, making me put something as the name.

Kinda as it was before, but with a wierder behavior.
It doesn't matter if I change the description or the endpoint, it doesn't activate the save button.
The endpoint is saving "on its own", even without clicking save, if I edit it and close the modal, the value was saved there.
https://jam.dev/c/b6188fa8-c13f-4efc-b212-e3c970e15a0e


'disabled' property (md-select)

Hi,
there's a problem with the 'disabled' property of the Select component. Even if 'disabled' is set to true, you can still select one of the options.

I will check this ASAP. Thanks


Client error only in Safari, Cannot access uninitialized variable.

Describe the bug
Was instructed to create a new issue with repro from convo in #2889.
Reproduction
https://github.com/pheuter/safari-repro
Logs
[Error] ReferenceError: Cannot access uninitialized variable.
	handleError (client-manifest.js:16)
	handle_error (client.js:1692)
	(anonymous function) (client.js:1630)
	asyncFunctionResume
	(anonymous function)
	promiseReactionJobWithoutPromise
	promiseReactionJob

[Error] Unhandled Promise Rejection: ReferenceError: Cannot access uninitialized variable.
	(anonymous function) (start.js:38)
	asyncFunctionResume
	(anonymous function)
	promiseReactionJobWithoutPromise
	promiseReactionJob

System Info
System:
    OS: macOS 13.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 4.93 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.4.0 - /opt/homebrew/bin/node
    npm: 9.2.0 - /opt/homebrew/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 109.0.5414.87
    Safari: 16.2
  npmPackages:
    @sveltejs/adapter-node: 1.1.1 => 1.1.1
    @sveltejs/kit: 1.1.0 => 1.1.0
    svelte: 3.55.1 => 3.55.1
    vite: 4.0.4 => 4.0.4

Severity
blocking all usage of SvelteKit
Additional Information
Blocks all client-side usage of SvelteKit on latest versions of Safari.

Seems to works fine if you import uno.css in the  client hooks hooks.client.ts.

@Smirow While moving the imports from +layout.svelte into hooks.client.ts fixes the client-side error, it appears to add FOUC upon server-side loads, suggesting it may not be the proper place to add those imports?

@pheuter yes, also noticed the FOUC, same thing happens with Tailwind if you import it in hooks.client.ts. Which raises questions about the lifecycles of hooks.client.ts and +layout.svelte.

This looks to me like a Uno bug, not a SvelteKit bug. Have you raised an issue over there?

@Rich-Harris https://github.com/unocss/unocss/issues/2111#issuecomment-1407424016 🤷

I am also having this problem. Moving the import in not a solution for reasons above, but it does make the exception go away. However, I'd like to offer some more info.
I get many errors when doing a npm dev run. The errors start right after the message [vite-plugin-svelte] ssr compile in progress .... I started by creating a discussion on TailwindCSS because the errors all appeared to be related to Tailwind. When I remove UnoCSS from the error go away. Rather than repeat, here is that thread: https://github.com/tailwindlabs/tailwindcss/discussions/10496

Hi, everybody
I encountered this problem in safari 13.1
what could it be related to?

Hi, everybody
I encountered this problem in safari 13.1
What could it be related to?

Our solution to this issue: link

Want to note that this error appears only in npm run dev without any special settings.
Everything is fine in build/preview (unless there is no vite.build.target = 'esnext' of course).
So it's not critical


Fresh custom-routing template builds 404 content on non-home routes

Using<EMAIL_ADDRESS>When running yarn build on a freshly created custom-routing template project, all the pages except the home route are built with the 404 page content.
Steps to repro:
yarn global add react-static (and yarn global add update-notifier to work around #546)
react-static create -n routing-test -t custom-routing
cd routing-test
(yarn add update-notifier to work around #546 again)
yarn build
yarn serve
If you look in the /dist folder, the homepage index.html seem to build correctly, but the index files in /blog, /about, etc all have the 404 page's "404 - Oh no's! We couldn't find that page :(" content.
If you view the pages at localhost:3000 and reload the site on any route other than the homepage, you can see the 404 content flash before the React kicks in and loads the actual content.

Fixed in latest version. Because of a recent change the path prop for each route needs to have the preceeding / removed to match. :)

I removed the preceeding / but still having 404 content flash before the React kicks in. I tried many combination, but flashing of 404 content always occurs.
Can show us sample of the static.config.js for this?

I believe I have this same problem. Just discovered my PROD build has 404 static render for posts but looks fine when viewed. This is ruining SEO, the whole reason to use react-static. 😥