Disable  REJECTED_REDIRECTED

with these tags, it's possible to disable:
    <!--
      REJECTED_ROBOTS_META_NOINDEX
      Establish whether to follow a page URLs or to index a given page based on in-page meta tag robot information.
      https://norconex.com/collectors/collector-http/configuration#tbl-robotsMeta
    -->
    <robotsMeta ignore="false" class="com.norconex.collector.http.robot.impl.StandardRobotsMetaProvider" />
    <!--
      REJECTED_ROBOTS_TXT
      Filter before download with RobotsTxt rules.
      https://norconex.com/collectors/collector-http/configuration#tbl-robotsTxt
    -->
    <robotsTxt ignore="false" class="com.norconex.collector.http.robot.impl.StandardRobotsTxtProvider" />
    <!--
      REJECTED_NONCANONICAL
      Detects pages with a canonical link and rejects them in favor of the canonical one.
      https://norconex.com/collectors/collector-http/configuration#tbl-canonicalLinkDetector
    -->
    <canonicalLinkDetector ignore="false" class="com.norconex.collector.http.url.impl.GenericCanonicalLinkDetector" />

In the same principle, it would be interesting to be able to disable REJECTED_REDIRECTED
Best regards.
Christian

What would that disabling do?
If page A redirects to B, then B will be crawled, not A (hence the rejection of A).  For most redirects, there is no other way since the original URL (for A) returns a redirect directive and not an actual document.
If you mean to disable following redirects altogether, this can be done with
<maxRedirects>0</maxRedirects>

found in GenericHttpClientFactory configuration.

To know that A is redirected to B, my idea is to store the crawl data from A & B.
I build a graph, without storing the redirections, the relationships between the nodes of the graph are absent.
e.g:

X -- href --> A -- R301 --> B

I identify 2 solutions:

Storage of nodes X, A & B and the relationships href & R301: X -- href --> A -- R301 --> B
Storage of nodes X, B and the relationship href (R301): X -- href (R301) --> B

I haven't figured out how to do that yet.
I'm interested in any idea. :)

The redirected URLs should be available, stored under "collector.redirect-trail".


[Draft] QMAPS-1505 center map on user's position during their first visit

Description
Done:

Create a middleware "position.js", containing test coordinates in Nice: [7.2, 43.7].
Load this middleware in "app.js", and make the "position" array global.
Store this array in "window" in index.ejs
Read the value of this array in "scene.js" and use it instead of the value stored in "constants.yml" as the default position in the first visit (ie. if no hash and no localStorage is present).

Todo:

Remove the map's "zoom" and "center" entries in "constants.yml" ?
Have a header indicating preferably the approximative position of the user (lat/lng) OR its administrative region (ISO code) OR its country (ISO code)
The region (full text) and country (ISO code) are already available in separate headers (x-geoip-country-code & x-geoip-region-name), but not deployed on erdapfel's server yet.
If we can have a "position" header, the middleware will just have to read it (like the accepted-languages header is read in another file), andit'll be used during the first visit.
If we can only have a region or a country, then we'll need to maintain a dictionary of all the bboxes of all the regions (or countries), and send the right bbox to the user, instead of a pair of coordinates.
In all cases, we need to choose a maximum zoom level (I suggest 8) to be used when the map is fitted to a position or region.

I updated this PR to include a file regions.yml that defines a bbox for each country and region codes.
If a code is found in the headers, its bbox is used to set the initial bounds of the map, with a maxZoom value as @xem suggested.

@xem GitHub does not let me request your review as your opened this PR originally, but your comments are welcome on the latest changes.

Hey, of course!
I din't really speak python, though the PR code is clean, congrats! I think all our ideas for this feature are finally gathered in a nuce PR \o/


WTD #31445 updated sql-database-manage-after-migration.md

updated to remove gendered language

@rachrobins : Thanks for your contribution! The author, @joesackmsft, has been notified to review your proposed change.


[SDPA-4924] Fix Link text doesn't wrap in accordions

Motivation and Context

JIRA issue: https://digital-engagement.atlassian.net/browse/SDPA-
Changed

TODO

Screenshots

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Improvement/refactoring (non-breaking change that doesn't add any features but makes things better)

Checklist

[ ] I've added relevant changes to the documentation.
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] My change requires a template update for create-ripple-app.
[ ] I have added template update script for next release.

Hi @rubyllamadora,
Can you please review this PR.
https://app.pr-964.ripple.sdp2.sdp.vic.gov.au/
https://app.pr-964.ripple.sdp2.sdp.vic.gov.au/clone-demo-landing-page
Image:

https://digital-engagement.atlassian.net/browse/SDPA-4924
Thanks

@rubyllamadora please have a look at the PR when you get a chance. Thanks


LICENSE

We got the license wrong. CC BY is intended to be used for content and not really for code: https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software
However, I am also not quite sure which would be the best. The most popular ones seem to be MIT, Apache or one if the GNU licenses. I wonder if we could ask Konstantin for advice?

BTW - this is how github lets you choose a license: https://help.github.com/articles/adding-a-license-to-a-repository/

https://choosealicense.com/
I would say MIT is closest to CC BY.

Sounds good. Will change to MIT.

👍


Adding main_loop to the exports

Can we add this function to the exports please? It's useful for me when I am already in an async context and don't want to start a new event loop, but only create a task to run tkinter

Ok, why not

Thanks for the speedy response

Can you describe your situation more? Do you run main_loop from an async function?

Exactly.
If I use async_main_loop, I get an error saying that the event loop is already running.


Not sure if Multiple Instances is bannable or not

I can't find a better place to address this so I'm addressing it here.
Multiple Instances is an extremely handy feature, don't get me wrong, but I think I've heard that forcefully enabling multiple instances would get flagged by the anti-cheat. It's hard to tell whether or not Roblox will actually ban you / flag you for a ban wave, so I just want to be reassured on whether or not enabling Multiple Instances would likely result in a ban.
Roblox has a system that is designed to prevent extra clients from being created, originally working just fine using any kind of program that enables multiple instances. However, ever since an update, multiple instance programs failed to function, and unless this Multiple Instances feature is designed in a way that it somehow doesn't break what Roblox has set up, this feature might be bannable.
If this kind of feature is actually bannable, you might want to indicate in the settings that the Multiple Instances feature will likely get you banned. If this feature isn't bannable, then that would be a massive relief, and any identical questions from other people can instantly be resolved through referencing this post.
(wrote at 2:55 am, pardon me if my post looks poorly written)

idk about this but i heard it doesn't inject anything so you shouldn't get flagged by the anticheat (no ban)

However, ever since an update, multiple instance programs failed to function

Since when?

However, ever since an update, multiple instance programs failed to function

Since when? Works fine for me.
There's no reason for this feature to be bannable because

Why would it be? This doesn't classify as an exploit whatsoever.
The way it works is stupidly simple - one line of code simple. It isn't like they're going out of their way to protect this.

and any identical questions from other people can instantly be resolved through referencing this post.

I mean...

So don't worry, there's practically no risk of being banned for using this. - README.md

I wouldn't include a feature if it meant the possibility of being banned.

Take a look at this specific part of the repo here. https://github.com/ic3w0lf22/Roblox-Account-Manager#q-why-was-multi-roblox-disabled-by-default
Again, I could be wrong, and this could just be a pressure tactic by anti-cheat devs to discourage people from using multiple clients, this might have to be tested in larger quantities of clients.

However, ever since an update, multiple instance programs failed to function

Since when? Works fine for me.
There's no reason for this feature to be bannable because

Why would it be? This doesn't classify as an exploit whatsoever.
The way it works is stupidly simple - one line of code simple. It isn't like they're going out of their way to protect this.

and any identical questions from other people can instantly be resolved through referencing this post.

I mean...

So don't worry, there's practically no risk of being banned for using this. - README.md

I wouldn't include a feature if it meant the possibility of being banned.

Take a look at this specific part of the repo here. https://github.com/ic3w0lf22/Roblox-Account-Manager#q-why-was-multi-roblox-disabled-by-default
A Hyperion dev claims that circumventing the prevention of multiple clients may be flagged as malicious behavior. This could result in a ban for those who use the feature.
Again, I could be wrong, and this could just be a pressure tactic by anti-cheat devs to discourage people from using multiple clients, this might have to be tested in larger quantities of clients.

@pizzaboxer (mentioned in the case you missed this reply)

Bitdancer reference

A Hyperion dev claims that circumventing the prevention of multiple clients may be flagged as malicious behavior. This could result in a ban for those who use the feature.

This was a complete misnomer. This had nothing to do with Hyperion, because the error was literally coming from inside the client itself. Bitdancer himself later said that it was a bug with the engine, and didn't have anything to do with Hyperion..

Bitdancer himself later said that it was a bug with the game engine (as I originally suspected), and that it didn't have anything to do with Hyperion.

Ah, I see. Thankfully this was just a bug instead of an intended shield against using multiple clients, because having multiple clients active at once tends to be very important at times.


Auto-update version number returned from CLI in CI

Version number should be moved to separate file and sed’ed in release ci


Function call seems always generate only one function request

I defined several test functions, customer service, calculation, and set it to AiSerivces.tools, I did a chat 'Calculate what 1+2 is equal to, and transfer the result to manual customer service' to run。In this sentence, the expectation is to generate two function calls, one for calculation and another one is to customer service,But it just returns calculation function call, and I also test others, it seems that function call just return one function call,
The AiSerivces code to execute function is as below capture image:

This logic seems to only execute one function call forever.

可以参考这个prompt,对问题进行答案迭代，最后得到Final Answer,


feature/7053-fix-search-special-chars

Summary
This pull request includes an update to the SearchClass in source/_static/js/mattermost-search.js to improve error handling during the search process.
Wrapped the lunr search call in a try-catch block to handle potential errors, log an error message, set the post-search status to 0, and return early if an error occurs.
I have tested this fix with the following special characters in the search field: ~, +, -, :, ^
Ticket Link
Resolves #7053

Hello @TomerPacific,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Thanks, @TomerPacific!! When I search on other special characters, such as (, ), <, >, etc., I noticed that both a title Search Results and text is returned.
But when I search for the targeted special characters including: ~, +, -, :, ^, the Search Results title is omitted. Can you please add the title to these specific searched characters, please, for consistency?

