Problem to restart the WebUI with certain resolution settings

I installed and tested the WebUI succesfully. Thanks for the project, it has significantly helped me.
Description of the problem: I launched WebUI first time and I saved a certain settings (AEC/AGC and AWB on). I also changed the resolution higher. The WebUI worked fine. However, when I restarted the interface. The interface returns error "[FileNotFoundError: [Errno 2] No such file or directory]" but there was no specific filename in the error.
Temporal solution: There is a file refering to the settings profile that I saved  "test.json" for example in my case. I removed the file from path
/picamera2-WebUI/static/camera_config/
and after that the WebUI can be launched normally. A profile with just bare AEC/AGC and AWB on settings works fine.  Raspberry Pi Zero 2W is my board and the camera is the official V2.1.

I'll take a look thanks, not sure whats going on there....yet

I took a look and could not reproduce the issue. I did however find a small bug so I fixed that. Maybe its related I am not sure.
If this happens again or you have more steps to reproduce then please reopen the ticket
Also on a side note v1.0.5 will be released shortly which might improve things generally


Cleanup of cernops string

Removed any reference to github.com/cernops and replaced by cvmfs-contrib
Try to fix #69

Hi @jtorrex , are you still working on this PR? Let me know if it's ready for a review.

Hi @gman0, originally pushed the replacement of the cernops string by the newer cvmfs-contrib, but kept the  PR as Draft allowing you to review it before merging.
If you consider, take a look and merge it, or comment on any suggestion that you consider.
Regards!

Thanks @jtorrex , can you please rebase and check again for the rest of the occurrences?


??? showing up in Bibliography in SpringerNature

Branch springer-nature mostly working except that ??? keeps showing up in the Bibliography or bibtex crashes
This was tested on MikTeX on Windows 10.  The ubuntu version runs, but the ??? show up.

Fixed in commit 993f721


Bug: Workspace OG image has a cut off repo name if the name is too long

The image still looks good, but if the three repositories at the top right have two many characters, we should consider only showing two repositories. In the image below it also vuts off the + some number.

You can see it live here, https://x.com/nickytonline/status/1782478796697764035

Maybe we should just always show 2 @isabensusan.


Typo in lambda discard documentation

It says under Lambda discards
Beginning with C# 9.0, you can use discards to specify two or more input parameters of a lambda expression that aren't used in the **expression:
Should it not be one or more?

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

ID: a6b8daf7-c244-5d1c-e43b-7fe654f378e1
Version Independent ID: 5142bc3b-2d71-b98e-190a-aa51f28f46e4
Content: Lambda expressions - C# reference
Content Source: docs/csharp/language-reference/operators/lambda-expressions.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

The current wording is correct, please check the note at the end of the section. You can use it for one, but it wouldn't be discarded, as it would still be possible to use _ in the lambdas body

Thanks for noting this @JoeMarkov
The comment by @pkulikov is correct, as is this article. A single _ is a valid identifier when used as a parameter to a method or lambda expression. The _ can be used for two or more parameter names, which instructs the compiler to view it as a discard.
I'll close this.


feat(CdkDragDrop): Add type bounds for item in CdkDragDrop event

Feature Description
Currently, all events except CdkDragDrop have item: CdkDrag<T>;
CdkDragDrop has item: CdkDrag;
It would be nice to also add a type bound there.
Use Case
I had to modify my CdkDrag data type on my current project. It would have been nice if the code editor could pick the changes an highlight the places where I had to propagate the changes. Because of no type bounds, all my item.data variable had any type and thus it was harder to track.

I can work on a PR, but first I'd like to know if it's something that is desired, or maybe there is a reason or a limitation for not having the type bound in that specific event.


Record performance statistics during data loading

After data loaded successfully, the main statistics information will be printed by each executor
At the same time, some tiny info like write one temp sort file/compress mdk data time/write block.. time will be printed immediately in log.

I just take CarbonExample who loads only 1000 lines data as an example, you can see the statistics info as following in executor side:
]==================== DummyLoadRDD Cost Time: 5.085(s)
]============================== lru Cache Load Cost Time: 0.024(s)
]==========**********Compress One Node For One Thread pool-24-thread-1 Cost: 0.026
]=====##### Write One Node Cost Time: 0.0#####=====
]========== TIME STATISTICS PartitionID: 0==========
]STATISTICS ->Raw data IO cost(load csv to dataFrame and generate block dict): 0.132(s)
]STATISTICS ->Distinct Value IO cost(global dict shuffle and write dict file): 0.648(s)
]STATISTICS ->  |_maximum distinct column shuffle time: 0.162(s)
]STATISTICS ->  |_maximum distinct column write dict file time: 0.35(s)
]STATISTICS ->Total cost of gen surrogate key, sort and write to temp files: 0.522(s)
]STATISTICS ->  |_read cost of raw csv file: 0.305(s)
]STATISTICS ->  |_cost of transform to surrogate key: 0.485(s)
]STATISTICS ->  |_io cost(sort rows and write to temp file): 0.417(s)
]STATISTICS ->IO cost(tansform to MDK, compress and write fact file): 0.629(s)
]==============================
]========== BLOCK_INFO ==========
]BLOCK_INFO ->Node host: localhost
]BLOCK_INFO ->The block count in this node: 1
]==============================

can you take a look a #356  to check whether you can leverage the Profiler there?

I mean can you re-use the profiler in pr356. pr356 has a profiler that you can define your load phase. We can use the same to record performance for both query and load

@Zhangshunyu please check the performance impact after you change

for data loading and query statistics we can have one common interface, which will have multiple implementation, default will be dummy which will not record any thing . And one property we can expose like carbon.record.statistics. factory will return the concrete implementation based on the property value. in normal case it will record dummy so it will not impact the performance


Make a script to pull games from OGS

OGS has a Rest API -- we can pull games from OGS.

Any specifics about what games we want to get?
For reference, I found the API docs here - https://ogs.docs.apiary.io/#reference/games/list-and-filter-games/get-the-list-of-games?console=1


Robot Drawing extension run-time error

Reported by a teacher during our AP CS Principles training today.
When adding the Robot Drawing extension to a new project, it throws an error message, and you're not able to run the program in the simulator.

Extension: https://github.com/jacobcarpenter/robot-drawing
This extension is part of our AP CS Principles curriculum (https://microsoft.github.io/makecode-csp/unit-3/day-7/robots-makecode-arcade), so a lot of teachers rely on this.

Strangely, when I open an existing project with this extension, I don't get an error - https://makecode.com/_YzTDWchsRD8s


How Do I Generate Keystore File (UTC / JSON)

Hi - I love your service but I don't like having to cut/paste my private key whenever I want to use the UI. I can't figure out how to generate a Keystore File (UTC / JSON) from my private key. Do you have any guidance?
Thanks

You can encrypt your private key by using our Chrome Extension, or importing your raw private key into geth.
Chrome Extension

Download and install our Chrome Extension:

Add a new wallet using your private key, enter a password, and save this wallet.

Go to the "My Wallets" section and click the view icon.

It will ask you for the password you just created. Enter it.

 You will be able to download the keystore file (encrypted) and use that + the password you just created to access your wallet in the future.

You can choose to continue to use the Chrome Extension or go back to using the website.
Geth

Instructions for Mac, PCs, and LInux can be found here

That worked, but I have to say that it felt very confusing from a UI perspective. First, having to click My Wallet in order to interact with it was not intuitive. Then, being bounced out to a browser window from within the extension felt odd and insecure. Finally I don't get why the download keystore UI only appears if launched from the extension. Food for thought!  Maybe I'll hack on this and submit a PR. :) Keep up the good work.

i need to generate a keystroke file when creating new wallet can anyone help me to code for this??


Move out serial number

Codecov Report

Merging #10 into master will decrease coverage by 2.73%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
- Coverage   48.28%   45.55%   -2.74%
==========================================
  Files          14        9       -5
  Lines         787      281     -506
==========================================
- Hits          380      128     -252
+ Misses        337      141     -196
+ Partials       70       12      -58

Impacted Files
Coverage Δ

local/getResource.go
28.12% <0%> (-9.98%)
:arrow_down:

local/getDevices.go
58.33% <0%> (ø)
:arrow_up:

local/ownDevice.go

local/getDeviceOwnership.go

local/disownDevice.go

local/getDevice.go

local/coapClient.go

local/client.go
60% <0%> (+1.57%)
:arrow_up:

local/updateResource.go
42.3% <0%> (+4.21%)
:arrow_up:

local/onboardDevice.go
82.05% <0%> (+10.99%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


Text overlaps image on Windows

On the running screen, I have text overlapping the icons. When I resize the window the icon snaps to the right. Both the header and footer sections are affected.
I'm using Windows 7, wxpython <IP_ADDRESS> (msw-unicode), Python 2.7.8

Interesting. I haven't encountered that before. It's like the wx.Layout() method isn't functioning properly.
WX <IP_ADDRESS> is a few versions behind. Have you tried updating to the latest?

Thanks, that was it. I upgraded to 3.0 and it works.

Awesome! 👍


fix dependencies for modlist targets

they require checked out sources

BTW, see IRC (you might need to set up your IRC client to notify you when someone says your name).

BTW, see IRC (you might need to set up your IRC client to notify you when someone says your name).

There is a dim light on the bottom of my emacs, but sometimes I use that editor to code ;).


docs(getAlgoliaHits): rewrite guides

This rewrites the getAlgoliaHits docs for both autocomplete-preset-algolia and algolia-js.
I wanted to move the parameters to a partial to avoid having to redirect users to autocomplete-preset-algolia#getAlgoliaHits, unfortunately when you do that, the scrollspy doesn't pick up headings 🤦🏻♀🤷🏻♀

I wanted to move the parameters to a partial to avoid having to redirect users to autocomplete-preset-algolia#getAlgoliaHits, unfortunately when you do that, the scrollspy doesn't pick up headings 🤦🏻♀🤷🏻♀

