[Bug] MBPO on HalfCheetah-v2 not learning

Hello !
Thank you for this new library.
Steps to reproduce
I have tried to run MBPO on HalfCheetah-v2 using
python -m mbrl.examples.main algorithm=mbpo overrides=mbpo_halfcheetah
after having installed the library, following the README steps.
Observed Results
Looking at the results.csv file while training MBPO, the agent doesn't seem to be learning:

env_step,episode_reward,epoch,rollout_length,step
999.0,-0.8456277073670116,0.0,1.0,1
1999.0,-0.9440948246565134,1.0,1.0,2
2999.0,-0.7490316223516877,2.0,1.0,3
3999.0,-0.7571950947415443,3.0,1.0,4
4999.0,-0.8274641044949901,4.0,1.0,5
5999.0,-3.238894348513289,5.0,1.0,6
6999.0,-6.492029299434498,6.0,1.0,7
7999.0,-17.30643762007886,7.0,1.0,8
8999.0,-31.60495724347696,8.0,1.0,9
9999.0,-46.125412228730156,9.0,1.0,10
10999.0,-71.67442837269994,10.0,1.0,11
11999.0,-58.69499608366046,11.0,1.0,12
12999.0,-69.69717022249019,12.0,1.0,13
13999.0,-86.82171969107995,13.0,1.0,14
14999.0,-121.96192444262107,14.0,1.0,15
15999.0,-145.69370999969092,15.0,1.0,16
16999.0,-168.29146007014336,16.0,1.0,17
17999.0,-181.85075223574438,17.0,1.0,18
18999.0,-158.5637693244303,18.0,1.0,19
19999.0,-158.52343716747603,19.0,1.0,20
20999.0,-167.62715189227546,20.0,1.0,21
21999.0,-143.24211684101195,21.0,1.0,22
22999.0,-162.0094559119758,22.0,1.0,23
23999.0,-132.65619703115092,23.0,1.0,24
24999.0,-139.2981737548027,24.0,1.0,25

And the episode_reward values don't get any better ( I have tested it for about 400 000 environment steps).
However, python -m mbrl.examples.main algorithm=pets overrides=pets_halfcheetah    gets much better results, with the following result.csv:

env_step,episode_reward,step
1000.0,-152.01008098334424,1
2000.0,15.21179995149966,2
3000.0,-49.4050625863483,3
4000.0,16.849760830275926,4
5000.0,-219.33720385147777,5
6000.0,-210.56151771405823,6
7000.0,652.796055680682,7
8000.0,902.5875139452987,8
9000.0,1312.0837729671678,9
10000.0,-279.0000574725552,10
11000.0,1753.5399394982003,11
12000.0,1215.2626283022482,12
13000.0,947.9160259748666,13
14000.0,2514.5715560595763,14
15000.0,2619.5086821951263,15
16000.0,3259.5381123355673,16
17000.0,3626.519190884455,17
18000.0,4070.194763445176,18
19000.0,4121.591162199583,19
20000.0,4602.759264114635,20
21000.0,4568.923964106727,21
22000.0,4919.350936975073,22
23000.0,4902.718673117782,23
24000.0,5196.1713305116145,24
25000.0,5124.92839588049,25
26000.0,5283.068158021224,26
27000.0,5191.014333635436,27
28000.0,5345.012072796462,28
29000.0,5019.163125754766,29

Expected Results

I expected the MBPO agent to improve its episode_reward performance, as env_step increases.

Thank you !

Hi @labecassis, thanks for reporting! I'll take a look at this. Have you checked with other seed for the RNG? In my experience performance on HalfCheetah can vary a lot between seeds, and occasionally fail to converge. I'll launch a few on my own to double check, just in case some recent changes broke it completely.

Turns out I pushed the wrong hyperparameter values for HalfCheetah and Ant to the repo. Can you check with the latest version in master branch? Here are results from a partial run with these values over 10 seeds using that config:

Hi !
Thanks a lot for investigating that issue. It looks like MBPO is learning now, using the latest version in master branch !
Could you tell me how long it takes for you to run 50 000 or 100 000 timesteps on HalfCheetah-v2 with MBPO?
I would like to compare to what I currently get on my machine: 13 000 environment steps in 2 hours on a gpu and 12 cpu cores.

Great! It took around 4-5 hours of runtime to produce the plot above.

Closed after this commit.


HA eufy-security-ws camera not stream and not show motion event

I have eufy home base with 5 cameras and various window and motion sensors
the sensors work correctly but the cameras do not, neither does the motion detection nor the streaming work if I want to view it from home assistant. I followed the procedure by installing go2rtc webrtc . I can see them for a moment but afterwards the status remains in preparing and it no longer works I have to restart the whole raspberry
can you help me?
Translated with DeepL.com (free version)

Same issue


Add ChatClient plugable advisors support

Add RequestResponseAdvisor interface with adviseReqeust and adviseResponse methods. The adviseRequest method takes and returns AdvisedRequest. The adviseResponse method takes and returns ChatRequest.
Add ChatClient#ChatClientRequets advisor(...) methods to register advisros. ChatClient call the registered advisors in order before sealing the ChatClientRequest into a Prompt and call the model and after the model response.
Implement PromptChatMemoryAdvisor that uses the ChatMemory and the systemem prompt.
Implement MessageChatMemoryAdvisor that usees the ChatMemory and the prompt messages.
Implement VectorStoreChatMemoryAdvisor that uses VecrStore for long term message history.
Add tests.

merged in c4784a070f13e0f8714e5ac71f358980bcdb3e82


Add image to clipboard for copy and paste

hi if I wanted to press the button to have the image copied to a clipboard, how would that work? Thank you! (so i can paste image into another application)

