Possible to get at the automatic image labels?

First up: thank you so much for this library! I've been wanting something like this for years. I'm using this for my own (very early alpha) photos-to-sqlite tool.
One of my favourite features of Apple Photos is the way it runs machine learning on my phone/laptop to identify photos of dogs, cats, beaches etc and add invisible labels to my photos. As a result I can search for "dog" and see all of the photos I've taken of dogs.
I've been trying to figure out where Photos stores those automatically detected labels. I've poked around in the SQLite database for the photo library and I've not found anything there that looks like it's from the machine learning models.
Have you been able to figure out where this stuff is stored? Any chance it could be exposed through osxphotos?

I've not looked for this data (and indeed didn't know Photos did this until you mentioned it).  I make heavy use of face detection but haven't tried other image recognition fear res. I'll take a look -- if I can find where the data is stored I can definitely expose it through osxphotos.

Quick peek at the database points to ZSCENECLASSIFICATION as one possible source of the classification data.  However, I can't find any other reference to the ZSCENEIDENTIFIER column values in the database (I'm guessing the identifier is the classified subject in the photo, e.g. "dog") but these values must be looked up elsewhere, perhaps in some other database used by photoanalysisd.
Z_PK,Z_ENT,Z_OPT,ZSCENEIDENTIFIER,ZASSETATTRIBUTES,ZCONFIDENCE
8,49,1,731,5,0.11834716796875
9,49,1,684,6,0.0233648251742125
10,49,1,1702,1,0.026153564453125

I think I may have found it:
Last login: Mon May  4 17:52:43 on ttys023
$ cd /Users/simon/Pictures/Photos\ Library.photoslibrary/database/search/
$ ls -lah
total 125048
drwxr-xr-x@ 11 simon  staff   352B May  4 17:47 .
drwxr-xr-x@ 12 simon  staff   384B Apr 20 16:46 ..
-rw-r--r--@  1 simon  staff   261B May  4 17:47 graphDataProgress.plist
-rw-r--r--@  1 simon  staff    53M May  4 15:52 psi.sqlite
-rw-r--r--@  1 simon  staff    32K May  4 08:56 psi.sqlite-shm
-rw-r--r--@  1 simon  staff   6.9M May  4 15:52 psi.sqlite-wal
-rw-r--r--@  1 simon  staff    11K Apr 25 15:07 searchMetadata.plist
-rw-r--r--@  1 simon  staff   540B May  4 17:47 searchProgress.plist
-rw-r--r--@  1 simon  staff   454B May  4 17:47 searchSystemInfo.plist
-rw-r--r--@  1 simon  staff   4.3K May  4 17:47 synonymsProcess.plist
-rw-r--r--@  1 simon  staff    23K May  4 15:51 zeroKeywords.data
$ sqlite3 psi.sqlite .schema
CREATE TABLE word_embedding(word TEXT, extended_word TEXT, score DOUBLE);
CREATE INDEX word_embedding_index ON word_embedding(word);
CREATE VIRTUAL TABLE word_embedding_prefix USING fts5(extended_word)
/* word_embedding_prefix(extended_word) */;
CREATE TABLE IF NOT EXISTS 'word_embedding_prefix_data'(id INTEGER PRIMARY KEY, block BLOB);
CREATE TABLE IF NOT EXISTS 'word_embedding_prefix_idx'(segid, term, pgno, PRIMARY KEY(segid, term)) WITHOUT ROWID;
CREATE TABLE IF NOT EXISTS 'word_embedding_prefix_content'(id INTEGER PRIMARY KEY, c0);
CREATE TABLE IF NOT EXISTS 'word_embedding_prefix_docsize'(id INTEGER PRIMARY KEY, sz BLOB);
CREATE TABLE IF NOT EXISTS 'word_embedding_prefix_config'(k PRIMARY KEY, v) WITHOUT ROWID;
CREATE TABLE groups(category INT2, owning_groupid INT, content_string TEXT, normalized_string TEXT, lookup_identifier TEXT, token_ranges_0 INT8, token_ranges_1 INT8, UNIQUE(category, owning_groupid, content_string, lookup_identifier, token_ranges_0, token_ranges_1));
CREATE TABLE assets(uuid_0 INT, uuid_1 INT, creationDate INT, UNIQUE(uuid_0, uuid_1));
CREATE TABLE ga(groupid INT, assetid INT, PRIMARY KEY(groupid, assetid));
CREATE TABLE collections(uuid_0 INT, uuid_1 INT, startDate INT, endDate INT, title TEXT, subtitle TEXT, keyAssetUUID_0 INT, keyAssetUUID_1 INT, typeAndNumberOfAssets INT32, sortDate DOUBLE, UNIQUE(uuid_0, uuid_1));
CREATE TABLE gc(groupid INT, collectionid INT, PRIMARY KEY(groupid, collectionid));
CREATE VIRTUAL TABLE prefix USING fts5(content='groups', normalized_string, category UNINDEXED, tokenize = 'PSITokenizer');
CREATE TABLE IF NOT EXISTS 'prefix_data'(id INTEGER PRIMARY KEY, block BLOB);
CREATE TABLE IF NOT EXISTS 'prefix_idx'(segid, term, pgno, PRIMARY KEY(segid, term)) WITHOUT ROWID;
CREATE TABLE IF NOT EXISTS 'prefix_docsize'(id INTEGER PRIMARY KEY, sz BLOB);
CREATE TABLE IF NOT EXISTS 'prefix_config'(k PRIMARY KEY, v) WITHOUT ROWID;
CREATE TABLE lookup(identifier TEXT PRIMARY KEY, category INT2);
CREATE TRIGGER trigger_groups_insert AFTER INSERT ON groups BEGIN INSERT INTO prefix(rowid, normalized_string, category) VALUES (new.rowid, new.normalized_string, new.category); END;
CREATE TRIGGER trigger_groups_delete AFTER DELETE ON groups BEGIN INSERT INTO prefix(prefix, rowid, normalized_string, category) VALUES('delete', old.rowid, old.normalized_string, old.category); END;
CREATE INDEX group_pk ON groups(category, content_string, normalized_string, lookup_identifier);
CREATE INDEX asset_pk ON assets(uuid_0, uuid_1);
CREATE INDEX ga_assetid ON ga(assetid, groupid);
CREATE INDEX collection_pk ON collections(uuid_0, uuid_1);
CREATE INDEX gc_collectionid ON gc(collectionid);

Made a bunch of progress on this in https://github.com/dogsheep/photos-to-sqlite/issues/16 but I've got stuck on UUIDs. The psi.sqlite database stores them like this:

I can't work out how to convert those into the standard UUIDs that are stored in the ZUUID columns in the main Photos.sqlite database.

This seems to work, thanks to https://twitter.com/pkqk/status/1257512449575497729
def to_uuid(uuid_0, uuid_1):
    b = uuid_0.to_bytes(8, 'little', signed=True) + uuid_1.to_bytes(8, 'little', signed=True)
    return str(uuid.UUID(bytes=b)).upper()

Looks like @simonw cracked the code on this!  I'll work on adding this as a feature to osxphotos in a couple of weeks.  From an interface perspective, not sure what to call this.  maybe search_terms or image_classification?  Interface might be:
# list of all search terms in the database
PhotosDB.search_terms()

# by dict {term: photo_count}
PhotosDB.search_terms_as_dict()

# added to photos()
PhotosDB.photos(search_term=[])

# available by photo
PhotoInfo.search_terms

But, if I can figure out how to add associate confidence value with these, that might be a useful interface.  Could return term and confidence as a tuple?
Any thoughts on what would be useful/intuitive?

Looks like @simonw cracked the code on this!  I'll work on adding this as a feature to osxphotos in a couple of weeks.  From an interface perspective, not sure what to call this.  maybe search_terms or image_classification?  Interface might be:
# list of all search terms in the database
PhotosDB.search_terms()

# by dict {term: photo_count}
PhotosDB.search_terms_as_dict()

# added to photos()
PhotosDB.photos(search_term=[])

# available by photo
PhotoInfo.search_terms

But, if I can figure out how to add associate confidence value with these, that might be a useful interface.  Could return term and confidence as a tuple?
Any thoughts on what would be useful/intuitive?

Personally I like the word "label" to describe what's going on here - it's the output of a machine learning label classification task.

Traveling and don't have my computer but I was able to ssh to my Mac at home via iPad :-) so I played around a bit using @simonw's code to prototype this for osxphotos.  Trying to decode the categories in the groups table and so far have this:

1 to 12: various parts of the reverse geolocation data (1 is areas of interest and 12 is country)
1014: creation month
1015: creation year
2016: keyword
2017: title
2018: description
2021: person in image
2024: label from ML process
2029: holiday?
2030: season
2055: ? maybe favorite
2056: filename

I'm surprised albums and folders don't appear to be one of the search categories

I like @simonw's suggestion of labels as the name for this data but I also want to expose all the search terms.  So thinking of this:
PhotosDB.labels

PhotosDB.labels_as_dict

PhotoInfo.labels
# ^ really a shortcut for PhotoInfo.search_info.labels

PhotoInfo.search_info
# ^ returns a SearchInfo object if you want all the data

SearchInfo.labels
SearchInfo.season
#etc

# also implement __iter__ and __next__ for SearchInfo which would return iterator with all normalized search terms so you could do this:
if "word".lower() in photo.search_info:
	pass

It might be good to also provide a reverse index from label to all photos containing that label to make it fast to search the entire library
e.g. when processing psi.sqlite, also build a _db_label_uuuid dict in form {label: [list of uuids]}
Then add this to PhotosDB:
PhotosDB.photos(labels=[list of normalized terms])

@simonw osxphotos version 0.28.15 now includes properties for PhotoInfo.labels and PhotoInfo.labels_normalized as well as PhotosDB.labels, .labels_normalized, .labels_as_dict, .labels_normalized_as_dict to provide access to the label info.  PhotoInfo also includes a new .search_info property which returns a SearchInfo object which will eventually expose all the different categories in psi.sql.  Currently it only exposes .labels and .labels_normalized and it's not in the docs yet since it's incomplete.

Amazing! This is such a great project. Thanks very much for this.


pytorch_geometric/benchmark/kernel/diff_pool.py  doesn't run properly on gpu?

❓ Questions & Help

top
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
11238 sxm       20   0  0.098t 1.827g 398736 R  1153  2.9   5:14.37 python
very slow. Cpu usage is high and gpu usage is volatile.

reproduce:
dataset = IMDB-MULTI

I checked this and you are right. GPU usage is very low (this is expected because the model and datasets are small), and the bottleneck of the runtime is the ToDense transform for DiffPool.


View admins in the Admin Dashboard 👥

Description
See #247 for project overview.
Acceptance Criteria
This issue should:

Add a table to the /admins page which shows the following information about admins:

First Name
Last Name
Email
Access (Full / Ambassador)

There no need to worry about pagination for this since we won't ever have a ton of admins.
Additional Context

You can add the backend query (ie: listAdmins) in the core package. There is already an admin modules in the core package, you'll likely need to add a queries folder in that module.
You can find inspiration from our other pages in the Admin Dashboard that do something similar. See how we implemented the feature flags page as it'll be nearly identical.

I can take this after @BeteabTefera 's ticket

I can take this after @BeteabTefera 's ticket is implemented or we can coordinate

I would love to coo-rdinate!

