Default Ryu Port Version 4.15

For the Ryu Controller v 4.15 the default ryu port I think is 6653
it's shown in ryu-manager --help
and the standard port for OpenFlow in here

I'm not sure what the exactly what the issue is here?
The default OpenFlow TCP port changed a while back from 6633 to 6653. Looking at nmeta documentation, there are some places where it should be updated. I'll add that to the backlog.
Ryu (I'm running v4.13) listens on both ports:
ct1:~$ netstat -a | grep '6653|6633'
tcp        0      0 *:6653                  :                     LISTEN
tcp        0      0 *:6633                  :                     LISTEN
tcp        0      0 <IP_ADDRESS>:6633         sw1.example.com:57626   ESTABLISHED
tcp        0      0 <IP_ADDRESS>:6633         <IP_ADDRESS>:38458        ESTABLISHED

maybe because it's standard just recently updated so the running port it's 6653 and 6633


Switch to ciscospark from csco-spark ?

It looks like the ciscospark npm package is maintained by Cisco so may be a better choice unless it's missing features?
https://developer.ciscospark.com/sdk.html

Cool! Yeah I'll take a look.

For now, this module is closed source. And lacking some features this module requires like list messages since datetime. I will wait till they open it up


Tweak text

Make the text wording of the commands more natural

Thanks for this PR, but I believe the text in other places also need some polishment, e.g., https://github.com/zjhmale/vscode-idris/blob/master/CHANGELOG.md, https://github.com/zjhmale/vscode-idris/blob/master/FEATURES.md, https://github.com/zjhmale/vscode-idris/blob/master/README.md, can you also tweak them in this PR, thanks!

Hi, I will do the text. I don't know how to recapture the animations though. Are you able to do that yourself?

@philipcraig Sure, just leave the animations at the moment, I will recapture all of them when we set up a website for this extension #78 :)

I didn't do the changelog. It's because changelogs should be a record of what actually happened, so I didn't want to go back and change the changelog itself.

@philipcraig Thanks for all the work, this looks good to me and I will tweak the text on Changelog by myself :)


Fixed the fts upgrade command issue.

This fixes the issue when running fts upgrade command.

thanks.

@all-contributors please add @IsmailAlamKhan for maintenance and code.


Root locus with parameter other than gain

This feature is probably classified as "nice to have" by control engineers. But as an integrated circuit designer, I think I would find this very useful. For one, we do not have much control over the gain K (limited by power dissipation specs, for example). I also do not find it common to compensate for stability through cascaded systems; we gravitate towards feedback compensation. This means that we usually adjust poles and zeros, rather than gain K.
Can I plot the root locus with the sweep parameter other than gain? Is it possible in the current version? Or can we put this on the roadmap?

I had a go at this here: https://gist.github.com/roryyorke/dacf24f677b4f735832117ea4bf9d24c
I won't be able to look at it again until mid-December earliest.
I'm not sure this is that useful; for instance, in
$$
g(s) = \frac{\omega_n^2}{s^2 + 2\zeta\omega_n s \omega_n^2}
$$
I think this technique allows one to explore the locus of roots with $\zeta$, but not with $\omega_n$.
If it seems useful, two questions:

What sort of interface would be best?  The one I've given seems general, but it's somewhat difficult to use.  Is there something as general, but simpler?  Should it have this general method, but also a simpler wrapper that would allows users to specify one polynomial term (numerator or denominator, and degree), and give a nominal value and range?  (I think this is doable.)
Am I right that it's limited to coefficients that are affine in the "fake" gain?

It would be really nice to have an "LTI generator", which could be used to explore more general effects of parametric variation (e.g., $\omega_n$ above), but I don't know what tools we could provide to make that easier.  Perhaps a link with Sympy, to make it easy to create python-control LTI objects by differentiating sets of non-linear DEs in Sympy.


Update Bolls Life API url to offical API

[Fix] Update the Bolls Life URL to resolve the issue with Bolls Life not working on mobile #55

Hi @JPT62089
I used to try the original bolls life api as well, 😢   I found there is a CORS restrict for their server, this is why I changed to build a custom proxy for it,
Does it work on your end? after change to original one?

I can re-verify later to make sure I didn't get dyslexic in my testing but I did find the original API worked on Android. I'll double check to make sure it works on both Android and Windows either tomorrow or this weekend.

Works for me on Android and Windows

@ajrty33, that's for sure with the _https://bolls.life/get-text_ API url rather than the _https://bible-api-bff.bai.uno/bolls-life_?

@ajrty33, that's for sure with the _https://bolls.life/get-text_ API url rather than the _https://bible-api-bff.bai.uno/bolls-life_?

That's correct. The previous API didn't render the verse on Android, but the new one does. It also works on windows.

Awesome! I also just verified that my primary vault I use is actually using _https://bolls.life/get-text_. I tested functionality on both Windows and Android and it worked perfectly. I don't have any Apple devices to test though, unfortunately.

@ajrty33, have you noticed the speed at which it updates with the direct bolls life? Before I feel like I could type "--1John3:16" and it would only pop up with the 16th verse. Now it pops up with the 1st verse and then takes a second to pop up with the 16th verse. Kind of distracting at times as I'm used to just pressing enter right away.

@ajrty33, have you noticed the speed at which it updates with the direct bolls life? Before I feel like I could type "--1John3:16" and it would only pop up with the 16th verse. Now it pops up with the 1st verse and then takes a second to pop up with the 16th verse. Kind of distracting at times as I'm used to just pressing enter right away.

I've used bolls life for ESV. I have always had to wait a second for it to populate on PC. I haven't ever been able to push enter right away. The benefit I have of using the new API is it works on mobile

Can also confirm this fixes the issue, on both PC and mobile. I don't see any noticeable performance drop at all. Is there anything holding this back from being mainline-merged?

Thanks all for testing this,
I was experimenting CORS issue I believe, this is why I built the proxy between the bolls api and the plugin.
Since it worked now, I am happy to see it will be merged in.
I am thinking we should add a feature in case original bolls life api raise CORS error again, then switch to the proxy. This could be a to-do.

Thanks so much again, will approve, merge and release now :)


Possible to not expand wild card matches?

OMZ expands wild card matches like so:
➜  /tmp touch a aa aaa
➜  /tmp ls a* [TAB]
➜  /tmp ls a aa aaa

Question
Is it possible to disable this expansion, so it acts like Bash, where tabbing would list the files that match?

If you leave out the star (*) you'll get the same thing. The default Zsh tab behavior is to try to expand the parameter so if it's a wildcard, a variable or a bang-expression (i.e. !$) it will expand them.

Yes, that is a good point. I have been using Bash for +10 years, so I constantly make that mistake, now that I moved to OMZ. So I'd really like if it could be disabled.
Is that difficult to accomplish?

You could bind complete-word to the tab key instead, but you still won't get the completion menu that bash provides. Instead, zsh won't do anything (unless there are files starting with the literal a*). If you still want to do this, here's the command:
bindkey '^I' complete-word


Websockets Proposal: simplify full duplex

Proposal for #660
Upd.

It's not obvious what's better - to broaden ReadableBase for all primitives, or to stay the separate way.
I hope we could've made it w/o dynamic_casts (i.e. with decreased runtime cost)

Unfortunately I'm unable to reproduce the functional_tests' issue by myself. Is there any option to get functional_tests/websocket/Testing/Temporary/service.log
from the test run?


Clean notebooks

Codecov Report

Merging #37 (018bea5) into dev (795abf7) will decrease coverage by 0.22%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##              dev      #37      +/-   ##
==========================================
- Coverage   29.82%   29.59%   -0.23%
==========================================
  Files          11       11
  Lines         389      392       +3
  Branches       61       61
==========================================
  Hits          116      116
- Misses        272      275       +3
  Partials        1        1

Flag
Coverage Δ