Hi @amanthapar!
you may pass a custom callback to get get the Blob written to the clipboard instead of downloading it.
const {   getBlob, } = useToImage(options, props => {      // connect with the clipboard here })
Just attach the getBlob function to your listener to be called as you need it, and it should work.
Hope that helps!

Thanks... I'm trying this. (I call getBlob() in the clickhandler function), but doesn't seem to work... any idea why? Thanks in advance..
const { ref, getJpeg, getBlob } = useToImage({ backgroundColor: 'white' }, props => {
    return navigator.clipboard.writeText(props.data)
})

@amanthapar can you prepare a codesandbox or similar with your example so I can give it a look?

I have facing the same problem. Will try to setup a codesandbox if this is not resolved yet

@amanthapar @Utkarshbhimte I just published a new lib (@hugocxl/react-to-image) with several improvements and adjustments where this issue is fixed. I put your case in the documentation. Sorry for the inconvenience 🙏, it's mainly due to NPM restrictions regardless usernames and packages published.


Filtering the vector tile endpoints based on priority and zoom levels.

I have noticed that while the other geometries are simplified at different zoom levels, this is not the case with points, the http://localhost:3001/services/postgis/pois/geom/vector-tiles/10/719/410.pbf (point layer) is 212kb, and as we go to higher zoom levels it is sliced. I have over 27k points in the layer and when the endpoints are created for lower zoom levels, (9 or 10) they take a long time to load and process.
According to VectorTiles.md , I can filter the results by adding the where query string in the URL,    :

http://localhost:3001/services/postgis/pois/geom/vector-tiles/10/719/410.pbf?where=priority%3C3

But using the where query string in the URL will filter all the results, while I only want to filter the results based on zoom levels.
Is there a way to get different different query strings for different zoom levels, so I can filter my results on the fly?

Hi!, did you manage to solve this issue?, I'm using something like this
http://localhost:3000/services/postgis/mapas_dip2013/geom/vector-tiles/{z}/{x}/{y}.pbf?fields=id,ganador,seccion this does work, returning those fields, but if I want to filter like this
http://localhost:3000/services/postgis/mapas_dip2013/geom/vector-tiles/{z}/{x}/{y}.pbf?where=ano%3D2013 as the docs said is not filtering my tiles, did you manage to solve this? How did you work around on this? greetings!

@DanielShinken I wasn't able to get the Vector Tiles to filter data based on zoom levels, which was what I wanted to do ( PGRestAPI was returning all the data at all the zoom levels, which was a bit of overkill ). I couldn't find a workaround to this as PGRestAPI uses the same query on all zoom levels ( one query per table ) I switched over to TileStache and was able to get my queries to work (granted TileStache has a much steeper learning curve and requires alot more work to set up and get running).
As for the query filter you are referring to, I was able to get it to work sometimes but not always, I'm not sure what I was doing wrong or different.


Fix HUDI-27 : Support num_cores > 1 for writing through spark

Users using spark.executor.cores > 1 used to fail due to "FileSystem closed"
This is due to HoodieWrapperFileSystem closing the wrapped filesytem obj
FileSystem.getInternal caching code races threads and closes the extra fs instance(s)
Bumped up num cores in tests to 8, speeds up tests by 3-4 mins

I have run this on CI and locally more than 7-8 times now.. and its not flaky.. we can merge after the current CI run is done

I have same problem today, and modified code. I confuse if remove  fileSystem.close(); , how to  close fileSystem connection? I mean it will create a connection each time when execute program, so many connections in fileSystem without  fileSystem.close();

@leilinen did you have the same problem with this patch applied as well?
Some background. FileSystem class caches and hands out references of FileSystem object across a jvm (i.e driver or . single executor) and also registers hooks to close the cached instances when shutting down.. So that will take care of reclaiming resources..
@n3nash Not following.  General practice for spark apps is to not call fs.close() at all and Hudi should be no different.. However as @bvaradar pointed out to me, may be its worth calling super.close() just in case.. I ll send in a PR for that.. If you still see follow up to be done, please open a JIRA and we can discuss and prioritize there

@vinothchandar
Today I tested my process and found if the parameter of limitSource in HoodieDeltaStreamer is large (such as 1000, 000) , it maybe cause filesystem.close() when write into hdfs. I reduce limitSource number and the exception disappeared.

@leilinen so may be with increased parallelism, hitting the race condition becomes more probable.
Actually, master branch should be fixed now. Do you want to increase the limitSource again and give that a shot?

Also lets take this discussion to the mailing list, so others also benefit :)
https://hudi.apache.org/community.html


Default style for the element

Hi,
What about adding a default style on the element with hint, to inform that something will be displayed when hover ? Something like cursor: pointer; border-bottom: 1px dotted;.

For example: a dotted border-bottom for texts?

Sorry, I missed updates on this issue… =((
Yes, dotted border-bottom would be nice for instance.


Using git-ftp

Hello.
Fresh installation of git, brackets, brackets-git and git-ftp.
After enabling git-ftp can create new "Git-FTP remotes" via the dropdown menu. But when trying to upload stuff or even deleting the previously created "remote entry" the 1st error pops.
Then I noticed that git on OSX Yosemite installs (by default) to /usr/local/git/bin/ instead of /usr/local/bin/ which was the path used in earlier OSX versions. Also if git is installed via Homebrew instead of the oficial installer (from git-scm.com) it installs to /usr/local/Cellar/git/ver.sion.num.ber/bin/.
In any case; dropping the git-ftp script on any of those /bin/ directories gave the same result: error # 1 listed below.
But moving the script to /usr/local/Cellar/git/2.5.0/libexec/git-core/ or to the corresponding /libexec/git-core/ directory of the current installation, error  # 1 is sorted out.
So it finally found the script!, but then got the second error listed below. Seems to be a permission problem.
These are the permissions shown by ls -l on that specific file -rw-rw-rw-@   1 eridani  admin   397394 Aug 23 12:58 git-ftp.
Any thoughts?

Brackets 1.4.0-16380 (mac), Git 2.5.0 & Brackets-Git 0.14.32
#1. Error: git: 'ftp' is not a git command. See 'git --help'.

Did you mean this?
	fetch
#2. Error: fatal: cannot exec 'git-ftp': Permission denied

Hi @eridanired , I don't use git-ftp much but first guess is probably that you'll need to do chmod +x on that script file.

Hey @zaggino !
That did the trick, thank you very much.


Extend route access policy docs

changes were applied directly in: https://github.com/netbirdio/docs/pull/223/commits/8be376c451700f58cbb69a54bfffb18ae90452b9


Define IDL instructions for the interest bearing mint extension

This PR update the Interest Bearing Mint extension in IDL with test.
This pull request was created for https://app.gib.work/bounties/cadbce12-707f-4bde-967f-386cd83f5c2d in an attempt to solve a bounty #20 . Payment for the bounty is immediately sent to the contributor after merge.

@lorisleiva I have a question about InterestBearingConfig
Even though the InterestBearingConfig looks like this.
pub struct InterestBearingConfig {
    /// Authority that can set the interest rate and authority
    pub rate_authority: OptionalNonZeroPubkey,
    /// Timestamp of initialization, from which to base interest calculations
    pub initialization_timestamp: UnixTimestamp,
    /// Average rate from initialization until the last time it was updated
    pub pre_update_average_rate: BasisPoints,
    /// Timestamp of the last update, used to calculate the total amount accrued
    pub last_update_timestamp: UnixTimestamp,
    /// Current rate, since the last update
    pub current_rate: BasisPoints,
}

But they intitialize timestamp and average rate themselves.
fn process_initialize(
    _program_id: &Pubkey,
    accounts: &[AccountInfo],
    rate_authority: &OptionalNonZeroPubkey,
    rate: &BasisPoints,
) -> ProgramResult {
    let account_info_iter = &mut accounts.iter();
    let mint_account_info = next_account_info(account_info_iter)?;
    let mut mint_data = mint_account_info.data.borrow_mut();
    let mut mint = PodStateWithExtensionsMut::<PodMint>::unpack_uninitialized(&mut mint_data)?;

    let clock = Clock::get()?;
    let extension = mint.init_extension::<InterestBearingConfig>(true)?;
    extension.rate_authority = *rate_authority;
    extension.initialization_timestamp = clock.unix_timestamp.into();
    extension.last_update_timestamp = clock.unix_timestamp.into();
    // There is no validation on the rate, since ridiculous values are *technically*
    // possible!
    extension.pre_update_average_rate = *rate;
    extension.current_rate = *rate;
    Ok(())
}

And it is also receives only rate_authority, mint, and rate in the Initialize instruction

So the question is should I reduce the InterestBearingConfig to match the data in initialize ix?
if not what should I do with this function to initiailze?
case 'InterestBearingConfig':
        return [
          getInitializeInterestBearingMintInstruction({
            mint,
            rateAuthority: extension.rateAuthority,
            rate: extension.currentRate,
          }),
        ];

let me fix merge conflict in a bit

Done 💯

Okay sure. I will fix it by tonight (GMT+7). Thanks for the review ❤

Thank you! No rush. 👌

Fixed as review. Thanks for the review lorisleiva ❤


Implementing IQR structure function calculator

This PR implements what we are referring to as the IQR Structure Function calculation method. It's described here (https://arxiv.org/pdf/1604.05858.pdf) as equation 10. Namely: SF(delta_t) = 0.741 * IQR where IQR is the interquartile range of the sorted delta_flux values for a given bin of delta_t's.
This calculator is able to make use of base SFArgumentContainer, so there was no need to implement a new subclass of the that dataclass. However, IqrStructureFunctionCalculator is a new subclass of the StructureFunctionCalculator.

Codecov Report

Merging #100 (3412c6b) into main (89a9a3a) will increase coverage by 0.36%.
The diff coverage is 88.67%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   83.40%   83.76%   +0.36%
==========================================
  Files          10       11       +1
  Lines         711      764      +53
==========================================
+ Hits          593      640      +47
- Misses        118      124       +6

Impacted Files
Coverage Δ

...ies/analysis/structure_function/base_calculator.py
93.33% <ø> (ø)

...es/analysis/structure_function/basic/calculator.py
100.00% <ø> (ø)

...ries/analysis/structure_function/iqr/calculator.py
88.46% <88.46%> (ø)

...lsstseries/analysis/structure_function/__init__.py
100.00% <100.00%> (ø)


An official setup-rye for github action

I made one for myself link, but I hope there is an official one we can use since all my project and all project on my company are relied on rye.
I know there is setup-uv action, but I still hope we can have it in case we wanna use rye script

I recommend https://github.com/marketplace/actions/python-setup-rye. @eifinger also worked on the official setup-uv action.

I recommend https://github.com/marketplace/actions/python-setup-rye. @eifinger also worked on the official setup-uv action.

oh i thought it is not an official, but it looks good! thanks

Yeah the setup-rye action isn't "official" necessarily (it's not in the Astral GitHub Org) but the author works on the official uv action :)


Slideshow Height

From Jeff's Email (issue #36):
Reduce height of slideshow at top of page. It's taking up too much real estate and we want visitor to see that there's more to the page than the slider.

@JordanMajd I dropped the height a bit on tablets and up but left it alone on phone-ish and down because it looks perf to me. I used vw as the height unit, so it scales vertically pretty well until you get to the big guys (1600px or so).
If FCBC wants it narrower yet, that's fine and we can reopen this, but they may need some extremely landscape-y pics to make it look decent.


[WIP] Check for Arc leaks in Process::execute

I'd like to make sure that the Arc used for the execution in Process::execute isn't "leaky". Marking as WIP, as more checks/changes may follow.

Nope, looks fine, so we should apply the correct unwrap in order to avoid deep-cloning.

Could you provide a little more context on this change? Would love to learn :)

Due to the way those values were being taken out of their Arcs, I thought that maybe Arc::try_unwrap was initially failing, and that's why it was not being used. Since such failure would indicate the existence of more than a single strong reference to the Arc, which would indicate a likely Arc-related memory leak (some strong reference not being dropped) happening somewhere in the execution.

Rebased against testnet3.2.
It should also be noted that switching the deep clones to unwraps makes that operation much faster: it takes it down from ~23µs to ~70ns, which is a 99.7% speedup, which can easily become meaningful when a lot of executions are carried out.

Oddly, I had to add Debug on the Inclusion struct, but not the Execution struct, despite them being similar.


jbofihe: Init at 0.43

Motivation for this change
Make jbofihe available.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 126446 at 3fae864c run on x86_64-linux 1

1 package built successfully:

jbofihe

2 suggestions:

warning: missing-phase-hooks
checkPhase should probably contain runHook preCheck and runHook postCheck.
Near pkgs/tools/text/jbofihe/default.nix:17:3:
   |
17 |   checkPhase = ''
   |   ^

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/tools/text/jbofihe/default.nix:24:5:
   |
24 |     license = licenses.gpl2;
   |     ^


cex.io trade history is broken