Awesome, thanks y'all! Just assigned to you @reaganrazon!

@ramiAbdou Do you want the admins table to be viewed with the dashboard on the left? In the preceding issue, it said you can create a new file in routes called : "_profile.admins.tsx" but using this route would render a table on a screen by itself.
Attached are two images, one using _dashboard. and one using _profile.

Question is resolved!^


restrict keyword is not handled by norminette

Describe the bug
There are two problems that I've noticed while trying to use the restrict keyword:

When used inside a function prototype like, we get:

Error: MISSING_IDENTIFIER   (line:  xxx, col:  xxx):	missing type qualifier or identifier in function arguments

When used with a declared variable it works but it detects an extraneous empty-line after the variable, so for the norminette to display OK we need to not have an empty-line after the declaration.

I didn't see in the norm that this keyword is forbidden, so I'm assuming it's not handled by the norminette.
Erroneous code

1 void    foo(const char *restrict s)
2 {
3   (void)s;
4 }

Output:
Error: MISSING_IDENTIFIER   (line:  1, col:  24):	missing type qualifier or identifier in function arguments

1 #include <stdio.h>
2
3 int main(void)
4 {
5     const char *restrict s = "Hello World";
6
7     printf("%s\n", s);
8     return (0);
9 }

Output:
Error: EMPTY_LINE_FUNCTION  (line:  6, col:   1):	Empty line in function

And without the empty line at line 6 the output is:
main.c: OK!

But we should need an empty line after declarations so this one should be wrong
Additional infos

OS: Mac-OS Catalina 10.15.7
python --version: Python 2.7.16
python3 --version: Python 3.9.1
norminette -v: norminette 3.2.6

Additional context
Add any other context about the problem here.

Hello,
I believe this is not in the norminette's current scope, since restrict isn't used by the school C standard.
I'm deploying a fix anyway, but it's not optimal.
Thanks for the issue.


Update AvaloniaView.razor to use event callback factory

change to the razor code so the events are added to and invoked by the AspNetCore.EventCallbackFactory rather than an action pointer attached to the event
How was the solution implemented (if it's not obvious)?
moved the attribute point in the razor code to the event instead of the event handler

You can test this PR using the following package version. 0.10.999-cibuild0021036-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0021037-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


How to embed json variables with in a script tag as a variable

I would like to embed http post variable into a javascript local variable in the .hjs template file.
I have done this like given below.
In the route handler
app.post('/thankyou', function(req, res, next) {
	res.render('index',{ req: JSON.stringify(req.body) });
});

In the index.hjs file
<script>
var postvar = {{req}}
</script>

But json value printing in the final html like the following
<script>
var postvar = {"username":"sijo@example.com"}
</script>

Expected output is given below
<script>
var postvar =<EMAIL_ADDRESS></script>

Please give me a solution.

`

`

Now it working fine, I can't find this triple curly brackets anywhere on its readme file.
Where i can find the reference of this triple brackets ?
Thanks for your help.

http://mustache.github.io/mustache.5.html

All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple mustache: {{{name}}}.

Hogan uses Mustache - {{{var}}} is the syntax for outputting unescaped HTML, and can be found on the Mustache GitHub as referenced by the Hogan readme https://mustache.github.io/mustache.5.html

On 8 Feb 2016, at 09:11, sijo-vijayan<EMAIL_ADDRESS>wrote:
Now it working fine, I can't find this triple curly brackets anywhere on its readme file.
Where i can find the reference of this triple brackets ?
Thanks for your help.
—
Reply to this email directly or view it on GitHub.

Thanks for you help @ex1st @charliejlryan


Problem with ENUM

implementation("com.github.pozo:mapstruct-kotlin:<IP_ADDRESS>")
implementation("org.mapstruct:mapstruct:1.3.1.Final")
kapt("org.mapstruct:mapstruct-processor:1.3.1.Final")
kapt("com.github.pozo:mapstruct-kotlin-processor:<IP_ADDRESS>")

@Entity
class UserEntity(
        @Id
       var id: Long? = null,

        @Enumerated(EnumType.STRING)
        val type: ACCOUNT_TYPE)

@KotlinBuilder
data class UserDTO(val id: Long,
                   val type: ACCOUNT_TYPE)

enum class ACCOUNT_TYPE {
    S,
    M,
    C
}

error in generating builder class
public final class UserDTOBuilder {
  public UserDTO create() {
    return new UserDTO();
  }

  public static UserDTOBuilder builder() {
    return new UserDTOBuilder();
  }
}

DTO without Enum works perfect

Is there any update on this issue?

@Androidziak I couldnt work on this yet since I'm quite busy, so feel free to pick this issue if you would like.

@zloyreznic It's strange, I've tested this locally and it's working for me. If you have time could you please provide me a very basic project where you can reproduce this issue ?

@zloyreznic I just tried again with your classes and I've got
public final class UserDTOBuilder {
  private long id;

  private ACCOUNT_TYPE type;

  public UserDTOBuilder setId(long id) {
    this.id = id;
    return this;
  }

  public UserDTOBuilder setType(ACCOUNT_TYPE type) {
    this.type = type;
    return this;
  }

  public UserDTO create() {
    return new UserDTO(id, type);
  }

  public static UserDTOBuilder builder() {
    return new UserDTOBuilder();
  }
}

If you have time could you please provide me a very basic project where you can reproduce this issue ?

Closed due to inactivity.


Adding Tests

Added tests in  : tests/test_services/test_user_service.py

Commit to view the added tests - d1a3876


Refactoring of the tree implementations

This PR moves all tree implementations into _tree_implementations.

Codecov Report

Merging #132 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #132   +/-   ##
=======================================
  Coverage   93.26%   93.26%
=======================================
  Files          16       16
  Lines        1039     1040    +1
  Branches      174      174
=======================================
+ Hits          969      970    +1
  Misses         42       42
  Partials       28       28

Flag
Coverage Δ

#unittests
93.26% <100.00%> (+<0.01%)
:arrow_up:

Impacted Files
Coverage Δ

...ummingbird/ml/operator_converters/_gbdt_commons.py
100.00% <100.00%> (ø)

...rd/ml/operator_converters/_tree_implementations.py
98.10% <100.00%> (+0.72%)
:arrow_up:

...ummingbird/ml/operator_converters/decision_tree.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


HSEARCH-3217 Search 6 groundwork - Make sure the index schema definition DSL allows for non-standard or extended accessor types

https://hibernate.atlassian.net//browse/HSEARCH-3217
Essentially I only had to make sure that IndexSchemaFieldTypedContext does not extend IndexSchemaFieldTerminalContext, but only its sub-interfaces do (where relevant). This will allow us, in the future, to introduce new "typed contexts" whose terminal context is not exactly the same, i.e. it returns a different type of accessor that offers a different API, like for example an accessor that expects two values instead of one (the center of a circle and its radius). Not sure we will need it, but at least we'll be able to do it if need be.
You can find an example of what this would allow to change in our APIs in the HEAD commit of this branch: https://github.com/yrodiere/hibernate-search/tree/HSEARCH-3217_proofitworks
Looking back, it's not a very interesting change, nor a very useful one since we'll probably rework these APIs in HSEARCH-3291 . But it's done and doesn't hurt, so let's merge it?

Pull Request Test Coverage Report for Build 1

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.696%

Totals

Change from base Build 46:
0.0%

Covered Lines:
11319

Relevant Lines:
13056

💛  - Coveralls

Merged, thanks.


request for new technique

pressure injection; injection technique where pressure is used to inject a substance
request for new cell type: basket cell;  inhibitory GABAergic interneurons of the brain, found throughout different regions of the cortex and cerebellum

@ingrre thanks for those suggestions
I wonder what you mean with "pressure injection" precisely. Are not all injection substences injected using pressure? Do you mean high-pressure?
For "basket cell" would you like to enter a parent class for "basket cells" or would those two be sufficient?

neocortex basket cell (http://uri.interlex.org/base/ilx_0107351)
cerebellum basket cell (http://uri.interlex.org/base/ilx_0101964)

I wonder what you mean with "pressure injection" precisely. Are not all injection substences injected using pressure? Do you mean high-pressure?

No, not all injections are done using pressure. We even have one of the alternatives already in the system: https://github.com/HumanBrainProject/openMINDS_controlledTerms/blob/v1/instances/technique/iontophoreticMicroinjection.jsonld
So, pressure injection would be very useful to have (I also need that one for my own datasets 😆), and it exists in the method ontology: http://uri.interlex.org/ilx_0739660.

For "basket cell" would you like to enter a parent class for "basket cells" or would those two be sufficient?

neocortex basket cell (http://uri.interlex.org/base/ilx_0107351)
cerebellum basket cell (http://uri.interlex.org/base/ilx_0101964)

@ingrre and I talked quickly about this. Cerebellum basket cell will work perfectly for her use case. I would suggest to also add "basket cell". Will probably be useful for other datasets 😉

Thanks for your swift replies. Pressure injection as a technique is also described in this paper: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4828981/

So you would like to have an additional "child" term for injection which is already part of the terminology.
That is fine with me then.
I will also enter all basket cell terms :)
@UlrikeS91  and @ingrre thanks for explaining a bit more :grin:

@UlrikeS91 I'm doing the PR unless you already started?

@UlrikeS91 I'm doing the PR unless you already started?

Nope, go ahead ☺


Corrupt zip?

The zip file in v<IP_ADDRESS> seem to be impossible to open/extract

From https://github.com/progress/ADE/releases/tag/v<IP_ADDRESS> the zip from works fine for me.


[BUG] "Display Target Goal Amount And Overbudget Warning" broken with most recent YNAB update

Describe the bug
Most recent YNAB update broke "Display Target Goal Amount And Overbudget Warning" feature  by making it go all the way to the left.
To Reproduce
Open up YNAB.

Go to YNAB
Click on Budget
See error

Expected behavior
Goal number not directly under Goal column but next to category name.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows 10
Browser: Google Chrome
Toolkit Version: 2.23

Setting Export
Please replace the text below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the bottom left and copying the text in the modal which appears.
[{"key":"AccountsDisplayDensity","value":"1"},{"key":"AccountsEmphasizedOutflows","value":true},{"key":"AccountsStripedRows","value":false},{"key":"AutoDistributeSplits","value":false},{"key":"AutoEnableRunningBalance","value":false},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":"3"},{"key":"BottomNotificationBar","value":false},{"key":"BudgetCategoryFeatures","value":true},{"key":"BudgetProgressBars","value":"0"},{"key":"BudgetQuickSwitch","value":false},{"key":"BudgetSpendingGoal","value":false},{"key":"BulkManagePayees","value":false},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":"0"},{"key":"CategorySoloMode","value":"cat-toggle-all"},{"key":"ChangeEnterBehavior","value":true},{"key":"ChangeMemoEnterBehavior","value":false},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseSideMenu","value":false},{"key":"ColourBlindMode","value":false},{"key":"CompactIncomeVsExpense","value":true},{"key":"ConfirmKeyboardCancelationOfTransactionChanges","value":false},{"key":"CreditCardEmoji","value":false},{"key":"CurrentMonthIndicator","value":true},{"key":"CustomFlagNames","value":false},{"key":"DateOfMoney","value":true},{"key":"DaysOfBuffering","value":false},{"key":"DaysOfBufferingDate","value":false},{"key":"DaysOfBufferingHistoryLookup","value":"0"},{"key":"DeselectTransactionsOnSave","value":false},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"3"},{"key":"DisplayTotalMonthlyGoals","value":true},{"key":"DisplayUpcomingAmount","value":false},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":"0"},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"EnterToMove","value":false},{"key":"FilterCategories","value":true},{"key":"GoalIndicator","value":false},{"key":"GoalWarningColor","value":false},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":true},{"key":"HideClosedAccounts","value":false},{"key":"HideHelp","value":true},{"key":"HideReferralBanner","value":true},{"key":"HideTotalAvailable","value":true},{"key":"HighlightNegatives","value":false},{"key":"ImportNotification","value":"0"},{"key":"IncomeFromLastMonth","value":"0"},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":false},{"key":"LinkToInflows","value":true},{"key":"MonthlyNotesPopupWidth","value":"0"},{"key":"NavDisplayDensity","value":"2"},{"key":"NotesAsMarkdown","value":false},{"key":"POSStyleCurrencyEntryMode","value":false},{"key":"Pacing","value":"0"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":"0"},{"key":"QuickBudgetWarning","value":false},{"key":"ReconciledTextColor","value":"0"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":false},{"key":"ResizeInspector","value":false},{"key":"ResizeSidebar","value":false},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"0"},{"key":"RowsHeight","value":"0"},{"key":"SeamlessBudgetHeader","value":false},{"key":"SetMultipleFlags","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"SpareChange","value":false},{"key":"SplitTransactionAutoAdjust","value":false},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":false},{"key":"StripedBudgetRows","value":false},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"ToBeBudgetedWarning","value":false},{"key":"ToggleSplits","value":false},{"key":"ToggleTransactionFilters","value":"1"},{"key":"ToolkitReports","value":true},{"key":"ViewZeroAsEmpty","value":true},{"key":"l10n","value":"0"},{"key":"options.dark-mode","value":true}]