unittests
29.59% <0.00%> (-0.23%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

fpl/command_line/storage.py
0.00% <0.00%> (ø)

fpl/data/transformations.py
84.84% <0.00%> (-4.05%)
:arrow_down:


Remove android border between tabs and header

Hi, how do I remove this line between tabs and header?
.bar-header{
    border-bottom:0px !important;
}

.tabs{
    border-top:0px !important;
}

I'm trying this way and it's not working =(

When I open on the browser it works


NIFI-12889: Retry Kerberos login on auth failure in HDFS processors

Summary
NIFI-12889 This PR resets the HDFS resources upon Kerberos authentication failure so the relogin can happen correctly on the next try.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

reviewing...

@mattyb149 Thanks for making these improvements! LGTM+1

@mattyb149 - I merged this into main but forgot to amend the commit and add the magic words to close the PR, so closing manually. Also it does not apply cleanly to 1.x can you open a PR for the support branch? Thanks!


Add custom dumper for Token.

left is new, right is default of SF dumper when using dump($token) in a unit test

I never needed to do this.
Instead, I would rather implement Token::__debugInfo()

will try diff. approach (or abandon the idea all together)


GPU memory problems

GPU memory problems
Definition of done

[x] Look into prototype solution #8357
[x] Determine what still needs to be done, if anything
[x] Figure out what it would take to make it production ready
[x] Ensure that this solution still fits after the architecture revamp
[x] Create issue(s) for making it production ready in new architecture

The current status of this is in #8746. It is still pending review, but I think it is overall in a good state. One topic that I am aware of that might still need some thought to increase consistency of the code:  https://github.com/RasaHQ/rasa/pull/8746#issuecomment-856709688
I have done testing with several configurations and the PR solves the problem of memory issues plus speeds up the training.
Using this PR we are able to train on 100% of multiwoz stories whereas previously we ran out of memory for ~12% of them. Also, with respect to speed, running a training on 6% of stories an epoch on main took 120s on main vs 40s on this branch with a reasonable set of hyperparameters.
This solution would not interfere with the architecture revamp as it is contained within a single policy.

@TyDunn Do you know if these optimizations have been released in a 2.X OSS version?

@b-quachtran This was for end-to-end. We only built a prototype and no code was shipped


Fix required php version

"^7.3" means that only php 7.3 is supported,
">=7.3" means that 7.3 and higher versions are supported.
Now I am using php 8.0 with this package and it's works fine

Sure I will check and I will do. Thanks
Il lun 1 mar 2021, 13:15 PphEight<EMAIL_ADDRESS>ha scritto:

"^7.3" means that only php 7.3 is supported,
">=7.3" means that 7.3 and higher versions are supported.
Now I am using php 8.0 with this package and it's works fine
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nomadnt/lumen-passport/pull/6#issuecomment-787904456,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7GCEKRJKJDNGBURFOBM43TBOAOLANCNFSM4YMMLMAQ
.


Better error handling

This pull request focuses on providing better error handlings all over this crate. It should improve the overall stability of the crate when handling large quantity of MRT files.
This PR should resolve #1.

Fixes #9 where reading from byte slice without boundary checking causes panic. Added checking and returning error if it tries to read over the boundary.


fix link tests to account for electron docs changes

https://github.com/electron/electron/pull/7878/files rewrites the URL of the Main Process and Renderer Process links in each API doc.  Once that lands in a release, a few tests will start failing here.
This PR exists in anticipation of that future...

This fixed the test suite, and the bot was able to publish the new 1.4.14 docs.


Add schema for Kristen's NLP DREAM Challenge

@yy6linda will come back to this branch when she and Kristen have a better understanding of the content and format of the data that will be available in the NLP DREAM Challenge.

This PR was created too early. The NLP DREAM Challenge led by Kristen still need a few weeks/months to clarify the NLP task. Another PR will be created when creating an API for this NLP task will be required.


Exams

alternative implementation of distinct:
const distinct = (array) => Array.from(new Set(array));
it seems to me that plane can be optimized using closure:
const plane = (array) => {
  const result = [];
  const closedPlane = (array) => {
    for (const item of array) {
      if (Array.isArray(item)) closedPlane(item);
      else result.push(item);
    }
    return result;
  };
  return closedPlane(array);
};

We don't create temporary arrays and don't use unnecessary rest operators and push calls. But option with closure is larger.

Prefer for..of
Don't change incoming parameters

What is easy to read recursion with closure or just a recursion?

Prefer for..of
Don't change incoming parameters

i don't understand where i change parameter? I copied it in the result.


Show dependency graph through project references

Unlike the xproj tooling, the new csproj tooling don't show the full dependency graph through the solution explorer. This makes it hard to determine what dependencies come from which projects by looking at a single project:

This is super valuable when debugging to see where things are coming from without looking in the assets file.

Also, this information is available in the assets file.

Haven't got the latest build to check this - but I'm pretty confident we had already done, or were going to do this. @abpiskunov?

Do you have a specific repro @davidfowl. This is what I see when I add a library as a p2p ref to a console app:

Hmm, let me check again.

We can close this. It doesn't work for packages.config but that's by design. Was testing new proj -> old csproj + packages.config


Reaction pickling does not honor PicklePropertiesOptions

Describe the bug
Reaction pickling does not honor PicklePropertiesOptions
To Reproduce
from rdkit import Chem
from rdkit.Chem import rdChemReactions
import pickle

Chem.SetDefaultPickleProperties(Chem.PropertyPickleOptions.AllProps)

rxnblock = """$RXN

  Mrv17183<PHONE_NUMBER>00

  1  1
$MOL

  Mrv1718305032419002D

  1  0  0  0  0  0            999 V2000
    3.1458   -0.1208    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
V    1 Amine.Cyclic
M  END
$MOL

  Mrv1718305032419002D

  1  0  0  0  0  0            999 V2000
    3.1458   -0.1208    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
M  END
"""

molblock = """FOO
FOO  0   0.00000     0.00000

  1  0  0  0  0  0  0  0  0  0999 V2000
    1.3051    0.6772    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
V    1 Amine.Cyclic
M  END
"""

print("Testing rxn pickle")
rxnWAtomVal = rdChemReactions.ReactionFromRxnBlock(rxnblock)
for reactant in rxnWAtomVal.GetReactants():
    for atom in reactant.GetAtoms():
        if atom.HasProp('molFileValue'):
            print(atom.GetProp('molFileValue'))

ap = pickle.loads(pickle.dumps(rxnWAtomVal))
for reactant in ap.GetReactants():
    for atom in reactant.GetAtoms():
        if atom.HasProp('molFileValue'):
            print(atom.GetProp('molFileValue'))

print("Testing mol pickle")
mol = Chem.MolFromMolBlock(molblock)
for atom in mol.GetAtoms():
  if atom.HasProp('molFileValue'):
    print(atom.GetProp('molFileValue'))

molap = pickle.loads(pickle.dumps(mol))
for atom in molap.GetAtoms():
  if atom.HasProp('molFileValue'):
    print(atom.GetProp('molFileValue'))

Output:
Testing rxn pickle
Amine.Cyclic
Testing mol pickle
Amine.Cyclic
Amine.Cyclic

Expected behavior
Print the properties twice for rxns. Before and after pickling
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):

RDKit version: 2024.03.3
OS: macos 14.5
Python version (if relevant): 3.11
Are you using conda? No
If you are not using conda: how did you install the RDKit? pip

Confirmed.
@jpfeuffer : properties will be serialized if you have initialized the reaction first, so you can use that as a workaround until the bug is fixed and the next RDKit release is out.
Here's a quick demo of that using your example:
In [3]: rxnWAtomVal.Initialize()
[05:45:02] reactant 0 has no mapped atoms.
[05:45:02] product 0 has no mapped atoms.

In [4]: ap = pickle.loads(pickle.dumps(rxnWAtomVal))

In [5]: ap.GetReactants()[0].GetAtomWithIdx(0).GetPropsAsDict()
Out[5]: {'molFileValue': 'Amine.Cyclic'}


Refactor context menu UI

About the PR
The PR https://github.com/space-wizards/space-station-14/pull/14308 seems to be a controversial proposition. So I am splitting the refactoring work and feature.
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

Hi @moonheart08 and @AJCM-git , sorry to ping it has been a week since your last review. Is this mergeable ?

Hi @moonheart08 and @AJCM-git , sorry to ping it has been a week since your last review. Is this mergeable ?

The entity menu no longer groups entities if the ones in range all share the same uid

The entity menu no longer groups entities if the ones in range all share the same uid

Are you talking about a bug on this PR or a new feature on master ?
PS: I don't fully understand your comment. Do you have any example ?

Are you talking about a bug on this PR or a new feature on master ?
PS: I don't fully understand your comment. Do you have any example ?

Sorry, meant prototype, also nevermind, its a master bug


Refactor EmbodiedAgent and modify tests

Description
Describe your changes in detail.
Motivation and Context
#144 #143
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
You can use the syntax close #15213 if this solves the issue #15213

[x] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Implemented Tasks

[ ] Subtask 1
[ ] Subtask 2
[ ] Subtask 3

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[x] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

I forgot to merge the comments. SO sorry.


Updates to deployment docs

Responses to the following JIRA issues
DEP-2199
DEP-2128
DEP-2201

All three JIRA issues have been reviewed and are OK.
Merging.


It takes "years" to load ~10MB of triples

Hi!
I tried to load file(local) with about 10MB of N-triples but it takes so much time. Actually it never finish...
Loading of 4K triples takes about 1 minute.
Where can be the problem? Thanks!

Great! Thanks a lot!
Cheers,
Milan


DUB init options

--format=<value> to choose between JSON and SDL configuration formats.
--type=<value> to select the project stub type.

I will add this in the next release - I think I will add another step to the configure project wizard which asks for the dub init options (after the choose compiler step)

That would work, although the choose compiler step is mostly empty space as it is, so you could just combine the two.

I'm investigating - the compiler step is a built in WizardStep - there are several provided ones - none of them do what I want though - so I think I will have to write a custom one - so to start I think it will be easier to add a new custom one - and then refactor them together later if it makes sense.

Added dub init config wizard step to dub module builder - will include in next release


Bot installation issue

We have teams application that supports proactive user messaging and static app. App is certified and published in Teams App store.
Customer installed and pinned our app to 'Global (Org-wide default)'. As a result only ~10% users received the latest version of our bot application. It tooks few days after app install and more than 50% users were already opening and logged in MS Teams but not received the latest version of application.
The current published version of app is 1.0.5. It includes static app and bot.
The previous app version was 1.0.4. It included only static app. Customer removed it prior to installing the new version.

Some users received the old version of app 1.0.4 with prompt to update.
Some users didn't receive any app version and should relogin.

Is this expected behaviour or no?
Are there any way to force the installation of the latest version of app to all users?

Could you please share tenant id? Also could you please share how you are removing the version for store app?

Tenant Id: 3013a262-bac5-4391-ab35-d43cf52ad904
Apps where removed from installed and pinned apps in Teams app Global setup policy:

Additionall info:
We install app via Microsoft Graph and the latest version was successfully installed for all users. However via setup policy it doesn't work for all users. Microsoft Graph is not an option for us as our we provide our app for many customers.

@vitallishandra - Could you please share the Application id? Also Is this a Teams global app?

@vitallishandra - Could you please share the Application id? Also Is this a Teams global app?

The application Id is 5d7b15f5-b634-49fe-9d62-88a9eb0fea3d (retrieved from Graph Api).
Brainstorm App is globally publsihed: https://appsource.microsoft.com/en-us/product/office/WA200001549?tab=Overview

We are checking with internal team, Will get back to you

Hi @Nikitha-MSFT , any updates here?

I just checked this appId, it's a Teams Global app. I saw the store version already updated to 1.0.5 with bot. But the new change from 1.0.4 to 1.0.5 is adding a bot. That will need user's consented upgrade. We don't force auto upgrade for apps added a new bot. But the users should be able to find the new version of this app from apps store and upgrade it

It is just one of the issue.
What about another case:

Customer didn't have our app installed
Customer installed our app globally
Some users didn't receive the latest version of app after login in MS Teams

Relogin/clearing cache/PC restart sometimes helps to solve the issue for some users but not for all. Sometimes it is shown in web version but not desktop. It is reproduced for different tenants.
However if we run app installation  via Graph API everything works great, even relogin is not required. Why it is not working in same way using the  'Global (Org-wide default)' policy?

For global policy it need to update from the user. user should reinstall the bot.

@Nikitha-MSFT Yes, we laready understood it that user needs to reinstall it manually if he had the old version. But what about the case I described in the latest comment (where no any version was installed previously)?

Are you facing issue when new user install the app? if yes could you please share you manifest to test?

@vitaliishandra - please share the required inputs if the issue still persists?

@vitaliishandra - Please let us know if you need anything else from us and if we can close this issue.


ACUS: Set up T-shirt orders

Not going to do this on the site in 2023 as there's not enough time. Going to load it to CafePress and leave to self service.


BBC.com - the site is broken with local VPN mode

@adguard-bot commented on Wed Aug 28 2019
Issue URL (Incorrect Blocking)
http://BBC.com
Comment

When HTTPS filtering is disabled the web site displays correctly. When enabled it is wrong. I have attached BBC sports as an example but the same happens with all Amazon sites as well.

Screenshots

Screenshot 1

Screenshot 2

System configuration

Information
value

Platform:
And 8.1.0

AdGuard version:
v3.2.140 (1.4.138cl)

Browser:
Firefox

AdGuard mode:
proxy

Filtering quality:
Simplified

HTTPS filtering:
disabled

DNS requests blocking:
enabled

Filters:
AdGuard Base

Other extensions used:
Comodo mobile security

@slavaleleka commented on Wed Aug 28 2019
can't reproduce at my end. check please without Comodo mobile security. and notice if there any differences with proxy-/vpn-filtering mode and simplified/high quality filtering method. you also should make sure that AdGuard Certificate is installed in Firefox (it should be installed manually in Settings > Network > HTTPS Filtering)

@doctor-who1 commented on Thu Aug 29 2019
I tried various combinations and all works perfectly when I switched from local VPN filtering to local HTTP proxy filtering with all other settings reset to what I had set up originally.

@Alex-302 commented on Thu Aug 29 2019
@doctor-who1 please check with disabled filters, extensions and stealth mode.

@doctor-who1 commented on Thu Aug 29 2019
Everything works perfectly with filters disabled and in stealth mode. I am currently using the app in stealth mode and with comodo mobile security enabled.

@Alex-302 commented on Thu Aug 29 2019
Ok. Please enable stealth mode and check again. If the site works fine, please enable filters one-by-one with checking.

@doctor-who1 commented on Fri Aug 30 2019
Everything is working correctly (in stealth mode and normal mode). It only goes wrong if I switch back to local VPN from local http proxy filtering.

@Alex-302 commented on Fri Aug 30 2019
That is strange. So if you are using your own settings with local http proxy the site worsk as expected, but with local VPN it is broken? Could you please check with disabled filters, stealth mode and extensions with local VPN mode?

@doctor-who1 commented on Fri Aug 30 2019
With disabled filters, stealth mode and extensions disabled in local VPN mode the site displays incorrectly as per the screenshot sent previously. Only switching from local VPN to HTTP proxy the site displays correctly. I have re-enabled stealth mode, and the other filters and everything is displayed correctly.

Not reproduced on my device.
@doctor-who1 please collect debug log and send it to<EMAIL_ADDRESS>mention this issue in the email
https://kb.adguard.com/android/solving-problems/log#debug

@doctor-who1 the log is "INFO" level, it's not enough:(
To troubleshoot this issue, we need to get additional logs.
Here's what we need you to do:

Settings -> Advanced -> Set "Logging level" to "Record everything". It's desirable to close all background apps that don't concern the problem beforehand.
Reproduce the problem and set the logging level back to "Default". Notice the exact time when it happened.
Settings -> Advanced -> Export Logs
Send it to<EMAIL_ADDRESS>Mention the Github issue number and the exact time when the issue was reproduced.


[#503] JavaScript Bots - Replace Array with Set when looking at runtime

Addresses # 503
Description
This PR replaces the use of Array in favor of using the Set object, to have unique values and easy runtime access.
Additionally, some parts of code have been refactored and polished.
Specific Changes

Added the use of Set for WaterfallHostBotJS, WaterfallSkillBotJS and SimpleHostBotJS.
Updated the SkillsConfiguration class for WaterfallHostBotJS and SimpleHostBotJS to be similar between the hosts, and define a unique Set of AppIds and Ids to be used throughout the bot.

Testing
The following images show the Deploy and Test Scenarios pipelines working as expected.

Promoted https://github.com/microsoft/BotFramework-FunctionalTests/pull/507


Wrong capitalization of providers by riverpod_generator

So i was taking a look at the pub example which uses riverpod_generator and noticed that the generated providers are all in upper camel case. These should be lower camel case because they are not classes and also to be consistent with the capitalization of handwritten providers.

That would make the capitalization inconsistent, as sometimes the generated providers could be classes.

Hmm... what do you mean by "generated providers could be classes"? So would you put the type of a class inside ref.watch()? as in
class SomeProvider extents ... {
...
}

and then ref.watch(SomeProvider)? How would that even work, since SomeProvider is of type Type and not of ProviderListenable?

It's about providers with parameters.
We may do ref.watch(MyProvider(param))
In which case MyProvider should be a class:
class MyProvider extends Provider<int> {
  MyProvider(param): super(...);
}

Oh. ok. but then I would still argue that it is better to stay consistent with the dart convention, because they also behave differently. The classes you need to call and the others you don't. Otherwise it might be confusing and some people might try to do ref.watch(NonClassProvider()) instead of ref.watch(NonClassProvider). (To be fair, that would be a compile time error, so not that big of a deal.)
Alternatively you could generate an additional top level function
MyProvider myProvider(params) => MyProvider(params);. That way it would be both, consistent with the dart convention and in capitalization. It would still mean some providers need to be called and others don't, but again, compile time error, so no big deal.

To be fair, I was already considering changing it.
Although for the fun fact, a function doesn't work. As there are multiple APIs that can do something like:
ref.invalidate(provider)
ref.invalidate(family)
ref.invalidate(family(param))


Gpsrec OpenStreetMap track plotting

I added an option to plot gpsrec tracks on top of OpenStreetMap tiles.
The option only occurs when OpenStreetMap tiles are installed via the eponymous app. The tiles are centered on the 'center of gravity' of the track, and the track is scaled to the same scale as the OpenStreetMap tiles. The change is mostly a cut-and-paste job of the function drawopenstmap from the OpenStreetMap app.
Also includes a small change to change the color of the "gps signal acquired" icon in the widget from red to green - I found green to be much more visible in bright daylight than red.

This looks great, thanks!
I guess long term we should try and turn the tile (and maybe track?) rendering into some kind of module so it can be pulled into other apps.


create hierarchy fails (path missing?)

feeding the following JSON to /api/v2/project:
{
    "name": "Test Project",
    "description": "This is merely a test project, generated by _Postman_.",
    "children": [
        {
            "name": "Test Challenge",
            "identifier": "test_challenge",
            "difficulty": 1,
            "description": "This is merely a test challenge, generated by _Postman_.",
            "blurb": "A Test Challenge",
            "instruction": "This task should not be considered since it is a test task only!",
            "children": [
                {
                     "name": "Test Task 1",
                     "identifier": "test_task_1",
                     "instruction": "This should override the Challenge instruction, which says: `This task should not be considered since it is a test task only!`",
                     "location": {"type":"Point","coordinates":[77.6255107,40.5872232]},
                     "status": 0
                }
            ]
        }
    ]
}

fails with
{
  "status": "KO",
  "message": "{\"obj.enabled\":[{\"msg\":[\"error.path.missing\"],\"args\":[]}],\"obj.featured\":[{\"msg\":[\"error.path.missing\"],\"args\":[]}],\"obj.challengeType\":[{\"msg\":[\"error.path.missing\"],\"args\":[]}]}"
}

Since I don't see this as a critical part of the API I won't assign this to the 2.0.1 milestone

In recent PR's this specific problem was resolved. This will still fail but only because you cannot create a task without any geometries as geometry for a task is required. So I will close this issue. The issues that possibly could be created out of this could be better error messages.


docs(roadmap): add December 2015 and January 2016 meetings

Docs passed: https://ci.deis.io/job/test-ec2/3707/console


Howdy can't import module ConfigParser however it's alreayd installed

When trying to authenticate with Howdy through PAM I get this error in the auth.log:
2024-05-01T15:20:38.402372+03:00 <host> /lib/security/howdy/pam.py[34365]: Traceback (most recent call last):
2024-05-01T15:20:38.403951+03:00 <host> /lib/security/howdy/pam.py[34365]:   File "/lib/security/howdy/pam.py", line 10, in <module>
2024-05-01T15:20:38.404018+03:00 <host> /lib/security/howdy/pam.py[34365]:     import ConfigParser
2024-05-01T15:20:38.404053+03:00 <host> /lib/security/howdy/pam.py[34365]: ModuleNotFoundError: No module named 'ConfigParser'
2024-05-01T15:20:38.404094+03:00 <host> sudo[34365]: gkr-pam: unable to locate daemon control file
2024-05-01T15:20:38.404144+03:00 <host> sudo[34365]: gkr-pam: stashed password to try later in open session
2024-05-01T15:20:40.311777+03:00 <host> sudo:      <user> : PAM authentication error: Error in service module ; TTY=pts/2 ; PWD=/root ; USER=root ; COMMAND=/bin/bash

However that module is already installed:
# pip3 install configparser --break-system-packages
WARNING: Skipping /usr/lib/python3.12/dist-packages/argcomplete-3.1.4.dist-info due to invalid metadata entry 'name'
Requirement already satisfied: configparser in /usr/local/lib/python3.12/dist-packages (7.0.0)

I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Ubuntu 24.04
Howdy version (sudo howdy version): 2.6.1

Check HERE


notebook_launcher cannot use MPS device on M1 or M2 Mac

System Info
- `Accelerate` version: 0.13.0.dev0
- Platform: macOS-12.5.1-arm64-arm-64bit
- Python version: 3.10.4
- Numpy version: 1.23.1
- PyTorch version (GPU?): 1.13.0.dev20220909 (False)
- `Accelerate` default config:
	- compute_environment: LOCAL_MACHINE
	- distributed_type: MPS
	- mixed_precision: no
	- use_cpu: False
	- num_processes: 1
	- machine_rank: 0
	- num_machines: 1
	- main_process_ip: None
	- main_process_port: None
	- rdzv_backend: static
	- same_network: False
	- main_training_function: main
	- deepspeed_config: {}
	- fsdp_config: {}
	- downcast_bf16: no

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
Steps to reproduce:

Stable Diffusion Textual Inversion Colab script: https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_textual_inversion_training.ipynb
Run script on M1 Max, expecting accelerate.notebook_launcher to report running the training on GPU (or MPS)
Observe it runs the training on CPU instead

Expected behavior
With a previous PR, `mps` M1 GPU support was introduced to Accelerate: https://github.com/huggingface/accelerate/pull/596

However `notebook_launcher` needs to be adapted to make use of this change as well.

Hello @faraday, thank you for bringing this to the notice. The above PR should fix it.


Import event data from URL

More details in commit messages.

@gvwilson I went with your suggestion. Let me know if you want the AMY to set up instructors / helpers.
The admin attention is required anyway because they need to set up a site (and instructors/helpers after the event is created).

Where do I go in the UI to launch this?
Thx,
G
On 2015-07-13 11:54 AM, Piotr Banaszkiewicz wrote:

@gvwilson https://github.com/gvwilson I went with your suggestion.
Let me know if you want the AMY to set up instructors / helpers.
The admin attention is required anyway because they need to set up a
site (and instructors/helpers after the event is created).
—
Reply to this email directly or view it on GitHub
https://github.com/swcarpentry/amy/pull/426#issuecomment-120976520.

--
Dr. Greg Wilson    |<EMAIL_ADDRESS>Software Carpentry | http://software-carpentry.org

Hi Greg,
go to "New Event" and you should see the "Load from URL" button.
Cheers,
Piotr
On Tue, Jul 14, 2015 at 12:26 AM, Greg Wilson<EMAIL_ADDRESS>wrote:

Where do I go in the UI to launch this?
Thx,
G
On 2015-07-13 11:54 AM, Piotr Banaszkiewicz wrote:

@gvwilson https://github.com/gvwilson I went with your suggestion.
Let me know if you want the AMY to set up instructors / helpers.
The admin attention is required anyway because they need to set up a
site (and instructors/helpers after the event is created).
—
Reply to this email directly or view it on GitHub
https://github.com/swcarpentry/amy/pull/426#issuecomment-120976520.

--
Dr. Greg Wilson |<EMAIL_ADDRESS>Software Carpentry | http://software-carpentry.org
—
Reply to this email directly or view it on GitHub
https://github.com/swcarpentry/amy/pull/426#issuecomment-121079719.

Ping @gvwilson.

I'm not going to be able to test this in the next four days - @r-gaia-cs, can you test this?  You'll need to make some dummy workshop websites...

can you test this? You'll need to make some dummy workshop websites...

OK. @pbanaszkiewicz please ping me if you don't hear from me until your Saturday afternoon.

Thanks Raniere, but the deadline for v0.6 is today. I'm going to write a release blogpost and then test this PR some more, and then if I don't hear back from you I'll merge.

This is a UI suggestion. Can we have two forms? The first one for URL and the second one when URL isn't available? I hope that one image help what I want to have:

@r-gaia-cs but there are two forms. The second one shows up in a modal.
The current workflow if the URL is available:

Click "Load…"
Paste URL in the new form, submit - the script should pre-fill most of the form
Add site
Submit

When URL is not available:

Fill up all details
Submit

The current workflow if the URL is available:

Click "Load…"
Paste URL in the new form, submit - the script should pre-fill most of the form
Add site
Submit

This looks reasonable to me.
@pbanaszkiewicz This looks good for me know. :+1: to include it on today release.


Appstudio update test-component-pac-ascl

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-ascl-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
22 seconds
build-container

✅ Succeeded
15 seconds
inspect-image

✅ Succeeded
14 seconds
deprecated-base-image-check

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
33 seconds
clamav-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
7 seconds
label-check

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
4 seconds
show-sbom


Interface description error

Summary

Concisely describe the issue and your solution:
Link to existing issue (type "#" to check):
Specify the tests done so far:

Solutions (Optional)
Please describe the details of your solution if it might be too complicated for reviewers.

Codecov Report

Merging #317 (3e2776a) into develop (277e558) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #317   +/-   ##
==========================================
  Coverage      43.36%   43.37%
- Complexity      1607     1608    +1
==========================================
  Files            237      237
  Lines          12783    12783
  Branches        1663     1663
==========================================
+ Hits            5543     5544    +1
  Misses          6540     6540
+ Partials         700      699    -1

Impacted Files
Coverage Δ

...e/impl/engine/fiscov2/AuthorityIssuerEngineV2.java
71.38% <0.00%> (+0.33%)
:arrow_up:

Continue to review full report at Codecov.

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


abbr, sub, sup, kbd, mark don't seem to work

In the demo (https://janraasch.github.io/hugo-bearblog/markdown-syntax-guide/) the last section seems to highlight features that don't seem to work. I don't know if it's intended or not and I can't figure out whether that's a bug or those features are just not supported.

Issue 59 might answer your question ;)

Oh, thank you!
I think it might be worth adding it to the text? Otherwise this is quite confusing.


fix broken links

@rddheath these two links were broken in the latest staging build. I made a PR just deleting them in case you want to do that, but I'm not sure if you want to do that, or change the links, or even remove the file flow-design-reference.adoc entirely, along with all links to it. Please feel welcome to proceed as you think best, and I'm happy to approve PRs or otherwise help as I'm able.

Sorry about causing you trouble.

No worries at all! Everyone merges PRs that break links sometimes, certainly including me.


android:label="@string/app_name" not parsed properly.

The Result of "apkMeta.getLabel()" is @string/app_name".
The version I used was v.2.6.4.

+1

Would you please provide a apk file link caused this issue?


Instantiate general orb for premiscale

It's become cumbersome to develop between two organizations / users and bounce back and forth everywhere to extend this project.

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/premiscale/general?version=dev:2d276a7c6c745fec7ccbe1fd454483bec05e8493


Fix: add path separator with path module

Please provide enough information so that others can review your pull request:
With this change, the library path detects the OS path separator and the file detection on OS windows is fixed for prefer recognized types.
Closing issues
Close #30

Thank you very much @lichblitz ! I will release the fix ASAP

Related to #39

After adding Windows tests execution to the pipeline, I realized that the changes in this PR were not working as expected. The library still had issues related to running under Windows OS. This will be finally fixed in PR #41


No option to opt-out of Tracking

I made a thread here going into more detail, (which I would recommend reading for some context), but TL;DR:

bsky.app & Bluesky's mobile apps (which this repo pertains to), contain tracking code from Sentry & Statsig.

bsky.social contains tracking code from Google.

There is currently no option to opt out of or disable this functionality.
My proposal is as follows:

Remove Google tracking from bsky.social, period.

Ideally, remove Sentry & Statsig from bsky.app as well; but as a compromise, at least add some kind of setting or toggle to disable it.

Why?

Privacy is a fundamental human right. Sharing data with third parties who can (and in Google's case, will certainly) use that data to profile & track users poses clear privacy concerns.

To quote Bluesky's website:

Bluesky is social media as it should be.

Evidently, unwanted data collection & tracking is not how social media should be. Among other reasons, it is exactly why myself and millions of other people have left platforms like Facebook & Twitter/X in the first place.

Another quote from Bluesky's website:

Control your scroll
Use powerful moderation lists, content filters, and more to control what ends up in your timeline. In the future, people and organizations will be able to use open tools to contribute even more directly to moderation.

If Bluesky is designed to give control back to users, why would that not extend to other areas, such as privacy & data collection?
Additionally:

IANAL, so I won't go too deep here, but this could potentially raises GDPR concerns, as this data is being collected 1: without clear user consent, 2: without a way to toggle or opt out, and 3: is not necessary for Bluesky to function.

(With the obvious exception of Threads), other widely adopted open social media platforms similar to Bluesky, such as Mastodon and Nostr, have no tracking or data collection, period. This does not reflect well on Bluesky when compared to alternatives, and it will hurt adoption from users.

Above all else, it is simply the right thing to do.

Conclusion:
Rose from Bluesky has made the claim that Bluesky won't sell user data. I find this stance odd and think it may be worth reconsidering. After all, if you're just going to hand out data to third party companies, why not get something out of it??? 😬 (/s)
I hope I haven't come off too harsh; Ultimately, I'm filing this issue because I care and want Bluesky to succeed. I've enjoyed my time on the platform, it's been quite refreshing, and I see a bright future ahead of it.
I genuinely want Bluesky to live up to its potential of becoming 'social media as it should be', and I fully believe that it can and should do that. However, it must be said that adding functionality which directly harms users & implementing it in this way is exactly what Bluesky should be against. It is directly antithetical to your stated goals and mission. Bluesky should be rectifying the wrongs of the platforms that preceded it, not repeating them.
I'll end off with repeating a statement from my thread:

i can respect the desire to collect analytics/telemetry to improve a product or service. what i can't respect is giving this data to third parties like statsig, sentry, and GOOGLE, WITHOUT user consent and a way to opt out.

Thank you for your time & consideration. I deeply respect your team and your hard work on this platform, and I fully believe you are doing this for the right reasons. I do not feel like my proposal is an unreasonable request, and I look forward to your response to this matter. Can't wait to see what comes next. 💙

I fully agree and support this


Add minification support for project based monitors before pushed to Kibana

Summary
When synthetics agent pushes the journeys/monitors to Kibana, we perform bundling (concatenation) and we gzip the result source before unpacking the code on the Heartbeat side. This is good enough, but to get extra savings, we would like to enable the minification for the journey/monitor code to get even more savings.
Proposal
When running with minification, we shave off 200Kb from the pdp-parse module - https://www.npmjs.com/package/pdf-parse, This would be easier change by enabling the minification on the ESbuild side - The bundler we rely on while performing the push operation.
However minification might break our sourcemaps, We apply sourcemaps extraction and unpacking at different levels. More details are on this PR -  https://github.com/elastic/synthetics/pull/687. The outcome of this minifation should not affect the sourcemaps and we should ensure the step functions, journey scripts, error stacks are not pointing to the original source even after we enable the minify flag.

After spending 2 days on this issue, the finding was enabling minification on the bundles would either make the original step script source looks different or if we end up reconstructing the original source from the minfied file, that will end up increasing the initial bootup time for the Synthetics runner.
Reconstructing original source
Our bundling strategy is to make the project monitors/journeys as small as possible. To do that, we opted for sourcemaps without the original source content (setting the sourcesContent: false on the Esbuild) and gzipping which significantly reduces the sourcemap size and also the bundle size. We then use this sourcemap for mapping to the original source location when there are errors thrown on the journey script - https://github.com/elastic/synthetics/blob/37fa84f74e7e3293bd0facab6b7807dd867fed8d/src/helpers.ts#L296
If we opted to further minify our code, we will shave off few bytes and sometimes kilobytes depending on the node_modules used on the Journeys.

Example
Current(kb)
with minify(kb)

Example.com
0.764
0.727

Advanced
2.793
2.544

MFA
104.280
98.59

When we run these monitors, we would see them on the Kibana UI in this way.
After

Before

However, we can try to reconstruct the original source but because we don't have a way to retrieve the original sourceContent, we would have to map the original position from the mappings file line by line and column which is an expensive operation and would take up a lot of time depending on the amount of code/modules used on the journeys. Pseudo code that i used to reconstruct the source for reference.
  await SourceMapConsumer.with(sourceMapJson, null, sourceMapConsumer => {
    const lines = minifiedCode.split('\n');
    let reconstructedSource = '';
    lines.forEach((line, lineIndex) => {
      // starts at 1 for minified code
      const lineNum = lineIndex + 1;
      // length of the line in the minified code
      const columnCount = line.length;

      for (let column = 0; column < columnCount; column++) {
        const pos = { line: lineNum, column: column };
        const originalPosition = sourceMapConsumer.originalPositionFor(pos);
        if (originalPosition.source === null) continue;
        if (originalPosition.name) {
            reconstructedSource += originalPosition.name;
            column++;
            reconstructedSource += minifiedCode.charAt(column);
        } else {
          reconstructedSource += minifiedCode.charAt(column);
        }
      }
      reconstructedSource += '\n';
    });
  });

With this we can extract the bundled code which would look like this depending on how the file was transpiled. Our bundles are transpiled with commonJS at the moment since the platform we deploy is on node. Example journey looks like this below after the extraction.
// Prettified by running through prettier.format(code)
var import_synthetics = require("@elastic/synthetics");
(0, o.journey)("Hello World", ({ page: page }) => {
  o.monitor.use({ schedule: 1, id: "hello-world" }),
    (0, o.step)("step 1", async () => {
      await page.goto("https://example.com"),
        console.log("test"),
        console.log("test2"),
        console.log("test3");
    }),
    (0, o.step)("step 2", async () => {
      console.log("test4"), console.log("test6"), console.log("test7");
    });
});

This is just one part of the puzzle, now we have to run write the retrieved source file back locally and invoke the synthetics runner on this modified file. These all operations delays the overall runner start time - The time directly correlates to the time spent on extracting the original file from source-maps.
Enabling sourceContent settings
With setting sourceContents along with minfication during the bundling phase helps with extracting the original source easily when running journeys, the result in increased bundle size will defeat the purpose of the minification.

Example
Current(kb)
with minify(kb)
with sourceContent(kb)

Example.com
0.764
0.727
1.985

Advanced
2.793
2.544
6.208

MFA
104.280
98.59
217.936

Best outcome of all settings
Even with minification disabled, just removing whitespace when bundling yields significant savings when run through gzip post the minification phase.

Example
Current(kb)
with minify(kb)
removing whitespace(kb)

Example.com
0.764
0.727
0.716

Advanced
2.793
2.544
2.536

MFA
104.280
98.59
94.23

This approach also does not require us to reconstruct the source nor do any processing on the bundled file. We might get extra savings if we set minifySyntax, but would require us to reconstruct the source so not worth it as well for extra bytes (1kb savings on MFA).


Arducam mini 5mp + ESP8266

I'm trying to use an Arducam mini 5MP with the websocket example and it doesn't run for me.
I upload to my esp8266 the following program but It does not run well.
https://gist.github.com/labajo/99a2be6098db086430bf927b4275f6a8
I cannot see a special trace to find out the problem.
SPI1 interface Error!
OV5642 detected.

Connecting to iMac

WiFi connected
Server started
<IP_ADDRESS>
Client connected
Analyzing request headers
Got Line: GET / HTTP/1.1
Got Line: Host: <IP_ADDRESS>
Got Line: Connection: Upgrade
Got Line: Pragma: no-cache
Got Line: Cache-Control: no-cache
Got Line: Upgrade: websocket
Got Line: Origin: null
Got Line: Sec-WebSocket-Version: 13
Got Line: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36
Got Line: Accept-Encoding: gzip, deflate, sdch
Got Line: Accept-Language: es-ES,es;q=0.8
Got Line: Sec-WebSocket-Key: KNtP+FRULpiEevBrx1imSA==
Got Line: Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Got Line:
Websocket established
capture

Could you help me?

@Juan
There is SPI timing error with 5MP when used in ESP8266, please try our special library released for ESP8266 from https://github.com/ArduCAM/ArduCAM_ESP8266_UNO/tree/master/libraries/ArduCAM

Hello,
I test but in SPI I have 170 not 55

Hi,
with the special library I get the following error:
0
chksum 0x0f
csum 0x0f
ArduCAM Start!
SPI1 interface Error!

Soft WDT reset

ctx: cont
sp: 3fff2940 end: 3fff2b50 offset: 01b0

>>>stack>>>
3fff2af0:  3fff1afc 3fff1078 3fff1afc 40202574
3fff2b00:  feefeffe feefeffe feefeffe feefeffe
3fff2b10:  feefeffe feefeffe feefeffe feefeffe
3fff2b20:  feefeffe feefeffe feefeffe 3fff1b28
3fff2b30:  3fffdad0 00000000 3fff1b20 40207434
3fff2b40:  feefeffe feefeffe 3fff1b30 40100718
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(1,7)

 ets Jan  8 2013,rst cause:4, boot mode:(1,7)

wdt reset

I had to add the following definitions in the ArduCAM_Mini_OV5642_Capture example:
#define OV5642_CHIPID_HIGH 0x300a
#define OV5642_CHIPID_LOW 0x300b

But they are defined in keywords and ov5642_regs.h

@Juan
Sorry for my late reply. It seems that the SPI error and go to the while(1) loop which causes the esp8266 reboot.
Please check the following link for the new library.
http://www.arducam.com/arducam-esp8266-uno-board-arduino-camera/
http://www.arducam.com/downloads/ESP8266_UNO/ArduCAM_ESP8266_UNO_DS.pdf
Let me know if you need more help.

@dmolner We have update our library for ESP8266 board, please check the latest library and examples from http://www.arducam.com/arducam-esp8266-uno-board-arduino-camera/

I test these in my ESP8266 and OV5642 but I have a message "SPI1 interface Error!"
I include a print and I have 170 not 55
temp = myCAM.read_reg(ARDUCHIP_TEST1);
->Serial.println (temp);

// Arducam mini controlled by ESP8266.  Arduino IDE 1.6.5. Photo upload to a php script on a webserver using html POST.
// Libraries from Arducam github placed under arduino/libraries/arduCAM. Power consumption ca 200 mA from 3.3V.
// PIR module controls FET that switches on 3.3 power Lipo+buck regulator used.  ESP connects to WiFi and starts taking and uploading photos.
// http://www.arducam.com/tag/arducam-esp8266/
// ESP12-E module: CS=GPIO16   MOSI=GPIO13   MISO=GPIO12   SCK=GPIO14  GND&GPIO15  VCC&EN=3.3V SDA=GPIO4  SCL=GPIO5  GPIO0=button  GPIO2=BlueLED

#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>

#include <Wire.h>
#include <ArduCAM.h>
#include <SPI.h>
#include "memorysaver.h"

const char* ssid     = "myssid"; // Your ssid
const char* password = "mypw"; // Your Password

WiFiClient client;

#define DEBUGGING  // Enabe debug tracing to Serial port.
#define MAX_FRAME_LENGTH 64   // Here we define a maximum framelength to 64 bytes. Default is 256.
#define CALLBACK_FUNCTIONS 1  // Define how many callback functions you have. Default is 1.
const int CS = 16; // chip select of camera
ArduCAM myCAM(OV5642, CS);

int led=2; //blue led pin on GPIO2 of ESP-12E  switching it on during picture taking.

void Camera(ArduCAM myCAM){      //reads out pixels from the Arducam mini module
//  pinMode(led, OUTPUT); digitalWrite(led, LOW); // Illuminate with blue LED on GPIO2.
  myCAM.clear_fifo_flag();
  myCAM.start_capture();
  while (!myCAM.get_bit(ARDUCHIP_TRIG, CAP_DONE_MASK));
  Serial.print("Picture captured. ");

  size_t len = myCAM.read_fifo_length();
  if (len >= 393216){ Serial.println("Over size."); return;}
  else if (len == 0){ Serial.println("Size is 0."); return;}
  Serial.print("Length in bytes: "); Serial.println(len); Serial.println();
  myCAM.CS_LOW(); myCAM.set_fifo_burst(); SPI.transfer(0xFF);

  if (client.connect("myHost", 80)) {
  while(client.available()) {String line = client.readStringUntil('\r');}  // Empty wifi receive bufffer

  String start_request = ""; String end_request = "";
  start_request = start_request +
  "\n--AaB03x\n" +
  "Content-Disposition: form-data; name=\"userfile\"; filename=\"arducam.jpg\"\n" +
  "Content-Transfer-Encoding: binary\n\n";

  end_request = end_request + "\n--AaB03x--\n";  // in file upload POST method need to specify arbitrary boundary code

  uint16_t full_length;
  full_length = start_request.length() + len + end_request.length();

    Serial.println("POST /php/arducam/arducam5.php HTTP/1.1");
    Serial.println("Host: myhost");
    Serial.println("Content-Type: multipart/form-data; boundary=AaB03x");
    Serial.print("Content-Length: "); Serial.println(full_length);
    Serial.print(start_request); Serial.println("Here are sent picture data"); Serial.println(end_request);

    client.println("POST /php/arducam/arducam5.php HTTP/1.1");
    client.println("Host: myhost");
    client.println("Content-Type: multipart/form-data; boundary=AaB03x");
    client.print("Content-Length: ");
    client.println(full_length);
    client.print(start_request);

  // Read image data from Arducam mini and send away to internet
  static const size_t bufferSize = 1024; // original value 4096 caused split pictures
  static uint8_t buffer[bufferSize] = {0xFF};
  while (len) {
      size_t will_copy = (len < bufferSize) ? len : bufferSize;
      SPI.transferBytes(&buffer[0], &buffer[0], will_copy);
      if (!client.connected()) break;
      client.write(&buffer[0], will_copy);
      len -= will_copy;
      }

     client.println(end_request);
     myCAM.CS_HIGH(); digitalWrite(led, HIGH);
  }

  // Read  the reply from server
  //delay(5000);
  while(client.available()){ String line = client.readStringUntil('\r'); Serial.print(line);}
  client.stop();
  while(client.available()){ String line = client.readStringUntil('\r'); Serial.print(line);}
}

void setup() {
  uint8_t vid, pid, temp;
  Wire.begin();
  Serial.begin(115200);
  Serial.println("ArduCAM Mini ESP8266 uploading photo to server");

  pinMode(CS, OUTPUT); // set the CS as an output:
  SPI.begin(); // initialize SPI
  SPI.setFrequency(4000000); //4MHz

  //Check if the ArduCAM SPI bus is OK
  myCAM.write_reg(ARDUCHIP_TEST1, 0x55);
  temp = myCAM.read_reg(ARDUCHIP_TEST1);
  Serial.println (temp);
  if (temp != 0x55){
  //if (temp != 0x170){
    Serial.println("SPI1 interface Error!");
    while(1);
    }

  //Check if the camera module type is OV5642
  myCAM.rdSensorReg16_8(OV5642_CHIPID_HIGH, &vid);
  myCAM.rdSensorReg16_8(OV5642_CHIPID_LOW, &pid);
  if ((vid != 0x56) || (pid != 0x42))
    Serial.println("Can't find OV5642 module!");
  else
    Serial.println("OV5642 detected.");

  //Change to JPEG capture mode and initialize the OV5642 module
  myCAM.set_format(JPEG);
  myCAM.InitCAM();
  myCAM.OV5642_set_JPEG_size(OV5642_2592x1944);
  myCAM.set_bit(ARDUCHIP_TIM, VSYNC_LEVEL_MASK);
  myCAM.clear_fifo_flag();
  myCAM.write_reg(ARDUCHIP_FRAMES, 0x00);

  // Connect to a router
  WiFi.mode(WIFI_STA);
  Serial.println("Connecting to AP specified during programming");
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
    }
  Serial.print("\r\nWiFi connected IP address: ");
  Serial.println(WiFi.localIP());
  Serial.println();

  }

void loop() {

  Camera(myCAM);

  Serial.println("Sleeping ...");
  delay(60000);
}
`

@dmolner Please use the new library for 5MP when used with ESP8266, there is a SPI workaround. http://www.arducam.com/arducam-esp8266-uno-board-arduino-camera/

I get the same error.
The last attempt was made using this library.
https://github.com/ArduCAM/ArduCAM_ESP8266_UNO/tree/master/libraries/ArduCAM
I installed the board and I get the same error with the example:
ArduCAM_Mini_OV5642_Capture
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x0f
csum 0x0f
~ld
ArduCAM Start!
SPI1 interface Error!

Soft WDT reset

ctx: cont
sp: 3fff2940 end: 3fff2b50 offset: 01b0

>>>stack>>>
3fff2af0:  3fff1afc 3fff1078 3fff1afc 40202574
3fff2b00:  feefeffe feefeffe feefeffe feefeffe
3fff2b10:  feefeffe feefeffe feefeffe feefeffe
3fff2b20:  feefeffe feefeffe feefeffe 3fff1b28
3fff2b30:  3fffdad0 00000000 3fff1b20 40207434
3fff2b40:  feefeffe feefeffe 3fff1b30 40100718
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1264, room 16
tail 0
chksum 0x0f
csum 0x0f
~ld
ArduCAM Start!
SPI1 interface Error!

Soft WDT reset

ctx: cont
sp: 3fff2940 end: 3fff2b50 offset: 01b0

>>>stack>>>
3fff2af0:  3fff1afc 3fff1078 3fff1afc 40202574
3fff2b00:  feefeffe feefeffe feefeffe feefeffe
3fff2b10:  feefeffe feefeffe feefeffe feefeffe
3fff2b20:  feefeffe feefeffe feefeffe 3fff1b28
3fff2b30:  3fffdad0 00000000 3fff1b20 40207434
3fff2b40:  feefeffe feefeffe 3fff1b30 40100718
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

I'm using the following schematic:
http://www.arducam.com/arducam-supports-esp8266-arduino-board-wifi-websocket-camera-demo/esp8266_diagram-2/

hi every one , is it possible to convert esp-arducam  to wifi IP camera can support RTSP or ONVIF protocol ?for streaming the video which protocol is fastest  (UDP, TCP, Websocket,.....)?
thanks for your reply

@mkeyno Yes is possible but the problem is because is a serial camera and only can see less 1fps.
I test with Ispy and work very good.

@dmolner why serial , all OV76xx have SPI interface , I think all @ArduCAM library work with SPI or I2c, check this link
http://www.aliexpress.com/item/Hot-OV7670-VGA-Camera-Module-Lens-CMOS-640X480-SCCB-W-I2C-Interface-For-Arduino-Factory-Price/32659604527.html?ws_ab_test=searchweb201556_10,searchweb201602_2_10017_10034_10021_507_10022_10020_10009_10008_10018_10019,searchweb201603_9&btsid=076502c5-c8ba-4066-97ab-3f6677f094e4&smToken=e703a6bc3cab4bbe89391d605b7138b1&smSign=7JFCYIz0%2B5KedbbZR8M1Jg%3D%3D
I was hopping can made ip camera with this module and ESP or at least can send the image on motion detection but I dong know how fast this combination will be

@mkeyno correct!
I'm sorry!
I confused because use with an ESP8266 and this is a serial module.
for this I only have 1 fps.
Sorry!

Have you seen the problem @ArduCAM? It is the schematic right?

@labato, sorry the new example sketches use the new schematic wiring, please check the wiring here; http://www.arducam.com/arducam-esp8266-uno-board-arduino-camera/esp8266-pinout/
The SPI error will enter while(1) loop and eventually cause the watch dog reset.

Hi @ArduCam,
1.Here I have got a success to shoot video and their saving in SD card by using "ArduCAM_ESP8266_V2_OV2640_Video2SD" Arduino code provided in the ArduCam library but problem arises is to send the video to the server.
2.Also i want to get control on the video timing as per requirment i.e.10s 20s,40s etc. by pressing external key.
How it can be,please suggest the way to solve this issue.Any suggestion from your will be appreciated.
Thanks

dose anyone success  video streaming with OV_7670?

@mehrdad,
OV7670 deosn't have buildin JPEG engine, this bandwidth is too large to do video streaming. And OV7670 is quite old and low resolution.
Recommend to use OV2640.

@ArduCAM  I was hoping to build the lowest price IP camera with  OV7670 , so as you said I should switch to another module

@mehrdad, how do you build the lowest cost IP camera with OV7670?

it was idea base on your repo. long ago I did some effort to directly embed video stream on my website without any third party software or plugin , the result not good as I expected until find what have you done with ESP and OV's modules   but as I didn't find any video streaming example with OV7670, I pasted my question here, but as you said I should pay more for my project

@mehrdad, I would like to know more about how do you make IP camera with OV7670 even if you said it is not very good.

@ArduCAM  it was plan and  I didn't make anythings yet but I'm going to use more powerful module or just use  OV7670  for motion detection purpose and upload image to the server

@mehrdad, I think at least you have a basic idea how to stream OV7670 video over IP, then I can give you suggesion on that topic.
From my experience, you need a powerful hardware to do compression and network streaming.

I am attempting to interface with a esp32 using the esp8266 codepaths and am encountering the same issue as above where I get 170 back from the SPI initialization test  instead of 85 (0x55). Did anyone ever figure out why?
I am using the 0V2640 arducam mini.

@edwardcoyne, current arducam library doesn't support esp32 processor. You have to modify our library to communicate with  esp32 yourself.

ya I had figured as much, If I get it working I will do a PR.
I had just been curious what the cause of the 170 result listed above was to see if it was the same as what was causing my issue. For my case if I switched SPI.setDataMode() to MODE2 or MODE3 it will get the correct result back from that call, I am not certain which it should be though as both seem to work.
I don't have everything working yet but that check passes.


I could expose a shared disk as a raw block device inside a pod, but then what?!? lsblk doesn't show it as device, I could partition it but the new primary partition is not visible as device either, mounting is out of question. What in the goddamn world am I supposed to do with this raw block, keep it for decoration? Probably I am missing some knowledge, but then again, isn't this the point of this document to provide me with this knowledge?

[Enter feedback here]

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

ID: 4ba9a74f-e0b7-5e2c-b066-5f32dc47f950
Version Independent ID: 919e9aef-832f-574f-89b3-0456c5cc3f68
Content: Use Container Storage Interface (CSI) drivers for Azure Disks on Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/azure-disk-csi.md
Service: container-service
GitHub Login: @palma21
Microsoft Alias: zarhoads

The issue is closed by you. If you still need help with it, please let me know and I will reopen it.

Reopened another issue with properly placed title and description.


Repo README page is empty

Brevity might be a virtue, but this README page can really use some text

terminado

reabierto

terminado otra vez


Suggest adding Fixes <issue> text in a PR

It's not very obvious that we can link a PR to the associated issue, and that if we do that, the issue will be close when the PR is merged.
Add some text to the CONTRIBUTING file to suggest this.
Question: is this one complication too many in our instructions?

In this instance, I wanted to add it because it wasn't something the people I was working with knew about.
Given it makes it a lot easier to track back to the original issue, and also that it automatically closes the issue when the PR is merged, it seemed worth calling out.
(and in this case, we also had an issue that no-one had remembered to close, despite the PR being merged some while back)
But we could maybe remove this once we've got better training resources in place?


Add 'no route to host' as extra failure case for engine connection

Signed-off-by: Nishant Totla<EMAIL_ADDRESS>

Ping @wsong


Address SciPy interp2d deprecation

Addresses the SciPy interp2d deprecation by using xarray's interp method instead.
Closes #607
This doesn't address the bigger issues I stumbled upon in looking into this of matplotlib's streamlines requiring input data on a regular grid (this should probably be addressed as an upstream contribution) and that these (streamlines vs NCL curly vectors) are different ways of representing data.  While they look similar, they aren't showing information in the same ways and that should probably be documented.  The reference vector is also incorrect.  I'll log this as an issue.

Thanks for fixing the deprecation. We have a mountain of vector issues ahead of us.

Indeed 😞


solder not pulling materials from grid

Issue description:
connected solder to grid will not pull materials from grid
What happens:
placed solder beside grid and when I asked for it to make a basic processor by clicking the plus it told me items not available had to take items out of grid and have in my inventory for it to craft also could not make a craft pattern for solder crafting recipes
What you expected to happen:
I expected to be able craft with materials in grid and make a crafting pattern for items made with a solder
Steps to reproduce:

...
Version (Make sure you are on the latest version before reporting):
sky factory 3 - 3.0.4

Minecraft: 1.10.2
Forge: <IP_ADDRESS>2
Refined Storage: 1.2.16

Does this issue occur on a server? [yes/no]
not on a server
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

You might want to read up on how autocrafting works and how to automate the solderer

The solderer isn't a capable of pulling items from the network by itself.


Move test_id:1539 out of quarantine

Signed-off-by: Or Mergi<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR move  test_id:1539 out of quarantine lane as it seems to be stable.
Between 21/2/2021 - 10/3/2021 it failed twice:

https://prow.k8s.io/view/gs/kubevirt-prow/pr-logs/directory/pull-kubevirt-e2e-k8s-cnao-1.19/1367009962546434048
failed due to a timeout along with other 53 tests due to timeouts as well.

https://prow.k8s.io/view/gs/kubevirt-prow/pr-logs/directory/pull-kubevirt-e2e-k8s-cnao-1.19/1367715990439202817
Reason: test_id:1539 failed due to virt-handler failed to send syncVMI command to virt-laucher pod
it failed because the VM failed to create as we can see in this log
I think its related to the CI health

@fedepaol @phoracek
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

@fgimenez Its been two weeks and this test is stabilized
Can we move this test out of quarantine now?

/cc @AlonaKaplan @enp0s3

/test pull-kubevirt-e2e-k8s-1.19-operator

Or, do we have an idea why this test was failing and what was changed that now it is passing?

Or, do we have an idea why this test was failing and what was changed that now it is passing?

We saw this test failed twice in the past 2-3 weeks, first it failed along 53 other tests
second it failed due to a VMI that failed to create, it crushed during syncVMI invoked by virt-handler during creation (the domain did not created yet)
I noticed we hit CIDRNotAvailable error on kube-controller-manager log, it fixed by  https://github.com/kubevirt/kubevirt/pull/5207
Its seems that this was something transient that related to CI health, I couldn't find something wrong with the test code.
We let this test run on QUARNTINE lane for two weeks to verify it is stabilized.

@ormergi thanks for the thorough response.
/approve


[SMALLFIX] Set classloader for HdfsUnderFileSystem

@calvinjia
Could you take a look? Thanks!

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17815/
Test PASSed.

@riversand963 is this a bug fix?

@riversand963 I left one comment on explaining the change here.
Otherwise, I am good for the PR

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17846/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.master.lineage.LineageMasterIntegrationTest.alluxio.master.lineage.LineageMasterIntegrationTest
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, test this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17847/
Test PASSed.


tracing_muxer_impl.cc calls deprecated version of std::atomic_store

After https://github.com/llvm/llvm-project/pull/87111:
[19090/49406] CXX clang_x64/obj/third_party/perfetto/src/tracing/client_api_without_backends/tracing_muxer_impl.o
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF clang_x64/obj/third_party/perfetto...(too long)
../../third_party/perfetto/src/tracing/internal/tracing_muxer_impl.cc:205:8: error: 'atomic_store<perfetto::ProducerEndpoint>' is deprecated [-Werror,-Wdeprecated-declarations]
  205 |   std::atomic_store(&service_, std::move(service));
      |        ^
../../third_party/libc++/src/include/__memory/shared_ptr.h:1606:1: note: 'atomic_store<perfetto::ProducerEndpoint>' has been explicitly marked deprecated here

Upstream chromium bug: https://issues.chromium.org/issues/333609032

@ddiproietto IIUC https://en.cppreference.com/w/cpp/memory/shared_ptr/atomic std::atomic_load/store on a shared_ptr is being deprecated.
My understanding of the code in tracing_muxer_impl is the following:

At some point we might swap the service_ instance, on reconnection
service_ itself is thread-safe (we use it to call NewTraceWriter)
the std::shared_ptr control block itself is thread safe (once you obtain a shared_ptr, the target object is guaranteed to be alive)
The real problem that the atomic_load/store is solving here, is the fact that the shared_ptr itself (the thing that points to the control block) is not thread-safe, so when we swap it to point to another control block , that operation itself needs to be atomic

The obvious solution suggested by p2869r2 is to use instead std::atomic<std::shared_ptr<X>>. However that's supported only in C++20 (where the deprecation starts)
As a matter of pragmatism, I'm quite convinced we could easily add a dedicate mutex just around service_, and that doesn't bother me at all because that mutex will be uncontended 99% of the times (it would be taken only upon loss of socket connection) and an uncontended mutex is an atomic increment/decrement on civilized operating systems.
@nico just to understand a bit more the situation (which I couldn't figure from the attached bug)

The deprecation seems to have effect only since c++20, but I thought that chromium is still on c++17 (or do you have a bot using c++20)?
Is there anything we can do to spot these errors earlier? We try to stay up-to-date with chromium's llvm and libcxx (~ realistically we are 3-6 months behind) and build with -Weverything. Any chance I can catch these things sooner so they don't block you?

Chromium is on c++20 these days.

For catching it earlier: I noticed it today when trying to roll libc++. I suppose you could try autorolling it. It's been a pain to keep updated this year though: We just managed to land the update to libc++-HEAD-as-of-5-weeks-ago. That's also why we haven't noticed this earlier, even though it changed upstream a few weeks ago.

Technically speaking from my viewpoint we seem to be hit by something that is deprecated in C++20, but we can't use c++20 yet :)

The mutex thing you propose sounds good, but #if __cplusplus >= 202002L /* new thing */ #else /* old thing */ #endif is also something that exists.

The mutex thing you propose sounds good, but #if __cplusplus >= 202002L /* new thing / #else / old thing */ #endif is also something that exists.

Actually @ddiproietto suggested the same and pointed out that my mutex solution is unideal because adds contention across different threads calling CreateTraceWriter(). Another possible solution would be using a rw-mutex but then he told me it's std::shared_mutex seems discouraged because very expensive.
So i'm now looking at this other option. How hard can it be? r.android.com/3088448
However that doesn't build in our repo if I switch to C++20 because now it complains about std::atomic<std::shared_ptr> claiming that shared_ptr is not trivially-copyable.
I think what's happening is that our version of libcxx is too old and back then shared_ptr was not yet trivially-copyable.
So now I have to first figure out a way to upgrade our libcxx to chromium latest, and then try again.
Bear with me !

🧸

Update: I tried up-revving libcxx to 7e7c1619d84230c43f5c25b1ad4e0ade25477cb7  and applying https://r.android.com/3088448 and this fails.
Feels like the suggested replacement is not supported yet by libcxx.
I have a minified repro here: https://godbolt.org/z/nYjh3P4aG (here's what I'm trying to do in perfetto: https://pastebin.com/raw/0g4BZAbK)
So if we target C++20 && libc++ we can't use std::shared_ptr::atomic_load/store anymore because it's deprecated, and we can't use the new std::atomicstd::shared_ptr because it's not there yet

I brought this up at https://github.com/llvm/llvm-project/pull/87111#issuecomment-2112740039 , let's see what upstream says.

The deprecation got reverted for now: https://github.com/llvm/llvm-project/pull/92920
So no action needed. It will be back eventually, and then we'll have to check for __cpp_lib_atomic_shared_ptr and do something conditional probably. But currently, that's not yet implemented in libc++ (hence the revert).

I'll close this out for now in that case and we can reopen this/create a new bug when libc++ is ready. Thanks Nico!


Cannot add core widgets

Dev Home version
0.701.323.0
Windows build number
10.0.23590.1000
Other software
OS Build Version: 10.0.23590.1000.amd64fre.ni_prerelease.231110-1455
.NET Version: .NET 6.0.24
Steps to reproduce the bug
Go to Dashboard, click 'add widget'. Try to add the SSH Keychain as an example - this cannot be properly added.
Expected result
I can add core widgets.
Actual result
I am unable to add core widgets - "please ensure the app that provides this widget is installed.

Included System Information
CPU: Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz
Physical Memory: 31.81GB (16.59GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHomeGitHubExtension_0.600.283.0_x64__8wekyb3d8bbwe
Microsoft.DevHomeMicrosoftGameDevExtension.Canary_0.400.316.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHome.Dev_<IP_ADDRESS>_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHome_0.701.323.0_x64__8wekyb3d8bbwe

/logs

Marking P2 for now, but will increase if instances of this error increase.


No view found with specified ownerViewModel of type "..."

Project structure:

I'm using the default ViewLocator, any idea what the issue could be ?
The documentation for this library is not really good as it doesn't demonstrate how to properly structure your project
I've been trying to solve this error for at least 4 hours now and I have no idea why it isn't working, I've tried everything...

FYI: I'm trying to open a file dialog from SkinnedMeshToGltfViewModel using an extension method from DialogExtensions.
public static async Task<(string path, SkinnedMesh skinnedMesh)> ShowLoadSkinnedMeshViewAsync(
    this IDialogService dialogService,
    INotifyPropertyChanged ownerViewModel
)
{
    Guard.IsNotNull(dialogService, nameof(dialogService));
    Guard.IsNotNull(ownerViewModel, nameof(ownerViewModel));

    string? result = await dialogService.ShowOpenFileDialogAsync(
        ownerViewModel,
        new()
        {
            AllowMultiple = false,
            Title = "aaa",
            Filters = new() { new("Simple Skin files (.skn)", new[] { "skn" }) }
        }
    );

    return (result!, SkinnedMesh.ReadFromSimpleSkin(result!));
}

private async Task<(string path, SkinnedMesh skinnedMesh)> LoadSimpleSkin()
{
    var x = this._dialogService.ShowLoadSkinnedMeshViewAsync(App.MainWindow);

    return await x;
}

This is my App.axaml.cs:
public partial class App : Application
{
    public static MainWindowViewModel MainWindow => Locator.Current.GetService<MainWindowViewModel>()!;

    public override void Initialize()
    {
        AvaloniaXamlLoader.Load(this);

        ILoggerFactory? loggerFactory = LoggerFactory.Create(
            builder => builder.AddFilter(logLevel => true).AddDebug()
        );

        Locator.CurrentMutable.RegisterLazySingleton(
            () =>
                (IDialogService)
                    new DialogService(
                        new DialogManager(
                            viewLocator: new ViewLocator(),
                            logger: loggerFactory.CreateLogger<DialogManager>()
                        ),
                        viewModelFactory: x => Locator.Current.GetService(x)
                    )
        );

        SplatRegistrations.Register<MainWindowViewModel>();
        SplatRegistrations.SetupIOC();
    }

    public override void OnFrameworkInitializationCompleted()
    {
        GC.KeepAlive(typeof(DialogService));

        if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
        {
            desktop.MainWindow = new MainWindow { DataContext = MainWindow, };
        }

        base.OnFrameworkInitializationCompleted();
    }
}

It seems like the library is somehow unable to find the MainWindow:
https://github.com/mysteryx93/HanumanInstitute.MvvmDialogs/blob/ec321acc457d4a326268b3ab3e29cb88940b2d65/src/MvvmDialogs.Wpf/DialogManager.cs#L56-L61
I don't understand why that's the case though, since the DataContext of the MainWindow is set to App.MainWindow which is registered as a singleton

By default it's looking for MainView.
Are you using the latest Preview or the stable version?
The Preview version has partial implementation to support mobile and I made considerable changes to the factories and locators. It might not look for MainWindow by default yet. I'm not exactly sure of the current state of the Locator in the Preview version as that code is not completed.

A new preview version has been released and documentation is now updated.

Same problem
Avalonia Version: 11.0.0-rc1.1
Package Version:
HanumanInstitute.MvvmDialogs.Avalonia: 2.0.0-rc1
HanumanInstitute.MvvmDialogs.Avalonia.DialogHost
The code which causes the error

I use autofac to do the dependency injection

ViewLocator Class:

Project Structure:

I use the code in ModManageViewModel, the ModManageView is a UserControl shown as a subpage in the MainWindow, and the page shows correctly so i guess it's not ViewLocator's problem. But when using the code above, and it searches for the view, it throws out errors
Also is it possible to implement the DialogOpenedEventHandler because now we only have DialogClosingEventHandler

Could you send me a minimal reproduction project so I can take a look at it?

The error clearly states that it can't map the ViewModel to the View; which is not done by the DI container but by the ViewLocator.
Your ViewLocator is not specified when you create the DialogManager?

Could you send me a minimal reproduction project so I can take a look at it?

my project is on https://github.com/MDModsDev/MuseDashModToolsUI/tree/Dialoghost_mvvm
the new branch i created for trying to use dialog mvvm, it's not that big, the main thing i mentioned is in ModManageViewModel. but if u want to have a much smaller project to look at i can do it later cz it's 3am for me rn i have to sleep 😂

The error clearly states that it can't map the ViewModel to the View; which is not done by the DI container but by the ViewLocator.

yeah but what I'm really confused is it seems like avalonia itself can handle the views using my viewlocator, or i might did something wrong in DI ig(?

Project does not start at all on Linux

Project does not start at all on Linux

😂 might be the problem in Program.cs?
maybe you need to comment out the #define Windows
bc im using windows and github action build correctly i just didn't comment it out

Doesn't even reach the Main method, gets stuck at initiating the debugger. Removing that define doesn't solve.

Doesn't even reach the Main method, gets stuck at initiating the debugger. Removing that define doesn't solve.

hmmm that's so weird, then I'll just try to make a small project to reproduce the problem ig, cz i don't have linux so i don't really know what happened 🤔

You can also import the MvvmDialogs source code into your project to see why it's not finding your reference, that might actually be easier

You can also import the MvvmDialogs source code into your project to see why it's not finding your reference, that might actually be easier

just finished with TestApp, seems like still happening to me, I hope u can run it this time 😂
TestApp.zip

You can also import the MvvmDialogs source code into your project to see why it's not finding your reference, that might actually be easier

Seems like the problem is from here

The UserControl has the _useNavigation as false, so it goes to the else one, but it's not a Window so just threw out error

That's called to map ownerViewModel to the Window that the dialog is shown into. Is this the ViewModel of the Window, or is it a ViewModel within a control? If that's the case, you need a reference to the parent ViewModel.

That's called to map ownerViewModel to the Window that the dialog is shown into. Is this the ViewModel of the Window, or is it a ViewModel within a control? If that's the case, you need a reference to the parent ViewModel.

it's a viewmodel of a UserControl, because i use dialoghost before and wrote the dialog in the UserControl's XAML, and it can open within the UserControl so I thought UserControl as parent is also fine.
That's why it's not working ig


ansibleserver: 按步骤记录输出

这个 PR 实现什么功能/修复什么问题:
ansibleplaybooks: 改正启动失败问题
ansibleplaybooks: Output字段使用mediumtext
pkg: ansible: 支持指定OutputWriter
ansibleplaybooks: 增量式记录输出

是否需要 backport 到之前的 release 分支:

release/2.10.0

/area ansibleserver
/cc @swordqiu @Zexi

Codecov Report

Merging #1951 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1951      +/-   ##
=========================================
+ Coverage    7.51%   7.51%   +<.01%
=========================================
  Files         418     418
  Lines       64872   64862      -10
=========================================
  Hits         4876    4876
+ Misses      59585   59575      -10
  Partials      411     411

Flag
Coverage Δ

#aFlag
7.51% <0%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/util/ansible/playbook.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm
/approve


multiple return types

Hi,
I have not found a way to declare a path response with multiple bodies (body) depending on the content_type like this:
{
  "paths": {
    "/user": {
      "get": {
        "tags": [
          "user"
        ],
        "summary": "get a user",
        "operationId": "getUser",
        "responses": {
          "default": {
            "description": "successful operation",
            "content": {
              "application/vnd.user.v1+json": {
                "schema": {
                  "$ref": "#/components/schemas/UserV1"
                }
              },
              "application/vnd.user.v2+json": {
                "schema": {
                  "$ref": "#/components/schemas/UserV2"
                }
              }
            }
          }
        }
      }
    }
  }
}

I have this macro:
#[utoipa::path(
    get,
    path = "/",
    responses(
        (
            status = 200,
            content_type=["application/vnd.user.v1+json", "application/vnd.user.v2+json"],
            description = "successful operation",
            body = [User],
        )
    ),
)]

How can I add another body type?

Hi, this is unfortunately impossible by now. This would need breaking changes to the macro code itself to allow this behavior and most necessary some design work regarding it.
The current implementation expects only one body type which is then exposed via different content types e.g. application/json and text/xml but does not allow specifying different response body based on content type. Idea has been that the response body would be the same but is only serialized differently versus the case that content type would determine the response body type itself. Such a scenario has not been taken into account, since typically a new endpoint would be created for different response type e.g /api/v2/person.
I am happy to support this functionality in further releases.

Would this be an option?
#[utoipa::path(
    get,
    path = "/",
    responses(
        (
            status = 200,
            content_type = "application/vnd.user.v1+json",
            description = "return User version 1",
            body = [UserV1],
        ),
        (
            status = 200,
            content_type = "application/vnd.user.v2+json",
            description = "return User version 2",
            body = [UserV2],
        ),
    ),
)]

I can do this right now, but it only takes the last one :-(
But maybe you can merge both together?

Not a bad idea. I need to see whether merging would be an option. With that as well there is some changes needed to the macro generation code. This needs some investigation how the merging could be done. Whether it can be done upon compilation in macro side already or is it done on generated code itself. The better would be if it can be done upon compilation.

I can do this right now, but it only takes the last one :-(

This happens because it's a map of responses distinct by a status code thus last one always wins.

Hey @juhaku
This is a delightful lib!
Are these features already released? I'm not able to use the content inside responses
Regards

@buehler Not yet, but release is coming soon :slightly_smiling_face:


ConfigureDT  requires 2 changes

Proposed changes to ConfigureDT-
https://github.com/ODMDev/decision-center-api-samples/tree/master/configureDT

Utility cannot perform a "deep" or recursive config for  every branch in the hierarchy (i.e. nested)
as this creates a data integrity conflict across versions as well as transaction timeouts which rolls-back the entire task
when session times out  for very large projects with many DT's and nested branches.

Therefore when a DS and branch is specified , only the DTs within a given branch
should be modified and not all DTs in sub-branches or nested branches.
additional  parameter   [-branch <branch_name> ] is required
 Specifies a branch within a Decision Service.
 If empty, default is the  main branch of the Decision Service

resulting in the following syntax, changes shown in bold:

java -cp "<odm_home>/teamserver/lib/:<odm_home>/teamserver/lib/eclipse_plugins/:"com.ibm.odm.tools.ConfigureDT - username  -password    -url  -dataSource   -decisionService  [-branch  ] [-overlapCheck true|false] [-gapCheck  true|false] [-manualOrdering true|false]  [-autoResize true|false]
This implies that DT's only within the dsName / branchName will be modified even if there are child (or nested) branches
within this branch.

Additional changes are needed to the ODM session code to prevent session timeouts for branches with many DTs.
this implies that for any  ConfigureDT  invocation given a dsName and branchName, regardless of the number of DT's affected or length of time required to complete without any additional actions needed, such as manually extending the transaction timeout in WebSphere or within the ODM Decision Center admin console.

Task could potentially take many hours to complete,  well beyond a "reasonable WebSphere  max transaction duration"
needed as an upper limit  for other WebSphere transactions and ConfigureDT method shall  handle accordingly
without any additional actions needed to complete, which is not the case currently
even for a Decision Service with no nested branches.

code delivered in 0.0.2 version


Chemplants and refineries seem to loose Modules on levelups

Fairly easy reproducible, creative mode+ factory levels and stamp down a beaconed+ Modul3 refinery setup, all Prod modules are lost on level up

i disabled chemplants and refineries for now


[Bug]: Clicking on edit photo shows default rotation (Upload Activity)

Summary
Clicking on edit photo shows default rotation. It should show previous edited rotation. Since Each time user has to do an extra step which disturbs User Experience.
Here's better approach by Samsung's Editing App
https://github.com/commons-app/apps-android-commons/assets/114223204/f37ed9fd-e810-4f60-90c9-17aeea39c162
Steps to reproduce

Open Upload Activity
Click on Edit Image
Rotate Image
It shows default image rotation

Expected behaviour
It must show edited rotation
Actual behaviour
It shows default image rotation
Device name
Samsung S21
Android version
Android 14
Commons app version
4.2.1-debug-HEAD~d4b473656
Device logs
No response
Screen-shots
https://github.com/commons-app/apps-android-commons/assets/114223204/ffd9432a-e538-4a09-b2d1-01e9af541e13
Would you like to work on the issue?
Yes

Indeed, thanks! 🙂


add self to learn references in callback definition

Fixed references to learn referred to the learner object created outside the class definition. Now they refer to the internal self.learn instead.

Thanks!