(Here as a reminder - for me because I'm at fault for at least some of this!)  But the cex.io user trades parsing is not accurate, the api is way more complicated than expected.

Got in a bit late for the 4.3.7 release, but saw the problem and PR'd it: https://github.com/knowm/XChange/pull/2632
The problem was with having cancelled orders being returned by the API, they don't have a counter currency amount, so resulted in an NPE in the price calculation.
Agreed, the API is a wee bit more verbose than the usual.

@timmolter please reopen.  I think the problems go deeper than the NPE described.  I've not got it figured yet, but market order v's limit orders are modelled differently, as as buys and sells and partially cancelled.

Agreed on re-open and revisit. I've not tested with market orders as I actively avoid those, only did a quick-fix to handle cancelled orders as well (as filled and partially filled).
I've not delved too deeply into that related regex work of yours @npomfret. Makes sense to me, but I prefer to steer well clear of those.


Same issue SAMLRequest IssueInstant is in the future. ... with tolerance of 0 seconds

Hello,
I have the same issue described on issue 6  (https://github.com/RockSolidKnowledge/Samples.IdentityServer4.Saml2pIntegration/issues/6).
Exception: SAMLRequest IssueInstant is in the future. System: 11/5/2018 9:59:52 AM with tolerance of 0 seconds. SAML:
System.Exception: An error was encountered while handling the remote login. ---> System.Exception: SAMLRequest IssueInstant is in the future. System: 11/5/2018 9:59:52 AM with tolerance of 0 seconds. SAML: 11/5/2018 9:59:52 AM
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
at Rsk.AspNetCore.Authentication.Saml2p.Saml2pAuthenticationHandler.HandleRequestAsync()
at IdentityServer4.Hosting.FederatedSignOut.AuthenticationRequestHandlerWrapper.HandleRequestAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context)
at IdentityServer4.Hosting.BaseUrlMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
How is it possible to set the "TimeComparisonTolerance" property ?
Thanks a lot.

In the latest version of the IdentityServer4 SAML component (2.2.0-preview3 and above), both IdP and SP can be configured with the following option: TimeComparisonTolerance. Setting this will allow you to say how accurate (or not) you want to be with time comparisons. This property is available on SamlIdpOptions and Saml2pAuthenticationOptions.
Another alternative is to create and register your own implementation of IDateTimeService that has the clock skew and accuracy that you need.


Default code editor

Ask user for default code editor, should be available in the editor aliases or user should know the command call.
Implement opening if the user passes an editor or the default exists, otherwise error.
Reference to Open function

#58 #59


Run E2E with travis in forked repos

This prevents running docker login using the quay credentials if we don't have any travis secure environment vars set e.g. running travis in forked repos.

/lgtm
Thanks !


Run tests for rfay merge PR

The Problem/Issue/Bug:
This is just to run the tests quicker for https://github.com/torenware/ddev/pull/1 and make sure they all get run. The plan is to complete the work over in

https://github.com/drud/ddev/pull/3983

Closing as this is now merged into https://github.com/drud/ddev/pull/3983


613/emissions forecast command

Issue Number: 613
Summary
Implementation of emissions-forecast command
Changes

List of comprehensive changes

Checklist

[ ] Local Tests Passing?
[ ] CICD and Pipeline Tests Passing?
[ ] Added any new Tests?
[ ] Documentation Updates Made?
[ ] Are there any API Changes? If yes, please describe below.
[ ] This is not a breaking change. If it is, please describe it below.

Are there API Changes?
If yes, what are the expected API Changes? Please link to an API-Comparison workflow with the API Diff.
Is this a breaking change?
If yes, what workflow does this break?
Anything else?
Other comments, collaborators, etc.
This PR Closes Issue #

Codecov Report

Merging #146 (7bce0db) into dev (bb79dcb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #146   +/-   ##
=======================================
  Coverage   85.73%   85.73%
=======================================
  Files          52       52
  Lines        1711     1711
  Branches      194      194
=======================================
  Hits         1467     1467
  Misses        191      191
  Partials       53       53


ARTEMIS-1169 - Implement Interceptors for the AMQP protocol

https://issues.apache.org/jira/browse/ARTEMIS-1169

The example reports SUCCESS, but it actually fails. It's looking for the property "newSimpleAmqpInterceptor" which should be set by the interceptor, but the interceptor just prints the value of the "SimpleAmqpInterceptor" property.

The PR check passes, but 'mvn -Prelease install' due to checkstyle violations in the new example.

fixed


Add ability to set custom TTL

Added in https://github.com/nvllsvm/linode-dynamic-dns/commit/40c33971bc01729c051174fd1ae3ac3ade704eff


Update information for Wetherby - WYI

The information in the register needs to be updated - specifically:

female: false

@simonnebMOJ prison updated


latest u-boot broken on PG2 board

Since commit 5ac8edaca2fd29c87c2bd4922b464b31a6dbd674 at least the following board is no longer able to boot. When flashing this revision, no data is sent via UART.

6ES7 647-0BA00-0YA2
FS: 01 06.2021

To rule out any flashing issues, I also erased the flash once before flashing the new firmware using the dpcmd -u sequence. But this did not make a difference. This has been confirmed on two IoT2050 boxes with the mentioned model number.
While testing I also found out that the latest dpcmd version (c7ae31) is broken on the Dediprog SF100 programmer:https://github.com/DediProgSW/SF100Linux/issues/54. The last know-to-be working version of dpcmd is c76e10f.
Please note that this issue is especially critical, as this firmware can also be flashed from userspace and once done, the box is bricked and can only be recovered with a programmer. In combination with the Dediprog bug this makes it very hard for average users to unbrick it again.

"FS: 01" should be PG1. Why do you think it's PG2? And it's a Basic variant, right?
Regarding the SF100Linux issue: Will you follow up on it upstream? I'm on 4aa428 here (local mtda recipe), so I didn't notice this yet.

FWIW:
root@mtda:~# dpcmd --vcc 2 -v -u iot2050-pg1-image-boot.bin

DpCmd Linux <IP_ADDRESS> Engine Version:
Last Built on January 7 2023

Loading file, please wait ...(iot2050-pg1-image-boot.bin)

Auto Sequences, please wait ...
Device 1 (SF602412):
34.1s elapsed

Device 1 (SF602412):
Automatic program OK

Checksum(whole file): 4AF0C5CE
Checksum(Written part of file): 4AF0C5CE

Verifying, please wait ...
Device 1 (SF602412):
8.9s elapsed

Device 1 (SF602412):
Verify OK

And, obviously, if your device turns out to be PG1, flashing PG2 firmware will not work.

Thanks for the quick reply, @jan-kiszka .
Just tested it with the PG1 version. This only worked after manually erasing. Before that I still did not get any output. Very strange. But now I can see the bootloader and boot again. However, when I call fw_printenv I get configuration file wrong or corrupted. Might be a different issue, but in the past that worked.
While this turned out not to be a technical issue but a user mistake, can we please try to improve the documentation. I cannot find any map between the FS<x> and the PG<x> versions (plus the additional complexity with Basic and Advanced). In addition, with older versions of the firmware it was possible to at least boot an FS1 box (model from above) with a PG2 firmware. By that it could well be that people believe they have a PG2 while they actually have a PG1. All that is really frustrating and takes a lot of time.
Another problem is that the u-boot build contains a timestamp which breaks the reproducibility. By that, just comparing the checksum of the bin files is not helpful. We should really make the build bit-by-bit reproducible and use the SOURCE_DATE_EPOCH variable which is automatically set to the latest debian changelog entry.

Have a look at https://support.industry.siemens.com/forum/de/en/posts/overview-about-fs-states-of-iot2050/273280/?page=0&pageSize=10 for the FS mappings.
Regarding reproducibility: That's is not yet in scope, but you can send patches if you see mistakes.

Have a look at https://support.industry.siemens.com/forum/de/en/posts/overview-about-fs-states-of-iot2050/273280/?page=0&pageSize=10 for the FS mappings.

Thanks for the pointer, but this is rather bad source: A forum where you have to login to even be able to read things. Search engines will never pick that up. And things like the mapping need to be stated in either the official Siemens docs, or (better) in the u-boot readme in this repo. I won't open an MR for this topic, as I can only copy the information from the forum. But I would really appreciate if a maintainer could add it. @BaochengSu , @AsuraZeng .

Regarding reproducibility: That's is not yet in scope, but you can send patches if you see mistakes.

I briefly had a look into the issue. It's actually an ISAR bug as the add_deb_changelog makes the build non-reproducible both across builds, as well as on partial rebuilds. Surprisingly, our the tries to make the changelog reproducible are exactly what breaks reproducability. Will report that to ISAR and likely send a patch as well.

@bergmanu

@bergmanu Could we add the FS type information in the wiki of this repo?
Or to prevent double maintenance, one root source of the information then share the link of it.

Regarding reproducibility: That's is not yet in scope, but you can send patches if you see mistakes.

I briefly had a look into the issue. It's actually an ISAR bug as the add_deb_changelog makes the build non-reproducible > both across builds, as well as on partial rebuilds. Surprisingly, the tries to make the changelog reproducible are exactly  what breaks reproducability. Will report that to ISAR and likely send a patch as well.

Fix sent to ISAR ML: https://groups.google.com/g/isar-users/c/zaWU_4eNilk

@fmoessbauer I have put the forum link into the wiki, check https://github.com/siemens/meta-iot2050/wiki#device-variants-pgx-and-functional-states-fs
@bergmanu I've extracted the FS&PG info from the card list to a separate section in the wiki.

@BaochengSu Thanks! Then I'm fine with closing this.


Relaxing versions and adding clarity to the README

closes #1 and adds minor clarification details to the README

I realized I should tag @hwarden162 - thanks!


Fix CocoaPods spelling in readme

;)

oops, turns out I've submitted similar pull request some time ago :D #76


kong_error_handler not running

kong_error_handler will not running when 404 or other error occurs  because "proxy_intercept_errors on;"  is not configured in templates/nginx_kong.lua 。