@cwarnermm - Consider it done.

@lindy65 Please assign this to me for QA Testing. Thanks.

The changes in this PR have been tested in the preview environment and work as expected.
Here is a summary of the observed outcomes in the preview environment for this PR.

Only Special Character search in the Docs site returns a Title Search Results and the preferred message mentioned in the ticket.
Searching with a single special character returns the expected result.
Searching with multiple special characters also returns the expected result.
A single special character search for all the special characters available on a keyboard has been done and tested.

I've attached a video as a confirmation below.
https://github.com/user-attachments/assets/71409074-0d99-4959-b05c-feb99a2cbb89
cc: @lindy65

Thank you for testing @Rutam21 - counted towards Hacktoberfest!
cc @cwarnermm


Update mode type on IO#initialize RBI

The IO classes' initializer allows for the mode argument to be either a String or an Integer (docs). This RBI for this does not allow for a string. This allows for both strings and integers to be passed here.
Motivation
We had some code that Sorbet flagged in the type checker, which should be valid.
io = IO.new(fd, "w")

The doc block above uses strings for the mode argument.
Test plan
Since this is a simple RBI change, I didn't think any further tests were necessary to add in.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_NNKSdsMuwxXuOP
→ https://go/builds/bui_NNKTa32IqawDKw


Add "snapshot" tool

Create a tool for manipulating snapshots. This could be useful to debugging snapshots but also for validating ideas around builders on top of snapshot drivers.
This could also be a sub-command of an existing tool dist or ctr

Here is a branch: https://github.com/stevvooe/containerd/tree/snapshot-subcommand. It is a bit of a mess, but anyone may pick it up and work from there.

@stevvooe I made a PR #722  based on your work.
Should it take snapshot-driver as argument and work for any drivers or only for overlayfs is fine?

The snapshot command has been added to ctr with the initial diff creation support


Polyfill ResizeObserver

Apparently ResizeObserver is not present in Edge <=18.x.x hence this polyfill.

It did not change because some package already uses it.


Database for managing state of deployed qhub ops deployments

Will power the creation of the crud interface for creating clusters.

terraform-state does that.


Document behavior of generating destination path when copying

Documents #1497.

There are formatting issues. Please run poetry run poe lint and push the new changes.


go-lint could catch possible race conditions

This is definitely not something trivial - it would be a huge challenge to implement, especially considering this may sometimes be done on purpose. However, it would be extremely awesome of the linter could catch this kind of problem.
I propose this scenario as something the linter could realise:
Given two goroutines (A and B), and two channels (X and Y)

X, a chan bool signal, is being used to wait for A's completion, but not for B's
A writes to channel Y, and B reads from channel Y

I believe this always introduces a race condition in both of these situations:

If Y is unbuffered, B may or may not complete its last operation
If Y is buffered, B could finish any number of operations with A's data

When the 2nd condition occurs, this may be intentional for performance reasons, and perhaps the linter should ignore it.
I think the 1st condition will usually be in error. The linter could suggest to use sync.WaitGroup instead.

golint is concerned with idiomatic code, i.e. style issues. It doesn't check for correctness. As such, detection of race conditions doesn't belong in golint.
On a more general note, detecting race conditions statically is an incredibly hard problem, and tends to have false positive rates of around 50% and worse. Tools that implement such detection tend to require a lot of UX work to make using them bearable. And that's for simple, mutex based synchronisation. Channels merely make the problem harder, because now you need to track channel sizes and how they're passed through the program, plus your usual mutex related checks. Even worse, such detection is concerned with actual data races, not logical races, which certainly can't be easier to detect.

Oh wow, it's that bad? Well at least I gained some insight by posting this - thanks!

https://cseweb.ucsd.edu/~lerner/papers/relay.pdf and http://web.stanford.edu/~engler/racerx-sosp03.pdf are two interesting papers on general static race detection, if I remember correctly.

Closing this since lint is (as Dominik mentioned) primarily about style, not correctness.


Client Allocation Request for: uidh

Client Allocation Questions
Core Information

Name: uidh
Website / Social Media: uidh.com, (@uidh, Twitter)
Region: North America
DataCap Requested: 32 GiB
Addresses to be Notarized: f2532973298393627437546385399324
Notary Requested: BingHe Web3.0 Lab

This user’s identity has been verified through filplus.storage


Are some pre-trained weights available for easier replication?

Dear Researchers!
I have been studying your paper and now I would like to replicate your results. I was wondering whether you provide an easy way of running the code with your pre-trained weights? Training the model myself is unfortunately not feasible given the hardware I have available.
I have noticed the two test_set.pickle serialized objects in the resources folder. May I ask what is their function? You do not explicitly mention them in the README.
Thank you!

Hi,
Thanks for your interest! The test_set.pickle are the test scenarios we use in our paper, it's for easier replication of our results. They are randomly generated maps and goals. It's mentioned in the following part of README (in the hyperlinks):

Get test results for the save models over the course of training:
python main.py --mode test_stats --config craft_ours.yaml --cvae_path craft_cvae_abstract.pth
The test set we use is saved in: craft, box.

We didn't save the pre-trained weights. The models we use are not big, so it doesn't require a large GPU to train it (you could train it with a CPU as well, but just going to take a bit longer). Hopefully that will make life a bit easier!

Thank you! I am going to close this issue now.


[Spark] Case Class example failed after compile

I'm using elasticsearch-hadoop's spark(es-hadoop version 2.1.0.BUILD-20150213.023404-297.jar/scala version 2.10.4/spark version 1.2.1) to write some case class to es, and tried the example code on
http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/master/spark.html
import org.apache.spark.SparkContext
import org.elasticsearch.spark.rdd.EsSpark

// define a case class
case class Trip(departure: String, arrival: String)

val upcomingTrip = Trip("OTP", "SFO")
val lastWeekTrip = Trip("MUC", "OTP")

val rdd = sc.makeRDD(Seq(upcomingTrip, lastWeekTrip))
EsSpark.saveToEs(rdd, "spark/docs")

When I use
bin/spark-shell --jars ~/Downloads/elasticsearch-hadoop-2.1.0.BUILD-20150213.023404-297.jar
to run the code, it works fine. But if I write the code in a scala file, then compile it and run, it will failed.
The elasticsearch report :
Caused by: org.elasticsearch.ElasticsearchParseException: Failed to derive xcontent from (offset=40, length=13): [123, 34, 105, 110, 100, 101, 120, 34, 58, 123, 125, 125, 10, 91, 34, 79, 84, 80, 34, 44, 34, 83, 70, 79, 34, 93, 10, 123, 34, 105, 110, 100, 101, 120, 34, 58, 123, 125, 125, 10, 91, 34, 77, 85, 67, 34, 44, 34, 79, 84, 80, 34, 93, 10]

Which means it post
{"index":{}}
["OTP","SFO"]
{"index":{}}
["MUC","OTP"]

instead of correct json to elasticsearch.
I checked the source code, found it caused by the "isCaseClass" method at
ReflectionUtils.scala
caused by the issue of scala
isCaseClass returns true for case object's module class
and someone find the same issue on scala:
http://stackoverflow.com/questions/12377046/scala-2-10-reflection-classsymbol-iscaseclass-works-in-scala-console-but-not-in
Maybe ReflectionUtils should use another way to implement isCaseClass.
The code from the answer works both for the shell and the compiled version:
def isCaseClass(o: AnyRef) = o.getClass.getInterfaces.find(_ == classOf[scala.Product]) != None

Thanks.

@simonlei Frustrating to see isCaseClass doesn't work universally. Without it, one ends up with an approximation which isn't ideal; for example in your case any class that's a Product is considered a case class even though that's not the case.
This is important when reading the case class properties as they need to be properly resolved.
Just to make sure I understand the issue, if you use a stand-alone case class, the case class reflection, fails correct?

@costin Thanks for your reply.
I'm just touching the spark and scale for few days, mine solution for isCaseClass was searched from web, I didn't know it's a good one or not. Sorry.
To reproduce the bug is easy, I post the source in gist
I'm using sbt-pack to build the standalone application.
The directory struct just like:

Just run sbt pack to build the standalone application, and run target/pack/bin/test-is-case-class
You will see the errors
The same code works fine at spark-shell with the same jar files
bin/spark-shell --jars ~/Downloads/elasticsearch-hadoop-2.1.0.BUILD-20150213.023404-297.jar

@simonlei Hi,
I've pushed a fix in master which should address your issue. I've tested against your project (thanks for that) and it seems to be working. Notice you'll get a warning to indicate that things might not always work.
From what I can tell, under sbt alone, your case class does not have the relevant @ScalaSignature which means the Scala reflection doesn't know much about this class and thus it cannot tell whether it's a case class or not.
The fallback is to use some type of detection using Java reflection which should be pretty accurate except the field properties - we can't tell just through Reflection what properties (vs nested vars which are allowed but not used in the Product) you actually use and their order.
We simply hope the bytecode preserves the field declaration order - and that is not guaranteed by the JVM. Thus, one can end up with the properties switched and unfortunately there's not much we can do in this case. The only solution is to really have the relevant bytecode in there...
Please try it out and let me know how it goes; I've pushed the dev builds already

@costin Great! The version elasticsearch-hadoop-2.1.0.BUILD-20150227.023402-314.jar works, thanks!

Thanks for confirming. Closing the issue


Create UI Docs

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/291
Originally created by @jschatz1 on 2019-01-16 16:03:47

cc @bencodezen we will need docs on how to use the UI.

View 3 previous comments from the original issue on GitLab


Multiple possible approvers, approver groups

It would be nice if groups could be selected as eligble approvers.
In addition, if specifying the same namespace/page name several time with different approvers, all of them should be able to approve the page (not just the last one in the list, as it currently seem to work)

Yes, I think the plugin should be extended to support multiple approvers (and groups). I'll try to extend the plugin with it on some occasion.

It would be nice if groups could be selected as eligble approvers.

Apparently, this is possible in theory, but doesn't work with LDAP. At least that's what I read from #32