The Docusaurus team is aware of this problem (facebook/docusaurus#3915).


Fix unit tests and golint issues

There are several commits in this PR, which fix make with go v1.19.

Fix unit tests code.
Remove unused variables + types.
Remove deprecated ioutil package usage.

/lgtm
/assign @arahamad

/assign @GunaKKIBM

@jsafrane , these changes are covered in this PR -  https://github.com/IBM/vpc-node-label-updater/pull/15. Hence, I will be closing this


iOS 11 style big header

https://github.com/react-navigation/react-navigation/issues/2749
Many people want the iOS11 style header.
But when you look at carefully, you will notice its transition is complicated.
And scroll action that hiding and showing search bar and the header is working so naturally.

I've done kind of large title behaviour in project. Here the way it is possible to do https://medium.com/appandflow/react-native-scrollview-animated-header-10a18cb9469e
See this comment to implement it with react-navigation
https://github.com/react-navigation/react-navigation/issues/480#issuecomment-284502212

There is also library https://github.com/zobeirhamid/react-native-scrollable-navigation-bar but it's poorly documented

@enagorny This one looks really good. I will check it out too! Thanks.

react-navigation@next (v5) has this. 👏
https://reactnavigation.org/blog/2019/10/17/react-navigation-native.html

@benevbright do you know if they have removed this from the v5 last version?

@caiobiodere yeap. I guess so.


Facebook login problem Invalid Scopes: offline_access.

gem 'spree_social', github: 'spree-contrib/spree_social', branch: '3-0-stable'
Facebook authentication giving Invalid Scopes: offline_access error,
Invalid Scopes: offline_access. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions

The same issue on the 2.4 branch.

Resolved with d5e5efb172665860692ddf534be84055eccd01df and 4b2bfb4deeb1dc17cd0ee5f46b0441af786687c1

@futhr can we have it fixed on 2-3-stable?


Advertise color

I see that the tool allows you to choose a color, and the GIF shows the color being changed
however the word "color" is not actually mentioned here
https://github.com/devgg/fonticon
i think this would be helpful for people searching for that

Thanks for the suggestion! Fixed in 04c511d.


Make checkpoints part of the logger setup?

An idea (that probably has been discussed a lot already), just want to come back to it, since it bothers me that I can't migrate fully / easy to the DVC logger from the Keras (other frameworks?):
Here is the piece of code:
checkpoint = tf.keras.callbacks.ModelCheckpoint(
        os.path.join("model", "best_model"),
        monitor="val_accuracy",
        mode="max",
        verbose=1,
        save_best_only=True,
        save_weights_only=True,
    )

    history = model.fit(
        train,
        validation_data=valid,
        epochs=params['epochs'],
        callbacks=[checkpoint, DvcLiveCallback()],
    )

Can we make DvcLiveCallback handle checkpoints (and accept the same set of params, e.g. track the best model only, etc)? It would simplify the migration a lot.
At the moment, it's impossible achieve the same. Even if start saving all checkpoints, it's not clear how then we should be getting the best one programmatically (e.g. to do inference later).

Related: https://github.com/iterative/dvclive/issues/89.
@shcheklein Are you encountering an issue when using both tf.keras.callbacks.ModelCheckpoint and DvcLiveCallback? Or you want to avoid needing tf.keras.callbacks.ModelCheckpoint?

Leaving aside what our plans are for DVC checkpoints, the primary need here seems to be auto-integrating with frameworks' existing checkpointing features (at least to start; we might also want to go further than what exists in the frameworks).

Can we make DvcLiveCallback handle checkpoints (and accept the same set of params, e.g. track the best model only, etc)? It would simplify the migration a lot.

Do we really want to repeat these params in the dvclive callback? I would rather go with an approach similar to what's in lightning: include some default checkpointing, but if people want to customize, they can continue to use the separate checkpoint callbacks and hopefully dvclive can be aware of these.

If we really need to do something relevant (i.e. #305 ) with the models down the road, I would prefer to go in the direction of making DVCLive aware of the existing checkpoint callback and remove our existing logic for saving (and especially not duplicate args).
Right now we just duplicate existing logic but with fewer features for no real reason.
I think this awareness is feasible to do in most frameworks (and what other loggers already do for example in pytorch lightning.

Closing in favor of log_model issues (i.e. #665


Update wordpress-settings-api-class to latest version

@decarvalhoaa  we must update to latest version of wordpress-settings-api-class to latest version , too many changes .

https://github.com/tareq1988/wordpress-settings-api-class

releated to issue #51 Metas list checkbox values not saving

Done and pushed to  #68 proposed new release 0.29.


iOS app load custom frameworks take long time and killed

https://github.com/artsy/eigen/issues/1246

Exception Type:  00000020
Exception Codes: 0x000000008badf00d
Exception Note:  SIMULATED (this is NOT a crash)
Highlighted by Thread:  0

Application Specific Information:
no.example.MyApp failed to launch after 20.00s (launchIntent: foreground-interactive)

https://github.com/artsy/eigen/issues/586

https://github.com/johnno1962/Accelerator

https://github.com/stepanhruda/dyld-image-loading-performance

https://engineering.tumblr.com/post/144507330193/peeking-into-a-black-box-the-effect-of

https://github.com/Ruenzuo/cocoapods-amimono


How to Change the Font and Text Direction

How can one change the font and style of the menu items and also change the text direction to RTL.

@MohsenAlyafei, to customize the font styles, you have to update the CSS properties of the relevant element with text.
Regarding RTL, there is no default support for RTL in the plugin itself.
As of now, you have to achieve this by updating the CSS properties of all elements with text.
I will add default support for RTL text format in the future release.
Thanks for asking it.

@MohsenAlyafei, support for RTL text direction is available in the release v1.0.17 (more details)

Thanks. This is a great addition to the Library.


Crashes on member initialization using uniform initialization list

EDIT: I dug into this a bit, added some details below, and changed the name to be more descriptive. Sorry for the non-descript issue name. I haven't actually dug into what's causing it to crash, so I don't have much more detail there. I have however narrowed it down to a small example file which actually causes two separate crashes. If you run cppclean on the file as is it'll complain about popping from an empty namespaces list, but if you comment out the int member, it'll give you a parsing error. The example file is here:
class Foo {
private:
    atomic<bool> m_shutdown { false };
    int m_threads_started = 0; // Comment this line out for a different error
    vector<const function<void()> *> & list_of(const function<void()> &) { return m_callbacks; }
}

The stack trace the file as-is is:
Traceback (most recent call last):
  File "/Users/user/venv/bin/cppclean", line 145, in <module>
    sys.exit(main())
  File "/Users/user/venv/bin/cppclean", line 120, in main
    entire_ast = list([_f for _f in builder.generate() if _f])
  File "/Users/user/venv/lib/python2.7/site-packages/cpp/ast.py", line 651, in generate
    result = self._generate_one(token)
  File "/Users/user/venv/lib/python2.7/site-packages/cpp/ast.py", line 675, in _generate_one
    return method()
  File "/Users/user/venv/lib/python2.7/site-packages/cpp/ast.py", line 1158, in handle_class
    return self._handle_class_and_struct(Class)
  File "/Users/user/venv/lib/python2.7/site-packages/cpp/ast.py", line 1155, in _handle_class_and_struct
    return self._get_class(class_type, None)
  File "/Users/user/venv/lib/python2.7/site-packages/cpp/ast.py", line 1456, in _get_class
    body = list(ast.generate())
  File "/Users/user/venv/lib/python2.7/site-packages/cpp/ast.py", line 647, in generate
    if self.namespaces.pop():
IndexError: pop from empty list

And the error message when the int member is commented out:
/Users/user/test_header.hpp: parsing error: (Token(u'>', 128, 129), [Token(u'bool', 32, 36), Token(u'>', 36, 37), Token(u'm_shutdown', 38, 48), Token(u'{', 49, 50), Token(u'false', 51, 56), Token(u'}', 57, 58), Token(u';', 58, 59), Token(u'vector', 64, 70), Token(u'<', 70, 71), Token(u'const', 71, 76), Token(u'function', 77, 85), Token(u'<', 85, 86), Token(u'void', 86, 90), Token(u'(', 90, 91), Token(u')', 91, 92), Token(u'>', 92, 93), Token(u'*', 94, 95), Token(u'>', 95, 96), Token(u'&', 97, 98), Token(u'list_of', 99, 106), Token(u'(', 106, 107), Token(u'const', 107, 112), Token(u'function', 113, 121), Token(u'<', 121, 122)], [])

This is on cppclean 0.8 as installed by pip.

Looking into this a bit more, it seems that the parser doesn't understand the uniform initialization list that is initializing m_shutdown, instead thinking that we're in a method. It has code to look for assignment/initialization, so a workaround is to put an = before the initializer list like so:
atomic<bool> m_shutdown = { false };

But ideally the tool would be able to handle member initializations like this without modifying the source code.

Thanks for the report. Your analysis is correct, the problem is caused by the uniform initialization. I will try to improve the parser to handle this construct.

Hi,
Member initialization list for bool is still triggering a parser error  (with cppclean 0.12). Any plan to fix it ?
Thanks,
Jean-Paul

I'm hitting this with 0.12 as well
Traceback (most recent call last):
File "/usr/local/bin/cppclean", line 145, in
sys.exit(main())
File "/usr/local/bin/cppclean", line 120, in main
entire_ast = list([_f for _f in builder.generate() if _f])
File "/usr/local/lib/python2.7/dist-packages/cpp/ast.py", line 651, in generate
result = self._generate_one(token)
File "/usr/local/lib/python2.7/dist-packages/cpp/ast.py", line 675, in _generate_one
return method()
File "/usr/local/lib/python2.7/dist-packages/cpp/ast.py", line 1177, in handle_class
return self._handle_class_and_struct(Class)
File "/usr/local/lib/python2.7/dist-packages/cpp/ast.py", line 1174, in _handle_class_and_struct
return self._get_class(class_type, None)
File "/usr/local/lib/python2.7/dist-packages/cpp/ast.py", line 1486, in _get_class
body = list(ast.generate())
File "/usr/local/lib/python2.7/dist-packages/cpp/ast.py", line 647, in generate
if self.namespaces.pop():
IndexError: pop from empty list


chore: minimize deps usage

replace num with num_traits & remove its usage in the kernel crate
remove cfg-if from the core crate

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

Project coverage is 81.66%. Comparing base (b31a4ca) to head (1e2dc9e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #165   +/-   ##
=======================================
  Coverage   81.66%   81.66%
=======================================
  Files          32       32
  Lines        4533     4533
=======================================
  Hits         3702     3702
  Misses        831      831

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


Make sure types.Type instances are not mutated

it's because the type instance was mutated directly and the name of the type would not reflect this. Am happy to merge this patch as is, but for the future, perhaps it'd make sense to create a task for making types immutable to prevent this sort of accident from reoccurring?

Originally posted by @stuartarchibald in https://github.com/numba/numba/pull/7610#pullrequestreview-821429226
Todos:

Use @property for attribute of Type instances.

This has bitten us quite a few times too :) Very hard to debug.

The Type Class already has @property for attributes. To fix this do we need to check all the subclasses and see if they have immutable attributes i.e using the @property decorator? Or is there anything else that needs to be done?


development mode and build mode instrument result is different in SSR project

Describe the bug
development mode and build mode instrument result is different in SSR project
development mode：

build mode：

Reproduction
https://github.com/sunnywanggit/coverage
Steps to reproduce
No response
System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
    Memory: 1.17 GB / 15.86 GB
  Binaries:
    Node: 16.14.0 - D:\dachui\install\node\node.EXE
    Yarn: 1.22.15 - D:\dachui\install\node\yarn.CMD
    npm: 8.3.1 - D:\dachui\install\node\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (108.0.1462.76)
    Internet Explorer: 11.0.22000.120

Used Package Manager
yarn
Logs
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a vite-plugin-istanbul issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] The provided reproduction is a minimal reproducible example of the bug.

Hi @sunnywanggit,
I'll look at this and see if i can find a cause.
Might be an error when the instrumenter gets the ID for the file as the filenames are different in build and in serve mode.

@iFaxity Thanks a lot

After looking into this there could be a fix to manipulate the module ID to remove the query parameters after the file path. However not sure what consequence this can have on other setups.
I will try this approach as there seem to not be a fix using Vite/Rollups own API. as getFileName is not valid for the modules and getModuleInfo does not yield anything interesting. The query parameters is only there for the Vue plugin to know how to parse the file, nothing else it seems.

@sunnywanggit Please try the solution release in the version v4.0.0-rc.2.
If it is ok i will publish it along a release in the future, but for now it is in a release candidate to try out the feature

@sunnywanggit Please try the solution release in the version v4.0.0-rc.2.
If it is ok i will publish it along a release in the future, but for now it is in a release candidate to try out the feature

I tested it on version v4.0.0-rc.2 and it's working fine, I was scared because in the beginning it was the cache hahaha, thanks a lot for the project it helped a lot! I felt some difficulties because it doesn't have much content, but I want to see if I contribute to the community.
PS: I'm Brazilian and I'm using google translator, sorry if the translation is bad


refactor(transformer/react): remove CalculateSignatureKey implementation from refresh

follow-up: https://github.com/oxc-project/oxc/pull/4587#issue-2440174935

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5289  👈
#5255
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite


add download starter code link

add download starter code and also remove the lengthy cards instructions; needs to be more consumable!

@EdProsser FYI

@HNorlen - Is this something you know about?


Abnormal idle power usage (Mi 9T Pro, SD855, uperf 20.05.20)

So as per title... Without uperf device on idle can reach as low as 80mA power usage even with boosting enabled and even with higher frequencies than uperf sets. After installing uperf lowest power usage I get is 200mA. On older version it was possible to get lower, like 120-150 mA.
I used everything latest:
Uperf
SSA
SFA
And still power usage is higher than it should be.
Maybe some power config adjustments should be made to improve the situation for SD855.
Anyways, uperf is very interesting module to improve fluency, but in my opinion idle usage should be adjusted for even better user experience!
Thanks for attention.

Thank you for your feedback. sdm845-865 standby issue will be fixed in dev 22.06.01😋

Tried new version. Idle is good now! There's a room to improve in such apps like TikTok, but it's already good enough. Thank you very much!


Use GET on job/:id to get the current log status

Currently seeing repeated logs with the current romanesco/output/:id endpoint.

Look into using job detail widget from Girder


Implement a background video feature

Implement a background video feature

To ensure this feature gets triaged / prioritized quickly, please...

describe what you'd like to be able to do that you currently can't
feel free to include one (or more) solutions as a suggestion

Sorry, it's not clear what you're asking here. It also may not belong in Kobweb. This sounds like the sort of feature that should be in a different library or implemented per project.

Ohh sorry I meant to implement a background video feature like that of a
background image. Like with HTML and CSS it is possible to put a video as
background of a container
On Sun, Mar 31, 2024, 3:34 AM David Herman @.***> wrote:

Sorry, it's not clear what you're asking here. It also may not belong in
Kobweb. This sounds like the sort of feature that should be in a different
library or implemented per project.
—
Reply to this email directly, view it on GitHub
https://github.com/varabyte/kobweb/issues/490#issuecomment-2028533132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5RFHRCZ7IQUNZ5KYFILOW3Y25YZRAVCNFSM6AAAAABFP46QYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGUZTGMJTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


add link to macOSx instruction file so that people aware it

Refer to this link for build results (access rights to CI server needed):
/job/libnd4j_PR/15/


Update Uoui (again)

About the PR
Updated Uoui station again to fix some stuff :)

Added a bucket to jani closet
Added tool belts to engi
Added more cameras

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Ill merge this tomorrow if there are no check fails.


Numeric facet with formatting

use std::fmt::{Display,Formatter,Result};

trait Numeric {
    fn fmt_int<N>(n: N, fmt: &str, out: &mut Formatter) -> Result
        where N: Display;
    fn fmt_float<X>(x: X, fmt: &str, out &mut Formatter) -> Result
        where X: Display + LowerExp;
}

My plan is to rely on Display to get the value formatted to desired precision in invariant digits and then transliterate the symbols and insert group separators. I even have most of that code written already, only patterns are needed.
The fmt should be a CLDR-style format string. They are actually pretty hard to parse, but I think we should have them if we are going to have ICU-compatible format specifications if we are going to use ICU-compatible message format.
This facet will not handle formatting monetary values. That will have separate facet, though it will share the formatting code.
Open questions:

By value, by reference or by Borrow? For plain old numbers, value is appropriate, but this should work for bignums too and those need reference.
Should we really use the CLDR-style format strings? They are rather confusing in that some of their features need to be interpreted when reading the CLDR data and other features need to be specified from the format string.

@waywardmonkeys, do you have experience parsing the numeric format specifiers (like #,###.## , ##@@ and such)? I was rather intimidated by them. Arbitrary specifications (say #+##) don't really make sense and the restrictions don't seem to be precisely spelled out.
I think for start we should do with just number of decimal digits, number of significant digits and exponential format with one integral digit only. No rounding to multiple or formats with type ("2 thousand" and such — btw. I think at least the long form needs plural forms, but CLDR does not seem to have them).

@waywardmonkeys, what does ICU actually use? The patterns clearly need to be interpreted differently when read from CLDR data and when read from the format string and it seems to be rather confusing.

I don't have any experience with them!

@waywardmonkeys, that's pity.
The problem I have with the patterns is that there are aspects that should be taken from the locale (grouping, sign placement, for monetary also precision) and aspects that should be specified at the call site (padding, precision for numbers, but not monetary, international or local symbol for monetary). And the patterns mix them all together. And remember, that I wanted an option for specifying the pattern separately from the format string, because I, generally, do not want to bother translators with them (while still allowing to override them in the translation if needed in some rare case), so the patterns should not specify the aspects taken from the locale. Nor suggest they do.
Hm, I'll have to look what ICU actually uses and then decide how much to follow it and how much to choose something else.

So I looked at ICU documentation and I am disappointed. Basically ICU can only use default and percentage format (and integer and monetary, but we are going to select those based on type only), or the CLDR-style pattern, which seems to be the only way to define the precision, but that specifies the grouping too.
I don't consider that sufficient as I believe being able to specify precision is important. So I will proceed using the python3-style specifier of the form “[ align ] [ sign ] [ fill ] [ width ] [ . precision ] [ format-type ]” (more-or-less the same as C, but the type is optional too, defaulting to f (normal decimal number), probably.
The underlying machinery (of which I have a prototype lying around somewhere) is actually capable of handling minimum and maximum number of decimal digits, but I don't want to overcomplicate the pattern, so the public interface will likely only provide two options: exact precision and maximum precision with trailing zeroes omitted.

It might also be worth considering the .NET composite formatting for specifying the padding in a general way, but specifically numbers are the odd man out here with their inner padding (between sign and value) and their special behaviour regarding use of 0 as padding character (it uses the locale symbol and has separators inserted), so generic alignment support won't properly work for it.

This is now ready on the next branch.


go dep updates

incrementally stepped through all the go deps, update it, and check that it still built
There are still updates to be done, but these seem to have no issue.

All unit tests passing?

@invidian good question.
Running make test:

on flatcar-master: Success
on this branch: Success

as for using the tools themselves: no idea

cool. now the github actions passes.

Was reverted in https://github.com/kinvolk/mantle/pull/147 because it breaks the interaction with the AWS API. We have to revert the revert and fix the problem and properly test it before merging:
# set secret variables
./kola run --parallel=1 --basename=jenkins-aws-707 --board=amd64-usr --aws-ami=ami-07ead16a3df6a7bd4 --aws-region=us-west-2 --aws-type=t3.small --aws-iam-profile=jenkins-test --platform=aws --channel=stable cl.basic


Fails to build due to missing strlen when hal is added to cmake template

Changing the cmake template generated from cargo generate https://github.com/esp-rs/esp-idf-template cmake to have the following deps:
[dependencies]
esp-idf-sys = { version = "0.31.10", features = ["native"] }
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal/", features = [
    "edge-executor",
    "embassy-sync",
    "critical-section",
] }

causes the following build error:
error[E0425]: cannot find function `strlen` in this scope
   --> /home/ben/.cargo/git/checkouts/esp-idf-hal-923d08f725716f5e/af76934/src/task.rs:199:29
    |
199 | ...                   strlen(conf.thread_name) as usize + 1,
    |                       ^^^^^^ not found in this scope

For more information about this error, try `rustc --explain E0425`.
error: could not compile `esp-idf-hal` due to previous error

This can be fixed by changing the CMakeLists.txt in the template to include "vfs"
 # Note that pthread should always be there, or else STD will not work
-set(RUST_DEPS "pthread" "driver")
+set(RUST_DEPS "pthread" "driver" "vfs")

I haven't determined why adding "vfs" fixes the issue. My guess is without that component the esp-idf-sys bindgen is not picking up the strlen function but I have no idea why.

Repository reproducing the error at https://github.com/benhansenslc/reproduce-hal-strlen-issue. First commit is the template code and second commit is the changes to cause the error.

I think I'll just roll my own strlen. As terrible as it sounds. :)

Should be fixed by https://github.com/esp-rs/esp-idf-hal/commit/f5f059c922d9af7715747b893ae79d85da462b5d


A fatal error has been detected by the Java Runtime Environment: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc85bc5130, pid=5528, tid=14104

Hi I have a computer with Intel i7 6700 and geforce GTX 1070 with 16gb RAM and 1TB SSD. I can only play minecraft bedrock edition because when I try to open minecraft java edition it immediately crashes and generates the crash log below:

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc85bc5130, pid=5528, tid=14104

JRE version: OpenJDK Runtime Environment Microsoft-28056 (17.0.1+12) (build 17.0.1+12-LTS)
Java VM: OpenJDK 64-Bit Server VM Microsoft-28056 (17.0.1+12-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
Problematic frame:
C  [glfw.dll+0x5130]

No core dump will be written. Minidumps are not enabled by default on client versions of Windows

If you would like to submit a bug report, please visit:
https://github.com/microsoft/openjdk/issues
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

---------------  S U M M A R Y ------------
Command Line: -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Dos.name=Windows 10 -Dos.version=10.0 -Xss1M -Djava.library.path=C:\Users\LeoMc\AppData\Roaming.minecraft\bin\e051-c3c6-518c-000f -Dminecraft.launcher.brand=minecraft-launcher -Dminecraft.launcher.version=2.2.7954 -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Dlog4j.configurationFile=C:\Users\LeoMc\AppData\Roaming.minecraft\assets\log_configs\client-1.12.xml net.minecraft.client.main.Main --username TOMCRUZEMISSL --version 1.18.1-pre1 --gameDir C:\Users\LeoMc\AppData\Roaming.minecraft --assetsDir C:\Users\LeoMc\AppData\Roaming.minecraft\assets --assetIndex 1.18 --uuid e6baa9a41d0c4089b71cffd8422683bb --accessToken eyJhbGciOiJIUzI1NiJ9.eyJ4dWlkIjoiMjUzNTQ3Mjg2MTQ5MjU3MCIsImFnZyI6IkFkdWx0Iiwic3ViIjoiZThlZjljN2QtMmQwYS00MWM0LWI3MWQtNTViMDA2ZDIwMGIxIiwibmJmIjoxNjM4ODE3MTAzLCJhdXRoIjoiWEJPWCIsInJvbGVzIjpbXSwiaXNzIjoiYXV0aGVudGljYXRpb24iLCJleHAiOjE2Mzg5MDM1MDMsImlhdCI6MTYzODgxNzEwMywicGxhdGZvcm0iOiJPTkVTVE9SRSJ9.SDdE1j7da6croAtnH_vtlOLcBYl4dL1Mtu69gVIrJdM --clientId ZmYyODBkNzUtMjdjOS00Zjc3LThmMjQtY2JmM2Y3ZWYwYzYw --xuid<PHONE_NUMBER>492570 --userType msa --versionType snapshot
Host: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz, 8 cores, 15G,  Windows 10 , 64 bit Build 19041 (10.0.19041.1348)
Time: Mon Dec  6 13:58:55 2021 Eastern Standard Time elapsed time: 11.689329 seconds (0d 0h 0m 11s)

I cant submit a bug on Mojang bug tracker because I dont have a Jira
account and when I try to make a Jira account it just says contact your
Jira administrator I dont have a Jira administrator
On Mon, Dec 6, 2021 at 2:08 PM github-actions[bot] @.***>
wrote:

Thank you for the report!
Please submit this issue over at the Mojang bug tracker
https://bugs.mojang.com/projects/MC/summary. Please search for existing
reports first; in case you do not find any, create a new report and let us
know about the issue number here (e.g. MC-123456). The Mojang team will
take the first look. If an OpenJDK bug is identified, the Mojang team will
contact the Microsoft Build of OpenJDK team to address the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/openjdk/issues/187#issuecomment-987086405,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG72JWRNOLDMEMT6IZRXTRTUPUCZNANCNFSM5JPMNAXQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

There's a temp outage over there at the moment, please do try again in a few hours or tomorrow.


Method -mas_distributeViewsAlongAxis:withFixedSpacing:leadSpacing:tailSpacing: is making a fixed width/height quietly. But why?

https://github.com/SnapKit/Masonry/blob/8bd77ea92bbe995e14c454f821200b222e5a8804/Masonry/NSArray%2BMASAdditions.m#L54
https://github.com/SnapKit/Masonry/blob/8bd77ea92bbe995e14c454f821200b222e5a8804/Masonry/NSArray%2BMASAdditions.m#L74
Please check this. I don't understand why it is necessary to make views' width/height to be same with previous view. Because this method  is intended to make views arranging with fixed spacing rather than item size.

agree
I have the same qusetion , so I copy this function to my work space , and reduce this line to help me solve this question.


Uncaught exception: undefined method `sync' for #Class:0x007fb7910530c0

I began getting this error when I included "sync :all" into some of my ActiveRecord classes that use sync. For some of the classes that do not use class_eval string interpolation, it works. However, for others it throws the exception. I elaborate on the issue on this stackoverflow post:
http://stackoverflow.com/questions/30132590/class-eval-block-argument-and-class-eval-string-argument-differences

I think this can be closed, as the SO post contains an accepted answer


Aclownominations

About the PR
I am not sorry, nor do I ask for forgiveness.
This (hopefully) adds an admeme only set of creatures known as Clown Abominations, with stuff that was jokingly thrown around in the discord
Changelog

:cl:

add: Aclownominations. It is said they feed on spessmen and orphans alike.

For writing changelogs, don't consider the entry type suffix (e.g. add) to be part of the sentence
Your changelog should look like this:
add: Added aclownominations. It is said they [...]

rookie mistake, my bad

For writing changelogs, don't consider the entry type suffix (e.g. add) to be part of the sentence Your changelog should look like this: add: Added aclownominations. It is said they [...]

rookie mistake, my bad

Aclowninations is less of a mouthful IMO


feat: support request response sizes stats

Which issue(s) this PR fixes:

Fixes #4234

/retest

/retest

    --- FAIL: TestGatewayAPIConformance/HTTPRouteSimpleSameNamespace (60.01s)
Not sure if this is flaky or not, retest didn't re run conformance test. Any of my change is not related to gw api, so doubt its due to that.

/retest

can you also add a positive use case?

@zirain just for clarification you want me to add a new file in internal/gatewayapi/testdata right ? I ideally wanted to add a test where generated cluster is validated from input yaml, but i think that's not the case ig for tests in internal/gatewayapi/testdata ? and i can't find in project where such tests exist if they exist.

@zirain just for clarification you want me to add a new file in internal/gatewayapi/testdata right ? I ideally wanted to add a test where generated cluster is validated from input yaml, but i think that's not the case ig for tests in internal/gatewayapi/testdata ? and i can't find in project where such tests exist if they exist.
Edit: added a metric-enabled input file in internal/gatewayapi/testdata for now if that is what is required.

can you add xds translator test case

/retest

/retest

would be good to also enhance the grafana dashboard in gateway-addons-helm to make it easier to consume these metrics

would be good to also enhance the grafana dashboard in gateway-addons-helm to make it easier to consume these metrics

you wan it to be done in this pr or i can open a separate issue for that @arkodg  ?

follow up is fine @luvk1412 , thanks

/retest


feat: Add support for system cache runtime

Fixes #337
Example usage:
from posit.connect import Client

client = Client()

runtime_caches = client.system.caches.runtime.find()
first_runtime_cache = runtime_caches[0]

# Remove the cache
task = first_runtime_cache.destroy(dry_run=True)

# Wait for the task to finish
task.wait_for()

[ ] Dry run should return None


fixed two points

fixed the display when click sort , the logo's display on the head cell is not suit.
fixed the bottom scorllbar , with adding a feild in Tableview, it's a boolean params, named with "bottomscorllbar", and default is "False", so the bottom scorllbar will be invisible if it has not been changed.

Hi, can you please explain what you are trying to fix on the scrollbar? Are you trying to make it optional?

No response; this can be reopened if the questions are answered.


Use strong typing for the response's headers

Instead of providing a single member headers: Vec<(String, String)>, the Response should have multiple members each corresponding to a header.

The objectives of that change would be:

Avoid typos in the headers names and values.
Make it easier to build more complex headers (like cookies, or cache-control, which are not necessarily trivial)
Make it easier to modify a header already in the response without having to go through the list of headers (eg. adding a cookie).
Prevent headers that should only appear once from appearing twice.
Still allow custom headers if required.
Implicitly forbid some headers like Connection or Upgrade by making them not appear in the list.

However I really don't like hyper's strong typing system, as it's confusing and difficult to understand. Rouille's API should remain as idiomatic as possible, and not use meta-programming techniques.
The new API should look more like this:
pub struct Response {
    pub status_code: ...,
    pub cache_control: ...,
    pub content_type: ...,
    ...
}

However a good trade-off needs to be found between strong typing and usability.

The other problem is how to handle that with the cgi and reverse proxy features.
Obviously we don't want to parse the headers returned by cgi/reverse-proxy just to build a response and then serialize them again.

I think we need the following changes:

Create a new RawResponse type that has the same fields as the current Response.
Modify Response to be strongly-typed (two posts above). Implement From<Response> for RawResponse.
The closure passed to start_server must return a T where T: Into<RawResponse>.
All the helpers in rouille would return a Response except the cgi and reverse-proxy stuff which would return a RawResponse. This seems reasonable as cgi/reverse-proxy are rarely used at the same time as regular responses building.

The custom_headers member can be removed from the Response proposal above, since the user can turn it into a raw response and add their own headers.

Overall I have mixed feelings.
Things I noticed:

It is not really elegant to enforce a correct response with a struct layout. For example with the status code 401 it is mandatory to include a WWW-Authenticate header. But since it's the only status code that contains a mandatory header (not even 301/302/303 require a mandatory location for example) and since a WWW-Authenticate header can also be added to any other status code, I didn't find an appropriate struct design. In the end I decided to make www-authenticate optional but automatically turn a 401 status code into 403 if www-authenticate wasn't included. This is a bit crappy.

You probably end up allocating more memory with a strongly-typed response because of all the intermediary strings and containers that must be joined together at the end. With a weakly-typed response you just build one string. If you take for example WWW-Authenticate: Basic realm="foo". With a strongly typed response you need three strings (Basic, realm and foo) and two Vecs (for the list of challenges and list of challenge parameters). With a weakly-typed response you just build Basic realm="foo" immediately and have one string.

The split between Response and RawResponse is ok from a usability point of view, I think. Maybe the fact that you need to use into() is a bit confusing, but it's acceptable.

Right now I changed the log function to take a Into<RawResponse> and return a RawResponse. This would eventually need to be changed by adding a trait.

try_or_400! and try_or_404! needed to be changed to add .into() so that they can return either a Response or a RawResponse.

I kinda like the design of rouille right now (with a weakly-typed response) in the sense that it mimics web servers interacting with each other. Each function that takes a &Request and returns a Response is kind-of similar to a mini web server, and returning a weakly-typed response mimics what a real HTTP response would look like.

I like the fact that converting from a RawResponse to a Response doesn't have access to the Request. However this is problematic because the headers should be different depending on whether or not the Request uses HTTP 1.0 or 1.1 (for example with cache control). I'm not sure whether this is really a problem, because we could just "ignore" HTTP 1.1. The same problem arises with a weakly-typed response as well anyway, and some methods would need to have access to the request.

For now my conclusion is: negative, but let's postpone and not close it altogether.

Is hyper's Headers implementation really that hard to use? It seems to me that their approach is the natural end-game for a strongly-typed approach to HTTP headers (modulo some improvements). The metaprogramming use is purely optional, and merely automates away the boilerplate.
At the end, using it boils down to req.headers.get::<Location>(), as opposed to req.location, and in both cases one receives an Option type anyway.


Added more fields to the package.json

Also fixed the dependencies key to include correct versions and build script.

The license for the package is - https://en.wikipedia.org/wiki/ISC_license


Replace zero byte files in categories/ with copies from tags/ dir

Hi,
Thank you for the work on putting together the Serene theme.
The current contents of the templates/categories/ directory is two zero byte files.  If you browse the /categories URL on a "live" Zola site that uses the Serene theme (https://serene-demo.pages.dev/categories/ ), you get an empty page because of this.
The /categories URL with valid single.html and list.html pages will show a list of categories that have been configured for the site (list.html); if you click on a category from the list, it will show you all of the posts in that category (single.html).
All of the above is documented at https://www.getzola.org/documentation/templates/taxonomies/
You can see an example of a "working" categories page in a different Zola theme here:
https://deepthought-theme.netlify.app/categories/
For Serene, I "borrowed" the list.html and single.html pages from the tags/ template directory, and refactored the two pages to work with categories instead of tags, and then replaced the two zero byte files in the templates/categories directory.
The page formatting of the /categories URLs looks a bit funny, since it uses the CSS for the /tags pages, but the /categories URL works for a Zola-generated site with the Serene theme now.  I figured the formatting could be updated later on, "working" would be a good place to start.

Currently I have no plan to add category pages, as there is no entry link for that in this theme.
This is intended, for simplicity I think adding tag as a filter is good enough.

No worries, I thought I would ask.
I'll go ahead and close this PR, thanks.


What do you think of the "trapped-ball segmentation" in this paper?

cGAN-based Manga Colorization Using a Single Training Image
https://arxiv.org/abs/1706.06918
@powion

The author uses a "trapped-ball segmentation"  to divide the painting into several parts, as a hint to generator. Though it may only handle with closed figures, to some extent, it is possiable to be helpful to make the final output sharp and clear.
However, the examples' inputs in this paper are not sketches but grayscale images with full texture and full shadow, such as:

Because it is very much easier to colorize such informative gray-scaled  images than real sketches, maybe the final result will not be so well when the "trapped-ball segmentation" is attached to a sketch colorize AI.
But whether there are any methods to take the advantage of such "segmentation" when we colorize a real sketch?

Thanks for sharing information, personally I think using segmentation information is useful for colorization.
Because even human could not know ”actual” color of a sketch, but human can solve segmentation problem even from rough sketch. This difference can be significant one.
Im not so confident about actual method,  but one idea is making dataset of sketch to segment using photo segmentation data and line extraction network.
Pre-trained segmentation network for sketch may useful to add segmentation ch into input or to use its middle layer for encoding feature.

Do you think "paintschainer" itself is actually, to some extent, already a good segment network?
You know, when a sketch is feeded to the paintschainer, the paintschainer always has a tendency to paint same color on same semantic area.
For example, paintschainer always paints yellow hair.

Because AI do not know what is the color of each image's hair, so the AI marks the hair yellow.
Maybe the network want to tell us that hair is marked in yellow, instead of the hair is yellow.
So maybe we can use paintschainer as a AI to solve segmentation problem before actually draw on sketches?

hmm.
Tampopo tend to like use yello because it is near to skin color and low risk color to use it on hair.
Maybe paintschainer could extract some feature from sketch and it is solving segmentation problem partially as you said.
So it is also possible to use paintschainer itself for colorization , actual human also doing  same iterative approach.

https://arxiv.org/abs/1706.06759
Comicolorization : Semi-automatic Manga Colorization

Hmm, so many paper related to style/color ref colorization recently.
As well as "cGAN-based Manga Colorization Using a Single Training Image", all of these are A+B=C solution.
All of these papers choose manges instead of sketches, to avoid the texture and shadow reconstruction.
(but I use sketches)
I feel so lucky that I submitted my paper at 11 Jun 😃

Yes, the papers in this field is very competitive...
Congratulation about your establishment.
I also want make more applications and services.

By the way, how you set learning rate to your very giant 600,000 dataset?
In your code, the lr for adam is 1e-5, but I think it is so high. with 1e-5 lr, the network tends to overfit about the last 10000 images and thus ignore all images before the last 10000.
Do you have a learning rate schedule or some tricks to tune your lr?

Actually I changed the learning rate manually... for fine tuning.
But I dont know it was effective or not.


Support utf-8 and other encodings

Some chars will be represented as more than 1 byte when writing it to file, so conversion to char positions and byte positions will not map, they are the same only for ASCII chars.
For example, the following line representing a SEPA direct debit:
0319154003010000000031<PHONE_NUMBER>31                       FRST<PHONE_NUMBER>020091031BIC123BBXXXFARRÉS I JULIÀ, ANDREU                                               CARRER ESPAÑA, 2                                  08012 ALBACETE                                     ALBACETE                                 ES                                                                        AES4721003311852100084378              QUOTA BARÇA

FARRÉS is 6 chars long, but it is stored as 7 bytes, as È are bytes 0xc3 0x89 in UTF-8 (see here for a table of UTF-8 chars https://www.utf8-chartable.de/unicode-utf8-table.pl).
00000000  30 33 31 39 31 35 34 30  30 33 30 31 30 30 30 30  |0319154003010000|
00000010  30 30 30 30 33 31 20 20  20 20 20 20 20 20 20 20  |000031          |
00000020  20 20 20 20 20 20 20 20  20 20 20 20 20 30 31 30  |             010|
00000030  30 30 30 30 30 30 30 33  31 20 20 20 20 20 20 20  |000000031       |
00000040  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000050  46 52 53 54 20 20 20 20  30 30 30 30 30 30 30 31  |FRST    00000001|
00000060  38 30 30 32 30 30 39 31  30 33 31 42 49 43 31 32  |80020091031BIC12|
00000070  33 42 42 58 58 58 46 41  52 52 c3 89 53 20 49 20  |3BBXXXFARR..S I |
00000080  4a 55 4c 49 c3 80 2c 20  41 4e 44 52 45 55 20 20  |JULI..,

You're obviously correct.
However, nobody uses fixed-width formats unless they're dealing with a system super-old, and those systems don't support multi-byte characters. I suspect there aren't any non-artificial cases where this will matter.
Do you have a real-world use-case for this?

I have updated the description.

Banks are those kind of old systems that use such kind of files.
I started to use FixedWidth to decode those files and import them on my app, and also to produce them, but I failed to realized about the byte issue. I am preparing a patch on my fork, so I will find a way to deal with it.
What do you think? It makes sense to my use case, and once I have it working I will upload the PR.

If you have a real-world use case, then sure. I created this library specifically for dealing with a bank. :laughing:
I'm very surprised to learn that there's a system old enough to be using a fixed-width file format that also supports the UTF-8 character set.

They accept encodings, since in Spain there are names like "JULIA" (women) and "JULIÀ" (men), that should be properly spelled.

They accept encodings, since in Spain there are names like "JULIA" (women) and "JULIÀ" (men), that should be properly spelled.

Oh! Good to know, thanks.

They accept the encodings when you deliver the file to your bank, and then your bank translate non-ASCII chars into the nearest plain ASCII char, so if I send it like "JULIÀ", they translate it to "JULIA" and then they send "JULIA" to the debitor's bank.


CLI on MacOS: --verbose fails with unrecognized option `--stdout'

Testing #133771
macOS Mojave 10.14.6
Version: 1.61.0-insider (Universal)
Commit: 214ac689ca9874a8a4be386f73d5cb60e15af25e
Date: 2021-09-28T05:14:06.244Z
Electron: 13.4.0
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 18.7.0

open terminal
run code-insiders --verbose

Shareds-MBP:~ aeschli$ code-insiders --verbose
open: unrecognized option `--stdout'
Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-s <partial SDK name>][-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
Help: Open opens files from a shell.
      By default, opens each file using the default application for that file.
      If the file is in the form of a URL, the file will be opened as a URL.
Options:
      -a                Opens with the specified application.
      -b                Opens with the specified application bundle identifier.
      -e                Opens with TextEdit.
      -t                Opens with default text editor.
      -f                Reads input from standard input and opens with TextEdit.
      -F  --fresh       Launches the app fresh, that is, without restoring windows. Saved persistent state is lost, excluding Untitled documents.
      -R, --reveal      Selects in the Finder instead of opening.
      -W, --wait-apps   Blocks until the used applications are closed (even if they were already running).
          --args        All remaining arguments are passed in argv to the application's main() function instead of opened.
      -n, --new         Open a new instance of the application even if one is already running.
      -j, --hide        Launches the app hidden.
      -g, --background  Does not bring the application to the foreground.
      -h, --header      Searches header file locations for headers matching the given filenames, and opens them.
      -s                For -h, the SDK to use; if supplied, only SDKs whose names contain the argument value are searched.
                        Otherwise the highest versioned SDK in each platform is used.

Same with code-insiders --status

Nice catch! @aeschli
Two things to be done:

Rewire the cli to use old code path for macOS <= 10.15 for the endgame
Write wrapper around https://developer.apple.com/documentation/appkit/nsworkspace/3172700-openapplication to be used instead of open as follow-up.

Can someone explain what is different in Big Sur compared to older versions?

@bpasero from the error above the following 3 std pipe arguments are not available on older distros.
     --stdin PATH
         Launches the application with stdin connected to PATH.

     --stdout PATH
         Launches the application with stdout connected to PATH.

     --stderr PATH
         Launches the application with stderr connected to PATH.

open tool is not public, so I couldn't find the exact release notes where this behavior was changed. For now, the safer change is to not use the open path pre Big Sur while we explore alternatives using NSWorkspace for these versions in upcoming milestone.

Ok thanks, do we have an issue for that?


Fix: Support individual query tag configuration for Seeds and Snapshots

resolves #20
Description
This Pull Request wraps the default materialisations of Seed and Snapshot with query tags.
Configuration examples
Configuration is equal to other materialisations:
Snapshots
snapshots/snip.sql
{% snapshot snip %}
{{
  config(
    target_database='db',
    target_schema='snapshots',
    unique_key='id',
    strategy='check',
    check_cols=['col_a'],
    query_tag='SNAPSHOT'
  )
}}

select * from {{ source('db', 'table') }}
{% endsnapshot %}

(Taken from issue)
Seeds
dbt_project.yml
seeds:
  jaffle_shop:
    +query_tag: 'dbt_jaffle_seeding'

seeds/marketing/properties.yml
version: 2

seeds:
  - name: utm_parameters
    config:
      schema: seed_data
      query_tag: 'dbt_utm_seeding'

Todo

[x] I have a test in mind:

Run Snapshot with Query Tag
Validate queries have been executed using the query_tag

select *
from table(information_schema.query_history_by_user())
where QUERY_TAG <> '';

(3. Query tag should be reset)

[x] CHANGELOG.md incoming

Checklist

[X] I have signed the CLA
[X] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt-snowflake next" section.

Ready for Review

Closing and re-opening to trigger adapter integration tests, since I've added ok to test label


Make infinite loops time out

If computer has been running for a long time, it should give up, so that the page doesn't hang.

I think this is fixed-ish, now that we run in a worker thread, so an infinite loop doesn't make the page hang.


feat: session key to cast a vote and propose

We should allow propose and voting using session keys (aliases). We should have test for this to make sure alias is verified correctly and it's not possible to cast a vote without verified alias. This will require some change in the hub and SX-UI. We don't need to support this on Snapshot UI.

Only for offchain spaces ?

@wa0x6e Yes

How do we handle safe voting ?

You would generate an alias for it then use it to vote

So they can vote, and shortcut the whole multisig thing ?

Yes


Add a wiki: Manor Lords Wiki (Hooded Horse)

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://manor-lords.fandom.com
Link to destination (independent) wiki: https://hoodedhorse.com/wiki/Manor_Lords

In the past (#479), I had raised an issue with a Hooded Horse wiki because they didn't state a licence (and their Terms of Use implied that they owned the wiki content, like Fextralife does). However, since then, they have updated their site footer to specify that their wikis are all licenced under CC BY-SA 4.0 (and the MediaWiki API also reflects this).
I think it's fine to add Hooded Horse wikis, but we should still tag them as "indie" wikifarms, like we do for wiki.gg and Miraheze.

This has been added in v3.10.1 (now available for Chrome, should be released for Firefox soon)


Gh 704 aggregation trait

Codecov Report

Merging #712 into develop will decrease coverage by -0.07%.
The diff coverage is 57.69%.

@@              Coverage Diff              @@
##             develop     #712      +/-   ##
=============================================
- Coverage      60.63%   60.57%   -0.07%
+ Complexity      2699     2694       -5
=============================================
  Files            394      393       -1
  Lines          12109    12123      +14
  Branches        1382     1385       +3
=============================================
+ Hits            7342     7343       +1
- Misses          4192     4203      +11
- Partials         575      577       +2

Impacted Files
Coverage Δ
Complexity Δ

...in/java/uk/gov/gchq/gaffer/export/SetExporter.java
81.25% <ø> (-18.75%)
7 <ø> (ø)

...ava/uk/gov/gchq/gaffer/store/ElementValidator.java
74.46% <100%> (+0.55%)
16 <ø> (ø)
:x:

...main/java/uk/gov/gchq/gaffer/store/StoreTrait.java
100% <100%> (ø)
1 <ø> (ø)
:x:

...k/gov/gchq/gaffer/accumulostore/AccumuloStore.java
69.52% <100%> (ø)
17 <1> (ø)
:x:

.../commonutil/iterable/WrappedCloseableIterator.java
57.14% <100%> (ø)
5 <2> (ø)
:x:

...v/gchq/gaffer/data/TransformOneToManyIterable.java
70.9% <50%> (-10.49%)
6 <3> (+1)

...operation/handler/GetElementsWithinSetHandler.java
50% <ø> (-16.67%)
2% <ø> (ø)

...eration/handler/GetElementsBetweenSetsHandler.java
50% <ø> (-16.67%)
2% <ø> (ø)

.../accumulostore/retriever/AccumuloSetRetriever.java
64.53% <ø> (-0.18%)
13% <ø> (ø)

...bitmap/serialisation/utils/RoaringBitmapUtils.java

... and 11 more

Continue to review full report at Codecov.

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


Rails/FilePath - False positive on blob with slash

Code that returns a listing of sub directories, without files, within a Rails root raises an offense:

Rails/FilePath: Please use Rails.root.join('path', 'to') instead.

Expected behavior
When running $ rubocop on any ruby file within a Rails project:
Dir[Rails.root.join('app', 'services', '{*/}')]

Should not raise the "Rails/FilePath" offense for the blob slash that returns a sub directory listing.
Actual behavior
Dir[Rails.root.join('app', 'services', '{*/}')]

Raises the "Rails/FilePath" offense due to the slash.
Steps to reproduce the problem
When running the $ rubocop, a "Rails/FilePath" offense is raised on any ruby file within a Rails project that has the following code: Rails.root.join('<dir>', '<dir>', '{*/}').
RuboCop version
0.67.2 (using Parser <IP_ADDRESS>, running on ruby 2.5.3 x86_64-darwin18)

Looks like the Rails/FilePath cop now defaults EnforcedStyle to "slashes", which solves this issue.


Port Occupied Error

When I start dmx-hue in terminal and leave it open, I then go to the Lightkey app to connect to Art-Net and I get this error about the port being used already by dmx-hue

ArtNet protocol requires software to use a specific port. While dmx-hue can happily share this port with other software, the opposite might not be true.
You can try starting your DMX app first and dmx-hue after, and if it doesn't work the best solution would be to use different computers to run dmx-hue and your DMX app. You can use a cheap SBC like a Raspberry Pi to run dmx-hue, as its doesn't requires much computing power.

I tried this, but it still is not working. It is possible for me to change my port address, but I am not sure what to change it to.

This looks like the problem fixed by https://github.com/sinedied/dmx-hue/pull/35. Are you using the latest version of dmx-hue? Otherwise it looks like Lightkey has the same problem dmx-hue used to have.
I don't think the OLA server port is the issue. What are the options on the Art-Net page that are being covered by that dialog?

What are the options on the Art-Net page that are being covered by that dialog?

What happens if you set it to mode manual? Is there a localhost in Network interface?


test GitHub Action

Expect:

test fails for 3 broken links in docs/access-control.md
test fails for 3 broken links in regtests/client/python/docs/AddGrantRequest.md
test does not run on links added to file top_level_file.md

finished tests, closing PR


A test change to generate hound errors.

Don't merge this.  Just trying to generate hound warnings.

Test this please.

Test this please.

BUILD RackHD #1259 : FAILURE

** BUILD build-config-setup  #1380: SUCCESS
** BUILD CIT  #1124: FAILURE
** BUILD FIT  #984: SUCCESS

Closing bogus test PR.

BUILD RackHD #1261 : FAILURE

** BUILD build-config-setup  #1382: SUCCESS
** BUILD CIT  #1127: FAILURE
** BUILD FIT  #985: SUCCESS


Bug: A job cannot be submitted due to the Adaptor Wheels directory contains the wrong wheels

Expected Behaviour
After executing the Application Interface Adaptor Development Workflow, job submission from the 3ds Max integrated submitter completes successfully.
Current Behaviour
When submitting a job, an error appears indicating that the directory for the wheels is incorrect.

The wheel generated after building deadline_cloud_for_3ds_max is named deadline_cloud_for_3ds_max--py3-none-any.whl.
Reproduction Steps
After building deadline-cloud-for-3ds-max, the openjd_adaptor_runtime, deadline, and deadline_cloud_for_3ds_max wheels, setting DEADLINE_ENABLE_DEVELOPER_OPTIONS to true, submit a job from the 3ds Max integrated submitter.
Code Snippet
Renaming the built deadline_cloud_for_3ds_max--py3-none-any.whl file to deadline_cloud_for_max--py3-none-any.whl in the wheels folder resolved the error.

Thanks for reporting this issue. We'll take a look to determine the best path forward.


REF: Change default task_execution to async

It has caused confusion that process is the default task execution type. This PR warns if execution type is not set so that after the next release the default can be changed to async.

Codecov Report

Merging #96 (c4df666) into master (e65ce24) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
+ Coverage   91.64%   91.65%   +0.01%
==========================================
  Files          89       89
  Lines        4523     4529       +6
==========================================
+ Hits         4145     4151       +6
  Misses        378      378

Impacted Files
Coverage Δ

rocketry/session.py
92.14% <100.00%> (+0.17%)
:arrow_up:

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


rPackages.interactiveDisplay: add missing Rdep

Description of changes
BiocManager is assumed to be installed , and is not listed as Imports for Bioconductor packages. That assumption is correct on non-nix systems, so probably not a bug.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build rPackages.interactiveDisplay


Update package-flights.md

update following investigation with Store Operations Support (Paul Tindall and Bart) to confirm the reason why ingestion of WACK failed packages was successful for a flighted ring.

@marcpems : Thanks for your contribution! The author(s) have been notified to review your proposed change.


test/Universe-Conversions some questions on conversions

a couple of questions:

should the package conversions change the PackageVersion?

https://github.com/dcos/cosmos/blob/test/Universe-Conversion/cosmos-server/src/test/scala/com/mesosphere/cosmos/converter/UniverseSpec.scala#L26
[edit, ignore the conversion error for marathon, my bug]

behavior is expected according to @BenWhitehead


Update vulnerability-disclosure.html.md.erb

I did not find reference to a timeline for reporting and response?
b Escalation process?
c Legal safe harbour?

JS -
a The GOV.UK page contains information on timelines.  b Escalation is the responsibility of COD Cyber and the respective service, added a minor statement for services to consider this. c GOV.UK page clarifies terms of disclosure programme, including not taking illegal actions.

ta.. wording fixed.. the link should still work, I changed the link text but the URL remains the same

Is there any expectation to keep branches or can I just delete it?


XRP Wallet only works with 16 byte seed

I'm using xrpl4j to generate xrp wallet as part of a HD wallet. I am able to generate the wallet fine when the seed size is 16 bytes (128 bits / 12 word mnemonic) but when the seed size is 32 (256 bits / 24 word mnemonic) it fails. The current workaround I have is to strip the seed of the bytes in excess of 16.
See HD wallet generation using bitcoin4j code here.
new DeterministicSeed(
        new SecureRandom(),
        256,
        Optional.ofNullable(passphrase).orElse("")
    );

See stripping of bytes in excess of 16 workaround here.
ArrayUtils.subarray(privKey.toByteArray(), 0, 16);

While this is functional, it strips the entropy and is restrictively less secure.
Requirement:

XRP Wallet should allow seed length greater than and equal to current length of 16 bytes for more secure wallets

I'm going to close this for now, since this no longer seems necessary. @manthanhd Feel free to open again if this is still a blocker for you.


Can't use creditcard payment on PSv1.6 with OPC in new version 3.5.5 (v3.5.0 works)

Mollie version 3.5.0 works ok, but the latest version 3.5.2 does not make the windows come from the creditcard payment. In the console I see a JS error and I think it is the new file that is made for PSv1.6 in that new version (mollie_iframe_16.js).
Hope this is enough information, if more is needed then let me know.
Environment:
MySQL version 10.2.30-MariaDB
PrestaShop version:  <IP_ADDRESS>
Mollie module version: 3.5.0 (version 3.5.2 does not work with creditcard)
PHP version: 7.1.33

Same issue with Mollie version 3.5.3, downgraded to Mollie version 3.5.0 again.

Same issue with Mollie version 3.5.5, downgraded to Mollie version 3.5.0 again.

We couldn't reproduce this error with 3.5.5 Mollie version.
Maybe you could give more information about error or sand me your ftp to<EMAIL_ADDRESS>?

@margud, did you received my email?

Hi Alex,
Yes, I got it. I will investigate as soon as possible to let you know about
the situation.
2020-04-03, pn, 18:18 Alexander van Amersfort<EMAIL_ADDRESS>rašė:

@margud https://github.com/margud, did you received my email?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mollie/PrestaShop/issues/152#issuecomment-608500650,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMMJ26OKXFEBKKNRKBQC2F3RKX42ZANCNFSM4KPLQ56Q
.


Playlists

When trying to play a video from a playlist (with a url like youtube.com/watch?v=[video ID]&list=[playlist ID]&index=1 ), it doesn't work. The frame created by UnBlock shows the error message, "An error occurred. Please try again later. (Playback ID: [ID])." The page just automatically moves from one playlist video to the next, unable to play any of them.

I am having trouble getting the block to show (believe it or not). For now, I'll try forcing a fix and will release an update in the following day-3days; as I have little time at the moment.

Just tested it and it works properly now! Also, there was a similar issue with URLs that have a timestamp in them (like youtube.com/watch?v=[video ID]&t=100s, for example), but this fix took care of that, too. I'm also not seeing anything else broken as a result of the update. Thanks!

I'm actually still experiencing the same issues as before. For whatever reason, YouTube stopped presenting my account with the anti-adblocker screen for a couple days, so when I tried your updated script, I thought your fix had worked, but it was just YouTube going temporarily back to normal for me. So, I turned off your script and was using YouTube normally without issues again. But, YouTube put up the block on my account again today and, like before, the script is not working for playlists and timestamped videos.
Not a dealbreaker for me (other scripts that work similarly to yours have the same issues), but just figured you should know, thanks!

It seems YouTube updated some things as currently, the video is just black for me. I'll need to rework the code soon.

Ohno!  I accidentally forgot to re-add the correct class after I finished testing.

tried the most recent version now, but still just endless skips through playlists ^^

Hey there, @YelloNolo!
First of all, thank you very much for trying to develop something that is very useful for people like me who can't stand ads like those on YouTube. It helps me a lot to study. Watching class playlists, I noticed the bug and saw that, as described on GreasyFork, solutions to this problem are being analyzed. So, I made an observation and I'm commenting here so that maybe I can help with something.
I noticed that, in a playlist, the video URLs receive the index parameter, like this:
https://www.youtube.com/watch?v=VIDEOlist=PLAYLISTID&index=INDEX
By removing the parameter from the URL, we can see that the problem does not occur and the video plays normally as if it were any "loose" video, like this:
https://www.youtube.com/watch?v=VIDEOlist=PLAYLISTID
Attached, I left a video showing that the problem stops after removing the parameter.
I hope I contributed something and, once again, thank you very much!
PS: Sorry for the strange English, I'm Brazilian and I still need help from the translator to write lol.
https://github.com/YelloNolo/YouTube-UnBlock/assets/72590492/f588ab76-ee8c-4370-b87b-096b98ec074f

@HydroXBR I just tried this, but it seems that if you wait a bit, it ends up switching back to the "index" link. I created a new branch for testing if you want to upload the script and see if it works for you: https://github.com/YelloNolo/YouTube-UnBlock/tree/Playlist-Fix-Testing
Note: I also tried replacing all URL's inside the HTML that would match the broken URL, but to no success.

When you sent it, I applied the branch and it worked until today, it's helping me a lot, actually!
I was able to follow classes through playlists normally!
Of course, it may be that works for me only, I believe it also depends on the browser, but helped me a lot.


Enable World Swapping

What problem does this solve or what need does it fill?
There are two common patterns in many Bevy applications.

Game menu: Game menus are separated from game worlds by States. Typically it's a global enum with WorldState::Menu and WorldState::Game variants. When going WorldState::Game -> WorldState::Menu, a lot of cleanup is necessary. See issue https://github.com/bevyengine/bevy/issues/12852 for a great example.
Asset to resource: When an app starts up, some resources are loaded from assets and inserted into the world. The world often uses a global States enum to separate the loading phase from runtime systems. This pattern is especially distinct for headless apps where AssetServer is only used to load config resources on startup. After loading is done, the global States only exist to filter out the initial loading systems, which stay in the app.

Fundamentally, Bevy app design is currently monolithic. One world per application, one world to control all logic and data. Architecturally, monolithic worlds are restrictive and require various hacks around States and comprehensive cleanup systems to artificially construct distinct 'sub-worlds' within a single World. Even when you hack together internal 'sub-worlds', there is risk of data leakage between partitions, and it becomes difficult to clean up dead 'sub-worlds' entirely and reliably.
This problem is unique to an ECS engine because the ECS is a kind of data-control singleton with mostly manual allocation management (entity spawn/despawn, resource insert/remove).
What solution would you like?
Instead of one world per application, I'd like to use multiple worlds per application. One world at a time can control the event loop and windows, but worlds can do hand-offs when the user swaps between partitions of the application.
With a multi-world-swapping design, the menu/game separation becomes much more straightforward since game worlds can be cleaned up completely by just dropping them (and only recovering exactly those resources you want to recover).
Similarly, the load -> headless app sequence becomes much cleaner and more concise.
It turns out world-swapping is quite straightforward to implement, and only a few minor changes are required to the Bevy codebase to achieve the necessary level of abstraction. I implemented world-swapping in this experimental crate using a branch of Bevy that has the changes in the following small PRs:

[x] Add Clone to WinitSettings to facilitate moving windows between foreground worlds. https://github.com/bevyengine/bevy/pull/12787
[ ] Export CachedWindow so swapped-in worlds can be synced with windows it doesn't know about yet. https://github.com/bevyengine/bevy/pull/12785
[ ] Split out a section of WinitPlugin into WinitCorePlugin so secondary worlds can hook up to winit without creating an event loop. https://github.com/bevyengine/bevy/pull/12786
[ ] Refresh SystemStates used by the winit event loop when the primary World running in the loop changes. https://github.com/bevyengine/bevy/pull/12788
[ ] Tie access kit root nodes to winit window ids instead of entity ids, so the root nodes can be transferred between worlds. https://github.com/bevyengine/bevy/pull/12799
[ ] (optional) Don't make AssetServer in AssetPlugin if an AssetServer already exists. This makes it easier to reuse AssetServer between worlds. It is optional and I might just close this because it sounds like in the future AssetServer will be more deeply embedded in the ECS. https://github.com/bevyengine/bevy/pull/12790

Note that the world-swapping approach I implemented uses separate render worlds for each 'swappable' world. The surface area between swappable worlds and an App is quite small. Swapping is mostly transferring window information and hooking up foreground worlds to the event loop.
What alternative(s) have you considered?
A few solutions have been proposed:

Dynamic plugins
Entity namespacing
Just keep hacking things together

While it's certainly useful to have more ECS tools, unfortunately dynamic plugins and entity namespacing are both far away from Bevy today, and are far more complex to implement than world swapping. They are also probably more complex to actually use (and use correctly) in practice. World-swapping is easy to use, and low-cost to support in Bevy.
Additional context

https://github.com/bevyengine/bevy/issues/12852

World swapping seems a very counter intuitive and bad idea to me if you apply it to the whole world. it would make much more sense to me to limit it to some kind of subworld.
As we move to more things "as entity", like windows, gamepads, input devices, ... this feels less and less a good idea

First, I see why this is appealing, and it would be cool. Know that I'm on board for allowing world swapping (the simple "change active world that we are currently running app logic on") . In effect, we already do.
But I'm very opposed to "supporting" (as in, changing how we do things or constraining ourselves in order to make it a first class experience) the "swapping worlds as scenes" pattern.
A World (as we all know) is a "container of all of the things required to make an app function". The proposal (as I interpret it) is to allow someone to create a new World, fill it with entities, and then transfer everything required by all Bevy Engine plugins and 3rd party plugins to function without breaking anything. That "set of things" is undefined. We'd essentially be creating a new "thing" people need to remember to support: ensuring the data is registered in a way that it is transferred. And then ensuring that it is built in a way that it can be transferred (ex: entity references don't break).
Also notably, porting any piece of architecture to being "entity backed" (ex: Assets as Entities, Schedules as Entities, etc) introduces a new set of "porting problems".
I guarantee the TODO list in this issue is not exhaustive. We would forever be identifying new issues upstream (and in 3rd party crates). And we would forever feel the need to tie our hands behind our backs to avoid nasty porting issues (for example, avoiding the use of Entity ids in core systems, which is the opposite direction that Bevy is currently headed in).
This is a path we could take. But we would be sacrificing a lot to make it happen. Instead I think we should be investing in things like allocation reuse (ex: allocate tables of entities on separate threads that can be directly and cheaply merged into the main World storage), world partitions / subworlds, etc.

Would sub-worlds be fully self contained? Could an entity exist in multiple worlds simultaneously, or only one at a time? The former would be good for replication and render worlds, but data leakage could be a problem as well.

As I understand it, this is what my worldswapping implementation does. I'm not actually sure what you mean by the "swapping worlds as scenes" pattern.. More comments below...

To be clear: I am in favor of continuing to allow people to swap out full World references. Just that functionality, not the accompanying "data transfer / compatibility fixups" being proposed here. When I talk about "swapping Worlds as scenes", I'm talking about things like your "Game Menu World vs Game World" swapping scenario. The "game menu world" is serving essentially the same role as a "game menu scene" would, which is why I'm making that comparison.

This is not quite the case, and it's why I thought world swapping could be achieved in the first place. A world does not A) contain the state of the event loop, B) include a render world inside it (this is not super important for world swapping, but it's true anyway).

Sure. I will concede that point (although it wasn't really the one I was trying to make). That doesn't really change my mind about anything.

World-swapping as implemented is actually creating an entirely new App and extracting its main world and render subapp. When swapping worlds, only transfer those resources/entities that are device-locked (windows, input devices). 99% of normal plugins don't need to care about this, and I explicitly don't intend to support more than the bare minimum of resource/entity synchronization.
I feel like this exaggerates the cost to support this in Bevy. Can you give an example of a feature that would cause nasty porting issues? Bevy is old enough, and the landscape of what goes into a game engine's design is established enough, that it should be possible to come up with an example if one exists (not trying to be rude, it's just I consider this a major UX improvement and don't want to back down without a clear reason).

Your porting list alone is already concerning. The fact that this cross-cuts into Winit configuration, Bevy Window abstractions, Asset Server (with additional implications for efforts such as assets as entities), AccessKit, etc signals to me this is not a "one off" issue to be solved once, but rather a new set of constraints that applies to a wide variety of things across contexts.
Bevy is built in such a way that its built in features aren't "special" and are generally replaceable. The problems manifesting themselves in the areas above inherently aren't just "internal" issues to be abstracted over. If it requires significant changes to the structure of internal systems, that is a "userspace / 3rd party plugin" issue as well.
Given what I've seen I'm highly confident the implications extend into 3rd party plugins. I don't have the time right now to undergo the research project of surveying the ecosystem for incompatibilities. But I would be very surprised if they aren't there. I think places like bevy_sdl2 and bevy_kira_audio are probably a good place to start.
But I want to stress that the changes being suggested above are already enough for me to be concerned. The "manual fixup" pattern being embraced here feels like the fixes would be constantly changing and highly subject to breakage as Bevy features evolve over time. This is a new set of constraints that we would be enforcing and fixing for the rest of Bevy's lifetime. That is a big ask.
Additionally, the amount (and scope) of metadata being stored in World is planned to increase over time (relations, scenes, dynamic/scripted components, schedules as entities, assets as entities, etc). Having an unbounded number of duplicates of metadata across worlds and an unbounded amount of data to transfer back and forth between them feels like we're going in the wrong direction.

From my point of view as a user, these items aren't even on anyone's dev roadmap (as far as I know), which means the state of things is unlikely to improve any time soon (if ever). And to be clear, I personally don't have the time or motivation to invest 1+ months in a big ECS project.

Yup I agree that this is unlikely to happen soon, and may never happen.


Pgp issue 9etc

Template tweaks for Cancogen and Monkeypox templates

Approving this as it pertains to DH templates only.


Improve bower registry loading

Loading the bower registry for the first time or when it's time to refresh it takes too long. It could use the default bower cache to show some results until the registry is fully load, so the user can browse while loading it.

Hello Albertina,
There is any option to load registry on demand? For example: first time loading take a lot of time. If I want to install bootstrap, jquery etc. I don't need all the registry. Maybe, you can make an AJAX call to get this packages without loading all the registry.
Sorry for my english :(.


Show amount of data scanned [DBeaver/Athena] in DBeaver

Is your feature request related to a problem? Please describe.
Would be nice to be able to see how much data was scanned after executing a query within an Athena connection. The reason being, so that I wont have to use Athena console to get an idea of how much data each query scans. Will help keep track of costs.
Describe the solution you'd like
Add a field in the query result window that shows how much data was scanned. Source of that would be Athena.
Describe alternatives you've considered

Use Athena console to get an idea of amount of data that was scanned per query.
Add feature myself if anybody can point me to relevant files for DBeaver.

Additional context
Below is the screen shot of the data point I would like to be displayed in DBeaver.

This will require to use native Athena driver (not that Simba JDBC driver which we use now).
And most likely this can be made in EE version only. Because of huge AWS SDK and task complexity.


Support Ethnicity and Race fields as determined by NCES and IPEDS requirements

NCES and IPEDS standards can be found here:
https://nces.ed.gov/statprog/2002/std1_5.asp
https://nces.ed.gov/ipeds/Section/collecting_re
Given I am a SFDC user
And I need to enter Ethnicity and Race information for a contact
When I Go to Enter Ethnicity
Then I can specify "Hispanic or Latino" or "Not Hispanic or Latino"
When I go enter Race
Then I can specify "American Indian or Alaskan Native", "Asian", "Black or African American", "Native Hawaiian or Other Pacific Islander", or "White"

** lurch: add

**lurch: add

Tracking W-017337

FYI, the race and ethnicity standards are evolving and we may have to revisit this again at a later date.

I was just searching for this, and wanted to say thank you for implementing this; it was the first thing that I looked for in a newly installed org. +100

If you look at point 5 at the URL below, institutions are federally required to aggregate the data for reporting purposes using those 9 categories, which includes the two question format addressed by this ticket.  Having said that, many institutions use the 9 category format for all reports on a daily basis, well before their Institutional Research department compiles the data for Federal reporting.
With the two question format, is the suggested method to track this for an institution to create a custom field with logic to combine the two-question format along with the Citizenship field into one master, official, reporting field?
https://www2.ed.gov/policy/rschstat/guid/raceethnicity/questions.html

To answer your question: The reporting of Race and Ethnicity is up to each individual institutions requirements. Always a good question to post to the Registrar. However, your idea is definitely one of doing that :)
Also - You do have access to the Power of US Hub - I just found your profile. Looks like you are already a member of the HEDA User Group there too.
You need to log out of your Developer org in order to access the Power of US Hub from your Production org.
Questions like this should be posted in the Power of US Hub HEDA User Group so you can benefit from the community and their helpful responses.

I will keep that in mind.  I was hoping to stay independent (dev org) in the case I branch out on my own or leave my company, but in the short run I will use my current org.

And just to follow up, my current login for my current employer, not a Salesforce.org client, has asked to join the HEDA group on Success, but that is pending, as I am no long with my former institution.


Add keybinding to start default build

A default key binding will be very useful to start the configured build.
Different key bindings can be created to support shortcuts for configuring and building.

Fixed with bf6e4769b4814c112bd87c72bd875cb63b615109


Can not decode PNG format file

2020/07/13 10:59:39 failed to open image: image: unknown format

I also try other go lib:
https://github.com/h2non/filetype
It can decode and test the right file type

Are you sure you've attached the right images?
I've downloaded both of them and this code works for me:
package main

import (
	"log"

	"github.com/disintegration/imaging"
)

func main() {
	for _, filename := range []string{"test1.png", "test2.png"} {
		img, err := imaging.Open(filename)
		if err != nil {
			log.Fatal(err)
		}
		log.Printf("%s: %v", filename, img.Bounds())
	}
}

2020/07/14 02:21:38 test1.png: (0,0)-(285,304)
2020/07/14 02:21:38 test2.png: (0,0)-(289,303)

It is also worth mentioning that this package does not implement image decoding. To open PNG images it uses the standard image/png package. If you get errors while opening a valid PNG image, try decoding it using png.Decode (https://golang.org/pkg/image/png/#Decode) and if it also fails you should open an issue in the main go repository (https://github.com/golang/go).

Closing the issue. Feel free to reopen if you have any further questions.


QuickStart Guide does not work out

When working through the QuickStart Guide, the Step "Expose The Application Via An Ingress" does not produce the expected result.
When trying to reach the export workload Nginx answers  503 Service Temporarily Unavailable.
The log of the ingress-container says:
controller.go:753] Error obtaining Endpoints for Service "default/ingress-568322f1cbe6a531554c821256913b21": no object matching key "default/ingress-568322f1cbe6a531554c821256913b21" in local stor
I tried that with latest and stable versions of rancher.

Can you provide full logs from the nginx ingress controller and the output of kubectl get ep and kubectl get pods so we can reopen and investigate?


Revert lots of unneeded "fixes" and remove unneeded files.

Reverts follwoing commits, which all came in in an effort to get a mac build running in Xcode. Since that was never really followed through, we can revert to the state that was more close to Bitcoin. That should make merging in the affected files easier. Verified that Mac build is still working (actually it's broken by #940 but that's only because of the old machine I was building on. Gitian cross compile will solve this issue).
0f24b826babb9254843a9c2c4dad847133215fb5
d483617a2b821292277a8ef486f05bc4f0daecec
056bf29ce31dc9b195c6e5d780e943bc57842ad7
33503805aecf5036746b5bcff6b3d419834f842a
85774390e1b6705a1707fd518829653fd5582a1d
79d8f59a7c88ffb183a0c22eca137fa4a3333b9e
3b060c9feac696588d956382f80b994a4185160a
30053cfaa3a8ce403438b26638d1d9aacfe3e7ae

tested this against multiple big wallets and everything still works for me, no regressions that I can find. Merging.


yum: use rockylinux as base build image

It stores RPMs under td-agent/yum/repositories/centos for
compatibility.
TODO: support armv64v8/rockylinux:8 as well. It is not accessible from my
environment :-<, It will be handled in another PR.

Oops, thanks.
Fixed now.

🎉