This is by design. The error handler is here to catch Nginx and Kong-produced errors, not upstream errors.


Application closes/crashes when trying to login

I am new to this. so I try to login, but immediately after I press enter after filling in the password the application shuts down/closes/crashes.
Am I doing something wrong?
I tried to re-install the application following the 'installation' thing for Wiindows.

Same here.

Found this in the discord server. Solved it for us (see screenshot)


Generate metadata for move-ethereum-ABI

Motivation

Add a cli to generate metadata from ABIMoveSignature
Convert  ABIMoveSignature to ethabi::Contract

Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan

I think overall logic makes sense to me. The PR has three components:

Type converter from ABIMoveSignature to ethabi::Contract,
Extractor of abi from Move module using move-to-yul Context.
A binary to generate the metadata from a move file.

1 is particularly important as once we get ethabi::Contract, it has lots of helper functions to encode and decode ethereum encoded data.


NullReferenceException accessing httpContext within WorkContextAccesor when it is called from a Migrations

Running 1.9.x branch (08/07/2015 commit) when a migrations like this one is executed:
public int UpdateFrom1()
{
            _contentManager.Get(1)
            return 2;
}

I get NullReference exception at this method at WorkContextAccessor because httpContext is null:
            public HttpContextScopeImplementation(IEnumerable<IWorkContextEvents> events, ILifetimeScope lifetimeScope, HttpContextBase httpContext, object workContextKey) {
                _workContext = lifetimeScope.Resolve<WorkContext>();
                httpContext.Items[workContextKey] = _workContext;

                _disposer = () => {
                    events.Invoke(e => e.Finished(), NullLogger.Instance);

                    httpContext.Items.Remove(workContextKey);
                    lifetimeScope.Dispose();
                };
            }

Looking at the stacktrace problem comes at MvcModule.HttpContextBaseFactory() method when httpContextBase is resolved because it returns null:
var httpContextBase = context.Resolve<IHttpContextAccessor>().Current();

It seems that httpContextBase is not properly instantiated when the call is not initiated by a webrequest, as happens when migrations code is run.
Any idea on how to fix this?

You shouldn't use the content manager in migrations, because migrations are executed very early when the application is started and is not yet completely initialized. If you really need to use services which rely on the work context in a migration, then you can try to create a work context scope manually.

In previous versions it was possible to use contentManager at Migrations. There is not a possible workaround to Activate AutomaticDataMigration after work context has been initialized?
I followed your advice attempting to get a ContextScope without success:
public int UpdateFrom1()
{
            using (_workContextAccessor.CreateWorkContextScope())
            {
                _contentManager.Get(1);
            }
            return 2;
}