In addition, if specifying the same namespace/page name several time with different approvers, all of them should be able to approve the page (not just the last one in the list, as it currently seem to work)

I probably should open a different issue, but I would like to have an option that every group has to approve. If I wanted any, I could just create a new group containing the union of all allowed groups.


Bug: 'View Coverage in code editor' option don't work on contain scenarios

when parsing the final-coverage.json file for the start, end line it might receive null values.
when value is 0, line[x]-1 would result -1
getting invalid value for line number.

Investigation:

Mostly the end line column number would be null.
should check whether it's not null. (a && b && c) would result of giving false when value is 0.
fix in progress..
/Rukshan


TL-36484: Add fledge signaling

Type of change

[x] Feature

Description of change

Triplelift is not entirely ready to support Fledge end to end but we do want to start ingesting and tracking fledgeEnabled signals that publishers are setting in the meantime

@patrickloughrey g2g


proposal: add functionality to remove repetitive if err != nil return

Great language but kind of tired of writing:
if( err != nil ){
return PrimaryData{}, err
}

Proposing something similar to 'defer' except with a condition where you declare the statement after the variable is defined.  Using 'try' in the example but feel free to replace 'try' with your favorite exception handler like 'rescue' et al.  If the condition in the 'try' is true the block executes.  Currently, thinking the block should always have a return so it only executes once.  Thinking the statement should be treated as if the compiler inserted it after every assignment of the variable(s) in the condition
func repeatErrReturn() (out User, err error) {
try( err != nil ){
   return User{}, err
}
... // real code
yeahRight , err = otherPkg.unreliable()
.. // more code
}

or
func repeatErrReturn2() (interface{},  error) {
var err
try( err != nil ){
   return User{}, err
}
... // real code
_ , err = otherPkg.buggy()
.. // more code and other 'err' assignments
}

This and similar ideas have been discussed many times in the past.  Here is a recent discussion: https://groups.google.com/d/msg/golang-nuts/UwH5CreZPe4/xxI8gFsVBAAJ .
Make sure to read https://blog.golang.org/errors-are-values .

In languages such as snobol, icon and unicon, you could return from a function in a special way to indicate error or failure, and any such failure return would be automatically propagated recursively op the call stack unless the failure value is received as an additional return value. This would involve a new keyword, say "failure" for such a fail return.
But I realise that this is probably too "magical" for Go. Still, it is a useful feature in a higher level language.

@ianlancetaylor , Thanks for the article and the group link.  The blog has a good point about how to use the language to minimize my stated annoyance.

I think the error type needs to be used in currently uninvented ways before a new decenter error handling pattern would emerge.

I don't think this is in the spirit of the language, and has been hashed out many times before. While there is probably room for a detailed proposal in this area, I'm declining this particular one.


Don't splat classes if using data converters

If one used Firestore data converters & built classes, these were getting thrown away when using docData/collectionData.
class Foo {
  static fromFirestore(snapshot: QueryDocumentSnapshot) {
     return new Foo(...);
  }
}

const fooCollection = collection(firestore, 'foo').withConverter(Foo);

// NOW:
collectionData(fooCollection) //=> Observable<Foo[]>

// BEFORE:
collectionData(fooCollection) //=> Observable<{ ... }[]>

For now I've set use with idField etc. to throw, as there isn't really a point; since one could consume snapshot.id in the converter. In thinking about it I decided to take a less opinionated approach here, a lighter touch for semver for folk using converters now.
Technically speaking this is a break, since if you converter returns a non object it won't be splatted any longer. E.g, undefined will return undefined rather than {} if you use collectionData. But I consider this undefined behavior as we don't provide any guides here, WDYT @jhuleatt?
Follow on:

going to dry everything up
add generic support (without forcing converters)
flush out the tests a bit more

Misc.:

Bump versions
Add tests back into canary/release script
Addressed some flaky tests
Yarn.lock was showing in the github diff, mark as generated

Technically speaking this is a break, since if you converter returns a non object it won't be splatted any longer. E.g, undefined will return undefined rather than {} if you use collectionData. But I consider this undefined behavior as we don't provide any guides here, WDYT @jhuleatt?

I agree with not calling this a break because we don't currently document how converters that return undefined are handled.
That said, another todo item on this PR should probably be to document converter behavior in RxFire's Firestore docs


Updating rustls to 0.20 in v0.11.7 broke semantic versioning

It is possible to have a codebase with both rustls 0.20 and 0.19, since they differ on the first non-zero component. This means that the upgrade from reqwest 0.11.6 to 0.11.7 can cause a codebase that has another use of rustls 0.19 to now have the two versions and use_preconfigured_tls will set config.tls to UnknownPreconfigured since it will try to downcast the 0.19 rustls::ClientConfig to the 0.20 one and fail.
Not sure what can be done about it, other than releasing v0.11.7 again as v0.12.0.

Note that this exact possibility is noted in the documentation of that method: https://docs.rs/reqwest/latest/reqwest/struct.ClientBuilder.html#method.use_preconfigured_tls
It's preferable to use the configuration options that don't assume specific knowledge and version of the TLS implementation used.

Yes, but I am not even the one using that API. We just depend on deno, which uses it. The net result is that a cargo update breaks our project when it tries to update reqwest to v0.11.7. We have to pin it to v0.11.6 until there is a deno release that uses v0.11.7 and rustls 0.20.
Having bumped the version to v0.12.0 when updating rustls would have avoided all this.

I'm very sorry you have to deal with the pain.
But this exact scenario was assumed would happen when adding that method, so we added a warning to that it's fragile and not preferred. We explicitly don't want to tie the TLS dependency versions to the version of reqwest.
I'd suggest if it makes sense, generic ClientBuilder config can be proposed so Deno or whichever doesn't need to depend on use_preconfigured_tls().

This was a pain point for my company as well.  We have to use use_preconfigured_tls as well, because we configure a very customized rustls backend, and there doesn't seem to be a non-fragile way to pass in a preconfigured rustls backend.
I propose (and will submit a PR implementing) backend-specific configs, which will not entirely solve the version mismatch problem, but will move the error from runtime to compile time, which is strictly better from my perspective as a consumer of the crate.
I'd even be happy to have the method hidden behind a feature flag that marks it as unstable, since it does create a semver issue, but I think (happy to be wrong on this) that it has to be implemented in reqwest, so that the  rustls::ClientConfig is guaranteed to be the version that reqwest supports, instead of the one the dependent crate resolves to.
So the proposed api would be:
#[cfg(feature = "unstable-preconfigured-tls")]
impl ClientBuilder {
    #[cfg(feature = "__rustls")]
    fn use_preconfigured_rustls_tls(tls: rustls::ClientConfig) -> ClientBuilder;
    #[cfg(feature = "native-tls")]
    fn use_preconfigured_native_tls(tls: native_tls_crate::TlsConnector) -> ClientBuilder;
}

Thank you for considering this addition.  I'd be happy to consider other alternatives if you have suggestions.


Replace log facility

We could improve the logging feature using a standard log interface.

Some improvements exposed by @elia are reported here


KAFKA-4422: Drop support for Scala 2.10

Review by @ewencp.

System tests: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/876/

Green branch builder: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/885/

retest this please

Yeah, they were due to Jenkins flakiness. Running them again, just in case.


How to hide the breadcrumb and footer when printing the page?