Not sure if related but looks like the Inspector Width was also affected by this.  Used to be situated all the way to the right of the screen and is now right next to the Redo function.

I've got both the problems mentioned here plus a change in the layout of the Register windows...  The "new look" is as follows:

I turned off the feature until a fix is released for toolkit. In the meantime, I'll click each category to see my goals. Oh wow, they released another update. Looks like my dark mode looks right again! ☺

Yes, it's definitely broken. The monthly goal appear right next to the category name. Also the Pacing column has been doubled.
Turning off Toolkit until it's been fixed.

I'm also experiencing this.

Another one for the list, not sure if it's toolkit or ynab, is that the Filter Categories search is not working...

Progress bar for goals is not showing either. Was working yesterday so I am guessing due to YNAB update.

I noticed the same. I also noticed in the register that 'reconciled' & 'scheduled' are stacked. Thought it might be an update, but now I'm not sure.

Possibly related to this bug request, although it looks like YNAB has made a change overnight that has thrown the alignment out of wack.

Goals no longer appear under the "Goal" column; instead of appearing next to the category name.
Activity values are no longer straight, as they appear to be affected by upcoming transactions.
The amount of value I have assigned to my credit cards for payment appears to be overlapping the pacing column.

Same, having this issue too. Disabling the Display Target Goals option will remove the dollar amount. But if you have "Add Goals Indication" on, it is also broken and appears beside the category name and the GOAL column will look like it's empty.

It looks like the li.budget-table-cell-name is no longer selected by .budget-table-header .budget-table-cell-name so this is no longer being applied which is causing the alignment issue https://github.com/toolkit-for-ynab/toolkit-for-ynab/blob/2b84abb46b7ae56aeda5b99e105be759cd907720/src/extension/features/budget/budget-category-features/goal-container.css#L1-L3
I was able to get it to align correctly by adding this to my css
.budget-table-cell-name {
    justify-content: space-between !important;
}

Looks like adding margin-left: auto to .toolkit-goal-table-cell will also realign them properly.

same issues as above.  Have turned the toolkit off for now.

I see all problems with YNAB change of release are fixed except for two:

there is a "?" covering the AVAILABLE title and
the credit card emoji does not appear

PS: Don't be suprised by the money values!!!  They are Argentine Pesos and not US$!!!!

Hey @Snackman88 the fix for this should be in our current release! If you notice the issue still exists and you're definitely running the newest version of the toolkit, please reopen! Thanks!
Please note, all browser can take up to an hour to provide updates to all users. You can force an update if it's available for you by going to chrome://extensions and clicking the "Update" button. Firefox users can go to about:addons, click the setting cog, and click "Check for updates...".


Editor deadlock trying to resolve circular dependency with class_name and preload

Moved from #72959 as it's unrelated to the OP:
I have the same error I am trying with the Godot RC 5, I have problem with the RC 4 too. But RC 3 i don't found that error.
Thats happen when the editor freezes

And I have a MRP:
https://github.com/MatiasVME/Spaceship3000
1a3dcd8f8eb85a1dab006e33e5dce566a6ae5edf
Maybe that is for another thread but idk =S
I am using Compativiity Mode and OpenGL API 3.3.0 NVIDIA 525.78.01 - Compatibility - Using Device: NVIDIA Corporation - NVIDIA GeForce GTX 1660 Ti
I can't open my project. If needed I create a more elaborated thread.
Originally posted by @MatiasVME in https://github.com/godotengine/godot/issues/72959#issuecomment-1445149920

I can confirm the issue.
Steps to reproduce

Clone https://github.com/MatiasVME/Spaceship3000, commit 1a3dcd8f8eb85a1dab006e33e5dce566a6ae5edf
Delete .godot, open in 4.0 RC 3: Opens and runs fine.
Delete .godot, open in 4.0 RC 4, RC 5, or latest master (c6443e9a4e2aa1a788e3ccb6e4b3bdaed21f90a0): Editor stalls when opening after the initial import of textures.
Kill the editor process, try to reopen: The editor now opens fine, but reports:

SCRIPT ERROR: Parse Error: Could not find type "Enemy" in the current scope.
          at: GDScript::reload (res://Game/Bullet/Bullet.gd:31)
SCRIPT ERROR: Parse Error: Could not find type "Player" in the current scope.
          at: GDScript::reload (res://Game/Bullet/Bullet.gd:34)

Trying to run the game likewise raises this error.
The class_name'd Enemy class indeed has a circular dependency on Bullet.tscn via a preload, and Bullet.tscn's script Bullet.gd uses is Enemy. This seemed to work in RC 3 but broke in RC 4+.

Occasionally trying to open the project in latest master and after removing .godot leads to a crash:
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.rc.custom_build (c6443e9a4e2aa1a788e3ccb6e4b3bdaed21f90a0)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib64/libc.so.6(+0x36940) [0x7f3e731a1940] (??:0)
[2] godot-git(FT_List_Find+0x2b) [0xa7980c3] (/home/akien/Projects/godot/godot.git/thirdparty/freetype/src/base/ftutil.c:255)
[3] godot-git(FT_Done_Face+0x96) [0xa78ee10] (/home/akien/Projects/godot/godot.git/thirdparty/freetype/src/base/ftobjs.c:2933)
[4] TextServerAdvanced::FontForSizeAdvanced::~FontForSizeAdvanced() (/home/akien/Projects/godot/godot.git/modules/text_server_adv/text_server_adv.h:293)
[5] void memdelete<TextServerAdvanced::FontForSizeAdvanced>(TextServerAdvanced::FontForSizeAdvanced*) (/home/akien/Projects/godot/godot.git/./core/os/memory.h:112)
[6] TextServerAdvanced::FontAdvanced::~FontAdvanced() (/home/akien/Projects/godot/godot.git/modules/text_server_adv/text_server_adv.h:338 (discriminator 3))
[7] void memdelete<TextServerAdvanced::FontAdvanced>(TextServerAdvanced::FontAdvanced*) (/home/akien/Projects/godot/godot.git/./core/os/memory.h:112)
[8] TextServerAdvanced::_free_rid(RID const&) (/home/akien/Projects/godot/godot.git/modules/text_server_adv/text_server_adv.cpp:392)
[9] TextServerAdvanced::free_rid(RID const&) (/home/akien/Projects/godot/godot.git/modules/text_server_adv/text_server_adv.h:672)
[10] FontFile::_clear_cache() (/home/akien/Projects/godot/godot.git/scene/resources/font.cpp:547 (discriminator 6))
[11] FontFile::~FontFile() (/home/akien/Projects/godot/godot.git/scene/resources/font.cpp:2593)
[12] void memdelete<FontFile>(FontFile*) (/home/akien/Projects/godot/godot.git/./core/os/memory.h:112)
[13] Ref<FontFile>::unref() (/home/akien/Projects/godot/godot.git/./core/object/ref_counted.h:223)
[14] Ref<FontFile>::~Ref() (/home/akien/Projects/godot/godot.git/./core/object/ref_counted.h:234)
[15] ResourceImporterDynamicFont::import(String const&, String const&, HashMap<StringName, Variant, HashMapHasherDefault, HashMapComparatorDefault<StringName>, DefaultTypedAllocator<HashMapElement<StringName, Variant> > > const&, List<String, DefaultAllocator>*, List<String, DefaultAllocator>*, Variant*) (/home/akien/Projects/godot/godot.git/editor/import/resource_importer_dynamic_font.cpp:232)
[16] EditorFileSystem::_reimport_file(String const&, HashMap<StringName, Variant, HashMapHasherDefault, HashMapComparatorDefault<StringName>, DefaultTypedAllocator<HashMapElement<StringName, Variant> > > const&, String const&, Variant*) (/home/akien/Projects/godot/godot.git/editor/editor_file_system.cpp:2029)
[17] EditorFileSystem::_reimport_thread(unsigned int, EditorFileSystem::ImportThreadData*) (/home/akien/Projects/godot/godot.git/editor/editor_file_system.cpp:2196 (discriminator 4))
[18] WorkerThreadPool::GroupUserData<EditorFileSystem, void (EditorFileSystem::*)(unsigned int, EditorFileSystem::ImportThreadData*), EditorFileSystem::ImportThreadData*>::callback_indexed(unsigned int) (/home/akien/Projects/godot/godot.git/./core/object/worker_thread_pool.h:152 (discriminator 4))
[19] WorkerThreadPool::_process_task(WorkerThreadPool::Task*) (/home/akien/Projects/godot/godot.git/core/object/worker_thread_pool.cpp:72)
[20] WorkerThreadPool::_native_low_priority_thread_function(void*) (/home/akien/Projects/godot/godot.git/core/object/worker_thread_pool.cpp:165)
[21] Thread::callback(Thread*, Thread::Settings const&, void (*)(void*), void*) (/home/akien/Projects/godot/godot.git/core/os/thread.cpp:67)
[22] void std::__invoke_impl<void, void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*>(std::__invoke_other, void (*&&)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*&&, Thread::Settings&&, void (*&&)(void*), void*&&) (/usr/include/c++/12/bits/invoke.h:61)
[23] std::__invoke_result<void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*>::type std::__invoke<void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*>(void (*&&)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*&&, Thread::Settings&&, void (*&&)(void*), void*&&) (/usr/include/c++/12/bits/invoke.h:97)
[24] void std::thread::_Invoker<std::tuple<void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*> >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul>(std::_Index_tuple<0ul, 1ul, 2ul, 3ul, 4ul>) (/usr/include/c++/12/bits/std_thread.h:258)
[25] std::thread::_Invoker<std::tuple<void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*> >::operator()() (/usr/include/c++/12/bits/std_thread.h:265)
[26] std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*> > >::_M_run() (/usr/include/c++/12/bits/std_thread.h:210)
[27] godot-git() [0xa909593] (/home/iurt/rpmbuild/BUILD/gcc-12-20230218/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/unique_ptr.h:95)
[28] /lib64/libc.so.6(+0x838ba) [0x7f3e731ee8ba] (??:0)
[29] /lib64/libc.so.6(+0xff47c) [0x7f3e7326a47c] (??:0)
-- END OF BACKTRACE --
================================================================
Aborted (core dumped)

That might be the same as the stall, just that I wait long enough for it to crash.

Tested with a local revert, I've confirmed this is a regression from #73647, CC @RandomShaper.
Seems in line with other reports of freeze on import by @Anixias and @mrTag in https://github.com/godotengine/godot/pull/73647#issuecomment-1444165966.

[2] godot-git(FT_List_Find+0x2b) [0xa7980c3] (/home/akien/Projects/godot/godot.git/thirdparty/freetype/src/base/ftutil.c:255)
[3] godot-git(FT_Done_Face+0x96) [0xa78ee10] (/home/akien/Projects/godot/godot.git/thirdparty/freetype/src/base/ftobjs.c:2933)

I have checked FreeType docs, seems like FT_New_Face/FT_Open_Face and FT_Done_Face are the only non thread safe part and probably need their own mutex.
But adding it do not fix this issue, so something else is broken as well. The test project still gets stuck on Loading resource: res://Game/Bullet/Bullet.tscn in the void ConditionVariable::wait<SafeBinaryMutex<1> >(MutexLock<SafeBinaryMutex<1> > const&) const (/godot/core/os/condition_variable.h:48).


Monitor Automatic Revive

Similar to #203 this should be monitored. A death-count now means that a harvest has failed to be transported. This should never happen hopefully.

9694f577127c187693daaef05c5e2641: 0 (32309028)
c3712ed19a0a13b0282ccdabe4a0f6aa: 0 (32327692)
64982aec4c678fa35ef10b63e05dcfc1: 0 (32407777)
5e43744fa806560e453a7650c2deca56: 0 (32432961)
babcb2098d6bc9bb02734f61e225018b: 0 (32562878)

fw update to 0.12.1 during this time, hence the low uptimes
9694f577127c187693daaef05c5e2641: 0 (347722514)
c3712ed19a0a13b0282ccdabe4a0f6aa: 0 (347799359)
64982aec4c678fa35ef10b63e05dcfc1: 0 (347811190)
5e43744fa806560e453a7650c2deca56: 0 (347882116)
babcb2098d6bc9bb02734f61e225018b: 0 (347919631)
seems good.

9694f577127c187693daaef05c5e2641: 0<PHONE_NUMBER>)
c3712ed19a0a13b0282ccdabe4a0f6aa: 0<PHONE_NUMBER>)
64982aec4c678fa35ef10b63e05dcfc1: 0<PHONE_NUMBER>)
5e43744fa806560e453a7650c2deca56: 0<PHONE_NUMBER>)
babcb2098d6bc9bb02734f61e225018b: 0<PHONE_NUMBER>)
seems good.