I get the following Autofac Exception:
Autofac.Core.DependencyResolutionException "No scope with a Tag matching 'work' is visible from the scope in which the instance was requested. This generally indicates that a component registered as per-HTTP request is being requested by a SingleInstance() component (or a similar scenario.) Under the web integration always request dependencies from the DependencyResolver.Current or ILifetimeScopeProvider.RequestLifetime, never from the container itself."
StackTrace:
 at Autofac.Core.Lifetime.MatchingScopeLifetime.FindScope(ISharingLifetimeScope mostNestedVisibleScope)
   at Autofac.Core.Resolving.InstanceLookup..ctor(IComponentRegistration registration, IResolveOperation context, ISharingLifetimeScope mostNestedVisibleScope, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
   at Orchard.Environment.WorkContextModule.<>c.<Load>b__0_1(IComponentContext ctx) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Environment\WorkContextModule.cs:line 27
   at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.<Register>b__f(IComponentContext c, IEnumerable`1 p)
   at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Reflection.AutowiringParameter.<>c__DisplayClass2.<CanSupplyValue>b__0()
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.<Execute>b__0()
   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Features.Collections.CollectionRegistrationSource.<>c__DisplayClass4.<>c__DisplayClass6.<RegistrationsFor>b__1(IComponentRegistration cr)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Autofac.Features.Collections.CollectionRegistrationSource.<>c__DisplayClass4.<RegistrationsFor>b__0(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Registration.ExternalRegistrySource.<>c__DisplayClass8.<RegistrationsFor>b__3(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Reflection.AutowiringParameter.<>c__DisplayClass2.<CanSupplyValue>b__0()
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.<Execute>b__0()
   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Features.Collections.CollectionRegistrationSource.<>c__DisplayClass4.<>c__DisplayClass6.<RegistrationsFor>b__1(IComponentRegistration cr)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Autofac.Features.Collections.CollectionRegistrationSource.<>c__DisplayClass4.<RegistrationsFor>b__0(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Registration.ExternalRegistrySource.<>c__DisplayClass8.<RegistrationsFor>b__3(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)

ContentManager should be usable from migrations just as before (and shell event should be wrapped into WCs #4852).
I think @sfmskywalker can help with this.

Yes, regardless of whether or not it is good practice to use IContentManager in migrations, the fact that you can't all of a sudden indicates a potential bug. I'll look into it.

Hello Sipke Schoorstra.
Do you have any preview for this resolution.

I'm afraid not, I have yet to look into it. Try and inject it as a Work<IContentManager>, perhaps that makes a difference.

Inject it as Work didn't worked :(
In the mean time I'll continue investing time into grasp the work context initialization in Orchard.
It is a hard pending subject for me ;)

Sounds good. Have fun. ;-)

@jersiovic, here's how I create work context scopes in my Orchard PowerShell project:
https://github.com/MpDzik/orchardps/blob/dev/src/Orchard.Web/Modules/Proligence.PowerShell.Provider/TenantContextManager.cs
I'm not sure if this is the best way to do it, but it works.

Hello.
I made this workaround:
In McvModule i changed the line in HttpContextBaseFactory(IComponentContext context)  method:
from
var httpContextBase = context.Resolve().Current();
to
var httpContextBase =new HttpContextPlaceholder(baseUrl);
And added the old constructor to HttpContextPlaceholder class
        public HttpContextPlaceholder(Func<string> baseUrl)
        {
            _baseUrl = new Lazy<string>(baseUrl);
            _disposer = () =>
            {
                //Does nothing
            };
        }

Is not a solution but i can now make my import....

Thank both for you advice
@jafcampos I tried your solution but when I call ContentManager.Get() method from migrations I get the same exception:
StackTrace:
   at Autofac.Core.Lifetime.MatchingScopeLifetime.FindScope(ISharingLifetimeScope mostNestedVisibleScope)
   at Autofac.Core.Resolving.InstanceLookup..ctor(IComponentRegistration registration, IResolveOperation context, ISharingLifetimeScope mostNestedVisibleScope, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
   at Orchard.Environment.WorkContextModule.<>c.<Load>b__0_1(IComponentContext ctx) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Environment\WorkContextModule.cs:line 27
   at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.<Register>b__f(IComponentContext c, IEnumerable`1 p)
   at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Reflection.AutowiringParameter.<>c__DisplayClass2.<CanSupplyValue>b__0()
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.<Execute>b__0()
   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Features.Collections.CollectionRegistrationSource.<>c__DisplayClass4.<>c__DisplayClass6.<RegistrationsFor>b__1(IComponentRegistration cr)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Autofac.Features.Collections.CollectionRegistrationSource.<>c__DisplayClass4.<RegistrationsFor>b__0(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Registration.ExternalRegistrySource.<>c__DisplayClass8.<RegistrationsFor>b__3(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Reflection.AutowiringParameter.<>c__DisplayClass2.<CanSupplyValue>b__0()
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.<Execute>b__0()
   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Features.Collections.CollectionRegistrationSource.<>c__DisplayClass4.<>c__DisplayClass6.<RegistrationsFor>b__1(IComponentRegistration cr)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Autofac.Features.Collections.CollectionRegistrationSource.<>c__DisplayClass4.<RegistrationsFor>b__0(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Registration.ExternalRegistrySource.<>c__DisplayClass8.<RegistrationsFor>b__3(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)

@MpDzik I will give a try to your solution

After posting previous comment I looked twice at the point where exception is thrown (at WorkContextModule.Load() method) I have tried to registerWorkContextProperty for "shell" lifetimescope, that is the one is been used to resolve it :
            builder.RegisterType<WorkContextProperty<HttpContextBase>>()
                .As<WorkContextProperty<HttpContextBase>>()
                .InstancePerMatchingLifetimeScope("shell");

Now it works!! :)

What do you think of this variation of your solution @jafcampos ?
Instead of replacing var httpContextBase = context.Resolve().Current(); per
var httpContextBase =new HttpContextPlaceholder(baseUrl); I only create Context when it is not available.
HttpContextBaseFactory(IComponentContext context) method:
            var httpContextBase = context.Resolve<IHttpContextAccessor>().Current();
            if (httpContextBase == null) {
                context.Resolve<IWorkContextAccessor>().CreateWorkContextScope();
                return context.Resolve<IHttpContextAccessor>().Current();
            }

In that way there is not need of adding the old constructor to HttpContextPlaceholder class

It looks this doesn't solves all problems with context.
Now, I'm receiving an exception in normal requests because I have a driver which uses a Service that has a dependency on IWorkContextAccessor. The exception occurs when I access to the RequestContext of the Workcontext returned by the accessor
public ServicioUrlsCatalogo(IWorkContextAccessor wca)
{
      _workContext = wca.GetContext();
      _urlHelper = new UrlHelper(_workContext.HttpContext.Request.RequestContext);
}

The exception:
Exception:
ValueFactory attempted to access the Value property of this instance.
StackTrace:
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Orchard.ContentManagement.DefaultContentManager.get_Handlers() in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\ContentManagement\DefaultContentManager.cs:line 81
   at Orchard.ContentManagement.DefaultContentManager.New(String contentType) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\ContentManagement\DefaultContentManager.cs:line 102
   at Orchard.ContentManagement.DefaultContentManager.Get(Int32 id, VersionOptions options, QueryHints hints) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\ContentManagement\DefaultContentManager.cs:line 227
   at Orchard.ContentManagement.DefaultContentManager.Get(Int32 id, VersionOptions options) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\ContentManagement\DefaultContentManager.cs:line 131
   at Orchard.ContentManagement.DefaultContentQuery.<Slice>b__26_0(ContentItemVersionRecord x) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\ContentManagement\DefaultContentQuery.cs:line 193
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Orchard.Utility.Extensions.ReadOnlyCollectionExtensions.ToReadOnlyCollection[T](IEnumerable`1 enumerable) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Utility\Extensions\ReadOnlyCollectionExtensions.cs:line 8
   at Orchard.ContentManagement.DefaultContentQuery.Slice(Int32 skip, Int32 count) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\ContentManagement\DefaultContentQuery.cs:line 191
   at Orchard.ContentManagement.DefaultContentQuery.ContentQuery`1.Orchard.ContentManagement.IContentQuery<T>.List() in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\ContentManagement\DefaultContentQuery.cs:line 292
   at Orchard.Core.Settings.Services.SiteService.<GetSiteSettings>b__7_0(AcquireContext`1 ctx) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard.Web\Core\Settings\Services\SiteService.cs:line 28
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Caching\Cache.cs:line 27
   at Orchard.Caching.Cache`2.<>c__DisplayClass3_0.<Get>b__0(TKey k) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Caching\Cache.cs:line 19
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultCacheManager.Get[TKey,TResult](TKey key, Func`2 acquire) in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Caching\DefaultCacheManager.cs:line 33
   at Orchard.Core.Settings.Services.SiteService.GetSiteSettings() in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard.Web\Core\Settings\Services\SiteService.cs:line 27
   at Orchard.Mvc.HttpContextAccessor.<>c__DisplayClass3_0.<CreateContext>b__0() in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Mvc\HttpContextAccessor.cs:line 24
   at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Lazy`1.get_Value()
   at Orchard.Mvc.MvcModule.HttpContextPlaceholder.get_Request() in D:\PROYECTOS\PCCOMB2B\Orchard Multitenant\src\Orchard\Mvc\MvcModule.cs:line 121

I jersiovic.
Did you solved the problem with this code variation:
...
var httpContextBase = context.Resolve().Current();
if (httpContextBase == null) {
context.Resolve().CreateWorkContextScope();
return context.Resolve().Current();
}
context.Resolve().CreateWorkContextScope(httpContextBase);
return httpContextBase;
Or there are other exceptions?
Since i made my code changed (workaround) i haven't got any exception.

Yes I did that. It solved problema in migrations. But I found problems with context in other scenarios like I describe in previous post
I will make some tests with a site from scratch to isolate the problem before con back with more info.

Finally problem is in this version we cannot access to _workContext.HttpContext.Request.RequestContext from a constructor if the class is a dependency of a handler because it will be called before Request is initialized. I moved this code from the constructor to the methods that need to access RequestContext and the problem was fixed.
So yes, the proposed solution seems to fix the problem.
I will send a pull request

Looking at the commit which might have broken this, the code looks crazy, or at least I will need some time to understand the impact. Linked for ref: ce630f980c7a79ae17b36598f3834c4ffd523739

FYI: That ref is a tad outdated.

Try this, today I got into very similar problem.
public int UpdateFrom1()
        {
            using (var scope = _workContextAccessor.CreateWorkContextScope())
            {
               var contentManager = scope.Resolve<IContentManager>();
                contentManager.Get(1);
            }
            return 2;
        }

Thank you @kumards I understand my solution of adding ...InstancePerMatchingLifetimeScope("shell") is not good because breaks Orchard. So finally only solution I have found is to resolve ContentManager just when I'm going to use it as you @kumards proposed
Problem of this solution is I have more code in migrations of other modules which uses ContentManager. This code is executed when a new tenant is created, so I will need to fix also that code.
The other problem I see is for new comers to Orchard, this solution is something not obvious. So is likely they waste time trying to understand why ContentManager fails in migrations.

Take into account problems are not only related with ContentManager, those also happen with WidgetsService.GetLayers(). Furthermore, with this solution what happens when migrations fails? Operations done in a different scope won't be rolled back

I also just ran into this bug :(

I am just curios, what happens when the ContentManager is injected as Work object in the constructor?

@kumards if do you mean to this, it is something I commented on the third comment on this thread
public int UpdateFrom1()
{
            using (_workContextAccessor.CreateWorkContextScope())
            {
                _contentManager.Get(1);
            }
            return 2;
}

I faced this problem on July 9 when I was completing an upgrade of a multitenant site from version 1.7 to 1.9.1 which will be updated automatically using migrations + recipes + commands.
The point is after two months I'm still stuck at the same point, and I supporting pressure for upgrade to 1.9.1 On Tuesday meeting Committee was said @sfmskywalker was going to undo changes on a previous commit to solve this issue. Do you have any approximate idea of when it will be solved?
I understand you are busy, so if I you give me some indications related with the task to be done I can try to fix it myself and send a pull request.

I've been battling this problem myself too since upgrading to VS 2015. In fact it happens for me for Orchard 1.8 sites that I have to maintain too, when building under VS2015.
As @Piedone mentioned above, #4852 is the real problem here because there is no work context when Migrations are being run using Automatic Data Migrations. I have implemented a fix to #4852 locally and this has solved the problem for me, in both 1.8 and 1.9. I'll submit a pull request for #4852 in a few hours.
It does worry me that this problem only occurs under VS2015, and not under any previous Visual Studio version. Does anyone know the reason for this?

Cool, I will be looking forward to hearing from you.

The reason I started refactoring IHttpContextAccessor and related autofac registrations was to solve a runtime issue when the solution is built with VS2015. At the time, I was using VS2015 Preview or a RC, both of which using Roslyn. When debugging the code then, I saw that the error made sense and started refactoring to remedy. As mentioned on the last two meetings, this refactoring causes some other side effects such as not having access to the HttpContext from migrations (not even the HttpContextPlaceholder fake, which should be available but is not due to a bug).
@sebastienros proposed that we roll back all of my changes to see if the issue still exists with VS2015 RTM. I tried yesterday, and sadly, the issue is still there. I reported this to Sebastien and he'll digg into why the exact same code works when built with VS2013 but not with VS2015.
This is the commit hash to reproduce the issue with HttpContextBase on VS2015: d3ccd743e95242fdf24994257910365d8c514d8a.
To recap, in VS2013 everything up to and including d3ccd743e95242fdf24994257910365d8c514d8a runs fine, but fails in VS2015.
Orchard errors out right after setup:

I can think of the following course of actions:

Roll back everything and try a different approach. Perhaps the fix can be simpler than I have been doing.
Fix the issue with migrations we'e currently seeing.

Thank you @sfmskywalker at least now things are more clear

@jersiovic No, the below implementation is wrong.
public int UpdateFrom1()
{
            using (_workContextAccessor.CreateWorkContextScope())
            {
                _contentManager.Get(1);
            }
            return 2;
}

Because, the _contentManager was not created from  using (_workContextAccessor.CreateWorkContextScope()). I assume It was injected by autofac in the class constructor.
If you refer to my comment here https://github.com/OrchardCMS/Orchard/issues/5490#issuecomment-134332180, you will see the implementation difference.
What I meant about injecting ContentManager as Work object was something like below
public class MigrationClass : DataMigrationImpl
    {
        private readonly Work<IContentManager> _contentManager;
        public MigrationClass(Work<IContentManager> contentManager)
        {
            _contentManager = contentManager;
        }

       public int UpdateFrom3()
        {
            _contentManager.Value.Get(1);
        }
    }

I've submitted a pull request.

The pull request submitted by @harmony7  https://github.com/OrchardCMS/Orchard/pull/5738 looks great. After applu his fix the problems has disappeared for me.
Yes you are right @kumards that code was wrong.

I have submitted the VS discrepancy to someone at Microsoft. I will keep you posted.


cannot load such file -- octopress-genesis-theme (LoadError)

I'm trying to add the theme to a Jekyll project, but I get the following error. Anyone knows what's causing this?
Configuration file: /home/ubuntu/workspace/_config.yml
/usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb:28:in `require': cannot load such file -- octopress-genesis-theme (LoadError)
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb:28:in `block in require_gems'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb:26:in `each'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb:26:in `require_gems'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb:19:in `conscientious_require'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/site.rb:74:in `setup'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/site.rb:36:in `initialize'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/commands/build.rb:28:in `new'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/commands/build.rb:28:in `process'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/lib/jekyll/commands/build.rb:17:in `block (2 levels) in init_with_program'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/mercenary-0.3.4/lib/mercenary/command.rb:220:in `call'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/mercenary-0.3.4/lib/mercenary/command.rb:220:in `block in execute'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/mercenary-0.3.4/lib/mercenary/command.rb:220:in `each'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/mercenary-0.3.4/lib/mercenary/command.rb:220:in `execute'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/mercenary-0.3.4/lib/mercenary/program.rb:35:in `go'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/mercenary-0.3.4/lib/mercenary.rb:22:in `program'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/gems/jekyll-2.4.0/bin/jekyll:18:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/bin/jekyll:23:in `load'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/bin/jekyll:23:in `<main>'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/bin/ruby_executable_hooks:15:in `eval'
        from /usr/local/rvm/gems/ruby-2.1.1@rails4/bin/ruby_executable_hooks:15:in `<main>'

I just ran across this today, and the solution from @mdotasia worked for me as well.

Ah yes, I need to push out another release with these fixes. Thanks for the ping. :)

@imathis Another ping :)
As an aside, in the various READMEs it's ambiguous whether you just need to include the gem in jekyll_plugins group or you need to also include it in the gems list as well. Many plugins seem to not need it but this theme seemed to need it.

Is this really not solved yet .. or am I doing something wrong?


Set up Watcher for Tekton Dogfooding Cluster

Tracking issue for setting up the Watcher on the Tekton dogfooding cluster.
Blocked on #27, #40

API + Watch is now running in dogfooding in shadow mode (e.g. uploading results but not updating results). I'll flip shadow mode off in a few days.

API + Watch is now running in dogfooding in shadow mode (e.g. uploading results but not updating results). I'll flip shadow mode off in a few days.


New editor components: VideoPlayer, AudioStream, NftShape, Animator & PointerEvents

Shape up Cycle 3

🤖[deprecated] Generated by Copilot at 79989a1
This pull request adds new inspector components for video, audio, NFT, animation and pointer events entities in the scene editor. It also updates the texture inspector component to support video textures. It includes the corresponding TypeScript types, utility functions and unit tests for each inspector component. It modifies the files EntityInspector.tsx, Texture.tsx and types.ts to import and render the new components and options.
How to test

AudioStream, VideoPlayer & NftShape are smart components. So you can find them in the catalog + drag & drop them into the renderer
Animator component is automatically created whenever a dropped model has any animation defined on it.
PointerEvents it's a normal component, you can add it through the context menu

Assets/urls used for testing
AudioStream => https://icecast.ravepartyradio.org/ravepartyradio-192.mp3
VideoPlayer => https://github.com/decentraland/js-sdk-toolchain/assets/2366069/94f943fb-bf3b-4684-8e65-4cb26ba3281a
Animator => shark.glb.zip
NftShape => urn:decentraland:ethereum:erc721:0x06012c8cf97bead5deae237070f9587f8e7a266d:558536

I can confirm that the issue I reported above gets fixed by avoiding the creation of the Animator if the entity already has one. I sent a PR to @dcl/asset-packs to fix it: decentraland/asset-packs#76.
I found another issue now.
The AudioStream component works fine when setting the URL in the component, but if you uncheck the Start playing property and instead use the Play Audio Stream action to start it, the url in the action's payload is ''.

That throws an error saying that the url is empty:

Also important, the volume is being sent as a string, that doesn't seem to be right either. The type says it should be number:

cc @cyaiox I think this particular issue is not part of this PR but rather an issue with the play_audio_stream action, we might need to address this in a separate PR.

Everything seems to be working fine but I think the NFTShape component is imposible to use for a regular user. The inputs should be something like a Network dropdown, a contract address input and a token id input.
Also the styles of the dropdown for the frame style is not the standard, it should use the Dropdown component instead of the SelectField:


🪲[Bug]:UI of the website's footer is not aligned

Describe the bug
UI of the website's footer is not aligned
Screenshots

Pull request has been created regarding this issue

#32


method of setting PVC storage class is deprecated

Currently when KD creates a PVC it specifies the storage class via annotation. This is deprecated and we should instead use the now-supported method of setting spec.storageClassName.
Along with just the general fact that this is deprecated (and may go away), and that the new approved method is supported by all the K8s versions where KD can run, also there are issues with Velero backups in some situations when that field is not set.
Should be a straightforward change in getVolumeClaimTemplate in executor/statefulset.go. And delete the storageClassName constant from executor/types.go to make sure we no longer use that annotation anywhere.

Couple of thoughts:

May want to pull this into 0.9.0.
It would be nice to reconcile existing PVCs (created by us) to make sure they set the storageClassName in the spec. However this would require adding a whole new reconciliation controller just for that purpose, since we currently don't do PVC reconciliation in this operator... not sure it's worth it.


Implement parallelized implementation of GK algorithm

Implement parallelized implementation of GK algorithm which handles disjoint streams

Won't fix


fix: emit data always from the local database

on forced data request, load data from the server and update the local database and emit from the local database
build method of AbstractObservableBuilder is modified to do the same.
fixes missing fields in the emitted data due to relationships with ids in the models.

fixes #435

@iamareebjamal please review.

Yeah. looking into that. Actually mocking behavior of database repository is creating an issue.

@iamareebjamal please review.


Composer is not able to find this library

The requested package tajawal/codeception-appium could not be found in any version, there may be a typo in the package name.
Is there another way to get this package?

Add this into composer.json

You may across some other issues with installation and configuring. Please, look into general Issue tree to find solutions that I posted.

will do.
Thanks

Package submitted to packagist
you should find it now with composer :
https://packagist.org/packages/tajawal/codeception-appium

Thank you, that worked.


Why do I still see "unenrolled" channels and their drivers?

Why do "unenrolled channels" (and their drivers) still appear in the lists with smartthings edge:channels:drivers?
I've installed (and then uninstalled) a few different drivers, and after deletion of the drivers I also unenrolled from their channels. Confirmed with edge:drivers:installed and edge:channels:enrollments (and they don't appear in lists with edge:drivers:delete or edge:channels:delete).
Maybe I'm missing something? Maybe remembering all channels is by design?

edge:channels:drivers lists all drivers assigned to a channel. It does not include any information about hub enrollments to a channel.
If you want to remove a driver from a channel, you can unassign it with edge:channels:unassign.
More detail:

We use the term "assign" for assigning a driver to a channel. A channel is essentially a way to group drivers for sharing.
We use the term "enroll" for enrolling a hub in a channel. When a hub is enrolled in a channel, drivers assigned to that channel can be installed on the hub. (So in order to install a driver, one needs to assign it to a channel and also enroll the hub in that channel.)

Thanks for the reply: I understand the "More detail" part and assign
The channels prompt list with edge:channels:driver is not every channel in the universe, but it does appear to be a mixed list of all channels to which a hub in my ST account is currently enrolled AND other people's channels from which all hubs in my ST account are now unenrolled.
Just curious if anyone knew where/how that list of channels stored? Is there a record of all past interactions with channels held somewhere on my ST account?
Admittedly not an important question - certainly not an "issue" - just curious.

I think the CLI requests all the channels that you have access to, and that includes any read-only one that you've ever accepted an invitation to even if you really, really don't want to ever see it again. So I've got a test channel from a pull request in my list. There doesn't seem to be a way to uninvite yourself from channels you no longer care about. I find it disproportionately irritating, but the CLI is just the messenger.

Yeah, "doesn't seem to be a way to uninvite yourself" may be a good description of what's happening (i.e., the list is something different from "enrolled/unenrolled"). Thanks for your reply.


How debug this module with visual code or visual studio?

Hi, there is a way to jump into source files when CLICK+CTRL on functions instead into index.d.ts file?
Thanks.

No idea.


Using HACs installation doesn't actually install it properly?

I've installed using the HACS method but the only way for me to get it to show up when I've added the configuration to the configuration.yml file is to copy the custom_components/zigzag/ folder to the www/ folder.
Is there something I'm missing?

Yes (sorry).
I'm in the process of trying to make Zigzag available via HACS (It's harder then I anticipated ).

Yes (sorry).
I'm in the process of trying to make Zigzag available via HACS (It's harder then I anticipated ).

I'm wondering if, since it's an entirely frontend component, it would be better if it was a Frontend component?
But I've not really looked too hard and that may not work either.

I'm wondering if, since it's an entirely frontend component, it would be better if it was a Frontend component?
But I've not really looked too hard and that may not work either.

Zigzag will be including Bedrock for more detailed diagnostics and so it seems an integration/add-on is the appropriate approach.

Zigzag will be including Bedrock for more detailed diagnostics and so it seems an integration/add-on is the appropriate approach.

So after much trial & error (more error than trial lol), I've reached the conclusion that with the backend capabilities I have on the roadmap that a Home Assistant addon is the way forward, HACS does not support addons :(
Currently trying to get that stabilised with the current featureset and can then build on it.
So ... a much simpler installation process, but it will require that a user is running supervisor.

So after much trial & error (more error than trial lol), I've reached the conclusion that with the backend capabilities I have on the roadmap that a Home Assistant addon is the way forward, HACS does not support addons :(
Currently trying to get that stabilised with the current featureset and can then build on it.
So ... a much simpler installation process, but it will require that a user is running supervisor.


Add actual formatting specifier, instead of {}

The example should use the specifier as do the other examples. (That it can also be inferred and then has the same result is a different matter.)

Not sure why I didn't merge this. Completely forgot about it, and then did the same change myself earlier!


Improvised the UI

Pull Request Description
Objective
The frontend of the application previously lacked CSS and proper styling, negatively impacting the user experience. This PR enhances the user interface by implementing appropriate CSS and ensuring responsiveness.
Features Implemented

Dark and Light Theme: Implemented both dark and light themes, allowing users to choose their preferred visual experience.
Scrollable Footer: Added a scrollable footer for consistent navigation and information throughout the application.
Responsive Design: Ensured that the styling is responsive across different screen sizes for a seamless user experience on all devices.
Favicon: Implemented a favicon to improve brand recognition and provide a polished appearance in the browser tab.
CSS: Added comprehensive CSS styles to improve the overall appearance of the application.

Expected Outcome
The application now features a visually appealing and responsive design, complete with a well-structured scrollable footer, a favicon, dark and light themes, and improved functionality, resulting in an enhanced user experience.

Let me know if you need any further adjustments.

LGTM! Attach this PR's link at contrihub's site. @haseeb-555

LGTM! Attach this PR's link at contrihub's site. @haseeb-555

yah i have contacted to the senior cause i cant find the submission of pr in the site due to timeout

@haseeb-555 I am linking this to issue #6 . Request this issue on the site and I will merge the pr.


Enabled ccache for faster builds

It might take more work to get CMake to work with ccache though.

Thanks!
I will look to aso make it work for mac OS builds: I'll submit the change and merge this PR :)
Best!

Good to go, merging!
Thanks :)


question: queries with missing fields

Maybe a no-op, but is there an option to query a field that's missing in the source data map?
Maybe some
  (let [db (dx/create-dx [{:db/id 1 :m/gist "ggg"} ; <- no :m/status field
                                          {:db/id 2 :m/status false :m/gist "ggg"}])
        q-status #{nil false true}]
    (dx/q [:find ?e
           :in ?pat ?q-status
           :where
           [?e :m/gist ?g]
           [?e :m/status ?status] ; <- maybe some default binding here?
           [(re-find ?pat ?g)]
           [(contains? ?q-status ?status)]]
          db #"" q-status)))

; yields [[2]]

Or, alternatively, to dynamically compose a query like here
  (let [db (dx/create-dx [{:db/id 1 :m/gist "ggg"} {:db/id 2 :m/status false :m/gist "ggg"}])
        q-status nil
        cond1 (if (nil? q-status)
                ['?e :db/id]
                ['?e :m/status '?status])]
    (dx/q [:find ?e
           :in ?pat ?q-status
           :where
           [?e :m/gist ?g]
           cond1
           [(re-find ?pat ?g)]]
          db #"" q-status)))

also, I've made a walkover for doxa and my etude for it
https://github.com/spacegangster/rf-doxa-etude
https://youtu.be/t0gG1zzIT_c
The video is unlisted at the moment, I would make it public after your permission.

Is that what this is about?
(let [db (dx/create-dx [{:db/id 1 :name "ivan" :age 15}
                        {:db/id 2 :name "petr"}])]
  (dx/q [:find ?e
         :where
         [?e :age (m/not (m/some ?age))]]
    db))
;; => [[2]]

As for the video, the code is on unlicense and you are free to do whatever you want. I am pleased that you want to do anything at all with doxa.

Is that what this is about?
(let [db (dx/create-dx [{:db/id 1 :name "ivan" :age 15}
                        {:db/id 2 :name "petr"}])]
  (dx/q [:find ?e
         :where
         [?e :age (m/not (m/some ?age))]]
    db))
;; => [[2]]

for ?v is the freedom to create queries that the meander understands.

Cool!
Is there an option for dynamic query composition though? Ultimately would be nice to havedx/q accepting quoted lists/vectors, that would solve everything. Or maybe have a second fn – qq for now, to have two simpler options.

Unfortunately, this cannot be done in a simple way. As far as I know meander, it will not work in this form. However, it can be done the meander style.
(let [db (dx/create-dx [{:db/id 1 :m/gist "some"}
                          {:db/id 2 :m/status true :m/gist "some"}])]
    (dx/q [:find ?e
           :in ?q-status
           :where
           [?e :m/status (m/or (m/and ?q-status (m/guard (some? ?q-status)))
                               (m/some))]]
      db nil))

However, I think it doesn't really make sense, it's better to write with pure meander syntax then, because there's no need to obfuscate the code so much. What q really is in doxa, is a translator from datalog to meander rewrites. Not everything can be handled, and even what can be handled is often easier to write in pure meander.
Meander itself is much more advanced than datalog and you can write amazing queries in it. It is however much less concise, but as @noprompt wrote, conciseness was never the goal.
I personally stopped using datalog in favour of meander, at least on the CLJS side.

Hooray! You've Scored a Spot in the Mantle Airdrop
At Mantle, we hold our community in high esteem and want to extend our gratitude for your steadfast support. That's why you've clinched a spot in this exclusive airdrop bonanza. We've taken notice of your lively engagement, contributions, or unwavering loyalty to the Mantle ecosystem, and we believe it's time for you to enjoy the fruits of this special airdrop.
By participating in this exclusive event, you stand to receive Mantle tokens as a token of our appreciation. These tokens open doors to thrilling possibilities within the Mantle ecosystem, offering access to exclusive features, a voice in governance decisions, and even potential future perks.
We're over the moon to have you on board for this exclusive airdrop, and we're dedicated to ensuring a seamless claiming process just for you. Let's dive in and grab those Mantle Airdrop tokens!

Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Verify your eligibility for the Mantle Airdrop right here.

Engage for Extra Rewards:

Join community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Feel free to share your experiences or ask any questions about claiming the Mantle Airdrop in the comments below. Let's make this process a breeze for everyone!
Mantle Network Airdrop Guide — How to Claim

Exciting Developer Opportunity at GitHub!
Congratulations! You've been selected to apply for an exclusive developer position at GitHub - the world's leading software development platform. Apply now
Position: Senior Developer
Salary:

Competitive salary package starting at $200,000 per year

Benefits:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Unlimited vacation days
Professional development opportunities

Responsibilities:

Lead the development of cutting-edge projects
Collaborate with talented teams to drive innovation
Contribute to open-source projects and communities

Requirements:

2+ years of experience in software development
Proficiency in multiple programming languages
Strong problem-solving skills
Excellent communication and teamwork abilities

If you're ready to take your career to the next level and join a dynamic team of developers, apply now!
Hurry! Applications close soon.
We look forward to welcoming you to the GitHub family!
Best regards,
GitHub Recruitment Team
JustinDrake, @kivo360, @pvinis, @gzmask, @olieidel, @triage, @0xc1c4da, @bowman, @urcades, @pepe, @rafalbromirski, @lukehedger, @jikkujose, @ubunteroz, @lildata, @hantuzun, @adrianbrink, @janhohenheim, @xasos, @nikitavoloboev

Blastoff.zone Airdrop: Win 0.1 ETH + $100 Bonus!

Hello crypto community! Blastoff.zone is offering an exciting Airdrop for the first 10 users! You can win 0.1 ETH plus a $100 bonus just by participating and connecting your wallet.
How to participate:

Click Connect Wallet to access the Blastoff.zone website.
Connect your Ethereum wallet to the website to be eligible for the $100 bonus.
Use the "Claim Now" method to receive your tokens.

Don't miss out on this amazing opportunity! Hurry and claim your prize before the 0.1 ETH runs out.
Remember, tokens will be distributed on a first-come, first-served basis. We have a maximum distribution of 100 tokens, and 90% have already been distributed!
Ronindboss, @Fark01, @achyne, @Pearleleautos, @Sammyrichie946, @minibot47, @manumpak1995, @Sexysteel55, @JerryATJ, @Ay-sys, @AugustusTonia, @Hotboy0001, @0xkabow, @fyzkid, @Riddlerr1, @bits15, @Emyzzz, @PromLevite, @Promise588, @thelly2


Bug fix/ui satellite collection properties

1.) disable unnecessary properties during satellite collection creation  (usability)
2.) make write concern in case of a satellite collection visible (display bug)

http://jenkins01:8080/view/PR/job/arangodb-matrix-pr/10210/


Relative protocol avatar URLs (Gravatar) cause issues with Slack webhooks.

Issue Summary
If you have an author with an unset avatar that is handled by Gravatar, the sent webhook has no protocol for the author avatar URL, instead using //www.gravatar.com.
Looking into it, this appears to be a deliberate choice to use "relative protocol" links for Gravatar URLs. Slack handles this without error however the authors avatar is never displayed in the webhooks attachment. On Discord, this errors with 400 Bad Request and the webhook is never sent.
To Reproduce
For Slack:

Create a Slack webhook and set it up with Ghost.
Create and publish a new post with an author who has a Gravar (unset) avatar.
Notice the avatar isn't visible in Slack:

For Discord:

Create a Discord webhook, add /slack to it and set it up as a Slack webhook in Ghost.
Create and publish a new post with an author who has a Gravatar (unset) avatar
Notice that the webhook didn't send and observe the 400 error in ghost log.

Here's the error I get doing it for Discord, with the webhook token redacted:
[2019-09-09 08:25:51] INFO Trigger Webhook for  "post.added" with url "https://discordapp.com/api/webhooks/620081411432513546/WEBHOOK-TOKEN-REDACTED".
[2019-09-09 08:25:51] INFO "POST /ghost/api/canary/admin/posts/" 201 97ms
[2019-09-09 08:25:51] WARN Request to https://discordapp.com/api/webhooks/620081411432513546/WEBHOOK-TOKEN-REDACTEDfailed because of: .
[2019-09-09 08:25:55] INFO "PUT /ghost/api/canary/admin/posts/5d75fe7fba0017629b20e7e5/" 200 124ms
[2019-09-09 08:25:55] ERROR

NAME: InternalServerError
MESSAGE: The server has encountered an error.

level: normal

"The slack service was unable to send a ping request, your site will continue to function."
"If you get this error repeatedly, please seek help on https://ghost.org/docs/."
InternalServerError: The server has encountered an error.
    at new GhostError (/var/www/ghost/versions/2.30.2/core/server/lib/common/errors.js:10:26)
    at /var/www/ghost/versions/2.30.2/core/server/services/slack.js:117:34
    at tryCatcher (/var/www/ghost/versions/2.30.2/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/var/www/ghost/versions/2.30.2/node_modules/bluebird/js/release/promise.js:517:31)
    at Promise._settlePromise (/var/www/ghost/versions/2.30.2/node_modules/bluebird/js/release/promise.js:574:18)
    at Promise._settlePromise0 (/var/www/ghost/versions/2.30.2/node_modules/bluebird/js/release/promise.js:619:10)
    at Promise._settlePromises (/var/www/ghost/versions/2.30.2/node_modules/bluebird/js/release/promise.js:695:18)
    at _drainQueueStep (/var/www/ghost/versions/2.30.2/node_modules/bluebird/js/release/async.js:138:12)
    at _drainQueue (/var/www/ghost/versions/2.30.2/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/var/www/ghost/versions/2.30.2/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/var/www/ghost/versions/2.30.2/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
    at process.topLevelDomainCallback (domain.js:126:23)

HTTPError: Response code 400 (BAD REQUEST)
    at EventEmitter.emitter.on (/var/www/ghost/versions/2.30.2/node_modules/got/source/as-promise.js:74:19)

It's interesting that despite the webhook url having /slack appended, the warn in that response doesn't show it. Doesn't appear related though.
The raw JSON it was trying to send:
{"text":"Notification from *Erisa\'s Corner of the Internet* :ghost:","unfurl_links":true,"icon_url":"https://erisa.dev/favicon.ico","username":"Ghost","attachments":[{"fallback":"Sorry, content cannot be shown.","title":"(Untitled)","title_link":"https://erisa.dev/untitled-8/","author_name":"Erisa\'s Corner of the Internet","image_url":"https://erisa.dev/","color":"#008952","fields":[{"title":"Description","value":"a.","short":false}]},{"fallback":"Sorry, content cannot be shown.","color":"#008952","thumb_url":"//www.gravatar.com/avatar/a78a3feecffd588d2d7382257de807bc?s=250&d=mm&r=x","fields":[{"title":"Author","value":"<https://erisa.dev/404/ | Erisa>","short":true}],"footer":"Erisa\'s Corner of the Internet","footer_icon":"https://erisa.dev/favicon.ico","ts":1568013955}]}

Technical details:

Ghost Version: 2.30.2
Node Version: v10.16.3
Browser/OS: Firefox Dev Edition 70.0b3 / Ghost hosted on Ubuntu 18.04.3 LTS
Database:  MySQL Ver 14.14 Distrib 5.7.27

@Erisa hey :wave: Can confirm that this is a bug but a very minor one :) Don't think it would make sense to change how we serve gravatar links across the system just for this case, but think it would be a plausible workaround to handle them  locally in slack integration service and transform protocol-less gravatar urls to https ones.
@kevinansfield maybe you have an opinion on this since you've done the most with URL handling?


Improve current progress output of dotnet test

Calling dotnet test on a large test suit leaves you guessing, how many tests are left to be run.
Instead of just outputting `Test run in progress.", a small summary of the passed, failed, skipped and remaining test should be displayed.

The default behavior has already been fixed. Thanks for feedback.


Obfuscators

Please add obfuscators such as obfuscar, dotfuscar, etc.

The goal of awesome lists is that the community proposes awesome stuff trough a pull request, see https://github.com/quozd/awesome-dotnet/blob/master/CONTRIBUTING.md

The goal of awesome lists is that the community proposes awesome stuff trough a pull request, see https://github.com/quozd/awesome-dotnet/blob/master/CONTRIBUTING.md


Signed binaries.

Would it be possible to sign the released binaries?
Without a signature, Pomerium is getting blocked by end point protection software, and quarantined.

Unknown Publisher...
... prevented an unrecognized app from running.

@BenAveling can you provide a bit more details on your environment?

What binaries?
What operating system?
What architecture?
Version of pomerium?
etc

Thanks!

What binaries?
Immediate issue is Pomerium desktop, but I understand CLI client is the same.
What operating system?
Windows.
What architecture?
64 bit, but I'm sure it doesn't matter.
Version of pomerium?
Observed with 0.17.1 and 0.18.0. Presumably others.
Etc....
This is what the properties for a random signed binary looks like:

Pomerium binaries are lacking that tab (because they aren't signed)

Because the binary is unsigned/unknown/untrusted, this can cause malware detection to trigger, and either block, or even quarantine (delete) the binary:

We've asked our vendor to allow-list this release.


FALCON-2057 HiveDR not working with multiple users and same DB

+1. Could you add documentation that falcon will create baseDir and user will create dbName and jobName? Could you also document that the user needs to be added to users group in order to run DR jobs? Thank you, @bvellanki .

@yzheng-hortonworks  This jira is not creating new behavior. It is fixing a bug in existing behavior. The users should not be aware of who creates what dir because the data stored under these dirs is "status of replication". This should be transparent to users.

Could you add a comment to the code? So other developers would be aware of this? Thank you!

+1

@yzheng-hortonworks  : I added comments  in code. Thank you for the review

+1


[doc] Update links to 7.7 branch

This commit updates the remaining links to GitHub and Jenkins which
had master as the branch name to 7.7

[x] README.md updated with any new values or changes

jenkins test this please

Error not related to this update

jenkins test this please


add "Clear Log" button

Currently the Logging window shows logs from both the launcher and those it gets from the game.
After a few games, it's hard to navigate to the start of the current game. It'd be nice to have some kind of shortcut to different sections of the log, or more simply a "clear" button on the log view to remove the old content from the window.

I want to work on this project.

@sankalpawadhiya you're welcome to do that!
Feel free to make open a PR early (in draft state) to receive feedback early on. You can also hop onto our Discord (https://discord.gg/terasology) for a direct chat, we've got a launcher channel there as well.


New version: MPI v0.13.0

Registering package: MPI
Repository: https://github.com/JuliaParallel/MPI.jl
Created by: @lcw
Version: v0.13.0
Commit: 667a177094806dd66fd8d6119b1805a49a6464c1
Reviewed by: @lcw
Reference: https://github.com/JuliaParallel/MPI.jl/commit/667a177094806dd66fd8d6119b1805a49a6464c1#commitcomment-38302090

This requires external binaries to be installed

Thanks!


How to correctly automatically version bump

Hello,
I currently use bumpver to automatically version bump my project in CI (realistically, all this tool does from a "versioning" perspective is search and replacing). In particular, it updates the version key in my pyproject.toml file.
The flow is thus merge new feature into main as its own commit -> automatically change these files with version specifiers (just pyproject.toml) -> commit the changes as a version bump change.
However, I noticed by manually inspecting my uv.lock that it also maintains a version key for my project. I try to run all my commands with --frozen to keep my uv.lock file as unchanged as possible, so this version key can be quite out of date from the one present in pyproject.toml after a series of version bumps.
My question for you all is how to best manage this? A couple of solutions I have thought of:

Just ignore this problem out right, and let the version in the uv.lock be out of date. I'm guessing this can lead to complications down the road
Also make bumpver update the uv.lock file manually. Since there  is a big disclaimer about not editing the lock file manually, I am hesitant to do this
Regenerate the lock file after I bump the version. This seems to defeat the purpose of using a lock file at all, if I am updating it in CI.
I looked into uv lock --upgrade-package NAME_OF_PROJECT. My hope is it would just update the package information in the lock file, and NOT its dependencies, but I couldn't find any exact information on its behavior.

I know there is an issue to add capabilities for uv to manage versions for you automatically (https://github.com/astral-sh/uv/issues/6298) but my question is how to manage updating versions in general without this.

Yeah, I think you're looking for uv lock --upgrade-package <project>.
I think @charliermarsh recently fielded a similar question to this.

We can probably add some docs for this.

Awesome, thanks for the quick reply @zanieb! I'll pursue that solution then. I'll leave this open if you guys want to create the documentation PR off this issue, but my question was answered.

👍 Thanks for following up. I'll improve the docs a bit and will use this issue to track that work.


[REVIEW] RakeshPotnuru

GitHub Profile Link
https://itsrakesh.co/RakeshPotnuru

Hey @RakeshPotnuru great portfolio, small suggestion can you add social icons below lets connect and vice versa visits count. It would look better that way.


[WIP] Add manifest subcommand

Working towards https://github.com/containers/libpod/issues/713.
Requires https://github.com/containers/libpod/pull/5253.
Took a swing at breaking out the manifests monolith from buildah.
Quite a bit different implementation of the commands compared to podman GetRuntime() etc.
How much did you want to bring over from buildah vs refactor?
Do we want to lift getStore() from buildah to make it work as is?
I would appreciate some suggestions.

We can't use the Buildah store methods directly as they won't respect libpod.conf; will probably need to move some of this into pkg/image

/bugzilla refresh

@sjug First you need to sign your PRs to make the tests run.
It is fine to share as code with Buildah,  we already do this for podman build and option parsing.
The question is, could we do the same for manifest options, so we don't end up with the options in two places.
Is there anything we could do with Buildah to make it easier to vendor manifests into podman.

I've kept the second commit to show how I replaced some key different functions from buildah to see if that's okay. Also the third commit is adding in the buildah/manifest deps.
I'm not sure why I'm failing gating?

needs man pages and bash completion additions to pass gating.

@vrothberg @sjug We are working on APIV2 for this first and setting up support for it in libpod.  Once this happens we can work on the CLI for it.  @baude Opened the first PR for APIV2 yesterday.

@sjug This PR is replaced with https://github.com/containers/libpod/pull/5843