Deep Read Template literal

Hi,
Referring to this code line: https://github.com/cap-js/docs/blob/fdb79dc87e37f332a1cf2d3d0a73fd30104001ed/guides/providing-services.md?plain=1#L281C16-L281C16
In the docs the Deep Read query is written with the dot outside the literal: o.`*`
SELECT.from ('Orders', o => o.`*`, o.header (h => h.`*`, h.items('*')))

But this leads to the following syntax error in BAS:

Can it be that the correct syntax is either this
SELECT.from ('Orders', o => o`.*`, o.header (h => h`.*`, h.items('*')))

or this?
SELECT.from ('Orders', o => o(`*`), o.header (h => h(`*`), h.items('*')))

BR,
Nico

thanks for reporting, @nocin


Support amounts that exceed int64 max in order book

It's possible that sum of ask/bid offers at a given price level in the order book summary exceeds INT64_MAX as issuers can send INT64_MAX of the asset to each trust line. In such cases, Horizon was logging errors like:
select failed: sql: Scan error on column index 3, name \"amount\": converting driver.Value type []uint8 (\"10700325238000000000\") to a int64: value out of range

To support this, PriceLevel.Amount field type was changed from int64 to string.

This is confusing: sql supports int64 and we only use int64 for amounts in core/xdr.
Where are those large numbers coming from?

This is confusing: sql supports int64 and we only use int64 for amounts in core/xdr.

In the order book view we sum amounts of offers at a single price level. This can exceed int64_max.


Copy and paste

Unable to copy and paste in output terminal bash.
Version: 1.74.2
Commit: e8a3071ea4344d9d48ef8a4df2c097372b0c5161
User Agent: Mozilla/5.0 (X11; CrOS x86_64 15183.69.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

disable terminal.integrated.gpuAccleration as it's not supported on certain versions of safari
/duplicate #165416


Draft implementation of cid

Related to #469
TODO:

[ ] a proper code review
[ ] admin integration
[ ] tests
[ ] model migration
[ ] documentation
[ ] changelog

Thanks @aqeelat for the initial implementation. here is my thought:

I was thinking about something simple. having a setting like AUDITLOG_CID_HEADER and then fetching the value of the header and storing it in DB.
Do you think that we need to generate CID? what do you think @alieh-rymasheuski

BTW, nice usage of ContextVar. it would be great to change the existing implementation and rewrite it by ContextVar. for sure in a separate PR.

@hramezani
How about this:

we work on the core requirements (header to contextvar, get from contextvar, admin, testing, docs).
If the users want interoperability with django-cid or any other tool, they can:
a. disable the setter (maybe we can even put this in a separate middleware that can be disabled at runtime)
b. change the getter function
debate the generation functionality back in #469 to not tie up this feature

We can even reduce the number of configs by tieing point 2a with 2b so that if the user overrides the getter function, we disable the setter (either by a regular if statement or by disabling the middleware).
What do you think?
Or more specifically:

should I get going on the other PR?
should I create another middleware or is a regular if-statement enough? (efficiency vs simplicity)


command failed error issue while trying to generate pdf file.

Hi,I was trying to convert HTML to PDF using pdfkit gem.I configure the path but when tried to generate the pdf file after click on download button first it is taking too much time to load and finaly it is throwing the following error.
command failed: C:/wkhtmltopdf/bin/wkhtmltopdf.exe --encoding UTF-8 --page-size A4 --margin-top 0.25in --margin-right 0.1in --margin-bottom 0.25in --margin-left 0.1in --print-media-type --quiet - -
The following is my pdfkit.tb file
PDFKit.configure do |config|
#config.wkhtmltopdf =Rails.root.join('bin', 'wkhtmltopdf-i386').to_s
config.wkhtmltopdf='C:/wkhtmltopdf/bin/wkhtmltopdf.exe'
config.default_options = {
:encoding=>"UTF-8",
:page_size=>"A4",
:margin_top=>"0.25in",
:margin_right=>"0.1in",
:margin_bottom=>"0.25in",
:margin_left=>"0.1in",
:disable_smart_shrinking=> false
}
end
and i am trying to generate the below pdf.
def download_pdf
#html = render_to_string(:action => "download_pdf.html.erb")
#kit = PDFKit.new(html)
#send_data(kit.to_pdf, :filename => 'report.pdf', :type => 'application/pdf', :disposition => 'inline')
kit = PDFKit.new("download_pdf.html.erb", :page_size => "A4")
file = kit.to_file("my_file_name.pdf")
end

I need to run this in windows 7(32 bit)/xp(64 bit).Please help me to resolve this issue and generate the pdf successfully in windows environment.

Hi @subhrajyotiw5rtc
PDFKit is a light wrapper around wkHTMLtoPDF, so the first step is to make sure that wkHTMLtoPDF can run happily. In your method definition, can you log or otherwise retrieve kit.command? That will output the full command that wkHTMLtoPDF is having trouble with.
When you run that command from the command-line, what output does wkHTMLtoPDF give you?

As with your previous issue, I am closing this issue because we don't have enough information to investigate it. If you are able to provide the information above, please post it here and we'll re-open this issue.
Thank you.


[BUG] a CollectionAccumulator has null _list, causing the executor's heartbeat thread to die

I am seeing an issue that I can't readily explain so far. At this stage I am just filing the bug. What we see is a CollectionAccumulator that appears to have a null _list member (according to the exception).  More research needs to be done to find the cause. I should mention that our tests will pass, since Spark will add a new Executor, invalidate map output, and go ahead, even passing a test it is in the middle of running.
21/01/14 19:37:26 ERROR Utils: Uncaught exception in thread executor-heartbeater
java.lang.NullPointerException
	at org.apache.spark.util.CollectionAccumulator.isZero(AccumulatorV2.scala:457)
	at org.apache.spark.executor.Executor.$anonfun$reportHeartBeat$2(Executor.scala:902)
	at org.apache.spark.executor.Executor.$anonfun$reportHeartBeat$2$adapted(Executor.scala:902)
	at scala.collection.TraversableLike.$anonfun$filterImpl$1(TraversableLike.scala:256)
	at scala.collection.Iterator.foreach(Iterator.scala:941)
	at scala.collection.Iterator.foreach$(Iterator.scala:941)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at scala.collection.TraversableLike.filterImpl(TraversableLike.scala:255)
	at scala.collection.TraversableLike.filterImpl$(TraversableLike.scala:249)
	at scala.collection.AbstractTraversable.filterImpl(Traversable.scala:108)
	at scala.collection.TraversableLike.filterNot(TraversableLike.scala:355)
	at scala.collection.TraversableLike.filterNot$(TraversableLike.scala:355)
	at scala.collection.AbstractTraversable.filterNot(Traversable.scala:108)
	at org.apache.spark.executor.Executor.$anonfun$reportHeartBeat$1(Executor.scala:902)
	at scala.collection.Iterator.foreach(Iterator.scala:941)
	at scala.collection.Iterator.foreach$(Iterator.scala:941)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at org.apache.spark.executor.Executor.reportHeartBeat(Executor.scala:896)
	at org.apache.spark.executor.Executor.$anonfun$heartbeater$1(Executor.scala:200)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at org.apache.spark.util.Utils$.logUncaughtExceptions(Utils.scala:1932)
	at org.apache.spark.Heartbeater$$anon$1.run(Heartbeater.scala:46)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Just FYI: I ran into a similar issue with some of the TPC-DS tests, but it showed up only on the CPU run, not on the GPU run. I suspected that it was a race condition in spark itself, but I have not really pushed much on it.

Just FYI: I ran into a similar issue with some of the TPC-DS tests, but it showed up only on the CPU run, not on the GPU run. I suspected that it was a race condition in spark itself, but I have not really pushed much on it.

@abellina what Spark version was this issue encountered with?

@gerashegalov it was using spark 3.0.1.

This issue is explained in SPARK-20977 where an incompletely initialized accumulator is registered violation JLS Section 17.5.3


Consider caching of https://github.com/driftyco/ionic-app-base/archive/master.zip

I've been doing some Ionic presentations on the other side of the planet (Australia and now Malaysia), and I'm finding that it can take 1-2 minutes to get https://github.com/driftyco/ionic-app-base/archive/master.zip. Obviously that isn't the end of the world, but it might be nice to do some caching of that zip and only fetch it when it is updated. Certainly my use case (making a bunch of demos) is not the norm, but for a developer learning, it may impact them.

Just an FYI, as I continue to present on Ionic across Asia, this just gets worse and worse. The CLI really should cache this locally and reuse it. Or consider using a CDN for the file.

This might be something we have talked about doing in the future, but probably not within the generic CLI code. Thanks for the suggestion!


Add a way to start ghost with non-default config file

I need a way to start ghost with a specific config file rather than the default one.
I know that there is a environment variable to use (GHOST_CONFIG) but that is not a good solution when starting up multiple ghost instances in an automated way. Please let me know if there is a different way to start up ghost with a specific config path, if not, it would be great to consider adding this possibility.

Additionally, GHOST_CONFIG has a confusing execution location as it is execute in some subdirectory where the ghost config module is so paths like ./config won't behave as expected.

Hey @ePirat please ask questions in slack not here :wink:

So, the answer is: It is only possible by using Ghost as an npm module.


Recipe: Use PureScript Loader

Change
This is an example how to use purs-loader to be able to import PureScript Code - e.g. written with purescript-react-basic-hooks - inside an react application.
More Info

PureScript programming language: https://www.purescript.org
purs-loader: https://github.com/ethul/purs-loader#readme

👍 It's fairly common to use PureScript with React, and it would be useful to be able to do so without ejecting from create-react-app. The purs-loader has been around for a long time and is pretty stable.

I can also change the recipe to use https://github.com/gsoft-inc/craco/pull/182

Merged, thank you :)


Error in Debugging

Description
What steps will reproduce the problem?

After installing
conda install spyder-pyls
error in debugging. not able to stop debugging from stop button.
Traceback
  File "/home/prafulla/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 1961, in valid_project
    if bool(self.projects.get_active_project_path()):
AttributeError: 'NoneType' object has no attribute 'get_active_project_path'

Versions

Spyder version: 3.3.0
Python version: 3.7.0
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Linux 4.15.0-51-generic

Dependencies
pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.3.1 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
rope >=0.9.4      :  0.12.0 (OK)
jedi >=0.9.0      :  0.13.3 (OK)
psutil >=0.3      :  5.6.1 (OK)
nbconvert >=4.0   :  5.4.1 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
numpy >=1.7       :  1.16.2 (OK)
sympy >=0.7.3     :  1.3 (OK)
cython >=0.21     :  0.29.6 (OK)
qtconsole >=4.2.0 :  4.4.3 (OK)
IPython >=4.0     :  7.4.0 (OK)
matplotlib >=2.0.0:  3.0.3 (OK)
pylint >=0.25     :  2.3.1 (OK)