9694f577127c187693daaef05c5e2641: 0 (597617079)
c3712ed19a0a13b0282ccdabe4a0f6aa: 0 (516344532)
64982aec4c678fa35ef10b63e05dcfc1: 0<PHONE_NUMBER>)
5e43744fa806560e453a7650c2deca56: 0<PHONE_NUMBER>)
babcb2098d6bc9bb02734f61e225018b: 0<PHONE_NUMBER>)
0 death counts and this is most definitely an improvement from last time. I would say a great success (provided the logging code is correct also :P)! Possibly it would be interesting to know the number of soft and hard revives needed. But this will be another issue.
But I think we can close this issue and consider the crypto death to be fixed.


Add more autocompletion methods in OOP

At this moment, when you type __ge you only get hint about getattribute. However, there are ge,getitem,get method are also quite common in OOP design. It would be better if more autocompletion are given.

The reason __getattribute__ is provided as a suggestion is that the base class (object) implements this method, and pylance offers it as a potential method override. The object class doesn't implement __getitem__ or other methods starting with __ge, so those are not offered as override suggestions.


Codowners: Add owner for public contract

Pull Request Template
Description
Add code owner for public api changes.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
Assignee
Please add yourself as the assignee
Projects
Please add relevant projects so this issue can be properly tracked.

/cc: @sboshra , @bchong95


"tests/subsys/usb/device/" fails on reel_board.

Describe the bug
"tests/subsys/usb/device/" fails on reel_board.
To Reproduce

mkdir build; cd build
cmake -DBOARD=reel_board
make
make flash

Screenshots or console output
Booting Zephyr OS build zephyr-v1.14.0-1797-gb53ce02afdb8
Running test suite test_device
starting test - test_usb_dc_api_invalid
Assertion failed at ZEPHYR_BASE/tests/subsys/usb/device/src/main.c:157: test_usb_dc_api_invalid: (usb_dc_ep_set_callback(INVALID_EP, NULL) equal to TC_PASS)

usb_dc_ep_set_callback(INVALID_EP, NULL)
FAIL - test_usb_dc_api_invalid
starting test - test_usb_dc_api
Assertion failed at ZEPHYR_BASE/tests/subsys/usb/device/src/main.c:116: test_usb_dc_api: (usb_dc_set_address(0x01) not equal to TC_PASS)

usb_dc_set_address(0x01)
FAIL - test_usb_dc_api
starting test - test_usb_dc_api_read_write
PASS - test_usb_dc_api_read_write
starting test - test_usb_dc_api_invalid
Assertion failed at ZEPHYR_BASE/tests/subsys/usb/device/src/main.c:127: test_usb_dc_api_invalid: (usb_dc_ep_set_stall(INVALID_EP) equal to TC_PASS)

usb_dc_ep_set_stall(INVALID_EP)
FAIL - test_usb_dc_api_invalid
starting test - test_usb_deconfig
PASS - test_usb_deconfig
starting test - test_usb_disable
ASSERTION FAIL [m_drv_state == NRFX_DRV_STATE_POWERED_ON] @ ZEPHYR_BASE/ext/hal/nordic/nrfx/drivers/src/nrfx_usbd.c:1880
[00:00:00.005,828]  usb_nrfx.usbd_work_process_pwr_events: USB detected
--- 29 messages dropped ---
[00:00:00.005,828]  usb_nrfx.hf_clock_enable: HF clock start success (-68)
[00:00:00.006,011]  usb_device.composite_setup_ep_cb: set cb, ep: 0x81
[00:00:00.006,011]  usb_nrfx.usb_dc_ep_enable: EP enable: 0x00
[00:00:00.006,042]  usb_nrfx.usb_dc_ep_enable: EP enable: 0x80
[00:00:00.006,896]  usb_nrfx.usbd_work_process_pwr_events: USB Powered
[00:00:00.010,009]  usb_nrfx.hf_clock_enable: HF clock stop success (0)
[00:00:00.010,009]  usb_nrfx.usbd_work_process_pwr_events: USB Removed
[00:00:00.036,163]  usb_nrfx.usbd_work_process_pwr_events: USB detected
[00:00:00.036,193]  usb_nrfx.hf_clock_enable: HF clock start success (-68)
[00:00:00.037,261]  usb_nrfx.usbd_work_process_pwr_events: USB Powered
[00:00:00.040,344]  usb_nrfx.hf_clock_enable: HF clock stop success (0)
[00:00:00.040,344]  usb_nrfx.usbd_work_process_pwr_events: USB Removed
[00:00:00.062,530]  usb_nrfx.usbd_work_process_pwr_events: USB detected
[00:00:00.062,561]  usb_nrfx.hf_clock_enable: HF clock start success (-68)
[00:00:00.063,598]  usb_nrfx.usbd_work_process_pwr_events: USB Powered
[00:00:00.066,711]  usb_nrfx.hf_clock_enable: HF clock stop success (0)
[00:00:00.066,711]  usb_nrfx.usbd_work_process_pwr_events: USB Removed
[00:00:00.074,584]  usb_nrfx.usb_dc_ep_read: ep_read: ep 0x20, maxlen 1
[00:00:00.074,615]  usb_nrfx.usb_dc_ep_write: ep_write: ep 0x20, len 1
[00:00:00.086,059]  usb_nrfx.usbd_work_process_pwr_events: USB detected
[00:00:00.086,090]  usb_nrfx.hf_clock_enable: HF clock start success (-68)
[00:00:00.087,158]  usb_nrfx.usbd_work_process_pwr_events: USB Powered
[00:00:00.087,310]  usb_nrfx.usb_dc_ep_set_stall: STALL on EP 0x20
[00:00:00.103,546]  usb_nrfx.hf_clock_enable: HF clock stop success (0)
[00:00:00.103,576]  usb_nrfx.usbd_work_process_pwr_events: USB Removed
[00:00:00.114,776]  usb_nrfx.usbd_work_process_pwr_events: USB detected
[00:00:00.114,807]  usb_nrfx.hf_clock_enable: HF clock start success (-68)
[00:00:00.115,875]  usb_nrfx.usbd_work_process_pwr_events: USB Powered
[00:00:00.118,957]  usb_nrfx.hf_clock_enable: HF clock stop success (0)
[00:00:00.118,988]  usb_nrfx.usbd_work_process_pwr_events: USB Removed
Kernel Panic!
Current thread ID = 0x200016d4 (unknown)
Faulting instruction address = 0xb686

It does not depend on the reel board, similar behavior on nrf52840_pca10056. There are some incompatibilities between usb_dc_nrfx driver and device test. I will look at it.

Thanks for fixing it.


configs: Jason's suggestions for power model

Here's some suggestions for improvements on the power model.
Overall, it's going in the right direction. I have a lot of changes that are simple python style things, and a few other changes here.
I've put some comments in about what I would have commented on a PR. Feel free to ask any questions about why I changed things.
I also extended the arm-hello.py example with the power model for testing. One really cool thing that I found is since this is all in python iterating on the power model is incredibly quick! You don't have to recompile or anything.
One issue that's going to arise is that getting the vector stats doesn't seem to work. I'll work with Bobby on this.

Thanks for the feedback, Jason. These all look good to me, but I have a couple of questions:

Lines 22/23 in alu_power_model.py: I noticed that the in-order CPU refers to int ALU accesses as numIntAluAccesses, while O3 refers to them as intAluAccesses, is this small difference intentional? If not, is this something I should correct locally?
Line 68 in arm_hello.py: In your comment to put the power model in an extended core class, for clarity: does this mean we should try to integrate the power model directly with the O3/Simple/etc core classes? Or simply that we apply the power model per core, then tie them all together with a CPU power model?
For all files: In gem5, do names not leading with an underscore (e.g self.name) refer to SimObj properties, and not for a class itself?
For all files: Is there a reason why we should immediately panic if we cannot find a stat instead of telling the user it DNE, and zeroing it out?

Thanks for the feedback, Jason. These all look good to me, but I have a couple of questions:

Lines 22/23 in alu_power_model.py: I noticed that the in-order CPU refers to int ALU accesses as numIntAluAccesses, while O3 refers to them as intAluAccesses, is this small difference intentional? If not, is this something I should correct locally?

I think the stats might be named slightly differently. However, I don't remember. You should test this.

Line 68 in arm_hello.py: In your comment to put the power model in an extended core class, for clarity: does this mean we should try to integrate the power model directly with the O3/Simple/etc core classes? Or simply that we apply the power model per core, then tie them all together with a CPU power model?

At some point, after we have developed a working power model that is somewhat "complete" (I don't know how/when we will decide this), then we will extend the classes in src/python/gem5/components to have power models. This is the path toward upstreaming the code. Before we do that, though, we should like what we have.

For all files: In gem5, do names not leading with an underscore (e.g self.name) refer to SimObj properties, and not for a class itself?

See https://github.com/gem5/gem5/blob/stable/src/python/m5/SimObject.py#L819 and https://github.com/gem5/gem5/blob/stable/src/python/m5/SimObject.py#L859 (mostly the second one).
This code says that if the name starts with _, then just set it like a normal python attribute. Otherwise, if it's a port, connect it, if it's a param, set the parameter value, and otherwise, assume that it's a child SimObject.
To answer your question, names without a leading underscore either refer to a SimObject parameter, a Port, or a child `SimObject.

For all files: Is there a reason why we should immediately panic if we cannot find a stat instead of telling the user it DNE, and zeroing it out?

Yeah, definitely. Think of this from a users' perspective. What happens if they miss that warning and get an answer of 12W and then publish that in a paper? If a user specifies they want to use a statistic and it silently (or quietly) is ignored, this will cause unexpected problems. We should avoid presuming to know what the user wants.

I think the stats might be named slightly differently. However, I don't remember. You should test this.

I ran the modified power model you gave me on x86-hello.py, using both TimingCPU and  O3CPU, and it does appear that on O3 there exists intAluAccesses on the root of the core (so cores.core.intAluAccesses). But, on Timing, it's under the execute stats per core.

At some point, after we have developed a working power model that is somewhat "complete" (I don't know how/when we will decide this), then we will extend the classes in src/python/gem5/components to have power models. This is the path toward upstreaming the code. Before we do that, though, we should like what we have.

Would a good starting point of "completion" be when we've validated the power model for a CPU (some base, possibly O3 based on some OoO CPU) with known activation energies, running some benchmarks?

See https://github.com/gem5/gem5/blob/stable/src/python/m5/SimObject.py#L819 and https://github.com/gem5/gem5/blob/stable/src/python/m5/SimObject.py#L859 (mostly the second one).
This code says that if the name starts with _, then just set it like a normal python attribute. Otherwise, if it's a port, connect it, if it's a param, set the parameter value, and otherwise, assume that it's a child SimObject.
To answer your question, names without a leading underscore either refer to a SimObject parameter, a Port, or a child SimObject.

Yeah, definitely. Think of this from a users' perspective. What happens if they miss that warning and get an answer of 12W and then publish that in a paper? If a user specifies they want to use a statistic and it silently (or quietly) is ignored, this will cause unexpected problems. We should avoid presuming to know what the user wants.

Thanks for the clarity on both of these. I agree, it probably wouldn't be a good idea to allow non-existent stats to sneak through results.

Thanks @powerjg for the feedback, this is helpful.  A few thoughts:

In the example @poal023 put together, he had a "list" of components and then a loop that went through and integrated them.  Your updates removed this loop in favor of listing out the parts with additions between them.  When there are relatively few pieces for a given power model, this seems ok, but what if there are many (e.g., > 10)?  In this case, it feels like the loop structure would be superior ...
Your updated example also removed the 4 classes for SRAM Retention, Clock Gating, etc. for all but the overall CPU model.  Just curious why you did that?  It seems like, if support for these alternatives were ever added, then we'd end up needing to add 3 more classes for each component to model them.  Maybe I'm missing why removing this part is a good idea?
Can you comment more on why accessing the stats multiple times may return different values?  Unless there is an m5op that affects the stats between the two calls, it seems like they should return the same thing ... maybe just the stat gets updated in the meantime by the program?

Ultimately though, my takeaway from this is, barring some small formatting and other issues, we're on the right track and @poal023 should continue forward with creating a full model say for MinorCPU -- then we should check that before continuing onto other CPUs or components.  Let me know if you disagree though :)

Thanks @powerjg for the feedback, this is helpful. A few thoughts:

In the example @poal023 put together, he had a "list" of components and then a loop that went through and integrated them.  Your updates removed this loop in favor of listing out the parts with additions between them.  When there are relatively few pieces for a given power model, this seems ok, but what if there are many (e.g., > 10)?  In this case, it feels like the loop structure would be superior ...

It's all about readability. Remember, we should optimize for people reading the code, not for ourselves writing the code. We write the code once and read it 100s-1000s of times. IMO, code is not about communicating from human to the machine (though we do use it that way). It's more about communicating human to human. This is why, say, Python is better than assembly language or punch cards :D).

Your updated example also removed the 4 classes for SRAM Retention, Clock Gating, etc. for all but the overall CPU model.  Just curious why you did that?  It seems like, if support for these alternatives were ever added, then we'd end up needing to add 3 more classes for each component to model them.  Maybe I'm missing why removing this part is a good idea?

I go by the rule of "if the code isn't used, delete it." If we need more power models later, we can add them. There's always history in git (if you have good commits and good commit messages :)).

Can you comment more on why accessing the stats multiple times may return different values?  Unless there is an m5op that affects the stats between the two calls, it seems like they should return the same thing ... maybe just the stat gets updated in the meantime by the program?

Yeah. Say you're using the total instruction count. If you access it at time 1us and at time 1ms it will have different values. I'm a bit concerned about this in the longer term (i.e., after our initial implementation) because this essentially means we'll be finding the average power over longer and longer time periods. We probably don't want to reset all the stats every, say 1ms. So, we'll have to figure out how to solve this problem.

Ultimately though, my takeaway from this is, barring some small formatting and other issues, we're on the right track and @poal023 should continue forward with creating a full model say for MinorCPU -- then we should check that before continuing onto other CPUs or components. Let me know if you disagree though :)

Yes, definitely!


Docs: fix module id for ttl and deadletter examples

Type of change

Documentation

Description

Docs: fix module id for TTL and deadletter examples
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[x] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

Can one of the admins verify this patch?


Giant pull request

Too many changes to be reviewed but maybe we can start a dialog on merging.

Hi!
I haven't look through all yet, but I like what I've seen done so far. I'm probably going to accept this pull-request. Travis build passes and it can be merged without any conflicts. Good job! Since it's a big merge, I'll have to do some additional QA on it before I merge it into master.

@haleystorm: I've finished QA. Accept from some minor coding-style differences between existing and new code, all looks really good. So I can happily merge this pull-request. Your effort is much apprecieted. Thanks!

Oh and thanks for accepting my pull request! This is my first contribution to an open source project. So excited.

@haleystorm: Yes, I hit the same problem when looking into why the unit test suddenly broke. Travis did no report the error because a configuration error which skipped all tests by default. After fixing that, unit tests broke in a way indicating that the leaflet.js was not loaded any more.
Cause: I found out after some digging that you had changed the external library inclusion strategy to solve the problem with Cross-Site-Iframe linker no longer accepting script-tags in module files (default enabled in GWT 2.7.0 in dev mode). Since external libraries after the change requires all external libraries to be manually added in html, unit tests in gwtl-core, which depends on htmlunit, broke because htmlunit is headless (no html) and can therefore not know about the dependency on leaflet.js.
Resolution: I've kept your strategy with one slight change. Instead of adding external resources to the default folder public (in the resource folder), I added all external libraries into a new folder called client instead (rename). which allows me to implement a ClientBundle which injects external javascript which unit tests depends into the module only when testing. Note that all public resources are still copied to libs folder in all maven artifacts as before.
Important:

You'll need to merge/rebase these changes back into your fork. As a bonus, this will also enable unit testing again, which will prevent the same type error occurring again.
We need to document the new external library inclusion strategy, since all existing uses of gwt-leaflet will break until script and stylesheet tags are added manually.

I'll keep looking into solutions which allow users to inject libraries automatically without any need for manual inclusion of script and stylesheet tags in html .

I think your solution is probably the only way forward. If we keep the old strategy and just add <set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>, this will probably keep getting us into trouble later on (found several advocates for this view googling the problem) as super dev mode becomes the default way of working. Do you have any take on this?

Sounds good to me. I haven't been using super dev mode but many projects do. I can add the new external library inclusion strategy to the README.


Would be nice to be able to merge metadata columns when doing an analysis

I remember there being functionality in the past (I think in the old QIIME database) where one could merge info in two different metadata categories "on the fly" when doing an analysis. I thought that this functionality was pretty convenient/useful.

Agree but I think this would be nicer on the visualization per se. For example, within Emperor. As predefining the categories that you want to merge means that you already know what you are looking for, which is not generally the case. What do you think @clozupone?

Yes, I agree - I think adding to emperor would be better. I can add as a feature request there instead….
Thanks!
Cathy
On Aug 26, 2015, at 11:10 AM, Antonio Gonzalez <notifications<EMAIL_ADDRESS>wrote:
Agree but I think this would be nicer on the visualization per se. For example, within Emperor. As predefining the categories that you want to merge means that you already know what you are looking for, which is not generally the case. What do you think @clozuponehttps://github.com/clozupone?
—
Reply to this email directly or view it on GitHubhttps://github.com/biocore/qiita/issues/1446#issuecomment-135110666.

If adding to emperor, it might be worth considering how to export the new categories from emperor so that they can be used for all the other analyses in qiime/qiita after they’ve been manually refined?

On Aug 26, 2015, at 10:16 AM, clozupone<EMAIL_ADDRESS>wrote:
Yes, I agree - I think adding to emperor would be better. I can add as a feature request there instead….
Thanks!
Cathy
On Aug 26, 2015, at 11:10 AM, Antonio Gonzalez <notifications<EMAIL_ADDRESS>wrote:
Agree but I think this would be nicer on the visualization per se. For example, within Emperor. As predefining the categories that you want to merge means that you already know what you are looking for, which is not generally the case. What do you think @clozuponehttps://github.com/clozupone?
—
Reply to this email directly or view it on GitHubhttps://github.com/biocore/qiita/issues/1446#issuecomment-135110666.
—
Reply to this email directly or view it on GitHub https://github.com/biocore/qiita/issues/1446#issuecomment-135112024.

I'm not sure we want to store the merged column in the metadata DB as it will create duplicated fields. However, we could find a way to save those combinations in the analysis. One way that comes to mind is the idea of saving Emperor status via the URL, which you then could save in your analysis and put a description. Then you could share it with other users, as described here: https://github.com/biocore/qiita/issues/1444. What do you think?

@antgonza we might be able to put that column back in the mapping file for the analysis, but do not modify the templates of the actual studies, as those columns might be the result of merging 2 columns from 2 different studies.

I agree, this feature would fit great in emperor and being able to export newly created mapping files will also be tremendously helpful! I also think that Qiita should be capable of creating new columns in the mapping file mainly to make it easier to extend the usability of other tools/scripts that are not as interactive, think of statistical tests, taxa summaries, etc.

@ElDeveloper This is the third or fourth issue I've found related to exporting metadata from Emperor, can we do a status update on whether that idea was abandoned for lack of time or lack of merit?

Emperor is still in development (Q2 version), slowly but still moving ...

Right, and for this the main thing that Emperor would need is an
endpoint in the server that it can ping when such an action is
triggered. We also need a way to select samples in a lasso-kinda
fashion, which happens to be kinda complicated in WebGL.
On (Oct-11-17|12:31), Antonio Gonzalez wrote:

Emperor is still in development (Q2 version), slowly but still moving ...
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/biocore/qiita/issues/1446#issuecomment-335793931

@adswafford & @ElDeveloper, should we move this issues to https://github.com/biocore/emperor so they are not buried in here ...

+1
On (Sep-21-18|14:49), Antonio Gonzalez wrote:

@adswafford & @ElDeveloper, should we move this issues to https://github.com/biocore/emperor so they are not buried in here ...
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/biocore/qiita/issues/1446#issuecomment-423558596


Phone Numbers are Empty

flutter_contacts: ^1.1.1+2
Tested on Android 6 on Samsung & Android 11 on Vivo
It fetches all contacts with id & display name, but all the other fields are empty!

It's my mistake to read the documents clearly.
Inorder to get phone numbers, i must set properties = true
await FlutterContacts.getContacts(withProperties: true);
Please update this issue on readme clearly.


Gradio/Streamlit demo on Huggingface Space

just putting it here as a note to myself :)

Looks like it is now possible to do live speech processing in Gradio.
There has also been some success in doing live audio processing in Streamlit.

Both Gradio and Streamlit are supported by Huggingface Spaces.

Do we have the code to implement the DIART in gradio for a demo?

Hi @shanky100, these demos haven't been implemented yet. If you're up for it this would be a great contribution!


Method arguments in anonymous class with super class are not respected

If an anonymous class with a super class redefines a super method with different number of arguments, Sorbet still uses the super method's parameters count for type-checking. This happens on constructor method, instance methods, and class methods.
Input
→ View on sorbet.run
# typed: true

class Foo
  def initialize(a)
  end

  def self.bar(a); end
end

r = Class.new(Foo) do
  def initialize(a, b)
  end

  def self.bar(a, b); end
end

r.new(1, 2)
r.bar(1, 2)

Observed output
editor.rb:17: Too many arguments provided for method Foo#initialize. Expected: 1, got: 2 https://srb.help/7004
    17 |r.new(1, 2)
                 ^
    editor.rb:4: initialize defined here
     4 |  def initialize(a)
          ^^^^^^^^^^^^^^^^^
  Autocorrect: Use -a to autocorrect
    editor.rb:17: Delete
    17 |r.new(1, 2)
               ^^^

editor.rb:18: Too many arguments provided for method Foo.bar. Expected: 1, got: 2 https://srb.help/7004
    18 |r.bar(1, 2)
                 ^
    editor.rb:7: bar defined here
     7 |  def self.bar(a); end
          ^^^^^^^^^^^^^^^
  Autocorrect: Use -a to autocorrect
    editor.rb:18: Delete
    18 |r.bar(1, 2)
               ^^^
Errors: 2

Expected behavior
There should be no Too many arguments provided for method errors.

This works if you assign Class.new's result to a constant name: sorbet.run
See also #6568 and various linked issues.  I doubt we are ever going to support anonymous classes in their full generality.

I see, thanks for the context.
I just want to mention that needing to assign it to a constant greatly limits anonymous classes' use case as we often do it exactly to avoid creating another constant (e.g. for test cases) 😅


[Bug][TCGC] TCGC introduces anonymous model for LRO operation

There is anonymous model introduced when handle LRO operation.
Spec:
https://github.com/Azure/azure-rest-api-specs/tree/63dc797c014849ef0c5da7eb91197975efb6a474/specification/devcenter/DevCenter
The anonymous model is the response of LRO operation CreateDevBox

The __raw_lro_metadata is transparent passed from azure core lib. TCGC do nothing for it.

In this PR, we aim to add LRO related models. But it seems this PR does not add logic to anonymous model naming part which should be a bug. @archerzz could you take a look?

See below definition for defining RPC LRO.
model LroOperationStatus<TStatusResult = never, TStatusError = Foundations.Error> {
    @key("operationId")
    @visibility("read")
    id: Azure.Core.uuid;

    @visibility("read")
    @lroStatus
    status: JobStatus;

    @visibility("read")
    createdDateTime?: utcDateTime;

    @visibility("read")
    expirationDateTime?: utcDateTime;

    @visibility("read")
    lastUpdateDateTime?: utcDateTime;

    error?: TStatusError;
    result?: TStatusResult;
  }

  op LroLongRunningRpcOperation<
    TParams extends TypeSpec.Reflection.Model,
    TResponse extends TypeSpec.Reflection.Model,
    Traits extends {} = {}
  > is Azure.Core.RpcOperation<
    TParams & RepeatabilityRequestHeaders,
    Foundations.AcceptedResponse<LroLongRunningStatusLocation<TResponse> &
      Foundations.RetryAfterHeader> &
      RepeatabilityResponseHeaders &
      LroOperationStatus,
    Traits
  >;

  @route("/jobs/{id}")
  op getJob is LroLongRunningPollOperation<JobResult>;

  @pollingOperation(LongRunning.getJob)
  @route("/jobs")
  op createJob is LroLongRunningRpcOperation<
    {
      @body body: JobData;
    },
    JobResult
  >;

LroOperationStatus model is initial response, and should not be generated. But TCGC will return the model with name LroOperationStatusError and 'public' access, thus after adopting TCGC's access, this model will be generated, which is incorrect.

This is raw input, not TCGC SdkLroServiceMetadata

@markcowl Would you mind if you could take a look at this issue? I think finalEnvelopResult is not correct.
See https://github.com/Azure/azure-rest-api-specs/blob/63dc797c014849ef0c5da7eb91197975efb6a474/specification/devcenter/DevCenter/DevBox/routes.tsp#L63-L68
@finalOperation(DevBoxes.getDevBoxByUser)

And getDevBoxByUser is defined here: https://github.com/Azure/azure-rest-api-specs/blob/63dc797c014849ef0c5da7eb91197975efb6a474/specification/devcenter/DevCenter/DevBox/routes.tsp#L50
getDevBoxByUser is StandardResourceOperations.ResourceRead<DevBox>;

finalEnvelopResult should not be an anonymous model.

This issue has been resolved in recent changes in LRO, probably related to the clean-up plan described in the loop page. I used the latest codes to parse the DevCenter definition again, and the return type is not an anonymous model. Now it's the correct type DevBox, as I mentioned in the comment above.


How to set region of ECR repo?

We have ECR repositories in multiple regions — how can we configure this plugin so that it pushes to a given region?
Seeing as this plugin uses aws cli, I figured that we may be able to configure it as follows:
- branches: stable
    label: ":ecr: Stable image (me-south-1)"
    env:
      AWS_DEFAULT_REGION: me-south-1
    plugins:
      - seek-oss/docker-ecr-publish#v1.2.0:
          ecr-name: calibre/reporter
          tags:
            - stable

This returns an error, stating: An error occurred (RepositoryNotFoundException) when calling the DescribeRepositories operation: The repository with name 'calibre/reporter' does not exist in the registry with id '<account id removed from paste>

Hmmm. Should it be like
- branches: stable
    label: ":ecr: Stable image (me-south-1)"

    plugins:
      - seek-oss/docker-ecr-publish#v1.2.0:
          ecr-name: calibre/reporter
          tags:
            - stable
          env:
            AWS_DEFAULT_REGION: me-south-1

?

I'm not sure. Maybe! I ended up adding a bash script and moved on. Thanks for looking @runk


Can the project roadmap be added to the Readme.md file?

Please add project roadmap to the Readme.md file.

We have published our roadmap for an upcoming feature, which can be accessed here: https://github.com/nafishahmeddev/fintracker/blob/master/roadmap.md

Hi nikhil we have added roadmap for the upcoming feature. Thanks for your
effort.
On Sat, 10 Aug 2024 at 09:36, Nikhil Dubbaka @.***>
wrote:

Please add project roadmap to the Readme.md file.
—
Reply to this email directly, view it on GitHub
https://github.com/nafishahmeddev/fintracker/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMREHBCVE3ZIY5DWDVXSSY3ZQWGWFAVCNFSM6AAAAABMJPKIXWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TQOBYGQ3TSOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Unable to see player(s)

I am not able to create a lootsheet, that is able to be seen by everyone. There are only a few people that are able to see the the sheet itself.
It has something to do with the permissions, but the thing is, is that I don't see all my registered players.
If someone would be able to help, that's be great!

Make sure every player is associated with their character. You do this from the bottom left player list.
On Feb 16, 2024 at 9:20 AM -0800, Victionator @.***>, wrote:

I am not able to create a lootsheet, that is able to be seen by everyone. There are only a few people that are able to see the the sheet itself.
It has something to do with the permissions, but the thing is, is that I don't see all my registered players.
If someone would be able to help, that's be great!
Merchant.PNG (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

If you mean that every player should have their character, I've already done that aswell.

Ok, are you on dnd5e 3 yet or still on 2.4? I can take a look at this sometime soon, I hope.
On Feb 16, 2024 at 9:25 AM -0800, Victionator @.***>, wrote:

image.png (view on web)
If you mean that every player should have their character, I've already done that aswell.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

I'm running Foundry on 2.4

I have the same issue. I associated the players and nothing is showing in the permissions. I{ have the same issue in innocent loot where the players are not showing.


[WIP] Set config_kwargs for orchestrate_build plugin

Signed-off-by: Luiz Carvalho<EMAIL_ADDRESS>

Marked as Work in Progress because it needs further testing.

@twaugh modified tests to create a Configuration object for a more realistic check (and caught a couple of discrepancies, thank you!).
Removing `[WIP]' from title as my personal integration tests were successful.


Credit/debit sign

lunchable version: 1.3.3
Python version: 3.10.12
Operating System: Windows 11 WSL2

Description
Negative amount values in a transaction are converted to positive values in the lunchmoney webui
What I Did

# set API
# set asset_id

tx_dict={}
tx_dict['date'] = '2024-06-30'
tx_dict['amount'] = '60'
tx_dict['category'] = 'Groceries'
tx_dict['payee'] = 'sobeys2'
tx_dict['type'] = 'debit'
user_category = get_lunchmoney_categories()

new_transaction = lmtrans.TransactionInsertObject(
    date= tx_dict['date'],
    amount= float(tx_dict['amount']),
    category_id= user_category[tx_dict['category']],
    notes= None,
    payee= tx_dict['payee'],
    type = tx_dict['type'],
    asset_id = my_asset_id,
    status="cleared"
)
# tx.append(new_transaction)
lunchmoney.insert_transactions(transactions=[new_transaction], skip_duplicates=True)

If tx_dict['amount'] = '60', then this is shown as negative in the lunchmoney webui
If tx_dict['amount'] = '-60' then this is shown as psitive in the lunchmoney webui

Hey @Chrismarsh, lunchable simply sends the data to the Lunch Money developer API - I think you're describing the default behavior of the API treatment of negative/positive values as credits/expenses?
You should check out the debit_as_negative parameter of the insert_transactions method if you want to change the behavior.

If true, will assume negative amount values denote expenses and positive amount values denote credits. Defaults to false.

https://juftin.com/lunchable/reference/models/transactions/#lunchable.models.transactions.TransactionsClient.insert_transactions
https://lunchmoney.dev/#insert-transactions

I'm closing this issue for now - if you think this is an actual product with lunchable's implementation of the LunchMoney developer API please feel free to follow up and re-open this issue.


Multichip hang when running in non-blocking mode

Continuation of #6363
If you run on agrebenisan/issue-6363-with-stash, you will observe the following

R chip successfully completes first two programs and relays command with event back to ethernet bidir tunneller core
Bidir tunneller never enters API which forwards this command back to L chip

On a t3000 machine, run the following
TT_METAL_DPRINT_CHIPS=0,1,2,3,4,5,6,7 TT_METAL_DPRINT_ETH_CORES="(0,1),(0,9)"  TT_METAL_DPRINT_CORES=all TT_METAL_WATCHER=40 python -m pytest tests/tt_eager/python_api_testing/unit_testing/misc/test_all_gather.py -k "post_commit and looping and  200-mem_config1-input_dtype1-8-1-input_shape2-3-layout2"

Thanks for opening this up. Might be related: https://github.com/tenstorrent-metal/tt-metal/issues/6388. no solid evidence. Just making the association so I can try that one after this is fixed.

The hangs we're consistently seeing with program cache enabled on remote chips, is due to bidirectional tunneller not observing the max cmd slots for tensix cores, therefore it can end up in a deadlock scenario where the issue path is trying to forward more cmds when the remote pull and push kernel is blocked trying to send cmds back through the completion path.
With fix bdc566044, I am able to run the test here many times, no hangs. I also tried Falcon40B 60 layers with program cache on 8 chips, it's now passing consistently.
The bug can affect any remote chip test (e.g. device 4,5,6,7 on T3000), please try commit with any reported hangs.

Can this be closed?

yes


Invalid version string

That's not up to date:
https://github.com/SkyLothar/lua-resty-jwt/blob/6de92897ec6fab063d889b33baf6600df3b6f942/lib/resty/jwt.lua#L7

👍  thanks, going to fix it right now!

fixed in 0.1.8


Revamp UI to a Mission Impossible theme #75 - Prettify UI

#75 Customized the UI of the application.
This is in reference to the UI shown on the Slack channel.

Splendid @kb-studios ! Merging the PR!


Issue with navigator and windows version in react-native

Hi Guys I'm using the windows plugin in my react-native project, I only have in my project a navigator with 4 pages empty, I have tested this navigator in an android emulator and it worked perfectly but after I applied these commands :
npm install --save-dev rnpm-plugin-windows
react-native windows
react-native run-windows
I received in the windows version of the project this error message 👍
TypeError: Cannot read property 'Direction' of undefined
I'm using React Navigation V5 with react-native-gesture-handler.
Any help will be appreciate.
thank you

Hello!
Thanks for trying this out. react-navigation module is not supported in Windows yet. See Issue 3884 in the main repo where this is being discussed. We are working on it right now and hope to have it really soon!
I am closing this issue so we can continue the conversation in the main repo where the implementation occurs.
Thanks!


Updated: wps-office <IP_ADDRESS>70

Newer version of wps-office (<IP_ADDRESS>52) is now available in master. ac70e6ccfdca4fd31422b1affffba835d68aad61


Terraform deployment fails with the given instructions

Lab instructing about terrafom CICD fails with terraform init stage error.
Followed the instructions from lab , stil

l could not understand the issue.

https://github.com/microsoft/azuredevopslabs/tree/master/labs/vstsextend/terraform lab link and changed the agent as well still same error.

Hi,
Select Replace tokens task and do the below changes

This should fix the issue. We will update in the demo generator template
Thanks


CLI tool freezes when used with Self-Hosted

Environment

Covalent version:
Python version: 3.8.13
Operating system: MacOS Ventura M1

What is happening?
The Covalent CLI tool hangs when the self-hosted dispatcher address and the local server are not started in a certain sequence. We find that the server needs to be started before the self-hosted dispatcher address is set. Furthermore, when the CLI tool is interrupted, we get the following msg in the logs:
Hosting the HTTP server on port 55939 instead
  warnings.warn(
2023-04-27 21:11:33,122 - distributed.diskutils - INFO - Found stale lock file and directory '/var/folders/65/q5vwfnjd4nbgdb735y8qt9yw0000gn/T/dask-worker-space/worker-av4b15si', purging
2023-04-27 21:11:33,134 - distributed.diskutils - INFO - Found stale lock file and directory '/var/folders/65/q5vwfnjd4nbgdb735y8qt9yw0000gn/T/dask-worker-space/worker-n3571p30', purging
2023-04-27 21:11:33,135 - distributed.diskutils - INFO - Found stale lock file and directory '/var/folders/65/q5vwfnjd4nbgdb735y8qt9yw0000gn/T/dask-worker-space/worker-tg12mef1', purging
2023-04-27 21:11:33,137 - distributed.diskutils - INFO - Found stale lock file and directory '/var/folders/65/q5vwfnjd4nbgdb735y8qt9yw0000gn/T/dask-worker-space/worker-pgk81_nz', purging
2023-04-27 21:11:33,138 - distributed.diskutils - INFO - Found stale lock file and directory '/var/folders/65/q5vwfnjd4nbgdb735y8qt9yw0000gn/T/dask-worker-space/worker-afq5gr_e', purging
2023-04-27 21:11:33,138 - distributed.diskutils - INFO - Found stale lock file and directory '/var/folders/65/q5vwfnjd4nbgdb735y8qt9yw0000gn/T/dask-worker-space/worker-swkt39i5', purging
2023-04-27 21:11:33,139 - distributed.diskutils - INFO - Found stale lock file and directory '/var/folders/65/q5vwfnjd4nbgdb735y8qt9yw0000gn/T/dask-worker-space/worker-xbs4wihs', purging
2023-04-27 21:11:33,139 - distributed.diskutils - INFO - Found stale lock file and directory '/var/folders/65/q5vwfnjd4nbgdb735y8qt9yw0000gn/T/dask-worker-space/worker-pcp8u84v', purging
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/popen_fork.py", line 27, in poll
    pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt
2023-04-27 21:16:08,762 - distributed.nanny - ERROR - Worker process died unexpectedly
2023-04-27 21:16:08,769 - distributed.nanny - ERROR - Worker process died unexpectedly
2023-04-27 21:16:08,768 - distributed.nanny - ERROR - Worker process died unexpectedly
2023-04-27 21:16:08,774 - distributed.nanny - ERROR - Worker process died unexpectedly
2023-04-27 21:16:08,782 - distributed.nanny - ERROR - Worker process died unexpectedly
2023-04-27 21:16:08,783 - distributed.nanny - ERROR - Worker process died unexpectedly
Exception in thread Nanny stop queue watch:
Traceback (most recent call last):
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/site-packages/distributed/nanny.py", line 884, in watch_stop_q
    child_stop_q.close()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/queues.py", line 137, in close
    self._reader.close()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/connection.py", line 177, in close
    self._close()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/connection.py", line 361, in _close
    _close(self._handle)
OSError: [Errno 9] Bad file descriptor
2023-04-27 21:16:08,789 - distributed.nanny - ERROR - Worker process died unexpectedly
2023-04-27 21:16:08,789 - distributed.nanny - ERROR - Worker process died unexpectedly
Exception in thread Nanny stop queue watch:
Traceback (most recent call last):
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/site-packages/distributed/nanny.py", line 884, in watch_stop_q
    child_stop_q.close()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/queues.py", line 137, in close
    self._reader.close()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/connection.py", line 177, in close
    self._close()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/connection.py", line 361, in _close
    _close(self._handle)
OSError: [Errno 9] Bad file descriptor
Process LocalDaskCluster:
Traceback (most recent call last):
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/process.py", line 318, in _bootstrap
    util._exit_function()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/util.py", line 357, in _exit_function
    p.join()
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/process.py", line 149, in join
    res = self._popen.wait(timeout)
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/popen_fork.py", line 47, in wait
    return self.poll(os.WNOHANG if timeout == 0.0 else 0)
  File "/Users/faiyaz/opt/anaconda3/envs/qa/lib/python3.8/multiprocessing/popen_fork.py", line 27, in poll
    pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt

How can we reproduce the issue?
Setting the dispatcher address to a self-hosted instance via (while ensuring that the server has not already been started):
import covalent as ct

dispatcher_address = "ec2-54-211-217-217.compute-1.amazonaws.com"
triggers_server_addr = "localhost:48008"
dispatcher_port = "48008"

ct.set_config("dispatcher.address", dispatcher_address)
ct.set_config("dispatcher.port", dispatcher_port)

and then restarting the local covalent server via: covalent start or covalent start --triggers-only leads the CLI to hang.
What should happen?
Setting the dispatcher address and then starting the server in the Covalent CLI should not lead to freezing.
Any suggestions?
No response

Hi, I am facing the same issue on local server. Wanted to just set a specific ip address as ususal so that the gui is accessible in from the network but it freezes.

Hi @sandipde, you can try setting the address via the dispatcher_addr field when calling ct.dispatch. Here's the documentation for setting the dispatcher address without setting it in the config file.

@sandipde if you're using a local server you may also want to set COVALENT_SERVER_IFACE_ANY=1 on that machine before starting the server.  Otherwise it will only be exposed to the local loopback interface.


Allow StaticCtorPatchTargetInfo to target everything

Except those I can't target like mscorlib. I think this is possible even for unity's core dll since I can filter out things I shouldn't be patching / field resetting

Check MonoBehaviourPatch too and other preloader patches

Fix implemented by #272 closing


Update launch date on http://ens.domains/

Need to update this section -
GET STARTED USING ENS
ENS launches on the Ethereum mainnet on March 14 2017. In the meantime, you can register names on the test network, Ropsten, and learn about how to integrate ENS support into your applications, sites, and DApps.

@Arachnid and @alexvandesande I think we should update the site, to say something like -
"The ENS Ethereum mainnet launch, originally scheduled for March 14, 2017, has been delayed. A new launch date will be announced soon. Click here to be notified when the new date is announced."
I could also generate a very basic form via Typeform. Interested parties could submit their email addresses to be informed when the new date is announced. We could include the link in the updated text. This could also be a helpful way to gauge rough interest, based on the # of submissions received.
Who has access to the site and can update the text?

@alexvandesande or @Arachnid, which one of you can update the site text?
"The ENS Ethereum mainnet launch, originally scheduled for March 14, 2017, has been delayed. A new launch date will be announced soon. The new date will be announced here."


NOT FOR SUBMIT: First attempt at redoing the Analytics OptIn Prompt as per issue #725

As per Issue #725, I've added a screenshot so you can see how it looks (the black bar that appears in the banner is the debug tools, I couldn't move it for the screenshot)
So, this is the first attempt at redoing the Dialog. A couple of things than can improve its appearance and make it more enticing:

Expand the options the user have, from "Yes" and "No", to "Yes", "Ask me again later" and "No". Would have to change the logic behind the "DialogShown" to show it let's say, in 10 days if the user has clicked on the "Ask me again later" option.
Add some text, like a bullet list, describing how this will help us. Will talk to Jimmy about this.
The link to a full page giving more info (as per Ivan suggestion), also will talk to Jimmy about this.
Improve the texts that appear right now.

General comment about the look, I think that you should remove the banner. It uses way too much space for what it is.

It looks like this now:

Amanda, If you want to get rid of those black bars, open up the Live Visual Tree in you hosting VS instance, and click the first button on the top left, which should be "Show runtime tools"

Hi Ivan, can you take another look after my last changes. These include adding the link on the Options Dialog with the Button that looks like a link because of that weird thing in which links styling is wrong on the Options Dialog. Thanks

Done with changes as per last review comments. Ivan, can you take a look? Thanks

Change the title, remove the "NOT FOR SUBMIT" since it is going to be merged.


Uniform mesh update for reaction rate calculations of non-uniform assemblies

Description

Update the uniform mesh converter to handle the reaction rate calculations and to remove the overly restrictive power conversion check. This allows the following block-level parameters for non uniform assemblies: ["rateCap", "rateFis", "rateProdN2n", "rateProdFis", "rateAbs"]

Checklist

[x] This PR has only one purpose or idea.
[x] Tests have been added/updated to verify that the new/changed code works.

[x] The code style follows good practices.
[x] The commit message(s) follow good practices.

[x] The release notes (location doc/release/0.X.rst) are up-to-date with any bug fixes or new features.
[x] The documentation is still up-to-date in the doc folder.
[x] The dependencies are still up-to-date in setup.py.

Just have one more suggestion to consider. Let's make sure that this PR doesn't break any existing uniform mesh capabilities with detailedAxialExpansion: True. This may be covered by unit tests, but I'm not sure off the top of my head.

Just have one more suggestion to consider. Let's make sure that this PR doesn't break any existing uniform mesh capabilities with detailedAxialExpansion: True. This may be covered by unit tests, but I'm not sure off the top of my head.

Yes, this will work with an without detailedAxialExpansion set to True:

The only quirk here is that if detailedAxialExpansion: True and we have cs["nonUniformAssemFlags"] then it will favor converting the reactor with cs["nonUniformAssemFlags"] in the following def convert method. I will add a settings validation that checks for this for the user.

Awesome. The concern I had was in UniformMeshGeometryConverter::convert. The settings validator should cover that concern nicely.


Scaling base question

Hi,
May I know why you use a scaling base of 3 instead of 2 in the fixed_64 configuration?
fixed64 = FixedpointConfig(     scaling_base=3,     precision_integral=7,     precision_fractional=8,     matmul_threshold=256,     truncation_gap=20,     use_noninteractive_truncation=False, )
https://github.com/tf-encrypted/tf-encrypted/blob/master/tf_encrypted/tensor/fixed.py#L74
Thanks!

@Qi-Pang This is mainly related to truncation. When using interactive truncation, it requires to compute inverse, which is possible with base 3 but impossible with base 2. You might have to read the code and paper for the interactive truncation to understand this further. With that said, normally, we would NOT interactive truncation, but instead we use non-interactive truncation with fixed64_ni.

I see. Thanks a lot for the info!


Documentation for Zenodo integration.

Tutorial for Zenodo integration.
Added blog.

fixes #1276

Please make sure that all the checks pass. Please add here any additional information regarding this pull request. It's highly recommended that you link this PR to an issue (please create one if it doesn't exist for this PR)

@roll it is ready for review. Thanks!


Add Delay in Expoenential Form

First, great library! It just works out of the box and has a lot of functions one would expect when dealing with LTI systems.
My teacher's assignment asks me to add a delay to a system multiplying it by exp(-0.5*s) , but I found no way of doing it in python-control. There's the pade function, but that's an approximation. Is it currently possible?

Pure time delays are not currently implemented.  If you would like to contribute to the package, it would be interesting to see an implementation of them (non-trivial, since it would probably require substantial changes to the various objects and operations).

Hi,
I also think that this library is really a good job. I will try to add this pure delay functionality. Hope is it not too difficult !
Camille

Duplicates #628, where there is a bit more extensive discussion.


[Improvement] Polybar CPU, memory and temperature module margin, padding and space need a small improvement

Describe the issue
Firstly, the Polybar's Formatting the tokens does not solve the problem of CPU, memory and temperature modules padding and space. In reference to @enigmatic-system's https://github.com/adi1090x/polybar-themes/pull/33, the modules keep expanding and collapsing many times and creates an annoying movement, when it bounces between single and double digit numbers.
I tried @enigmatic-system's code, but it did not solve he problem. I also tested with @vladdoster's code, in reference to https://github.com/polybar/polybar/issues/2049, but it did not solve either. I tried with the answer from Zero padding. I manipulated many codes in the modules in other config files, but nothing solved the problem.
Expected behaviour:
The text should be centred and fixed, with a padding and a margin, so the modules would not bounce when it reaches one or two digits.
Actual behaviour:
Without tokens:2%% (without space):

With  %tokens:2%% (with space):

To Reproduce
Alternative 1, based on @enigmatic-system's code:
[module/cpu]
type = internal/cpu

interval = 0.5

format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 2

label = " %percentage:2%%"

Alternative 2, based on @vladdoster's code:
[module/cpu]
type = internal/cpu

interval = 0.5

format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 2

label = %{A1:$TERMINAL -e htop >/dev/null 2>&1 &:}%percentage%%%{A}

I am using the fonts Bahnschrift (a Microsoft font) for the Polybar's text and Material Icons for the Polybar's icons. The fonts, bar modules and measures configurations:
font-0 = "Bahnschrift:size=12;2"
font-1 = "icomoon\-feather:size=12;2"
font-2 = "xos4 Iosevka:size=12;2"
font-3 = "Weather Icons:size=10;2"
font-4 = "FontAwesome5Free:style=Solid:size=10;2"
font-5 = "FontAwesome5Free:style=Regular:size=10;2"
font-6 = "FontAwesome5Brands:style=Regular:size=10;2"
font-7 = "MaterialIcons:size=10:2"

modules-left = menu_i menu workspaces
modules-center =  app_title_i app_title
modules-right = updates_i updates keyboard_i keyboard separator separator memory_i memory cpu_i cpu separator separator alsa_i pulseaudio checknetwork_i checknetwork separator separator separator date_i openweathermap date sysmenu_i sysmenu

[bar/main]
fixed-center = true
overline-size = 2
border-size = 4
padding = 1
module-margin-left = 0
module-margin-right = 0
spacing = 0
dim-value = 1.0

tray-position = none
tray-detached = false
tray-maxsize = 16
tray-padding = 0
tray-scale = 1.0

[settings]
format-spacing =
format-padding =
format-margin =
format-offset =

Screenshots
Check Actual behaviour.
Environment:

WM: i3
Distro: Endeavour OS Linux (Arch Linux-based)
Output of polybar -vvv:

polybar 3.4.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Additional context
I call @patrick96, for hearing his feedback, as he reviewed https://github.com/polybar/polybar/pull/1963.

I don't use polybar anymore, but what I ended up doing in my dwm-blocks setup is just formatting with leading 0s to as much so it wouldn't bounce.
https://github.com/vladdoster/dotfiles/blob/master/.local/bin/statusbar/network_traffic

@vladdoster
Maybe are you referring to https://github.com/vladdoster/dotfiles/blob/master/.local/bin/statusbar/cpu instead? Or are you suggesting the network traffic template for CPU template?

@vladdoster
Maybe are you referring to https://github.com/vladdoster/dotfiles/blob/master/.local/bin/statusbar/cpu instead? Or are you suggesting the network traffic template for CPU template?

No, network traffic was correct. I pad it with 4 zeros so it wont bounce.

@vladdoster
I applied label = "%percentage:03%%", but it keeps bouncing:

@vladdoster
I applied label = "%percentage:03%%", but it keeps bouncing:

That is weird.... I really am lost then.

Let @patrick96 see. He must know.

I am using the fonts Bahnschrift (a Microsoft font) for the Polybar's text and Material Icons for the Polybar's icons. The fonts, bar modules and measures configurations:

This is the problem. See how the module "bounces" even when it changes between different two-digit numbers? The font you are using is not monospaced that means different characters use a different amount of space. And polybar just draws the characters, so if you replace one character that takes a small amount of space (for example 1) and replace it with another (for example 0), all the other text shifts around as well.
If you want to get consistency, you have to use a monospaced font, where all characters take the use amount of space.

@patrick96
I reassigned the individual font to a module, but the text does not appear.
[bar/main]
font-8 = "VictorMono Nerd Font:style=SemiBold,Regular:size=12;2"

[module/cpu]
type = internal/cpu
label = %{A1:$TERMINAL -e htop >/dev/null 2>&1 &:}%percentage%%%{A}
label-font = 8

To go well with PF DIN Mono, I switched from Bahnschrift to PF DIN Text:

Problem solved

Yeah, there is should be no problem if you just use monospaced fonts.


fedora download through cdi takes too long

we should either use a lighter image or use uploader to use a prefetched and local image

First run -> Segmentation fault
E1011 13:45:34.502150       1 prlimit.go:143] qemu-img [convert -p -f qcow2 -O raw json: {"file.driver": "https", "file.url": "https://download.fedoraproject.org/pub/fedora/linux/releases/28/Cloud/x86_64/images/Fedora-Cloud-Base-28-1.1.x86_64.qcow2", "file.timeout": 3600} /data/disk.img] failed output is:E1011 13:45:34.503582       1 prlimit.go:144]     (0.00/100%)    (1.01/100%)    (2.01/100%)    (3.02/100%)    (4.02/100%)E1011 13:45:34.503723       1 importer.go:40] signal: segmentation fault
Second run stuck on 87%