When print the page (Ctrl + P), the breadcrumb and footer is visible in the page. I want to remove these when printing.
Tried this CSS, but it's not working. Still breadcrumb and footer is not hidden. Other elements are hidden :
@media print {
        body * {
            visibility: hidden; /* // part to hide at the time of print */
        }

        .breadcrumb {
          display: none !important; /* //this is not working */
        }

        footer {
          display: none !important; /* //this is not working */
        }

        .app-footer {
          display: none !important; /* //this is not working */
        }

        #printable * {
            visibility: visible !important; /* // Print only required part */
            text-align: left;
            -webkit-print-color-adjust: exact !important;
        }
    }```

work fine for me.
<style>
@media print {
  .breadcrumb {
    display: none !important;
  }
}
</style>

don't use style scoped on media print css. It won't work like that.
bootstrap already had a display none on print class. you can utilize that class to save time
https://getbootstrap.com/docs/5.0/utilities/display/#display-in-print


[10.x] Fix missing pid method

The documentation says to get the pid of a running process using the pid method but that method doesn't exist, it should be id.

But based on the use of a well-known term among developers and sysadmins and also in some well-known software the name is pid.
Look at the image below, marked in red
lsof

netstat

Based on that, I think the term pid is better.

Sorry, some spaces were removed by PHPStorm without my noticing it.


Introduce a pod-config command

Introduce a pod-config command to setup TPU pods
What does this add?
This PR introduces a new command accelerate pod-config which will first ask the user for commands they wish to run across all TPU nodes in a GCP TPU cluster, before then running all of them in along with installing accelerate if specified
Who is it for?
Part of https://github.com/huggingface/accelerate/issues/501
Why is it needed?
When dealing with TPU pods, they need to have initial configurations across all of their processes with all the main data being available there and initial setups. This provides an easy tool to do so without having the user need to enter their own startup script, and can be run at any point in time.
What parts of the API does this impact?
User-facing:
Adds a new accelerate pod-config command which can accept both a bash script of commands to run at once, or an unlimited amount of regular commands passed in
Internal structure:
Configs now store both types of commands and users are prompted for these during accelerate config
Basic Usage Example(s):
With an old accelerate config file:
accelerate pod-config --command "echo 'Hello World'" --tpu_zone "us-central1-a" --tpu_name "test-tpu"

With a new one fully configured:
accelerate pod-config

To install Accelerate in the new environment on all processes:
accelerate pod-config --install_accelerate

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Doc typo: getTransition => transitionIssue

Hey FloralVikings - thx for making this library... speed things up quite a bit for my project.
Quick typo I noticed at http://floralvikings.github.io/jira-connector/IssueClient.html - getTransition is defined twice, but the appropriate API function is transitionIssue.

Fixed in 1.7.0.  Thanks!


Added Turkish locale

Added all translations for Turkish (tr) locale. We're using Ghost for our Turkish website on movies/tv (www.sinetopya.com) and looking forward to see the entire interface in Turkish language.
Any feedback appreciated!

Thanks @ugurcany! 🕺🏻


Readme docs

Wrote some documentation in the repository readme, with contribution instructions.

Can preview on my fork here: https://github.com/ewels/covid-portal/blob/readme-docs/README.md

Look exactly like what I needed! I haven't tested in detail, let's merge it and correct later if any issues

Question: In point 2a, how does one keep one's fork up to date with the original repo? That is, what is the corresponding operation for git pull upstream develop in 2b?

git pull upstream develop is to keep one's fork up to date with the original repo..
Maybe that bit of text needs work to make it clearer! 😅

OK, but I was asking about 2a, how one does it if one uses only GitHub, and not a local repo.

Looks good. Please merge as far as I am concerned.


Fix reports "full web addr" doi field constraint

 Force text in the manuscript URL box of the Edit Report window to start with https://


Control adds selected values as a new list item

Video showing the behavior:
https://github.com/user-attachments/assets/68e9754d-b6a0-445f-904a-bcb2fedb81d3
Example: list items are: A, B, C, D
Select A and B
Save the work item.
Select D
Now the list items items are A, B, A;B, C, D
Why is "A;B" getting added to the list?.  If this value is selected, then it duplicates the values, so there would be 2 "A"s and 2 "B"s

HI, Thank you for bringing this to our attention. We will take a closer look at the issue and get back to you with further information


Bootstrap pyramid in each worker, instead of in main thread

Would you be willing to change design to call bootstrap() on worker_init? For example, if one uses SQLAlchemy with pyramid_celery, you'll quickly run into issues as Engine and it's connections are safe for multiprocess use.
More: https://hynek.me/articles/using-celery-with-pyramid/

On second thought, it should never really bootstrap pyramid in the workers.


upper bound orjson version

Proposed fix to #179
Adds upper bound to orjson version in requirements.txt.

Need more details on why is this needed on #179 before we accept this upper bound.

Closing this as the issue seemed to resolve itself.


Implement scroll-sync in playground

We can copy what commonmark.js's dingus does.

Implemented left->right sync.
Would also be good to have right->left sync.

Right, I just noticed these odd differences.
When I paste a document in, Safari puts in two blank lines for every one.
Firefox collapses all of them.
Chrome looks right.

The weird behavior seems linked to my adding the whitespace-nowrap tailwind class.
But I don't want auto-wrapping because it defeats the scrollsync calculations.

It's fixed now, I think.

It's fixed now, I think.

Not quite, I'm afraid :(
Here's what I see in Firefox:

And in Brave:

Sorry, what's the problem you see there?  There are slight differences in rendering, but the lines on the left look right.

Apologies, I assumed it would be more evident. The issue is the rendered content being cut off at around 182px of height (note the scrollbars).
It seems that this is due to the div wrapping the iframe not having height:100%, so it settles on the default iframe height (150px) plus the 1rem padding. The iframe then gets 100% of the available (182px) height.

OK, thanks.
Try it now.

Looks better indeed. But the <pre id="result"> is shown under the <iframe> with a non-zero height (it seems to be roughly the same size as the iframe), which makes scrolling around in the page a little awkward. Shouldn't it be set to display:none if the output selection is set to "Preview"?

Done.


Refactor Phase 1 - Cut down on code duplication, make more DRY

What does this PR do?
Removes the necessity to have an individual controller and route definition per resource type. All resources may now share a single controller and route definition, since the behaviors that we allow on them are fundamentally the same. This should make maintaining the resources easier as they change (only need to change the model file), and cuts down on code duplication.
Each model now exports:

A Mongo schema
A Joi validator
An object of default values (may just be empty if desired)
(Optionally) A function to mutate the request body when creating new objects (ex. lowercasing a username, etc.)

The user.model.js file is a good example of all of this.
How should this be tested?
The previously-included tests have been lightly modified so that they still work. Refactoring of the tests is not a part of this PR.
Is there a relevant Issue open for this?
nope
Who would you like to review this?
cc: @rht-labs/omp

Awesome, I like the direction of these changes. That is a nice improvement to not have a separate controller and router definition for each model effectively doing the same thing. I'll go through and test it all in the morning.


Help wanted: Difficulties with making scandinavian special characters in language patch.

I am working on an adventure for my play group, and made a language patch to Norwegian. Unfortunately, I encountered some difficulties with the lodalization process.
One problem is with the special charaters æ and å. Specifically, these are not recognised by the latex compiler in the language.sty file (but still works as intended in the main document. Looking around at the world wide web, I found out that \aa should be the command for å and \ae for æ. The former of these two yields me an å, but it does "swallow" any following spaces meaning I have to use the slightly incorrect translation "for treff" for "to hit", rather than "for å treffe".  The letter æ is, however, more problematic as the suggested command \ae does not work. By writing æ directly into the sty-file, I get:

and with \ae I get:

Clearly, neither is a specially good representation of æ. Are there any known way of getting around this problem? I am compiling with pdf-latex and using the norwegian babel package with the utf8 inputenc as my language package.
PS: There also seems to be the problem that the package adds a space between the word for damage "skade" and the damage type, as can be seen above with "stikk skade", which is a grammatical error. For some damage types, like necrotic (nekrotisk) it works as you can make the damage type into an adjective, but for piercing, slashing and bludgeoning I am not sure if there are any good workarounds for this. ANyone know how to concatonate these?

I tried around with compiler tricks motivated by #346  and switching compiler to XeLaTeX did the trick


cert-manager jobs never finish when istio is installed

Describe the bug:
When cert-manager is installed to a system that has istio, the cert-manager jobs never finish because the istio-proxy sidecar never stops.
Expected behaviour:
For the cert-manager kubernetes job upon completion to send a curl to the istio-proxy so it shuts itself down.
Steps to reproduce the bug:
Install cert-manager to a cluster that has istio installed with auto-injection enabled.
Anything else we need to know?:
The following stores the exit code, sends a curl to the istio-proxy to shut itself down and then passes on the previous exit code:
x=$(echo $?); curl -fsI -X POST http://localhost:15020/quitquitquit || true && exit $x
this workaround is needed until kubernetes supports something like: https://github.com/kubernetes/enhancements/issues/2872
Environment details::

Kubernetes version:
Cloud-provider/provisioner:
cert-manager version:
Install method: e.g. helm/static manifests

/kind bug

Hi, the recommended way to solve this problem is by disabling sidecar injection by setting the value for startupapicheck.podAnnotations, like so:
helm install \
  cert-manager jetstack/cert-manager \
  --namespace cert-manager \
  --create-namespace \
  --version v1.8.0 --set startupapicheck.podAnnotations.sidecar\\.istio\\.io\\/inject=false

source: https://github.com/cert-manager/cert-manager/blob/master/deploy/charts/cert-manager/values.yaml#L492

thank you for the workaround. have a great day.


⚠ Adacta-fintech.com has degraded performance

In 2a4e872, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 502
Response time: 725 ms

Resolved: Adacta-fintech.com performance has improved in 814697b after 7 minutes.


[bug]: Allowlist/Cargo features de-sync

Apparently sometimes changes in the allowlist will not update the cargo features. This is of course bad for DX, security and app size.

Ayyy i totally forgot about #3300. Sorry for the false alarm, i blame the sleepy Sunday haha

No worries 😂

Fixed as part of the isolation feature refactor.


Allow for postcss-loader options to be passed

Make it possible to pass postcss-loader options like config (path, context), parser, etc.
This can be useful, for example, to pass theme env variables to postcss-loader.
next.config.js would look like:
module.exports = withCSS({
  postcssLoaderOptions: {
    parser: true,
    config: {
      ctx: {
        theme: JSON.stringify(process.env.REACT_APP_THEME)
      }
    }
  }
})

Thank you very much 🙏

Thanks for your patience :)
On Tue, Jun 19, 2018 at 8:58 PM, Tim Neutkens<EMAIL_ADDRESS>wrote:

Thank you very much 🙏
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zeit/next-plugins/pull/201#issuecomment-398441128,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACv9vsTK-lLlHAFPxdHh72Z34cJDfgcdks5t-RiYgaJpZM4UtiKY
.


Moved ShimCurrentBatchIterator so it's visible to db312 and db321 [databricks]

Moved the ShimCurrentBatchIterator.scala to 311until330-all folder
fixes #5444
Signed-off-by: Raza Jafri<EMAIL_ADDRESS>

build


fix(ClientRequest): fix a custom agent context in createConnection

When an intercepted request is not handled (interceptor.on('request'...) and the request uses a custom HTTP Agent, the custom agent's createConnection method is bound to the MockHttpAgent's this context instead of the custom agent's this context, so methods/local variables are unavailable causing an exception.
This PR binds this.customAgent instead of the MockAgent's this to the createConnection function to ensure scope is correct.
Fixes #635

I ran out of time today to continue working on this PR. Let me know if this is an approved fix and I can build out tests/make sure it compiles/etc.

This is a great find, @tebriel. Thank you! The fix looks good as well, just the tests remain. I'd put them in tests/modules/http/compliance. If you have some time, give them a try, if not, I will add them whenever I have a moment.

@kettanaito awesome thanks! I have some time today blocked off for it, so I should have them submitted in a few hours!

Built a test that fails without the change and passes with the change, will clean up and post in a moment, just didn't want to lose the screenshot.

@kettanaito ok I'm ready for a review. I didn't try to prove that the Mock Agent's context would be correctly applied (the opposite of the existing tests) because I assumed (please verify) that the other tests would cover this functionality. Open to any feedback or you can push commits directly. Both are fine with me.

Released: v0.35.4 🎉
This has been released in v0.35.4!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.

Merged some tiny improvements to the tests, looks great 👍

great improvements, thanks for that! (and the release!)

Thanks for reporting this! Always happy to make Interceptors more compliant with Node.js. If you spy any other issues, don't hesitate to let me know.


Turn on Energy Saver even when plugged in to make the "energy saver" option permanently available even when plugged in without battery

Description
Energy saver option doesn't work when plugged in (without battery)
Who's implementing?

[ ] I'm willing to implement this feature myself

The problem
Hello, sadly "energy saver" feature doesn't work when plugged in, my notebook is not very powerful and and doest't have a big memory ram and we can use many heavy program at thesame time and battery can get tired...it will be great to add option to enable permanently energy saver even when plugged in (without battery) to avoid freeze and lag, thank you so much !
https://support.google.com/chrome/answer/12929150?visit_id=638227751357191071-2548025678&p=chrome_memory_saver&rd=1#memory_saver&zippy=%2Cturn-memory-saver-on-or-off%2Cturn-energy-saver-on-or-off
So our dream please is make the "energy saver" option permanently available even when plugged in without battery, thank you :)
Possible solutions
Enable permanently "energy saver" option even when plugged in
Alternatives
No response
Additional context
No response

At which version of ungoogled-chromium does it not work?

@PF4Public It works but only when plugged in, i have only 4Giga ram memory and i use web browser with many many tabs for my researches  and i use only office suite that may use big ram usage....i use windows 10 last version/ Ungoogled chromium118.0.5993.88-1.1

Do you have a screenshot of it being enabled and that it does not work?

here the famous screenshot : It works but only when we use battery, my battery is old and my battery don"t work any more and we hope energy saver will work even when plugged in :


Initial setting

I started the application TicketDesk 2.5 (beta), but I do not know how to log in to the admin panel, it asks for e-mail.... You wrote that there will be a stage of creating a database but this did not happen, I immediately saw the main application window....

I am not sure how that could happen -- source control shouldn't contain a database at all, so it'd have to go to the setup page first to create one (http://whatever/first-run-setup).
I do think there may be an issue with logging in with the current head of the develop branch though -- we merged in some changes recently. I was planning to look into that a bit more to be sure. You might want to stick to the master branch if you have issues.

Actually, you can disregard the issue with logins on develop branch -- turns out that was a local issue with my own browser. Seems to work correctly.


Apply to new datasets

Hi,
Thank you for the great work.
I try to apply demo.py on TUM datasets and EuRoc(drone) datasets. But I didn’t get an accurate result.

The first picture is the result of applying the TUM dataset picture, and the second image is the result of using EuRoc data.
Is it correct that the results are like this?
Have you applied the NeuralRecon code to the datasets mentioned?
Thanks,
Hyunjin Kim.

We haven't tested NeuralRecon on TUM and EuRoC datasets. Please make sure that the camera pose format is correctly converted, and the z-axis of the poses are shift according to:
https://github.com/zju3dv/NeuralRecon/blob/master/tools/process_arkit_data.py#L83

Hi @hyunJIN7, have you solved the problem?

Hi.
I haven't been able to solve this problem yet.

https://github.com/zju3dv/NeuralRecon/issues/76#issuecomment-1059915310
could you please give the result on 7-scenes or how to process the pose ,in fact, i have tried it on several datasets,some need to add a 1.5 ,some need to rot the x-axis like process the demo data in ARkit , but all of the result seems worse than your demo data ,the demo result is all right,so i think my operate is right, the problem in processing the pose seems with the biggest probability。（i'm not very good at english,and i'm new in 3D Reconstruction,so Please forgive my question may not be standardized）
here are some results in other datasets
first ,the demo data provided by the author

the TUM dateset

the scannet data(i'm not able to download the full scannet,so it's 100 times downsampled,it seems will be ok if use more photos)

the 7-scenes dataset

finally,i use my phone get a video ,and use the orb-slam2 to get the pose of key-frame(i can't use a iphone to use ARkit)


Add gpu_cache bench feature requirement

Minor updates outside of the main source code

Add gpu_cache feature requirement to bench so cargo +nightly bench --features bench works
Updated dev-dependencies
Fix deprecated get_inner_size_pixels() winit usage in gpu_cache example
Fix changelog h* markdown usage (won't render properly in some markdown parsers, ie github's)

Thanks!


[WFLY-16121-reopen]: Intermittent failure in

ExternalJMSDestinationDefinitionLegacyPrefixMessagingDeploymentTestCase.

Fixing the failure by making sure that the queue is properly created
locally instead of waiting for the topology.

Jira: https://issues.redhat.com/browse/WFLY-16121
Signed-off-by: Emmanuel Hugonnet<EMAIL_ADDRESS>

Thanks @ehsavoie


Build should target appropriate framework (.NET 3.5)

.NET 3.5 is the minimum required framework version (because of LINQ).  What does this mean for Mono? Is Mono 3.5 the equivalent framework?
Change NuGet package to deliver assemblies into appropriate framework folders.

I wonder whether it isn't more appropriate to leave the nuget package as "framework independent", but must admit I haven't done much research on the implications.

What I was really wanted to specify was .NET 3.5 or better (to ensure
System.Xml.Linq would be available)
On Tue, Feb 24, 2015 at 12:20 AM, Stefan Bodewig<EMAIL_ADDRESS>wrote:

I wonder whether it isn't more appropriate to leave the nuget package as
"framework independent", but must admit I haven't done much research on the
implications.
—
Reply to this email directly or view it on GitHub
https://github.com/xmlunit/xmlunit.net/issues/7#issuecomment-75701302.

OK, if I read the nuget spec correctly we'd copy the assemblies to a net/35 folder and the matching logic of nuget would select that for everything >= 3.5.  Initially I was afraid we'd have to copy the same assembly to N folders.

Good. That matches my understanding. In general, I see that libraries that
target multiple frameworks build binaries to multiple directories (one for
each targeted framework) and then the nuspec picks up the binaries from
each directory. For example,

This seems to cover the Windows/.NET side. What I don't know is how Mono
works into the mix and how it reacts to nuget packages that target specific
frameworks.
The best way, I think is to simply run some experiments and see what
happens with Mono on Linux.
J
On Tue, Feb 24, 2015 at 11:06 AM, Stefan Bodewig<EMAIL_ADDRESS>wrote:

OK, if I read the nuget spec correctly we'd copy the assemblies to a
net/35 folder and the matching logic of nuget would select that for
everything >= 3.5. Initially I was afraid we'd have to copy the same
assembly to N folders.
—
Reply to this email directly or view it on GitHub
https://github.com/xmlunit/xmlunit.net/issues/7#issuecomment-75785228.


Allow Facebook adapter to include message tags in outgoing messages

If our test bot could add Facebook-defined tags to its outgoing messages, then its messages would not be blocked by Facebook in the pipeline Botbuilder-DotNet-Facebook-Functional-Tests-yaml.
The pipeline has been failing as a result of Facebook's policy, "When a person sends your Page a message or starts a conversation via a web plug-in, your app has up to 24 hours to respond. Messages can be sent outside the 24-hour window for specific use cases with message tags." https://developers.facebook.com/docs/messenger-platform/send-messages/#standard_messaging
In our case, the test bot would append to the message body:
"messaging_type": "MESSAGE_TAG",
"tag": "ACCOUNT_UPDATE"
https://developers.facebook.com/docs/messenger-platform/send-messages/message-tags#sending
An alternative solution would be for the test to use Selenium to send messages to the Facebook page. Currently the test sends directly to the bot's endpoint in Azure.

True, it's a very minor change. I found the build name discrepancy while checking the badges. The "main" branch reference came from the badge string auto-generated by the pipeline.


fix: update some cheat-sheet links

While reading the cheat-sheet, I noticed that 2 of the links were broken or outdated. I've updated them to point to what I believe were the intended pages.
Thank you for providing this fantastic resource!

Thank you for the contribution! Apologies for the delay in seeing this as I've been on holiday, I'll take a look tonight.


Tool for Lab Management to be defined

need to reach out to canonical to see if they can give us canonical https://maas.io/ access

Need a contact at Canonical -- Marc M. to get the contact and Mark S. to reach out.

We should install the free version as we are thinking in terms of setting up environments leveraging free/open source solutions. MAAS.io: https://maas.io/


Keep the original line number if no source map

Fixes #178.

Coverage remained the same at 100.0% when pulling bb339468ff77544149ff0e0515fcb607daddcae5 on fix_178 into af54d5f038bec7d993c484d3a4159f4cfb77ff67 on master.


Setup a Service Principal : Unnecessary Powershell Parameter on instruction causes error

Step 3 of "[Setup a Service Principal]" uses a power-Shell parameter that will cause the following error:
"New-AzADServicePrincipal: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided"
Seems like the -DisplayName parameter is causing it. If I remove it (and leave just the -ApplicationId), the principal for the Verifiable Credentials Microsoft service will be created with the proper display name

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

ID: f84b158e-eebc-7d96-0992-8864316ddf5c
Version Independent ID: 8909ba9b-bf26-fb5c-29f0-76244984e75a
Content: Tutorial - Configure your tenant for Azure AD Verifiable Credentials (preview)
Content Source: articles/active-directory/verifiable-credentials/verifiable-credentials-configure-tenant.md
Service: active-directory
Sub-service: verifiable-credentials
GitHub Login: @barclayn
Microsoft Alias: barclayn

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

@sbania Thank you for responding to this one . We have identified this as a bug in our documentation and are working with the product group to get this updated. As this product is in preview there are some changes and validation we are working on internally . Once we resolve them , we will be updating the parts of the document about the service principal as mentioned here. this is actively being working internally .


Remove version: Wesnoth.BattleForWesnoth version 1.15.13

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/wesnoth/files/wesnoth/wesnoth-1.15.13/wesnoth-1.15.13-win64.exe/download
Status Code: 200
(Automated message - build 897)

URL: https://sourceforge.net/projects/wesnoth/files/wesnoth/wesnoth-1.15.13/wesnoth-1.15.13-win64.exe/download
Status Code: 200
(Automated message - build 897)

Close with reason: Package still available.;


Update: Microsoft.dotNetFramework version 4.8

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


Dry run mode

Would be nice to have a dry run mode listing all files that would be deleted

Has been implemented. --dry-run flag


Develop

Current coverage is 100% (diff: 100%)

Merging #42 into master will not change coverage

@@           master   #42   diff @@
===================================
  Files          13    13
  Lines         398   389     -9
  Methods       105   105
  Messages        0     0
  Branches        0     0
===================================
- Hits          398   389     -9
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 3198a59...dac5bc0


Runtime Exception: Index Invalid or Out of Range during QR Code Generation

I encountered a runtime exception with the error message "index invalid or out of range" while attempting to generate a QR code. I am seeking assistance in resolving this issue.

Duplicate of
https://github.com/endroid/qr-code/issues/362
https://github.com/endroid/qr-code/issues/365
https://github.com/endroid/qr-code/issues/396
See https://github.com/Bacon/BaconQrCode/issues/92 for further information


Fix toctree angular reference in js index

🤞

also fixed references in docs/sentry-doc-config.json
https://github.com/jessla/raven-js/commit/0bbaccc8c23936ff8f862406a2a72a04b2697981


[ERROR]: The similarity metrics table is not clear.

Is there an existing issue for this?

[X] I have searched the existing issues.

Issue
link: https://milvus.io/docs/v2.0.x/metric.md#floating

All current index types support L2, but this table shows that only flat indexes support L2.
Suggestion
It is recommended to redesign the table to express the meaning more clearly.
Anything else?
N/A

@JackLCL The table layout lists all the index types supported by both L2 and IP, although it could use some improvements. Thanks for pointing out the confusion!
Maybe remake the table to format it like this? @LocoRichard what do you think?

@JackLCL The table layout lists all the index types supported by both L2 and IP, although it could use some improvements. Thanks for pointing out the confusion! Maybe remake the table to format it like this? @LocoRichard what do you think?

Not really. First, the grid would be meaningless if all boxes are ticked. Second, it would lead to too many columns in a table and would be very unfriendly for rendering the page layout. I think the original one is ok. If we want the items correspond to each other, I would put them in different rows.


Publishing, compiling, and debugging on OS X

Trying to move a completed project to Catalina, and been having some issues.
Best case would be running a debugger for the project on a Mac device, but haven't found anything on that.
What I've done:

On a windows computer, published for osx
Transferred ProjectName to Mac
Ran chmod +x ProjectName
Executed ProjectName

I get:
user@User-2 ~ % /Users/user/Documents/PN/ProjectName ; exit;

[Process completed]

It seems related to issue https://github.com/AvaloniaUI/Avalonia/issues/3051, except the other one had more information. After the process completed, I don't get any output nor the program window. I have .Net Core 3.1 runtime, the SDK, and Mono installed as well.
I also tried combinations of dotnet build and dotnet run but that didn't work either.
Main thing I'd like is being able to execute the program, and get a debug output like Debug.WriteLine so I can make sure all functionality works on OS X. Then I'll follow the packing guide for macOS.

dotnet publish -r osx-x64 -c Release -f netcoreapp3.1 /p:PublishTrimmed=true
works for me with absolutely nothing installed on the mac

Even though I have .NET Core, I'm getting a macOS popup with:
“libhostfxr.dylib” cannot be opened because the developer cannot be verified.
And the terminal where I'm running the project produces:
user@User-2 ~ % /Users/user/Documents/PN/ProjectName/ProjectName ; exit;
Failed to load A, error: dlopen(/Users/user/Documents/PN/ProjectName/libhostfxr.dylib, 1): no suitable image found.  Did find:
	/Users/user/Documents/PN/ProjectName/libhostfxr.dylib: code signature in (/Users/user/Documents/PN/ProjectName/libhostfxr.dylib) not valid for use in process using Library Validation: library load disallowed by system policy
The library libhostfxr.dylib was found, but loading it from /Users/user/Documents/PN/ProjectName/libhostfxr.dylib failed
  - Installing .NET Core prerequisites might help resolve this problem.
     https://go.microsoft.com/fwlink/?linkid=2063366

[Process completed]

Running chmod recursively and reinstalling .NET Core SDK didn't fix this though. According to the link provided, it might be a specific issue due to Catalina?

I have a number of users using my app on mac and I use the build command above, it creates a self contained app. On Catalina you do have to have to convince it that you really want to run it, but it does work.

It does create a published folder, including the project and all the various .DLLs. I can't grab libhostfxr.dylib though, and trying https://github.com/Jackett/Jackett/issues/5062 didn't work out either.
From your end, your process is:

Run dotnet publish -r osx-x64 -c Release -f netcoreapp3.1 /p:PublishTrimmed=true
Transfer directory to Mac
Run chmod +x publish/ProjectName
Open ProjectName

And it launches with no issues? On Catalina too?

Yep, that describes my process and it works.  What happens if you try ./ProjectName from a command prompt ?

Same thing, attaching screenshot too:

Do you have the .dylib in your project folder?

Are you code-signing/notarizing your app? If so, that file needs to be code signed as well. Are you doing that?
(Can you also try right-clicking the app and choosing "Open" and seeing if you get the same options? You can also double check Settings -> Security and Privacy -> "Allow Apps downloaded from...")

Not code-signing/notarizing the app yet, should I be?
Right-click and "Open" is the same as just running it, having already run chmod +x.
The Security and Privacy setting seems to be it!
I had to click Allow anyway on 20+ different files, and then opening them when running ProjectName:

After all of that though, I'm back to the starting point with:
Last login: Thu Aug 13 17:23:35 on ttys001
/Users/user/Documents/PN/ProjectName/ProjectName ; exit;
user@User-2 ~ % /Users/user/Documents/PN/ProjectName/ProjectName ; exit;

[Process completed]

@NullVSNone debugging works in both VSCode and Rider.

@danwalmsley VS Code did work for debugging, after I removed the viewmodels called at start. Before then, I got:
...
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.7/System.IO.FileSystem.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.ComponentModel.Win32Exception' in System.Diagnostics.Process.dll
No such file or directory

After removing the calls, then introducing them directly through events, I got a proper debug message which is:
Exception thrown: 'System.NullReferenceException' in System.Private.CoreLib.dll
Object reference not set to an instance of an object.

Resolving - the only real issue was that there were no messages if the error causer was introduced on launch.
Debugging and macOS compilation works perfectly, thanks everyone.


Is it possible to add a Logo

Hi,
I just found this antwort and is great. Thanks!
I was wondering, is it possible to add a Logo that replace the title?
Also I found missing a place to locate a "Open on the web" link. I know it shouldn´t be necesary to use it if the responsive is working, but you now, some people like to do it.
Thanks!

 So I don't I think I need to illustrate that…
If you're looking for inspiration in terms of how to place them, there are various examples on the web.

Well, the problem is to make a logo that does not break the responsive. So the "web" can help me with the html but not with its implication on this templates.
I will try some options myself then.
Thank you!

An image cannot "break the responsive". If you need a logo, make sure the <img> has width and height attributes. Then just add max-width: 100% and you will be fine in most cases.

Thank you for the tips! I think I was able to insert the logo an so far it looks good.
The max-width:100% is the important part here.


add missing key emptySearchMessage using emptyFilterMessage

key emptyFilterMessage is depreacted (prime vue, 3.7)
Used the value for emptyFilterMessage but the key wasn't deleted.

I am hesitant to delete anything that may be used in PrimeReact or PrimeFaces etc.  I need to check on this.


Tools_v0.8.6 _19: Expand icon label is not changed to “Restore” on expanded screen

SEVERITY: Major
MODULE: Tools page
Platform: Windows 7 / Chrome 48.0
STEPS TO REPRODUCE:

Navigate to URL: http://dev-tools.gapminderdev.org:3001/tools
Tools page is loaded.
Click “Expand”
Note that expand icon label is not changed to “Restore” on expanded screen
Also note that the icon is not clickable, we have to press “Esc” button to restore

ACTUAL RESULTS:
Expand icon label is not changed to “Restore” on expanded screen
EXPECTED RESULTS:
Expand icon label should be changed to “Restore” on expanded screen
SCREENSHOT:

Funny thing is, it seems to work fine on static.gapminderdev.org/vizabi/develop/preview and not on http://dev-tools.gapminderdev.org:3001/ :open_mouth:

https://github.com/Gapminder/vizabi/pull/919

still reproduced on http://dev-tools.gapminderdev.org:3001/

Retest Result: Pass
Platform: Windows 7 / Chrome 48.0
Testing Environment - DEVELOP: http://static.gapminderdev.org/vizabi/develop/preview/bubblechart.html
But it is still reproducing on http://dev-tools.gapminderdev.org:3001/

https://github.com/Gapminder/vizabi/pull/923

Fixed now, but produced another problem
on preview page: go fullscreen then restore. container size is wrong (hidden under right pannel)

reproduced on:
OS X /Chrome 46
OS X / Safari
OS X / Firefox
Win 7 / Firefox
but works fine on Win 7 / Chrome 46

and that fixed too


blog: Add Intro to Security Monitoring post

What type of PR is this?
/kind content
Any specific area of the project related to this PR?
/area blog
What this PR does / why we need it:
This PR adds a blog post on introduction to Kubernetes security monitoring using Falco
Also adds support for canonical_url to the theme
Special notes for your reviewer:
Crossposting this from: https://www.infracloud.io/blogs/introduction-kubernetes-security-falco/
Thanks to @danpopSD
Context: https://kubernetes.slack.com/archives/CMWH3EH32/p1609945406234700

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign leodido after the PR has been reviewed.
You can assign the PR to them by writing /assign @leodido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign leodido after the PR has been reviewed.
You can assign the PR to them by writing /assign @leodido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @freddyfernando! It looks like this is your first PR to falcosecurity/falco-website 🎉

Welcome @freddyfernando! It looks like this is your first PR to falcosecurity/falco-website 🎉

LGTM label has been added.  Git tree hash: 56cbc3e03b8f78213f7d02f97626776111dcae87

LGTM label has been added.  Git tree hash: 56cbc3e03b8f78213f7d02f97626776111dcae87

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leodido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leodido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leodido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leodido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

You're welcome @leodido. Happy to contribute. 😄

You're welcome @leodido. Happy to contribute. 😄


Missing icon for sqlite

Webstorm get an error: "Icon cannot be found in '/icons/fileTypes/sqlite.png'"

Here are needed icons:

It works. Thx


Latest bugfixes

Proposed changes in this pull-request:

Fixed so lua api uses latest header property

The server-side API was not updated to recieve correct header sets.
@nichis Informed me of this. Thanks!

Fixed process viewer throwing errors when a process is going down (seems to return null)

@rpehlm Opened https://github.com/os-js/OS.js/issues/447

Fixed package manager error when stdout is empty

@graffiti4u  Opened https://github.com/os-js/OS.js/issues/438

@andersevenrud could you please pull again to the development branch?
thanks!


SitemapLoader: set proxy

Feature request
I am behind company firewall and I need to set proxy to SitemapLoader
Motivation
I am behind company firewall
Your contribution
Eg.:
sitemap_loader = SitemapLoader(
    web_path="https://langchain.readthedocs.io/sitemap.xml",
    https_proxy="https://my.proxy.io/"
)

docs = sitemap_loader.load()

any updates regarding passing the proxy?
i am not able to pass proxy using Sitemaploader
any help will be appreciated...

Changed: langchain_community/document_loaders/web_base.py
    async def _fetch(
        self, url: str, retries: int = 3, cooldown: int = 2, backoff: float = 1.5
    ) -> str:
        async with aiohttp.ClientSession() as session:
            for i in range(retries):
                try:
                    async with session.get(
                        url,
                        headers=self.session.headers,
                        ssl=None if self.session.verify else False,
                        proxy=self.session.proxies["https"],  ## Added to work behind proxy
                    ) as response:
                        return await response.text()
                except aiohttp.ClientConnectionError as e:
                    if i == retries - 1:
                        raise
                    else:
                        logger.warning(
                            f"Error fetching {url} with attempt "
                            f"{i + 1}/{retries}: {e}. Retrying..."
                        )
                        await asyncio.sleep(cooldown * backoff**i)
        raise ValueError("retry count exceeded")


Java support in 1.x

The doc is confusing here - it appears that Java is not supported in 1.x, but I'm pretty sure it is from the main documentation page?

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

ID: 40e84dea-0cdb-2aa7-6aa0-a4c697ef19ac
Version Independent ID: 2fe0dbd3-7e5b-04b1-46e5-fecd89c4a780
Content: Supported languages in Azure Functions
Content Source: articles/azure-functions/supported-languages.md
Service: functions
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

@nedlowe Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@nedlowe Which documentation page indicates Java is supported in 1.x?

Perhaps "indicates Java is supported" is too strong... As per the picture, it's more like that Java is more prominently listed than the others, and so I (incorrectly) assumed that the blank box for 1.x was a mistake.

@nedlowe I can see that the empty table cells can be misinterpreted, so I'm putting N/A in them.  Thanks for reporting this!


Determines, whether a user can be edited or not, now

Fixes incorrect editing of users who are out of scope
Fixes the loading of meetings in the dashboard
Fixes the 'non-admin-check' in the OperatorService

Fixes #633
There are different ways to test:

As superadmin, I should be able to edit every user regardless of their scope
As only meeting-admin, I should be able to edit every user, who is only in the same meeting (not in a committee or elsewhere)
As only meeting-admin, I should always be able to edit meeting-related information of every user in the same meeting
I can always edit my own username, my own email (and about_me within a meeting)

A user manager cannot change the structure level (or number) of a user via user edit form. But the user meta quick edit dialog works.

@emanuelschuetze: Ping


Add Queryable Encryption V2 support

Description
This PR addresses the changes introduced with Server 8.0, which includes replacing rangePreview with range. Despite this breaking change, it is considered acceptable because rangePreview was documented as Beta and experimental in the driver. Range still remains unstable.
Changes Included:

Sync Range Tests: Synchronized the range tests from the specifications to ensure compatibility with the new range implementation.
Replace rangePreview with range: Updated the codebase to replace rangePreview with range, while noting that the feature remains experimental and Beta.
Expose trimFactor option: Introduced the trimFactor option for range queries.

Notes
The Beta status of these feature is still noted and could be subject to removal or further changes as tracked by the DRIVERS-2776.
JAVA-5522

See: MONGOCRYPT-661 I think "Range" its now considered stable.

The 'range' algorithm was documented as unstable to allow drivers that have already implemented it to release updates before the feature achieves GA status. Ongoing work in the libmongocrypt project, under ticket DRIVERS-2776, aims to elevate 'range' to GA. This process involves updating spec tests and removing the @Beta/unstable status. Although the removal of @Beta could technically be done now, I suggest keeping the scopes separate until the test updates in DRIVERS-2776 are complete, as earlier changes might become a potential blocker for our release.

The 'range' algorithm was documented as unstable in DRIVERS-2767 to allow drivers to release updates before the feature achieves GA status. Ongoing work in the libmongocrypt , under ticket DRIVERS-2776, aims to elevate 'range' to GA and is in a blocked status. This will involve updating spec tests and removing the @Beta/unstable status. Although the removal of @Beta could technically be done now, I suggest keeping the scopes separate until the test updates in DRIVERS-2776 are complete, as earlier changes might become a potential blocker for our release. If you think we should proceed differently, please let me know.

Yes, eventually "range" in 1.11 GA will be stable. Currently, there is still ongoing work in the libmongocrypt , under ticket DRIVERS-2776, which aims to elevate 'range' to GA and is in a blocked status. This ticket involves updating the spec, tests and removing the @Beta/unstable status. Although the removal of @Beta could technically be done now, I suggest keeping the scopes separate until the spec and test updates in DRIVERS-2776 are complete to better align with the expected changes. If you think we should proceed differently, please let me know.

Sounds good - thanks for double checking


SAA-485: Update appointment endpoint

Initial implementation for SAA-485
Raised to unblock various appointment edit tickets should they be started soon. Currently no automated testing so only merge if necessary for a UI edit ticket

Codecov Report
Patch coverage: 9.93% and project coverage change: -1.73 :warning:

Comparison is base (b0cd672) 80.88% compared to head (80947e5) 79.16%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #246      +/-   ##
============================================
- Coverage     80.88%   79.16%   -1.73%
- Complexity     1398     1401       +3
============================================
  Files           236      239       +3
  Lines          6033     6182     +149
  Branches        200      218      +18
============================================
+ Hits           4880     4894      +14
- Misses         1045     1180     +135
  Partials        108      108

Impacted Files
Coverage Δ

...itiesmanagementapi/entity/AppointmentOccurrence.kt
97.40% <0.00%> (-1.29%)
:arrow_down:

...y/AppointmentOccurrenceAllocationEntityListener.kt
15.78% <0.00%> (-11.49%)
:arrow_down:

...odel/request/AppointmentOccurrenceUpdateRequest.kt
0.00% <0.00%> (ø)

...psactivitiesmanagementapi/service/EventsService.kt
60.25% <10.00%> (-17.33%)
:arrow_down:

...agementapi/service/AppointmentOccurrenceService.kt
10.22% <10.22%> (ø)

...entapi/resource/AppointmentOccurrenceController.kt
75.00% <75.00%> (ø)

...ivitiesmanagementapi/entity/AppointmentSchedule.kt
62.50% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


add overdue list

Coverage decreased (-1.1%) to 90.816% when pulling becb47078433d62a8411935548c5f19276de1703 on lawwman:overduelist into a23d46c86b8d75d2828ba4934f81fc90915387d5 on CS2103AUG2017-T17-B1:master.


NPE when getPreviousPosition

There's a chance that headMap might be empty even if a empty check added. because remove  would be executed in ledgers. after the empty  check between line 3214 and line 3219 in following code snippet:
headMap is a view of ledgers
https://github.com/apache/pulsar/blob/31231d602b6d4e6f3c79712e097deb0605fdff24/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java#L3206-L3222

Please assign to me. I will fix it


Updated German translation

I've updated the German translation. Specifically, the upper and lower case in German.

Awesome, Thank you. We'll wait for the CI build to complete then post up new binaries. Thx m8.

:+1: done, thank you. Releases tab updated


Fix carcassonne city team UI bug

There is an issue with the CFFCNFF tile where when both city sides are part of the same city only one side is displayed as the claimed color. See image below:

The backend should handle this case and include both city sides in the Teams mapping that is apart of this tile. Currently it only contains one side and not both.

See https://github.com/quibbble/go-carcassonne/commit/49d4e509ca826763d677b7e7a245644c3788b0dc


[loc] Request to add Slovak language to VS Code

There needs to be at least 3 language contributors.
Please vote by adding your Transifex account name here.

@mlajtos We have support for language packs now. See for example Bulgarian.
Thus, I suspect you are looking for volunteers to work with you on a Slovakian language pack?
I leave this issue open for now.

I read somewhere that I need to file an issue so the language can be added to the Transifex. That's why I opened this issue. Volunteers would be nice, but I can translate it myself.
So if I want to create a localization, I don't need to go through Transifex? Can I translate offline/locally?

You don't necessarily need a transifex project. It makes it easier for you to find people with the right language skills and it makes it easier for us to assess the quality of the translation without having the right language skills in the team.
Run npm install -g yo generator-code to install yeoman and our yeoman extension.
Then run yo code and select 'language pack'. This generates the scaffolding for a new translation and the getting-started guide tells you how it works.

@kieferrm , thank you :)


Fix docs CI

I don't know why I did not notice it before, but the tests (in the CI related to the docs) couldn't pass without running a MeiliSearch instance and was failing.
https://github.com/meilisearch/meilisearch-swift/actions/runs/315076817
No need to run the tests since they already run:

on each PR
once merged to master

PS: I renamed the test for a better understanding

bors merge


validate after fetch

Looking at Nuxt's request/navigation schema (and after some debugging) I discovered that a Page component's asyncData and fetch methods are called after the validate method.
Would it be possible to flip this order so that validate is called after asyncData and fetch?
Here is my use case:

All of my app's data is stored in the Vuex store
When navigating to posts/_id, I use the route param id to fetch some data from an API
I do so using the posts/_id.vue page component's fetch method, passing along the route param id  —something like: store.dispatch('fetchPost', route.params.id)
An async fetchPost action in the Vuex store calls my API with the payload id, returns a post record and then that record is committed to the store into a posts collection/array
Assuming that the call to the API was successful and a post exists for the provided id, I will now have my post record in my Vuex store.state.posts collection
I would then like to be able to validate my dynamic Post page by finding my post record in the store's posts collection (again using the route.params.id)
However since validate is called before fetch, my store's posts collection will be empty so that lookup returns no record and the validation fails

The only way around this is to use the nuxtServerInit action which does get called before a page's validate method. However, this then means that this action will get quite cumbersome as I move or duplicate my route specific async calls to my API to within this action.
If validate were called after fetch then this wouldn't be necessary and the nuxtServerInit action could remain relatively pure and simple.
Perhaps there is a reason why validate is called before that I am not aware of—either way, I would appreciate any help/suggestions.
BTW Nuxt is literally the best thing since sliced bread. Fantastic work 🎉

Hi @wagerfield
Actually, validate is used only to validate query parameters schema (query & params) to avoid calling asyncData & fetch with incorrect data.
You can add a condition after your fetch method to check if the post exists, and if not show an error page directly :)

Makes total sense, thanks a lot @Atinux!
With this being the case, what is the best way to throw and render an error should my async fetch action return an error?

After some digging I found out that the validation handler calls the following nuxt error handler if validate() returns false:
vm.$root.$nuxt.error({ statusCode: 404, message: 'Some error message' })

Could we get quick comment from @Atinux if this is the preferred way to show the error page from within a page component?

Hi @moritzsternemann
You can use the error property from context in asyncData or fetch directly to show the error page :)

Perfect, thanks!

@moritzsternemann this is essentially what I ended up doing—though there is a much more elegant way of throwing an error in Nuxt.
Nuxt provides the error function you are referencing in your snippet above on the context object that is passed to both the asyncData and fetch methods.
Here's an example:
export default {
  async fetch({ store, error }) {
    if (store.getters.isAuthenticated) {
      await store.dispatch('fetchProfile')
    } else {
      error({ statusCode: 401, message: 'Unauthorised' })
    }
  }
}

Haha @Atinux you beat me to it!


fix typo imeplements -> implements

Signed-off-by: SenXuDC<EMAIL_ADDRESS>

/assign @brian-brazil

Thanks!


Apache Tika

Apache Tika - http://tika.apache.org/

Tika was spawned from Lucene/Solr

it is a doc type detection and metadata extraction

could it replace FITS?

does FITS use Tika?
how is Tika different from FITS?

Tika is one of the tools in FITS.


Should code be aware of all environments

When looking at _Layout.cshml in Templates the MVC app seems to be aware of all environments. When using release tools such as release management, this can become quite unpractical. In such cases we typically want a package that is unaware of the specific environments, so that we can deploy the same package to any environment we like.
Wouldn't it be better to allow for something like:
<environment names-in="Development">
    <!-- Any content... -->
</environment>
<environment names-not-in="Local,Development">
    <!-- Any content... -->
</environment>

I would be more than willing to try to create a pull request for this, although we probably need two, one for MVC and one for the templates, right?
What do guys you think?

Isn't that the idea, that the "Development" environment name comes from a machine-specific environment variable or something? Meaning you can deploy it anywhere that has the environment variable?

@simonmurdock, of course we could use any environment name we like. But still, as far as I understand it, you still need to know them all in code. While you basically just want to do something specific for the development environment and something else for all other environments.
Does this make sense?

Interesting idea. @danroth27 ?

@DamianEdwards Thoughts on this?

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Problems download apps AppStore

I have  problems for download apps on AppStore in Jailbreak mode
But no Jailbreak mode download/update apps normal

Yeah, same here on 2 devices, also, sometimes it just works and other times its broken.  very weird thing indeed

12.1.1beta3
unc0ver 3.0.0~b45
verification pop up asking password, after which telling me it will send verification code to my phone, but there's no verification code input dialog on the phone (it will verify using alipay.com on not-jailbroken device)

looks like "opener tweak" issue


database backend to unlock persistent metadata and downstream analysis

Hi, nice work! I was curious though, was there any thoughts as to using a database backend e.g. SQL, postgres, mongoDB to hold the plate info and results. You could then just have a view of all historic plates and enable downstream data analysis in Python using an ORM like peewee. You could even just use peewee for storing all of the session metadata that could then be accessed via port X on a lab's local server. It would also remove file handling! =)

Hi there,
Thanks for your comment! The idea of database storage is still on the table, but I pushed it back due to lack of training. I will need a thorough refresher on database security and maintenance first! I like the idea of accessing the files from the lab's server. I was also thinking about accessing files from the Cloud, but again I need some training here first.
I you have an interest in this and time to dedicate, please feel free to contribute!

If you have an example of the relevant fields you need to record in one file, I could make a model in peewee that can store them potentially. The results one would be fairly straight forward (well --> value)

The fields in PlateEditor are selected by the user and are dependent on the parsing properties selected for each file. The parsing allows the file header or some leading columns to be ignored for example. Based on this, the mapping then allows to assign roles to the parsed columns. You can check the wiki on Sourceforge for more details about this:
https://sourceforge.net/p/plateeditor/wiki/Data Import/
Regarding the database storage, I guess dumping the parser and mapper configs attached to the file as a json string would be a relatively simple approach, combining ease of use with robustness towards any future changes. The database model should also be simple then. What I need to check in more details are the procedures to attack the database through JavaScript, in a secured fashion. Any tips are welcomed!


Provide option to canonicalize the internal subset

Enhancement: One challenge with operating on internal subsets via sed or grep is that spacing can be all over the place across a set of XML files:
<!DOCTYPE html "about:legacy-compat" [
       <!ENTITY % foo
           SYSTEM "path/to/bar.ent"> %foo;
]>

is the same as:
<!DOCTYPE html "about:legacy-compat" [
  <!ENTITY
   % foo
  SYSTEM
  "path/to/bar.ent">
 %foo;
]>

It would be useful if doctype-tool could format all these in a canonical way (e.g. 'one line per declaration with non-meaningful whitespace normalized') so that you can then write simple grep or sed commands to search or modify them across a tree of files. Both of the above examples when normalized would become:
<!DOCTYPE html "about:compat" [
       <!ENTITY % foo SYSTEM "path/to/bar.ent">
       %foo;
]>

Thanks for the suggestion, @dwcramer - this should be perfectly possible, and I'll build it into the implementation of #2.
An extension of this would be to report out the internal subset itself as XML, in the manner of https://github.com/AndrewSales/dtd2xml.
For example, if I run that tool on this document:
<!DOCTYPE html [
  <!ENTITY
  % foo
  SYSTEM
  "c:/temp/bar.ent">
 %foo;
]>
<html/>

it produces (assuming bar.ent contains just <!ELEMENT foo EMPTY>) for example:
<dtd>
<element id="foo" name="foo">
<model>EMPTY</model>
<parents></parents>
</element>
<externalEntity name="foo" systemId="c:/temp/bar.ent"/>
</dtd>

which may be useful information to have as XML per se, or a downstream process could format these to suit and supply the input envisaged in #5.

That would be wonderful! I think you'd want an xml:base attribute on that dtd element so you can know where each report came from when doing downstream processing.
Note that entities can contain other unexpanded entities as well as xml and that the xml. I feel like there will be some subtle issues to consider with nested entities, namespaces, and whitespace.
    <!ENTITY foo "<p>this is a
    para with whitespace that we can't mess with. And a random other &bar; entity
    for good measure.
    </p>">
    <!ENTITY bar "<mml xmlns:mml='http://www.w3.org/1998/Math/MathML'/>">

See also https://en.wikipedia.org/wiki/Billion_laughs_attack

And of course once I have <externalEntity name="foo" systemId="c:/temp/bar.ent"/> I'll also want to be able to turn the contents of c:/temp/bar.ent into a report.

Good points all, @dwcramer - thanks.
I'll set to work on this and see where it leads.


Nits

A number of deps need updating
We should add the eslint / prettier flow from evm-tableland and add npm run lint and npm run prettier to CI checks (as in evm-tableland)

@sanderpick We have dependabot, combine-pr, eslint, and prettier here.  Do you feel like this is ready to close?


Error from XSLT activate, 0

To reproduce:

Install the latest version of abap2xlsx
Uninstall it (all objects are deleted)
Install abap2xlsx again
This error happens during the activation of objects:

Error from XSLT activate, 0
Import of object ZEXCEL_TR_SHEET failed
(concerned object is in files zexcel_tr_sheet.xslt.source.xml and zexcel_tr_sheet.xslt.xml

If I activate manually the transformation, no error.

Another XML transformation zexcel_tr_shared_strings is activated without any problem.
So, maybe it's due to the fact that zexcel_tr_sheet is using the class ZCL_EXCEL_WRITER_HUGE_FILE, which maybe is not active yet when abapGit tries to activate the transformation?

yes, the order of processing objects is not guaranteed. there's a missing feature: https://github.com/abapGit/abapGit/issues/3536
let's try this https://github.com/abapGit/abapGit/pull/5003, which works similarly to tables that depend on classes.
Could you please add a test case (1 XSLT + 1 CLAS) to https://github.com/abapGit-tests/XSLT_ref?

Thanks I can work on it next week-end.


Display blobs in a folder like structure

Is your feature request related to a problem? Please describe.
Currently all blobs are shown in a single list while on Cloudflare there are folders.
Describe the solution you'd like
A folder like structure for blob data just like the cloudflare dashboard. (maybe just like the ~KV~ Cache admin)

It's out @Gerbuuun ✨
https://x.com/nuxt_hub/status/1797571719198105933


Agri bot is updated and is fully functioning

I have deployed a chatbot of my own and updated the existing one as an agribot, which is functioning. It answers all the questions related to the AgriLearn Network website and agriculture.
@Suchitra-Sahoo Thanks for giving me this opportunity.

add a video to see how the chat bot is working after the changes.

https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/112798996/33166325-2c48-4a7c-be3e-710b9ae1e657
I have made chat bot fully functional as one can see in the video
I made sure ai chatbot can make use of google web search for other agriculture-related questions

Don't change the design and colour of the bot. Also the closing option of the chatbot is hidden by the navbar. Just work on the functioning part of the chatbot.

https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/112798996/80868da4-d140-4e9a-b3c0-aa3f14fd02a8
I havent changed the layout of the chat bot, as you can see, it is in the right corner as usual. I have just changed the functioning of the bot

I guess you have not pulled the changes from origin. Do it and also resolve the conflicts.

I'm closing this PR, you make the changes and raise another PR.