This is fixed in our latest version. Please update by opening a terminal and running there
conda install spyder=3.3.4

still i am unable to stop debugging. When i go with debugging options: step in, step out, continue till next break point, works fine but when i stop debugging, it does not stop debugging even starts execution right away without any interruption and then i am not able to stop it and forcefully i need to close either spyder or python console. earlier it was fine with 3.3.4 but now i dont know what went erong


Create another repository for contrib modules

The name "contrib" isn't the best one, but it would be nice to have another repository where we could store:

Sorters relying on code with different licenses
Sorters relying on different libraries

CMake and Conan should be instrumented to download the corresponding repository to build those sorters when users ask to build the contrib modules. Looking at how OpenCV does it could be interesting.
It could also be used as a repository to store no-mature sorters or adapters before including them in the main library.

While it is something that I still want to do at some point, I prefer not to give it too much thought right now and to only add the possibility to the 2.0.0 version and later. This will allow to think purely in C++20 without having to bother about more retrocompatibility.


Markdownify code syntax from the old $(D code) macros to Markdown (i.e. code)  [only two or more words]

Alternative to #5183 where only two or more words within the code are replaced. Note that it also fixes the table in std.range.package from $(D $(LREF foo)) -> $(LREF foo`)
CC @andralex @adamdruppe

I just skimmed the diff and a few of my comments are that it was wrong before and wrong after, and a couple are that the translation is wrong and will cause minor regressions.
Honestly though, I still fail to see the point of doing this translation at all and continue to see it as a net loss of useful information. This is why markdown has language specifiers you can put on code blocks...
Moreover, doing it for for more than single word things lessens the effect of beauty... the macro syntax becomes less significant the more it wraps. So $(D x) is IMO uglier than.... idk how to write it in markdown, but x, you know what i mean, whereas $(D static if(isInputRange!foo && is(ElementType!Unqual!foo == dchar)) is so long that the macro wrapper becomes a small percentage of the whole (and that kind of thing is where automatic syntax highlighting and cross referencing, knowing that it is D language code, becomes more beneficial too...)
If, going forward, the backticks become popular for everything and $(D) fades away, so be it, but I'd still lament that loss of information.

@wilzbach @adamdruppe I'm okay with closing this if you are - sorry for the wasted work.

Honestly though, I still fail to see the point of doing this translation at all and continue to see it as a net loss of useful information. This is why markdown has language specifiers you can put on code blocks...

Yeah you made an excellent case! And there are more important things in this world ;-)


Need access to importing RapidStart files via code

We've been working with the ICAP team and out of that we've created functionality by which a new user can download some evaluation data into their system so they have some configured data based on a questionnaire wizard that we provide to them.
This is done by hosting various RapidStart package files on Azure Blob Storage and then downloading and installing them.
All of this works within the extensions v1 platform, and on the v2 platform I've converted over the HTTP calls to use the new variable types, however there are still functions that we need that are not supported on the v2 platform:
(the following are used to create the physical RapidStart file from the downloaded binary stream)

File Mgmt --> ServerTempFileName
File.CREATE
File.CREATEOUTSTREAM
File.CLOSE

(the following are used to import and apply the physical RapidStart file)

Config Package Import --> ImportRapidStartPackage
Config. Setup --> ApplyPackages

Can we please get these supported? The functions we use above are essentially the exact same ones that are used in the base product to load the evaluation data into a company when a new company is created, so perhaps a "safe" api can be created for us to use?

We will look into providing a set of safe APIs to enable this scenario.


Add CAP33 support to ingestion system

We need to extend the ingestion system to support CAP33. Depends on:

[x] https://github.com/stellar/go/issues/2858
[x] https://github.com/stellar/go/issues/2883
[ ] https://github.com/stellar/go/issues/2889
[ ] https://github.com/stellar/go/issues/2890
[ ] https://github.com/stellar/go/issues/2891
[ ] https://github.com/stellar/go/issues/2888

Closing this since this is decomposed into smaller tickets which we can track in #2788


Filter all youtube links and replace them with rickroll.

I know, i'm that evil.
With time it can be canged to random selection of some certified bangers.

Yorushika - Thought Crime (OFFICIAL VIDEO)

How about the link shows correctly, but only the web page displays the rickroll.


Refactor itemDepartment HAL Link for new Responsible Collections Logic

Problem Description:
Currently the logic for the itemDepartment HAL link returns any agent which curates a set containing an object. The logic needs to be updated to require that the curating agent is classified as a department.
Expected Behavior/Solution:
The itemDepartment logic needs to be updated to require that the curating agent is classified as a department.
Requirements:
This change will require changing the HAL link to use the facets endpoint instead of the search endpoint. This will require an additional ticket on the frontend, which was not discussed previously, as well as marklogic issue (linked below)
Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.
- [ ] Wireframe/Mockup - Mike
- [ ] Committee discussions - Sarah
- [ ] Feasibility/Team discussion - Sarah
- [ ] Backend requirements - TBD

[ ] Frontend requirements- frontend ticket @kamerynB
- [ ] Questions
- List of questions for discussions. Answers should be documented within the issue.

UAT/LUX Examples:
- Example endpoints from LUX to use for development and testing, if applicable.
Dependencies/Blocks:
Related Github Issues:

https://github.com/project-lux/lux-marklogic/issues/68
[ ] Frontend issue - https://github.com/project-lux/lux-frontend/issues/132

Related links:
N/A
Wireframe/Mockup:
N/A

@clarkepeterf @kamerynB what is itemDepartment returning? is it responsible unit or something else?

as soon as we get any of the other data sets this will be important. labeled as normal but should still be prioritized.

@roamye Based on the original comment it says it "returns any agent which curates a set containing an object." From the Reichstag record, the itemDepartment HAL link returns this query. You can view it in the advanced search here.
I hope this helps.

@kamerynB I updated this HAL link ,but I realized that the frontend doesn't use it, because it just uses the useGetCollectionQuery on Objet pages. So I think our options are either to modify the frontend to use the HAL link, or to delete the HAL link. I think modifying the frontend is more in line with the spirit of how the frontend is meant to work:
The frontend shouldn't have to know what queries to construct for an object. It should be fed queries from the middle tier. Are you good with that plan?

@clarkepeterf can this be moved to 'reviewable'? The FE https://github.com/project-lux/lux-frontend/issues/132 has the UAT work fine

Determined that HAL link can't use data constants - query remains on frontend


Added icons in context menu of the sidebar and "More options" + Custom icon for "New tab" and "Open in new tab"

I also changed the "New window" icon

New window:
Open in new tab (custom):
New tab (custom):

@XPoppyX Moving forward we expect all pull requests to be connected to an approved issue in the project board. Since we haven't announced this yet we will skip the requirement for this pull request, but please keep it in mind for the future.

you mean first add a feature request or bug before doing a PR?

@XPoppyX Correct, this way we can keep track of who will be working on a feature and avoid duplicate work. It will also prevent someone from working on something only to find out that it doesn't align with our plans and that we will not merge their work. This was work only starts after we approve of the changes. In the case that someone is planning on working on something, they can just ping me so I can approve the issue faster and assign them the task.

I understand, I'll keep that in mind next time

@XPoppyX Can you resolve the merge conflict?


display of file options input depends on whether user is an admin

Hmmm, I was going to change the base branch to staging to deploy it there, but that introduced a lot more commits. This looks good, so I'll get it onto staging so we can accept it from there.

I deployed this to staging, and now I can't get any uploads to work. I'm going to run this locally and see if I can reproduce the problem.

closing this for now, can reopen if need be


Picker crashes if I select previous date in iOS 14

Make sure to check the demo app(s) for sample usage
Yes
Make sure to check the existing issues in this repository
Yes
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
If I select minDate (10 years ago) and maxDate (today's date) the Picker crashes with no error. Example:
CONSOLE LOG: Thu Sep 30 2010 09:58:27 GMT-0400 (EDT) -> minDate
CONSOLE LOG: Wed Sep 30 2020 09:58:27 GMT-0400 (EDT) -> maxDate
Which platform(s) does your issue occur on?

iOS (Haven't tested on Android)
emulator

NS 7.0.8, Angular 10.1.0, @nativescript/ios 7.0.0
Plugin Version: 2.0.1

Same issue, @davecoffin please advise.


Suggestion to make gapi.auth2 usable

@ developers of this library
I would suggest reimplementing authorization & authentication in google-drive example apps such as https://github.com/googledrive/drive-music-player https://github.com/googledrive/realtime-playground, https://github.com/googledrive/zipextractor or https://github.com/googledrive/web-quickeditor
This way you will see how hard it is to migrate from gapi.auth to gapi.auth2, see where holes are both in functionality and documentation, provide examples a bit more complete than the obvious 101 examples that appear on the documentation, and also be able to provide a thorough upgrading guide.
Right now I haven't found a serious example using gapi.auth2. If it exists and I simply didn't find it, please point me to it.

HI @czzarr,
This is a great idea and we're going to find the time to update these examples.
There is an available Migration Guide, but I think it doesn't emphasize enough the fundamental difference in GSI v1 and GSI v2.
gapi.auth2.init/signIn does a lot for you in the background, like automatically signing in users when initializing, automatically refreshing access token, syncing user state between tabs, and it handles the full sign-in flow without need to parse URLs or pass state as done in the drive-music-player example.
For instance, looking at this file of the first sample app you sent, most of the code implements features now entirely handled in GSI v2.
This should be clearer when we offer an example of migration.

I would second the need for a real example using gapi.auth2. In particular, it is not clear to me that it works at all with the Realtime API (I have tried to migrate a realtime application to gapi.auth2, and the realtime client does not seem to pick up the token). Since the documentation for the older gapi.auth interface seems to be no longer available (so far as I can tell), it makes targeting either of these APIs challenging.

Hi @ian-r-rose, I will have an example very soon. Regarding your problem, it seems that this is a bug with the Realtime API. I will contact the relevant team.

Great, thanks @TMSCH !

Hi @TMSCH, any updates to this?

Hi @ian-r-rose, I have tried with my pull request, and it is now working :) let me know if that works for you!

Thanks, @TMSCH, I will check it out.

Hi @TMSCH, I have tried your PR (googledrive/drive-music-player#195) with the Drive Music Player and I am still seeing the same issue with the realtime library. That is to say, it does not seem to be picking up the token from gapi.auth2, and I am getting the error
Drive Realtime API Error: token_refresh_required: The OAuth token must be refreshed.

The workaround of manually setting the token using gapi.auth that is used in DMP master still seems to work.

@ian-r-rose ah, interesting. When I tried the other day it worked. The Realtime API library has  a design that doesn't fit well with gapi.auth/gapi.auth2/gapi.client design. I've been talking with the maintainer to find a suitable solution.

Is found no way to use the gapi.client.init / gapi.client.drive api together with gapi.drive.realtime. It seems gapi.client.init does auth2 and gapi.realtime does auth.
How am I supposed to use gapi.realtime for a drive kind of "docs" application ?
I found no workarround in all the docs. All realtime samples where "gapi.auth", all drive samples were "gapi.client.init" and using both did not work.


Inconsistent data after protocol decoding

Hello,
I found that when I use the TMoreCompact protocol, the Field of the successful response will be 1 instead of the expected 0
In contrast, other protocols do not have this problem.

fixed on 9605c9225a9b08f93221c2b7fb52d19ca1c94035


Find macro for materialised views

Hi,
I have a PurchasesByChef MV. I want to query based on a date < ... but can't do so like with normal tables. Can this be implemented? date is a cluster key on both Purchases and the MV.
However, there is a find_purchases_by_chef_query macro but I'm not quite sure how to use these.

You need to provide partition key of the MV itself. Same as on original table. E.g. if you have table:
#[charybdis_model(
    table_name = posts,
    partition_keys = [date],
    clustering_keys = [category_id, title]
)]
pub struct Post {
    pub date: Date,
    pub category_id: Uuid,
    pub title: Text,
    pub user_id: Uuid,
}