addressed in https://github.com/scollier/kubevirt-tutorial/commit/13bd8583b657107d7a9bd9b3f41d23f6a873399d


Remove python-networking-cisco from trackupstream jobs (SOC-11267)

The job hasn't been succeeding since Pike. Doesn't appear our product
needs it either so disabling it from trackupstream jobs.

This reads to me like being needed in our product?: https://documentation.suse.com/soc/9/single-html/suse-openstack-cloud-crowbar-deployment/#app-deploy-cisco-deploy

This reads to me like being needed in our product?: https://documentation.suse.com/soc/9/single-html/suse-openstack-cloud-crowbar-deployment/#app-deploy-cisco-deploy

Jan, I am almost 100% positive we do not have Cisco support but please check with Robert, Jeremy, Christian,... to see if I am correct.

SOC7 has Cisco-ACI support , which TCS is using. To the best of my knowledge we do not support it in SOC8 or SOC9, which is the primary reason TCS has not upgraded to a newer version.

Looks like we reference it in these places, according to hound:
https://github.com/crowbar/crowbar-openstack/blob/master/chef/cookbooks/neutron/attributes/default.rb#L128
https://github.com/SUSE-Cloud/supportutils-plugin-suse-openstack-cloud/blob/master/suse-openstack-cloud-rpm-list#L545
Let me pull this one and fix the package instead, in case we still support it.


Compute: add compatibility patch for rum

Fixes #8251
Problem
Rum extension requires patch to work with neon
https://github.com/neondatabase/neon/blob/main/docs/core_changes.md#mark-index-builds-that-use-buffer-manager-without-logging-explicitly

@a-masterov can we enable automatic tests for this extension?


How to make a 'navbar' a global component?

How to make a 'navBar' a global component?  That is, it did not redraw when switching between scenes.

That it is not navBar, but overlay. Check Example project for overlay usage.