And you want to create MV posts_by_user, you would do:
#[charybdis_view_model(
    table_name=posts_by_user,
    base_table=posts,
    partition_keys=[user_id],
    clustering_keys=[date, category_id, title]
)]
pub struct PostByUser {
    pub date: Date,
    pub category_id: Uuid,
    pub title: Text,
    pub user_id: Uuid,,
}

Now you would be able to query by find_by_user_id, find_by_user_id_and_date ...

Now you would be able to query by find_by_user_id, find_by_user_id_and_date ...

Do you mean that it adds these methods to the original Post struct?
I'm trying to do date < ? rather than date < ? which the regular find... doesn't work with (I think?).
Can I do this or am I using the find wrong?
PurchasesByChef::find(
      "chef = ? and date < ? and id < ?",
      (account_id, date, id),
  )
  .execute(&db)
  .await

Sorry I see now, you need to do following:
PurchasesByChef::find(
      find_purchases_by_chef_query!("chef = ? and date < ?"),
      (account_id, date),
  )
  .execute(&db)
  .await

find_purchases_by_chef_query! will build complete query as static str at compile time.

Awesome, thank you!


Docker macos arm64

Docker containers should be runnable when the host is macOS and the host system uses a ARM64 processor (e.g. M1/M2/M3).
Build is not possible, due to Native compilation is not yet supported for aarch64 on Windows / Linux (the containers are Linux based, but it's run from ARM64)

you have to build using docker buildx build --platform linux/amd64,linux/arm64/v8


Error while running Makermafiltered and Makermaunfiltered

Hello,
When I am running the following command, I'm getting this error:
(snakemake) nidhi@vulcan:~/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan$ snakemake --snakefile Snakefile-minimap-megan --configfile configs/Sample-Config.yaml -j 48 --use-conda
Config file config.yaml is extended by additional config specified via the command line.
Assuming unrestricted shared filesystem usage.
host: vulcan
Building DAG of jobs...
Your conda installation is not configured to use strict channel priorities. This is however important for having robust and correct environments (for details, see https://conda-forge.org/docs/user/tipsandtricks.html). Please consider to configure strict priorities by executing 'conda config --set channel_priority strict'.
Using shell: /bin/bash
Provided cores: 48
Rules claiming more threads will be scaled down.

Execute 2 jobs...

[Wed Nov 27 09:54:26 2024]
localrule MakeRMAfiltered:
    input: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/4-merged/MAK2024-PB215-MGS.merged.sam, /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/5-fasta-sort/MAK2024-PB215-MGS.sorted.fasta
    output: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/6-rma/MAK2024-PB215-MGS_filtered.nucleotide.readCount.rma
    log: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/logs/MAK2024-PB215-MGS.MakeRMA.filtered.readCount.log
    jobid: 12
    benchmark: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/benchmarks/MAK2024-PB215-MGS.MakeRMA.filtered.readCount.tsv
    reason: Missing output files: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/6-rma/MAK2024-PB215-MGS_filtered.nucleotide.readCount.rma
    wildcards: sample=MAK2024-PB215-MGS
    threads: 24
    resources: tmpdir=/tmp

Activating conda environment: .snakemake/conda/0204da87ee5b6ee6ab12035192a6d42f_

[Wed Nov 27 09:54:26 2024]
localrule MakeRMAunfiltered:
    input: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/4-merged/MAK2024-PB215-MGS.merged.sam, /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/5-fasta-sort/MAK2024-PB215-MGS.sorted.fasta
    output: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/6-rma/MAK2024-PB215-MGS_unfiltered.nucleotide.readCount.rma
    log: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/logs/MAK2024-PB215-MGS.MakeRMA.unfiltered.readCount.log
    jobid: 2
    benchmark: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/benchmarks/MAK2024-PB215-MGS.MakeRMA.unfiltered.readCount.tsv
    reason: Missing output files: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/6-rma/MAK2024-PB215-MGS_unfiltered.nucleotide.readCount.rma
    wildcards: sample=MAK2024-PB215-MGS
    threads: 24
    resources: tmpdir=/tmp

/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
Activating conda environment: .snakemake/conda/0204da87ee5b6ee6ab12035192a6d42f_
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
[Wed Nov 27 09:54:26 2024]
Error in rule MakeRMAfiltered:
    jobid: 12
    input: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/4-merged/MAK2024-PB215-MGS.merged.sam, /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/5-fasta-sort/MAK2024-PB215-MGS.sorted.fasta
    output: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/6-rma/MAK2024-PB215-MGS_filtered.nucleotide.readCount.rma
    log: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/logs/MAK2024-PB215-MGS.MakeRMA.filtered.readCount.log (check log file(s) for error details)
    conda-env: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/.snakemake/conda/0204da87ee5b6ee6ab12035192a6d42f_
    shell:
        /home/nidhi/megan/sam2rma -i /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/4-merged/MAK2024-PB215-MGS.merged.sam -r /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/5-fasta-sort/MAK2024-PB215-MGS.sorted.fasta -o /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/6-rma/MAK2024-PB215-MGS_filtered.nucleotide.readCount.rma -lg -alg longReads -t 24 -mdb /home/nidhi/megan/megan-nucl-Feb2022.db" -ram readCount --minSupportPercent 0.01 -mrc 10 -v 2> /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/logs/MAK2024-PB215-MGS.MakeRMA.filtered.readCount.log
        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

[Wed Nov 27 09:54:26 2024]
Error in rule MakeRMAunfiltered:
    jobid: 2
    input: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/4-merged/MAK2024-PB215-MGS.merged.sam, /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/5-fasta-sort/MAK2024-PB215-MGS.sorted.fasta
    output: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/6-rma/MAK2024-PB215-MGS_unfiltered.nucleotide.readCount.rma
    log: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/logs/MAK2024-PB215-MGS.MakeRMA.unfiltered.readCount.log (check log file(s) for error details)
    conda-env: /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/.snakemake/conda/0204da87ee5b6ee6ab12035192a6d42f_
    shell:
        /home/nidhi/megan/sam2rma -i /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/4-merged/MAK2024-PB215-MGS.merged.sam -r /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/5-fasta-sort/MAK2024-PB215-MGS.sorted.fasta -o /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/6-rma/MAK2024-PB215-MGS_unfiltered.nucleotide.readCount.rma -lg -alg longReads -t 24 -mdb /home/nidhi/megan/megan-nucl-Feb2022.db" -ram readCount --minSupportPercent 0 -mrc 10 -v 2> /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/logs/MAK2024-PB215-MGS.MakeRMA.unfiltered.readCount.log
        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: .snakemake/log/2024-11-27T095424.602129.snakemake.log
WorkflowError:
At least one job did not complete successfully.

Then, I tried running sub-command:
  /home/nidhi/megan/sam2rma -i /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/4-merged/MAK2024-PB215-MGS.merged.sam -r /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/5-fasta-sort/MAK2024-PB215-MGS.sorted.fasta -o /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/6-rma/MAK2024-PB215-MGS_unfiltered.nucleotide.readCount.rma -lg -alg longReads -t 24 -mdb /home/nidhi/megan/megan-nucl-Feb2022.db" -ram readCount --minSupportPercent 0 -mrc 10 -v 2> /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/logs/MAK2024-PB215-MGS.MakeRMA.unfiltered.readCount.log
It completed without error but there was no output file - I checked the log and it mentioned two errors as below:
grep: /home/nidhi/megan/../MEGAN.vmoptions: No such file or directory
/home/nidhi/megan/sam2rma: line 44: /bin/java: No such file or directory
MEGAN.vmoptions file is directly under megan directory and not under subdirectory so I don't know why it look for in the sub-folder.
Also, I checked java and it's already installed and in my PATH (as below) so not sure why it is not able to find java:
/home/nidhi/megan/jre/bin/java:/home/nidhi/megan/jre/bin:/home/nidhi/miniconda3/envs/snakemake/bin:/home/nidhi/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:minimap2-2.28_x64-linux:/home/nidhi/minimap2-2.28_x64-linux:minimap2-2.28_x64-linux:/home/nidhi/megan
Can you please help me with this?

Hi @nidhi-gohil ,
It sounds like there may be something wrong with the sam file from the first steps, or potentially something wrong with the path or configuration with the MEGAN binaries.
Can you share the contents of /home/nidhi/pb-metagenomics-tools/Taxonomic-Profiling-Minimap-Megan/logs/MAK2024-PB215-MGS.MakeRMA.filtered.readCount.log?

Yes, the config file had a typo in the path to the sam file.  I changed the config file and tried to rerun the command but it was giving me still the same error. Then I deleted all the output files and reran the command from scratch- that worked.
Thanks.

Thanks for the update, I'll go ahead and mark this as closed.


Support Wheel commands

Some kinds of commands (eg, the management of keys, writing pillar data) require using the wheel client, but only the local and runner clients are supported.

Hm, #3 might have the solution to this. It looks like (by default), there is only one overlap between runners and wheels: error.error, which I don't think is a big deal for the RPC.


Build inventory modules into the provider

The provider currently requires the path to the base modules that are used to create the inventory to be provided in the provider specific config. This unnecessarily complicates deployment in the most common cases. The default inventory module is simple and can be embedded directly into the provider. Lets also remove the configuration option until there's substantial evidence that it is necessary.

Fixed in #9


Use the correct value for the "Connections/Total Created" metric

Copy-paste error?

@Winslett Quick ping on this..?


View by bundle

Hello
My project have multiple entry files for webpack and one bundle by entry.
So It can be smart to visualize this diagram by bundle.

Great idea @ryuran! Thanks for the feedback - that's something we're going to look into in the future.

Support for DLL Plugin would be nice too... Right now I'm seeing roughly half of the full picture. :)

I want to say thanks for your work on this, it is a great idea! The project I am working on could benefit from this monitor and I am going to set it up soon.
This app uses universal routing with code splitting by page, so being able to examine production build sizes by chunk would make this extremely useful. If large dependencies are added or if some import is causing a specific chunk to drastically change we can know where to look immediately. I'm willing to help in any way I can with this.


[Add] Workflow to close old PRs

Details

I propose creating a GitHub Actions workflow to automatically close pull requests that have been open for 30 days.
Please let me know if this workflow would be relevant to the project.
I will write the workflow with proper conventions

Screenshots
No response
Type of Contribution

[ ] Update to an existing Animated Button
[ ] Adding a new Button
[ ] Resolving a bug
[ ] Proposal to the Repository
[ ] Changes related to documentation or README.md
[X] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

Please check #1346

Sorry for the inconvinience, but we are closing all the issues! Please open a new issue if you want to contribute anything. Also now you can create a new button from the website itself! You will get points for those too! I will add the instructions on how to create a new button soon and create an empty pr for the same to get points!


Adding support for RFC 1123 date strings

Description
resolves #37775
Adding support for RFC 1123 date strings along with Windows file time for CreationTime and ExpiryTime on PathItem.

API change check
API changes are not detected in this pull request.


Allow custom node and npm paths

This would fix the issue of "NPM not installed" for users who install node to a custom folder, or install multiple versions of node using nvm.

You can specify the path to npm through the npm option on the top level of config file

Does not work for me.
❯ which npm
/Users/sergio/.nvm/versions/node/v6.9.1/bin/npm

terminal:
  font: Hack
  shell: /bin/zsh
  background: theme
hotkeys: {}
appearance:
  frame: full
  tabsLocation: top
npm: /Users/sergio/.nvm/versions/node/v6.9.1/bin/npm

Could you please retry with Alpha 18?

The same

Does npm exit with code 0 if you run it as /Users/sergio/.nvm/versions/node/v6.9.1/bin/npm -v ?

@Eugeny Yes it does:
❯ /Users/sergio/.nvm/versions/node/v6.9.1/bin/npm -v
3.10.8

rpm git/mr-2845-fix-serial-retrieval-url
❯ echo $?
0

Same issue here on Sierra with v1.0.0-alpha.18 (re-re-fixed custom npm path detection).
This definitely appears to be Mac specific. I have Terminus installed on 2 Linux boxes and they pick up npm and allow plugin installation correctly.

Issue is still present on alpha 21.

Issue is still present with the latest alpha (28).

I'm having the same issue on alpha 29 using NVM

Alpha 30, 31 and 32 still have this issue.

@compuguy @ClementParis016 do you mean the automatic NPM detection or the npm config option?

@Eugeny I was talking about the automatic detection. Though, auto-detection works well on my personal Windows machine with NVM for Windows but it doesn't on my Ubuntu work laptop having NVM. It's may be due to the way they differ on handling the linking of npm & Node executable for the active version.

Version: 1.0.0-alpha.27
Platform: win32 10.0.15063
In the plugin menu, I see the message is not installed:

It is in fact installed in Ubuntu in Windows 10, as I use the bash terminal with Visual Studio Code. Due to other bugs, I had to chose between the Windows installation of NodeJS and NPM, or the Linux installation.
I also added "npm: /usr/bin/npm" in the config.yaml file located in %APPDATA%/Terminus. But it didn't have any effect.
If other people are in the same case, it would perhaps be interesting to address this also ?
Many thanks in advance.
Donatien

@Eugeny Automatic npm detection is broken for me on my Mac. Using npm provided by homebrew. The manual npm config option wasn't working on that either. A Ubuntu machine I use has no problems with automatic npm detection, though.

Both automatic and manual detection are still broken on Alpha 35 (I'm using nvm)
However, it did work once I manually symlinked npm and node to /usr/bin/npm and /usr/bin/node
**
OS: Ubuntu 16.04
Node: 8.4.0
**
Current config:
terminal:   bell: 'off'   shell: /bin/bash hotkeys: {} appearance:   tabsLocation: top   dock: 'off'   frame: full npm: /home/raghd/programs/nvm/versions/node/v8.4.0/bin/npm

Same issue with npm installed with brew

Just tried it, it is no longer showing npm not installed, but the app is hanging as soon as I click on plugins.
OS: Ubuntu Linux
OS Version: 18.04
Node Version: 8.11.1
Terminus Version: Alpha 46 (tar.gz file) retrieved from Github Downloads

@Eugeny No sorry, it prints that as soon as I click on "Plugins" :/

Robert, on Windows, Terminus requires a win32 NodeJS build with NPM to install plugins. The reason is that the plugin directory is outside of WSL rootfs and that windows-specific package versions should be installed (as opposed to Linux ones that WSL-based NPM would install).

That makes sense. Was hoping to not need to install multiple nodejs on the machine.

Retested with alpha 67, auto npm detection with homebrew installed npm (symlinked at /usr/local/bin/npm) doesn't work.

@Eugeny I saw you closed this in 59d1a2f, but I'm still getting the error in 1.0.71. Is there something I'm (we're) supposed to be doing differently to make this work? Thanks for your great effort! 👍

@peterlobster it's not a part of any release yet, but you can grab a nightly build


Feature: Merkle Tree

Show an example implementation of Merkle Tree in Cairo

@julio4 I'll like to work on this

Hello @julio4,
Can i jump on this issue ? I would like to give it a try !

@julio4 I'll like to work on this

Let's first finish #214 before starting a new issue for now! I'll assign @hudem1

Hi @julio4 , Is this open for contribution? If yes can I work it it please?


Format result indicator tooltip values

Formatting of tooltip values based on type
Comment icons should not be included in graph export
Minor style tweaks

Trenger en rebase nå. :sweat_smile:

Looks good to meow! :cat2:


chore: simplify JitCore impl

using the Waiter from previous commit
on top of https://github.com/fedimint/fedimint/pull/4783

it is needed because OnceLock is accessed from two threads now, I think Sync is fine, most values should be Sync especially when we are in async land.

it is needed because OnceLock is accessed from two threads now, I think Sync is fine, most values should be Sync especially when we are in async land.

I don't get, but I guess I'd have to remove it and try. Before it worked, so it seems it should still work. These kind of limitations tend to bite later. I try to do something else that is slightly non-trivial, and I have to invent extra workarounds.

@dpc the PutBack mechanic is a bit convoluted, at the same time: why touch working code when it leads to more restrictions? If I had my way it would be just a watch channel and require anything in there to be Clone (for errors/results there is a solution now, everything else can be wrapped in an Arc if need be). But changing it doesn't feel like a great use of time.

lets close this for now then, we can try this in case we find a bug in jit core in future


Hare logs

The log 'A node did note pass eligibility' does not specify the reason. At the moment the reason, e.g. 'Should not participate', is printed in a separate log. We should combine the reason with the original message.

Moreover, there should be different logs if a miner checked her eligibility, or someone else's (who sent a message).
With 'A node did note pass eligibility' it seems the latter....
Add layer and round numbers to the log.

Some of the prints assume rounds are 1-4, and some 0-3. Should be consistent.
Moreover, 'round x ended' logs may be greater than 4, but we only use 1-4 (iteratively).

Add layer number to the log.

We should not use words like failed/ invalid/ cannot for logs that we expect to see in a normal run.

We see the message "Ignoring message because either the layer has already unregistered or the layer is out of sync" just after we did "Unregistered layer X".

This situation is normal - we had enough Notify so we terminated, and we keep on getting Notify messages - but the log (in general) indicates that something is wrong.
We should check if the message is for the last unregistered layer, and if so have a different log that indicates a happy flow, e.g.: "ignoring message since Hare just terminated".

@gavraz please review


Possible to backport QtWidgets from Qt5?

Multiple ports require specifically QtWidgets, and this prevents from building them with Qt4 (perhaps among other issues, but this is a notable one). Is it possible to backport/implement it here?

Possible probably but deffinetly not required for the purposes of Katana which has plenty of widgets some of which I wrote myself for particular purpose.
If porting requires widgets that are not provided by Katie or even Katana writing custom widgets to make porting easier and packing the widgets into a library would be the way to go but not as part of Katie I believe. It will be like maintaining qt3support module and question is how does that benefit Katie and Katana - from what I can tell the component you talk about (QtWidgets) is just stuff being moved out of the gui (or QtGui) component into other one and I am not interested in doing so just for compatibility with other project but if there is more than that to it I already explained above how to do it (port to widgets from kdelibs, roll your own or something else entirely).
So, are you sure such module has to be maintained as part of Katie? Who will maintained it and for what?

@fluxer Thank you for replying on this. References are helpful. I will have to look into which specifically components are required for the ports I have in mind. Will update on this in a while.

Closing due to the question being answered, also I believe you also figured that what you was up to (porting to unsupported platform) is a no-no.

Closing due to the question being answered, also I believe you also figured that what you was up to (porting Katie to unsupported platform) is a no-no.

Re widgets it was answered, yes.  Re porting: no, it should be perfectly doable, just the code has to be fixed wherever currently broken. How involving is that, I cannot say yet, no time to look into that. I will return to this in a while.

The code for the platform is not broken, I removed it completely.


Lxd client mocking

This PR adds autogenerated mock of LXD client interfaces (Server, ImageServer, ContainerServer) and two small functions (NewOperation,NewRemoteOperation) that are needed to properly mock the behavior of an LXD server.
This allows proper testing of code that's using LXD client library.

Hmm, so I'm really not sure why this needs to be in the LXD tree.
This is pretty much entirely auto-generated code from mockgen using our existing interfaces, so you should be able to run mockgen as part of your test setup on your side and not need to keep this in the lxd tree itself.
I'm also against both NewOperation and NewRemoteOperation, even with the godoc message saying they're used for mocking, we will have confused users that will think that those two are things they can or should call, which isn't true.

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

#4345 should take care of the operation bits

Closing in favor of #4345. As mentioned on IRC, I'm not opposed to having the Makefile change be merged in LXD but I am opposed to having the auto-generated code in the tree.
If the Makefile change is still useful to you, please send a PR for it.


Including the ninth digit of Brazil in DDD's 31, 32, 33, 34, 35, 37 and 38 (State of Minas Gerais). 71, 73, 74, 75 and 77 (State of Bahia). 79 (State of Sergipe).

@SavioOliveira thanks for your contribution. However, I'd like to point out that this repository is only meant to be a package wrapper for the original library - googlei18n/libphonenumber. Can you please submit your PR there? I'm sure it will be more than welcome and as soon as it lands on a proper release, I'll publish a new version here.

Just noticed you've done exactly that! https://github.com/googlei18n/libphonenumber/pull/840


训练出错

(A) ff@ff:~/DG/AerialDetection$ bash ./tools/dist_train.sh configs/DOTA/faster_rcnn_h-obb_r50_fpn_1x_dota.py 2
2020-08-07 11:15:06,651 - INFO - Distributed training: True
2020-08-07 11:15:06,978 - INFO - load model from: modelzoo://resnet50
/home/ff/anaconda3/envs/A/lib/python3.7/site-packages/mmcv/runner/checkpoint.py:145: UserWarning: The URL scheme of "modelzoo://" is deprecated, please use "torchvision://" instead
warnings.warn('The URL scheme of "modelzoo://" is deprecated, please '
/home/ff/anaconda3/envs/A/lib/python3.7/site-packages/mmcv/runner/checkpoint.py:145: UserWarning: The URL scheme of "modelzoo://" is deprecated, please use "torchvision://" instead
warnings.warn('The URL scheme of "modelzoo://" is deprecated, please '
2020-08-07 11:15:09,074 - WARNING - The model and loaded state dict do not match exactly
unexpected key in source state_dict: fc.weight, fc.bias
loading annotations into memory...
loading annotations into memory...
Done (t=0.98s)
creating index...
Done (t=1.00s)
creating index...
index created!
index created!
Traceback (most recent call last):
File "./tools/train.py", line 95, in
main()
File "./tools/train.py", line 91, in main
logger=logger)
File "/home/ff/DG/AerialDetection/mmdet/apis/train.py", line 59, in train_detector
_dist_train(model, dataset, cfg, validate=validate)
File "/home/ff/DG/AerialDetection/mmdet/apis/train.py", line 144, in _dist_train
model = MMDistributedDataParallel(model.cuda())
File "/home/ff/anaconda3/envs/A/lib/python3.7/site-packages/torch/nn/parallel/distributed.py", line 288, in init
self._ddp_init_helper()
File "/home/ff/anaconda3/envs/A/lib/python3.7/site-packages/torch/nn/parallel/distributed.py", line 306, in _ddp_init_helper
self._module_copies = replicate(self.module, self.device_ids, detach=True)
File "/home/ff/anaconda3/envs/A/lib/python3.7/site-packages/torch/nn/parallel/replicate.py", line 97, in replicate
param_copies = _broadcast_coalesced_reshape(params, devices, detach)
File "/home/ff/anaconda3/envs/A/lib/python3.7/site-packages/torch/nn/parallel/replicate.py", line 76, in _broadcast_coalesced_reshape
return comm.broadcast_coalesced(tensors, devices)
File "/home/ff/anaconda3/envs/A/lib/python3.7/site-packages/torch/cuda/comm.py", line 39, in broadcast_coalesced
return torch._C._broadcast_coalesced(tensors, devices, buffer_size)
RuntimeError: all tensors must be on devices[0]
2020-08-07 11:15:12,288 - INFO - Start running, host: ff@ff, work_dir: /home/ff/DG/AerialDetection/work_dirs/faster_rcnn_h-obb_r50_fpn_1x_dota
2020-08-07 11:15:12,288 - INFO - workflow: [('train', 1)], max: 12 epochs
到这里卡住不动，我在单卡1060上可以运行，在双卡2070的机子上，就会出现此问题

您好，我出现了和您同样的问题，请问您知道如何解决了吗？

Have you solved this problem?

Have you solved this problem?

no

pip install mmcv=0.2.16 may solve


Add Tutorial to Dashboard

Coverage decreased (-0.2%) to 55.135% when pulling ebc96054990e7a44841f7c7d412b6ebb11c6bf58 on briansage:ui2000 into 58af14ddf4712581839adf2705b6c5d228b63afb on supergiant:ui2000.


chore: ensure consistent dependency versions across packages

We have some multiple packages requiring the same dependency with different the versions it would be useful to sync them using something like syncpack

Awesome! Thanks for looking into this.

I can try and help @richardgreg, what are you trying to configure?

No problem @richardgreg. If you can give me some information on which packages you are expecting to change but don't, I'll do my best to try and help you.

When I search for @typescript-eslint/types in your branch chore/packages-dependency-consistency there are no results?

Ok great, let me know if you have any questions or you notice something which you don't think is right and I can try and help you. You're not using @typescript-eslint/types in your project so I'm guessing whatever that was is resolved.


Relevant system information
SystemInfo { os: "Windows 11 Pro", kernel: "22631", cpu: "12th Gen Intel(R) Core(TM) i7-12700K", core_count: "12", memory: "63.7 GiB" }
AdapterInfo { name: "AMD Radeon RX 7900 XTX", vendor: 4098, device: 29772, device_type: DiscreteGpu, driver: "AMD proprietary driver", driver_info: "24.8.1 (LLPC)", backend: Vulkan }

Attempting to use a 2d Text Bundle inside a nested 2d sprite without a 0.01 transform on x+y axes causes text to become so large i mistook it for a gradient.
The text bundle is nested inside multiple objects. Resizing for each entity is calculated based on window size so resolution should not affect this issue...i don't think?
With a transform included on the text bundle of value Vec3::new(0.01, 0.01, 1.0) the text is clear, as seen here

When this transform is removed, however, i get this result:

Relevant code snippet:
fn spawn_piece(
    commands: &mut Commands,
    style: TextStyle,
    board_entity: Entity,
    board_locations: &Query<(&LocationAnchor, &BoardSlot), With<GameBoardLocation>>,
    existing_pieces: &mut ResMut<GameState>,
) {
    // rough draft of where the piece should go
    let mut slot: usize = thread_rng().gen_range(0..16);
    while existing_pieces.0[slot].ne(&0) {
        slot = thread_rng().gen_range(0..16);
    }

    // pull a matching location out of stored board coordinates
    let location = match board_locations.iter().find(|(_, s)| s.0.eq(&slot)) {
        Some((a, _)) => a,
        None => return,
    };
    let starting_number = if thread_rng().gen_bool(0.7) {
        2
    } else { 4 };

    // actually spawning the piece. BOARD_SQUARE_SIZE = 0.23
    let piece = commands.spawn(SpriteBundle {
        sprite: Sprite {
            color: PIECE_COLOR,
            ..default()
        },
        transform: Transform {
            scale: Vec3::new(BOARD_SQUARE_SIZE, BOARD_SQUARE_SIZE, 0.0),
            translation: Vec3::new(location.x, location.y, 1.0),
            ..default()
        },
        ..default()
    })
        .with_children(|parent| {
            parent.spawn(Text2dBundle {
                text: Text {
                    sections: vec![TextSection::new(format!("{starting_number}"), style.clone())],
                    justify: JustifyText::Center,
                    linebreak_behavior: BreakLineOn::NoWrap,
                },
                text_2d_bounds: Text2dBounds {
                    size: Vec2::new(BOARD_SQUARE_SIZE, BOARD_SQUARE_SIZE),
                },
                // <-- This transform fixes the issue
                transform: Transform {
                    scale: Vec3::new(0.01, 0.01, 1.0),
                    ..default()
                },
                ..default()
            });
        })
        .insert(BoardSlot(slot))
        .insert(Piece { current_slot: slot })
        .id();

    // show as child of the board and store it in the internal game state
    existing_pieces.0[slot] = starting_number;
    commands.entity(board_entity).add_child(piece);
}

Do your intermediate entities have a non-1 scale value? If so, this is expected transform propagation.

Yeah looks like they do. You need to correct for that, or better yet set the image size of your sprite rather than scaling it.

ah, you're absolutely right, thanks for the quick response!


Trying to use GroupPayout in the server.

Trying to do this:
http://pastebin.com/Bj4mEwrN
I get an internal server error and these are some errors i get:
A required argument is missing
at Object.groupPayout (/home/susa/public_html/immigration/roblox-js-server/node_modules/roblo       x-js/lib/util/wrap.js:67:19)
at /home/susa/public_html/immigration/roblox-js-server/server.js:344:7
at Layer.handle [as handle_request] (/home/susa/public_html/immigration/roblox-js-server/node       _modules/express/lib/router/layer.js:95:5)
at next (/home/susa/public_html/immigration/roblox-js-server/node_modules/express/lib/router/       route.js:131:13)
at authenticate (/home/susa/public_html/immigration/roblox-js-server/server.js:129:5)

The argument "user" should be changed to "member".

Woops simple little mistake, thank you so much it works.


Unresolvable task op should not cause a hard failure

This is an implementation for the CU bug:
https://app.clickup.com/t/14289126/FC-3420

Task linked: https://app.clickup.com/t/14289126/FC-3420

@Genza999 actually - i think this needs another test
i want us to check that this works smoothly when a task scheduler sets a task op that doesn't exist (which is what caused the creation of the ticket)
so a test that

sets up a task schedule referencing a non existing task
runs the fullctl poll task logic
smoothly identifies that the task doesn't exist, logs an error, and returns to the loop

Good call, turns out this error was being raised from a different point,
in create_tasks_from_json function at
task = model.create_task(timeout=timeout, user=user, org=org, *args, **kwargs)
since if there is no op, there is no model and was causing an Attribute error before continuing processing.

@Genza999 needs linting please


submit to awesome

While this project doesn't strictly speaking advertise itself as "awesome", it seems like a great candidate for inclusion in the awesome list

Thanks @mdaniel that’s a good idea, I’ll see how can I make it.
Sent with GitHawk

+1 that idea. I didn't see one a few months ago and decided to create one up to spec, but then found yours @toniblyx so I stopped and didn't submit, lol. Nice work. Feel free to take anything from there that's not on your list.

I have checked out their requirements at https://github.com/sindresorhus/awesome/blob/master/pull_request_template.md and my current list doesn't pass them, too much work to make it ideal for them.
@C8H10N4OO thanks for sharing your list, I think all the tools you have are already in here. Thanks!


Unify timer story

Provide a consistent story around timers. Currently, there is also the tokio-timer crate.
In general, sometimes it is necessary to create timers without knowing about the tokio-core reactor. For example, anything at the Service middleware layer and above should be decoupled from tokio-core.
Also, timer system integrated with epoll should be optimized for usage with a hashed wheel strategy as this is by far the most efficient timer strategy for most network related cases.
That being said, a misconfigured hash wheel has much worse "worse case" performance characteristics than a heap based timer. tokio-timer deals with this by not accepting timeout requests that would trigger this worst case behavior, but I am unsure if a hashed wheel is better as a default than a heap.
I believe that netty provides a hashed wheel timer by default.

I don't personally feel too strongly one way or another which strategy is used by default (wheel or heap) on the event loop, but I'd mostly just prefer that the default usage of the event loop doesn't spawn an extra thread for the timer.

I don't personally feel too strongly one way or another which strategy is used by default (wheel or heap)

I prefer heap to be used by default. There are few reasons:

You can't make good enough random timeouts using wheel
You can build a wheel on top of a heap (i.e. one timer in the heap triggers the wheel), I think performance differences should be negligible (but I can't prove it). But not other way around.

If you wonder why would I need random timeouts, there are two use cases off the top of my head:

Reconnect timeout for client connections. If you have 1000 client connections on multiple servers and they suddenly fail (say an interface was restarted), it's much better when they are reconnected at random within 100 ms or so
Consensus protocols like raft

While second use case is quite niche (still I don't think it requires a thread anyway), the first one should be the default for client connection pools I think, as it avoids load spikes on the server side. This is, for example, how zeromq always works.

Wheel timer provides O(1) inserts and deletes.
Heap timer is O(logn) which means that every timer create/removal would lead to some kind of loop. So performance wise I guess that a hash has a better outcome..


Add syntax highlighting

Add support for syntax highlighting in generated declarations.
This is accomplished with the help of the Chroma syntax highlighter.
The output of the highlighter, and our own labels are interepersed,
with our labels taking precedence.
Adds the following new flags:
-highlight [MODE:]THEME
-highlight-print-css
-highlight-list-themes

MODE can be 'inline' for inline style attributes,
'classes' for class attributes and an accompanying stylesheet,
or 'auto' to pick based on whether we're in -embed mode or not.
Adds a 'plain' theme that replicates the old highlighting.
It leaves everything except comments as regular text,
and comments get a slight fade.
Resolves #62

Remaining:

[ ] Documentation
[ ] Changelog

Codecov Report
Base: 88.70% // Head: 88.67% // Decreases project coverage by -0.03% :warning:

Coverage data is based on head (c01cd29) compared to base (9b1c17d).
Patch coverage: 86.89% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
- Coverage   88.70%   88.67%   -0.03%
==========================================
  Files          24       28       +4
  Lines        1301     1492     +191
==========================================
+ Hits         1154     1323     +169
- Misses        105      123      +18
- Partials       42       46       +4

Impacted Files
Coverage Δ

internal/highlight/span.go
0.00% <0.00%> (ø)

internal/gosrc/decl.go
86.36% <50.00%> (+0.17%)
:arrow_up:

flags.go
89.18% <76.31%> (-6.76%)
:arrow_down:

internal/html/render.go
85.71% <84.21%> (-1.25%)
:arrow_down:

main.go
85.15% <85.29%> (+0.04%)
:arrow_up:

internal/godoc/assemble.go
87.96% <89.28%> (+3.43%)
:arrow_up:

internal/highlight/highlight.go
89.47% <89.47%> (ø)

internal/highlight/tokenindex.go
91.66% <91.66%> (ø)

help.go
84.84% <100.00%> (+0.47%)
:arrow_up:

internal/godoc/code.go
100.00% <100.00%> (+10.20%)
:arrow_up:

... and 2 more

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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


10.0.22621.3235

termsrv.zip
Plz help out :) best regards!

termsrv.zip Plz help out :) best regards!

[10.0.22621.3235]
SingleUserPatch.x64=1
SingleUserOffset.x64=C243
;it offsets from CUtils::IsSingleSessionPerUser(int *)
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=1C055
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=9D3F1
LocalOnlyCode.x64=jmpshort
SLInitHook.x64=1
SLInitOffset.x64=297C0
SLInitFunc.x64=New_CSLQuery_Initialize
[10.0.22621.3235-SLInit]
bServerSku.x64=12AF50
bRemoteConnAllowed.x64=12AF64
bFUSEnabled.x64=12AF74
bAppServerAllowed.x64=12AF5C
bMultimonAllowed.x64=12AF68
lMaxUserSessions.x64=12AF54
ulMaxDebugSessions.x64=12AF70
bInitialized.x64=12AF4C

https://github.com/sebaxakerhtc/rdpwrap.ini/commit/c6af48c0cfea8cc8bf08f408d62bf16b664a3b38

Thanks again @sashaqwert , works good.

@Prabhu2392

followed above method, still issue not resolved,pls help to resolve.

Try:

Download RDP Wrapper 1.6.2 and extract this to any directory.
Place rdpwrap.ini in the same directory.
Open CMD as administrator
Execute this commands

cd C:\path\to\directory\
rdpwinst -u -k
rdpwinst -i

Enjoy!

You can find rdpwrap.ini here: https://raw.githubusercontent.com/sebaxakerhtc/rdpwrap.ini/master/rdpwrap.ini
Original message: https://t.me/rdpwrap/49131

@Prabhu2392

followed above method, still issue not resolved,pls help to resolve.

Try:
1. Download RDP Wrapper 1.6.2 and extract this to any directory.

2. Place `rdpwrap.ini` in the same directory.

3. Open CMD as administrator

4. Execute this commands

cd C:\path\to\directory\
rdpwinst -u -k
rdpwinst -i

5. Enjoy!

You can find rdpwrap.ini here: https://raw.githubusercontent.com/sebaxakerhtc/rdpwrap.ini/master/rdpwrap.ini
Original message: https://t.me/rdpwrap/49131

than
k you lot, now its working fine....


Update lang version to 2201.3.4

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@dulajdilshan As we are beginning the 3.4 release before completing the 3.3 release, please ensure that any changes added to the stage branch during the 3.3 release are also merged into the 3.x(or 3.4-stage) branch as well.

Yes. I have already checked it https://github.com/ballerina-platform/ballerina-lang/compare/2201.3.4-stage...2201.3.3-stage


Wiring

Adding a wiring transform to hook up memory pins to a source signal.

This is nice but the hurricane team has a feature request of multiple pins each from a distinct source. We can put that as an issue and/or track it on the spreadsheet.

Ok, sounds good. We can still go ahead with this merge though, I assume?

Yeah the merge is fine, just don't want to lose that FR. Thanks

#274

Can you rebase this on top of master? I wanted to use Donggyu's naming fix with this branch.


Definition for rule 'jsx-a11y/img-has-alt' was not found error

I get it at the top of my jsx files
I assume it is from (in v5 release notes):
[breaking] Refactor img-has-alt rule into alt-text rule
Do I need to add something to my .eslintrc to suppress the error?
I'm on versions:
  "eslint": "3.19.0",
  "eslint-config-airbnb": "14.1.0",
  "eslint-plugin-import": "2.2.0",
  "eslint-plugin-jsx-a11y": "5.0.1",
  "eslint-plugin-react": "6.9.0",

closing because of #232

For people coming here, the above mentioned #232 does still not provide any solution (April 20, 2018).

@hundsim the solution is, run npm ls and ensure all your versions match (and ideally are on latest)


refactor(md-dropdown): remove legacy fix

Same as PR #461 and #462 but with correct convention and correct files.
As discussed in the issue #458 I've removed the legacy dropdown-fix. It was for an old version of materialize and not used by default.
Breaking changes:

The method useDropdownFix doesn't exist anymore.

I wonder if we should issue a warning if someone still uses .useDropdownFix(). Maybe just a simple console.warn in config-builder.js.

Ok I add a warning

What do you think of:
console.warn("The method useDropdownFix has no effect in this version and will be removed in a future version.");

I like that. 😃


dashboard: Filtering functions for Tasks tab

Feature request
Description

This will allow users and operators to view tasks that are of interest to them, by date, by name or by task type.
Implementation considerations

Filter by date should be a priority once this feature is implemented, this will go well with https://github.com/open-rmf/rmf-web/pull/419

Sort and filtering implemented in

https://github.com/open-rmf/rmf-web/pull/638
https://github.com/open-rmf/rmf-web/pull/651
https://github.com/open-rmf/rmf-web/pull/658


Docs: Typography and code highlight fixes

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

What is the new behavior?
Other information

Can you be a little more specific on what the change is?

I was reading the docs and noticed that occasionally, a highlighted line in code snippet example was not the correct line that the docs were referring to, eg: the line that was highlighted was just a closing bracket or something. So I fixed a few of those, and added line highlights to some places where appropriate.
I added a couple headings to pages that were missing them.
I also noticed on the Project Setup page, where there is an h1 directly followed by an h2, the spacing made it awkward to read so I adjusted that.
The logo was slightly off center
I also fixed a couple spelling / grammar mistakes.

Thanks for explaining.


Leilagh6525

Describe the bug

Expected behaviour

Related discussion

Additional notes

@lildude There's been a massive influx of spam issues/PRs submitted to Linguist lately. Any idea what's up with this? I don't recall submissions like these being this common…

@Alhadis I have no idea. I think it might just be luck. When I find them, I mark them as spam which our internal system will register and start tracking the user.


Document patch release process

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11934
Now that we moved to voting on source releases for patch releases, we need to document the process for doing so in the Rust implementation.

Google doc for discussion / collaboration: https://docs.google.com/document/d/1i2Elk6J0H4nhPeQZdLDyqvHoRbsabx2iOTXLHxxNqRE/edit?usp=sharing

Comment from Andy Grove(andygrove) @ 2021-03-12T17:37:02.618+0000:
[~npr] Could I ask you to take a look at this google doc when you get a chance. In particular, could you participate in the conversation I am having with [~emkornfield] about whether we can make language-specific patch releases?

I think that this as since been deprecated, as we have full release independence. Closing. cc @andygrove @alamb


Incorrect information about restore disk scenario

Disk is not copied to storage account you specify, instead it's being created in Resource Group your specify for managed disks.

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

ID: 66081bde-1e22-dd9c-8357-a0485b23b0a7
Version Independent ID: eb2a52a5-d290-84fb-c3fe-2a5d8512669a
Content: Azure Backup: Restore virtual machines by using the Azure portal
Content Source: articles/backup/backup-azure-arm-restore-vms.md
Service: backup
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

#assign:sogup

Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

#reassign:GeethalakshmiG

Documentation corrected.
#please-close


fix: preserve bound media query styles when converting builder to mitosis

Description
https://builder-io.atlassian.net/browse/ENG-7491
Bound media query styles are not preserved when converting Builder to Mitosis. This PR addresses the problem by ensuring that bound media query styles are included in the Mitosis node when bound using responsiveStyles.[SIZE].[CSS PROP].
Make sure to follow the PR preparation steps in CONTRIBUTING.md before submitting your PR:

[x] format the codebase: from the root, run yarn fmt:prettier.
[x] update all snapshots (in core & CLI): from the root, run yarn test:update
[x] add Changeset entry: from the root, run yarn g:changeset and follow the CLI instructions. Alternatively, use the Changeset Github Bot to create the file.

Added the follow up ticket per our discussion earlier today: https://builder-io.atlassian.net/browse/ENG-7569


Fix gem dependency memory issues

See issue: https://github.com/avadev/AvaTax-Calc-REST-Ruby/issues/6
This updates the rest-client dependency to use version 2.0.1, instead of 1.7. As you can see in the Gemfile.lock, updating rest-client means that the mime-types gem gets bumped to version 3.1, which has a huge memory bloat fix to it.
Wasn't completely sure whether the Gemfile.lock update was necessary since the old diff shows avatar as version 0.0.1, so please let me know if I should revert that change!

👍


CREATION class

CREATION cover artistic creation, such as song, movie, etc.
Should a book title then be considered also as such?

I think yes, as long it is in natural language and not as part of a full bibliographical reference (for which the NER is not relevant).

Should we also annotate TV Shows as CREATION ? For example in this paragraph :

EU Referendum: The Great Debate was held at Wembley Arena on 21 June and hosted by David Dimbleby, Mishal Husain and Emily Maitlis in front of an audience of 6,000.
[272] The audience was split evenly between both sides.Sadiq Khan, Ruth Davidson and Frances O'Grady appeared for Remain.Leave was represented by the same trio as the ITV debate on 9 June (Johnson, Leadsom and Stuart).
[273] Europe: The Final Debate with Jeremy Paxman was held the following day on Channel 4.

"EU Referendum: The Great Debate" refer to a political tv show (https://subsaga.com/bbc/politics/2016/eu-referendum-the-great-debate.html)
"Europe: The Final Debate" too (http://www.channel4.com/programmes/europe-the-final-debate-with-jeremy-paxman/on-demand/64596-001)

I would annotate them as CREATION. Like movies, talk or tv show should be considered artistic creation (independently of the quality).


get also non keyframes with seekEncodedAudioChunk

Hi
How can I get non keyframes with seekEncodedAudioChunk? from the documentation I see getting keyframes but I don't understand how can I get the rest :)
Thank you!

Upgrade to version 2.2.0 and use seekEncodedAudioChunk(time, AVSeekFlag.AVSEEK_FLAG_ANY). AVSeekFlag.AVSEEK_FLAG_ANY allows seeking to any frame, including non-keyframes.

Thanks!


Weight systems fixes

Changes:

Uses github repo link instead of npm package for lilyweight attribution
Updates the meta description to include lily weight (preview below)
Changes the emoji used for Avg Skill Level in meta description so discord doesn't see it as a character but rather an emoji like the others (maybe it's just a windows thing, idk)... we are still discussing in discord which emoji to use so it might change later
Changes the tooltips for weights and rounds the value to 0 decimals (the 2 decimals value can be now seen in the tooltip)
Fixes an issue that caused profiles that never entered dungeons to return a TypeError (see changes in lily-weight.js)

Meta description:
❤ 2980 🛡 1088 💪 1054 🌀 121% ☠ 840%

🧚 227/227 Fairy Souls
🗡 Fabled Atomsplit Katana
🌾 Farming 60
🔥 Legendary Blaze (Lvl 82)

🤺 Slayer: 🧟 9  🕸 9  🐺 9  🔮 8

📚 Avg Skill Level: 48.3
💪 Senither Weight: 16.859 💪 Lily Weight: 11.878
🏦 Bank: 998.0M 💰 Purse: 1.81B

@metalcupcake5 @MartinNemi03

@metalcupcake5 you can merge if you want, it goes into your weight-systems branch anyway. Also 2 approvals


Making Course Offering required in the Course Enrollment layout.

Warning
Info
Issues
Fixes #264.

Hi @daveperry. Could you take a look and merge? Thanks.


Update sdks

Updates Go and Node.js SDKs in deps.
Closes #23
from go dir:
for d in `ls`
do
pushd $d; go get dagger.io/dagger@latest; go mod tidy; popd
done

from nodejs dir:
for d in `ls`
do
pushd $d; npm install @dagger.io/dagger@latest --save-dev; popd
done

Looks good. I'll create an issue to write some tests

That would be great. I did a bunch of manual spot testing and things seemed good, but would be nice to know for sure.


[1.12.1]When upnp uses ixml to parse SOAP messages which contains too many node, services are unavailable.

hi, When using UPnP service on embedded devices, it is affected by performance. When UPnP parses SOAP messages which contains too many sub nodes, the process will consume a lot of CPU resources and cannot recover for a long time.
Do you think this is a problem of ixml?
Or maybe pupnp can limit the size of the ixml input ?
the example of soap message:
<tns:Envelope xmlns:tns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1" tns:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:Body>
<u:GetMute>
<InstanceID>0</InstanceID>
<Channel>Master</Channel>
</u:GetMute>
<u:GetMute>
<InstanceID>0</InstanceID>
<Channel>Master</Channel>
</u:GetMute>
<u:GetMute>
<InstanceID>0</InstanceID>
<Channel>Master</Channel>
</u:GetMute>
....repeat <u:GetMute></u:GetMute>100000 times
<u:GetMute>
<InstanceID>0</InstanceID>
<Channel>Master</Channel>
</u:GetMute>
<u:GetMute>
<InstanceID>0</InstanceID>
<Channel>Master</Channel>
</u:GetMute>
<tns:Body>

Is this still an issue after #306 ?
If the answer is positive, would you mind posting a small python test so that I can reproduce the issue?

hi~
I think it's anothor problem. The reason of this problem is that the ixml parsing SOAP message is too slow. If the SOAP message is really long , UPNP will spend too much time parsing it.
It's better, if UPNP can limit the size of the SOAP message which ixml will parse.
poc is following():

import socket

MS2 = """<?xml version="1.0" encoding="utf-8" standalone="no"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <s:Body>
    <u:GetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
      <InstanceID>0</InstanceID>
      <Channel>Master</Channel>
    </u:GetVolume>

  """ + """<u:GetMute>
      <InstanceID>0</InstanceID>
      <Channel>Master</Channel>
    </u:GetMute>"""*1000000 + """
  </s:Body>
</s:Envelope>"""

MS1 = """POST /upnp/service/RenderingControl/Control HTTP/1.1\r\nHOST: <IP_ADDRESS>:50000
Content-Length: """ + str(len(MS2)) + """
Content-type: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
USER-AGENT: Linux/4.14.150_s5, UPnP/1.0, Portable SDK for UPnP devices/1.12.0
CONNECTION: close

"""
# print(MS1 + MS2)
address = ("<IP_ADDRESS>", 49153)
skt = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
skt.connect(address)

skt.send(MS1.encode() + MS2.encode())
d = skt.recv(999)
print(d.decode())

Thank you for the test. I see what is happening and I committed a fix.
Can you test after #313 ? I would like to test this one before releasing 1.14.6.


Why require space between import and (?

import is not a function. import is a statement.

I don't see the word "statement" anywhere in the proposal: https://tc39.es/proposal-dynamic-import/. The proposal refers to it as import call and import() expression, and there is no space between import and (.

Is it allowed in expression position?

Yes. It produces a value (a promise), so one can assign it to a variable, pass it around, etc.

Thanks.


Fix for #10715

Fixes #10715 Untitled documents aren't added to MRU until visited a 2nd time.
The issue is that no file Entry is added to File Index for Untitled documents. This causes a second file entry to be created and returned for untitled files from File System on File open (also on save of untitled file). Duplicate file entries for the same file in the MRU order causes the issue.

Merging.. Thanks..!!


Create an Analyzer to flag legacy web app artifacts

NinjectWebCommon.cs
Global.asax.cs

Good idea. I don't think global.asax.cs is something we'll be able to automatically migrated, but we should add an analyzer to produce a warning for the file and point users at ASP.NET migration docs.
NinjectWebCommon I'm not as sure about. It's ninject-specific (I assume) and handling all the different DI frameworks users use is probably a lower priority, at least initially.

@mjrousos , you're right that NinjectWebCommon.cs is a ninject-specific file and while it would be difficult to make recommendations for every DI framework I think it would be valuable to add some detection for the top 3 or so that mentions where service registration should be done in the new version.


Set jest timeout to 30s

On my PR I had a failure because of this.

That jest runs for such a long time is probably due to the transpilation of monaco editor. I'll probably investigate this further next week. For now its fine to raise the timeout.


VS Code does not recognize REditorSupport.r as a valid default formatter

Describe the bug
My VS Code .json files yield linting warnings when I set the default editor to REditorSupport.r. It indicates that the value is not accepted.
To Reproduce
Steps to reproduce the behavior:

Open settings.json in VS Code
Add the following:

    "[r]": {
        "editor.defaultFormatter": "REditorSupport.r"
    }

Observe that the linter complains with message:

Defines a default formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter.

Value is not accepted. Valid values: null, "vscode.css-language-features", "vscode.html-language-features", "ms-python.isort", "vscode.json-language-features", "ms-toolsai.jupyter", "yzhang.markdown-all-in-one", "vscode.markdown-language-features", "tomoki1207.pdf", "vscode.php-language-features", "ms-python.python", "vscode.references-view", "vscode.search-result", "vscode.typescript-language-features", "KevinRose.vsc-python-indent", "ms-azuretools.vscode-docker", "narsenico.vscode-progressive-increment", "ms-python.vscode-pylance", "ElecTreeFrying.auto-import", "vscode.configuration-editing", "vscode.debug-auto-launch", "vscode.debug-server-ready", "vscode.emmet", "vscode.extension-editing", "GrapeCity.gc-excelviewer", "vscode.git", "vscode.git-base", "vscode.github", "vscode.github-authentication", "eamodio.gitlens", "vscode.grunt", "vscode.gulp", "vscode.ipynb", "vscode.jake", "ms-vscode.js-debug", "ms-vscode.js-debug-companion", "ZainChen.json", "ms-toolsai.jupyter-renderers", "vscode.markdown-math", "yzane.markdown-pdf", "shd101wyy.markdown-preview-enhanced", "vscode.media-preview", "vscode.merge-conflict", "vscode.microsoft-authentication", "vscode.npm", "ms-vscode-remote.remote-containers", "ms-vscode-remote.remote-wsl", "ms-vscode-remote.remote-wsl-recommender", "vscode.simple-browser", "SimonSiefke.svg-preview", "hediet.vscode-drawio", "ms-vscode.vscode-js-profile-table", "ms-toolsai.vscode-jupyter-cell-tags", "ms-toolsai.vscode-jupyter-slideshow", "asvetliakov.vscode-neovim", "richie5um2.vscode-sort-json".(1)

Can you fix this issue by yourself? (We appreciate the help)
No
(If yes,) can we assist you with anything?
(If applicable) Please attach setting.json
{
    "editor.lineNumbers": "relative",
    "files.autoSave": "afterDelay",
    "files.defaultLanguage": "${activeEditorLanguage}",
    "files.exclude": {
        "": true,
        "**/.git": false
    },
    "terminal.integrated.defaultProfile.windows": "Git Bash",
    // Default terminal found by VS Code was not BASH
    // Default source was not the same git-bash.exe that I use
    // with the taskbar launcher, so specified manually as per
    // https://github.com/microsoft/vscode/issues/126023
    "terminal.integrated.profiles.windows": {
        "Command Prompt": {
            "args": [],
            "icon": "terminal-cmd",
            "path": [
                "${env:windir}\\Sysnative\\cmd.exe",
                "${env:windir}\\System32\\cmd.exe"
            ]
        },
        "Git Bash": {
            "path": "C:\\Program Files\\Git\\git-bash.exe"
        },
        "PowerShell": {
            "icon": "terminal-powershell",
            "source": "PowerShell"
        }
    },
    "vscode-neovim.neovimExecutablePaths.win32": "C:\\Program Files\\nvim-win64\\bin\\nvim.exe",
    "workbench.list.openMode": "doubleClick",
    "editor.stickyScroll.enabled": true,
    "workbench.settings.editor": "json",
    "security.workspace.trust.untrustedFiles": "open",
    "workbench.colorTheme": "Visual Studio Dark",
    "[python]": {
        "editor.formatOnType": true
    },
    "[r]": {
        "editor.defaultFormatter": "REditorSupport.r"
    }
}

Expected behavior
The linter should not complain.

This was a user error!
I am typically running r from within VS Code Dev Containers, and therefore installing the extension into the containers only rather than system-wide.
I still had these settings in my settings.json file, rather than as customizations within my devcontainer.json files.
If I open a dev container with the extension installed, the linter does not complain, regardless of where this setting is specified (settings.json or devcontainer.son). However, if looking at settings.json when not within a Dev Container (i.e., when the extension is not installed in the active environment), then the linter complains.
Sorry to bother you! This was a case of my own misunderstanding!
Thank you for your comment and looking into this, 🙂 .


Packager does not retain UUIDs on restore

Describe the bug
As has historically been the case with handles, the -r packager option should also re-use the UUID of the original item.  Item UUIDs are intended to be immutable references to items that exist in DSpace. For example, people's bookmarks and spiders will have those old UUIDs in their URLs.  Therefore, when an item is being restored into DSpace (e.g. due to disaster recovery), it is important to have the ability to retain the original UUID and thus URL references.
To Reproduce
Steps to reproduce the behavior:

Do a packager export
Run a packager import
Notice how the UUID is different

Expected behavior
The UUID should be retained.
Related work
Addressed by this PR: https://github.com/DSpace/DSpace/pull/3329

My understanding is that the reason we went to UUIDs was to have object identifiers purely internal to DSpace, unlike the old integer sequence numbers which were shared with the DBMS.  The point is to have an internal identifier that cannot be pinned down by any other process, whether DBMS or some far-flung browser.  People who want to bookmark objects should be using the Handle or DOI or some other, as-yet-unimplemented, durable identifier.

With the move in DSpace 7 to use UUIDs in the REST api and Angular urls, DSpace has become less tightly coupled with the handle system, in the same way it has historically been with DOIs in general -- you can still use these longer-term digital identifiers with DSpace, and you can still educate users, just as before, to use the reference you think will be around longer (DOI or hdl.handle.net urls).
But just because DSpace urls now embed UUIDs instead of handles doesn't mean we shouldn't put forth effort to maintain thier stability.
Now that it is possible to unambiguously refer to a DSpace item without using a handle, I think it makes sense generally to update the tools in the ecosystem to treat UUIDs similar to how DSpace has treated handles in the past. That means being able to use them as arguments to CLI/Scripts&Processes commands, as well as retaining them when doing packager restores.


Test handling of multiple formatters

Refs: https://github.com/Microsoft/vscode/issues/41882

[x] any @octref
[x] any @isidorn

Complexity: 3
We have improved the behaviour when having multiple formatters for a document. Install 'conflicting' formatter extensions like beautify and/or prettier and test that

there are new actions 'Format Document With...' and 'Format Selection With...' which show quick pick allowing you to select an extension that's used to format
clicking the gear icon in the formatter pick opens the extensions viewlet for that extension - allows to configure/disable/uninstall it
there is also 'Format Document' and 'Format Selection' which in case of multiple extensions just pick one and then print on the status bar which it picked
format on save and format on paste also print to status bar which formatter was selected, also only when multiple formatters exists

*Note that format selection only shows when an extension contributes such a provider.

Great work 👍


flattener: the tmp file is deleted before the second attempt

Causing ["file not found" exception](https://sentry.io/organizations/open-contracting-partnership/issues/3613821761/?project=5823905&query=is%3Aunresolved) and the CSV files are never generated.

Ah, I’ll need to test whether the entire temporary directory gets deleted, or just the file. Not sure why only the file would be deleted

Oh, it’s because force=True deletes the output directory, and I had made it the current directory. Just need to change it to a subdirectory


[RESTEASY-3357] Endpoints returned a status code of 500 if Accept header had badly formatted value

Issue: https://issues.redhat.com/browse/RESTEASY-3357

Hello @jamezp, I forced-pushed some changes. As I described in the JIRA comment, I am not sure if they are necessary, so if you have time, could you please look at this and let me know what you think about it? Thank you very much.


makeFile

E0061

this function takes 7 arguments but 1 argument was supplied

E0271

expected default to be a fn item that returns Option<ParsedData>, but it returns ParsedData

E0599

no method named add found for enum std::option::Option

after start install-typeshare, where i can download stable version of core?

This should be fixed, please try:

cargo install just
just install-typeshare


MINOR: Set log level for producer internals to trace for transactions test

We need this to debug most issues with the transactions system test.

cc @hachikuji

Thanks for the patch. I wonder if we can make this mechanism more general and allow any test case to provide custom logging overrides. For example, we can add a "loggers" variable to the environment and let the template iterate over them.

Let's do that in a following, especially since this seems to be the first need for this.
Also, we need these logs to debug any transactions test failure, so it's best to get this in early.

On Jun 7, 2017, at 14:56, hachikuji<EMAIL_ADDRESS>wrote:
Thanks for the patch. I wonder if we can make this mechanism more general and allow any test case to provide custom logging overrides. For example, we can add a "loggers" variable to the environment and let the template iterate over them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

For now, I change the name of the template variable to producer_internals_log_level. This is more general and can be used in other tests without confusion. Also, I don't think adding consumer_internals and something similar would offer too much off a loss of generality. After all how many modules would we realistically want to turn on individually?

@apurvam Come on 😜, it's not that much extra work. something like this ought to do the trick:
{% if loggers is defined %}
{% for logger, log_level in loggers.iteritems() %}
log4j.logger.{{ logger }}={{ log_level }}
{% endfor %}
{% endif %}

Then add this:
self.loggers = { "org.apache.kafka.clients.producer": "TRACE" }

Then we'll easily be able to change logging in the future for any test case!

Ah. That is easy. Updated the PR and also tested it locally: It prints trace level logging for the producer internals.

Thanks for the patch. LGTM


log a WARN instead of ERROR for errors processing kube yaml files

Change the output level from ERROR to WARN for errors processing kube yaml.
This comes up often if istioctl x analyze is used on kube files that include kube resources that istioctl x analyze doesn't pay attention to, and adds confusing noise to the output.
Fixes https://github.com/istio/istio/issues/17684
[X] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
4e2f734c287be43d777ce82fc4a89dc8c804ee3b
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
4e2f734c287be43d777ce82fc4a89dc8c804ee3b
link
/test integ-mixer-k8s-tests_istio

integ-galley-k8s-tests_istio
4e2f734c287be43d777ce82fc4a89dc8c804ee3b
link
/test integ-galley-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Feature request: unitypackages

As these Adobe plugins are unity plugins it would be fitting that these plugins would be included to unity through unity package manager.
Other than that thanks for well sorted repo and docs.

@ralphtherapper since the Adobe Unity AEP SDKs are open source, we do not plan on releasing them using Unity package manager.
Thanks,
Spoorthi

Appreciate the reply. Yet I want to point out that this does not change status of the module to be anything else than open source.
Thanks,

Sami


windows dualstack pipeline

Reason for Change:

This PR adds new pipeline to run windows dualstack e2e tests. It creates aks-e dualstack cluster and runs k8s upstream dualstack tests on that cluster.
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

/azp run


Connection handlers take connection arg

What was wrong?
For the handler function API on the Connection object to be useful, the handlers need to have access to the connection.
How was it fixed?
Now handler functions expect the connection as the first argument.
To-Do

[x] Clean up commit history

[x] Add entry to the release notes

Cute Animal Picture

ICYMI:

collect_messages() takes 2 positional arguments but 3 were given


Cancellation trumps error in -[BFTask taskForCompletionOfAllTasks:]

I have a scenario where I have many, many network requests to make. I would like to provide a BFTask for the completion of all of them.
I want to be able to cancel them if necessary. Also, if any of them individually fail, I would like to abort the ones not yet dispatched. They are all scheduled on a BFExecutor built from an NSOperationQueue.
Each task begins with a check on a shared cancellationToken to see if they should proceed. If the request fails, it returns its error and sets the cancellationToken to true. The remaining tasks in the queue then check the cancellationToken and dutifully return -[BFTask cancelledTask] when they get their turn.
The problem is that the continuation block for -[BFTask taskForCompletionOfAllTasks:] gives cancellations precedent over errors. So, the task for the completion of all of them returns a cancelled task instead of an error. There's an important distinction there. I want to message errors in my user experience, but not cancellations.
I suspect it's intentional, but I don't know why. Is my use of the same cancellation token for canceling and errors discouraged? Or is this something that you could possibly change (to give errors precent over cancellations)?

@nlutsenko-fb @grantland

The problem is that the continuation block for -[BFTask taskForCompletionOfAllTasks:] gives cancellations precedent over errors.

Is this the desired behaviour for taskForCompletionOfAllTasks / whenAll?

This seems like a bug in the iOS implementation. The .NET docs state that it goes Error > Cancelled > Success (https://msdn.microsoft.com/en-us/library/hh194766(v=vs.110).aspx) and our Android implementation follows this as well:
Task<Void> taskA = Task.forError(new RuntimeException("This task failed."));
Task<Void> taskB = Task.forResult(null);
Task<Void> taskC = Task.cancelled();
Task.whenAll(Arrays.asList(taskA, taskB, taskC)).continueWithTask(new Continuation<Void, Task<Void>>() {
  @Override
  public Task<Void> then(Task<Void> task) throws Exception {
    Log.d("test", "isFaulted=" + task.isFaulted() + " isCancelled=" + task.isCancelled() + " isComplete=" + task.isCompleted());
    return null;
  }
}).waitForCompletion();

04-15 13:50:08.109    1955-1970/? D/test﹕ isFaulted=true isCancelled=false isComplete=true

Fixed by #93

Thanks guys!