ConfigMetadata ctor: code may be uninitialized

While trying to compile envoy v1.30.0 (with Bazel), I see an error that a variable may be uninitialized.
https://github.com/DataDog/dd-trace-cpp/blob/e576445389edb8435338164ae662ef5712262cd5/src/datadog/config.h#L50
datadog::tracing::Error::code' may be used uninitialized [-Werror=maybe-uninitialized].
The BUILD file sets strict compiler flags, leading to an error:
https://github.com/DataDog/dd-trace-cpp/blob/e576445389edb8435338164ae662ef5712262cd5/BUILD.bazel#L120-L124
Details:
In file included from external/com_github_datadog_dd_trace_cpp/src/datadog/config.h:3,
                 from external/com_github_datadog_dd_trace_cpp/src/datadog/trace_sampler_config.h:13,
                 from external/com_github_datadog_dd_trace_cpp/src/datadog/config_update.h:6,
                 from external/com_github_datadog_dd_trace_cpp/src/datadog/config_manager.h:11,
                 from external/com_github_datadog_dd_trace_cpp/src/datadog/config_manager.cpp:1:
In constructor 'datadog::tracing::Error::Error(datadog::tracing::Error&&)',
    inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = datadog::tracing::Error; _Args = {datadog::tracing::Error}]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/bits/stl_construct.h:119:7,
    inlined from 'constexpr void std::_Optional_payload_base<_Tp>::_M_construct(_Args&& ...) [with _Args = {datadog::tracing::Error}; _Tp = datadog::tracing::Error]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/optional:278:19,
    inlined from 'constexpr std::_Optional_payload_base<_Tp>::_Optional_payload_base(bool, std::_Optional_payload_base<_Tp>&&) [with _Tp = datadog::tracing::Error]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/optional:155:22,
    inlined from 'constexpr std::_Optional_payload_base<_Tp>::_Optional_payload_base(bool, std::_Optional_payload_base<_Tp>&&) [with _Tp = datadog::tracing::Error]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/optional:151:7,
    inlined from 'constexpr std::_Optional_payload<datadog::tracing::Error, true, false, false>::_Optional_payload(bool, std::_Optional_payload_base<datadog::tracing::Error>&&) [inherited from std::_Optional_payload_base<datadog::tracing::Error>]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/optional:397:42,
    inlined from 'constexpr std::_Optional_payload<datadog::tracing::Error, false, false, false>::_Optional_payload(bool, std::_Optional_payload_base<datadog::tracing::Error>&&) [inherited from std::_Optional_payload_base<datadog::tracing::Error>]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/optional:431:57,
    inlined from 'constexpr std::_Optional_base<_Tp, <anonymous>, <anonymous> >::_Optional_base(std::_Optional_base<_Tp, <anonymous>, <anonymous> >&&) [with _Tp = datadog::tracing::Error; bool <anonymous> = false; bool <anonymous> = false]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/optional:544:9,
    inlined from 'constexpr std::optional<datadog::tracing::Error>::optional(std::optional<datadog::tracing::Error>&&)' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/optional:705:11,
    inlined from 'datadog::tracing::ConfigMetadata::ConfigMetadata(datadog::tracing::ConfigName, std::string, Origin, datadog::tracing::Optional<datadog::tracing::Error>)' at external/com_github_datadog_dd_trace_cpp/src/datadog/config.h:51:53,
    inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = datadog::tracing::ConfigMetadata; _Args = {datadog::tracing::ConfigName, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, datadog::tracing::ConfigMetadata::Origin}; _Tp = datadog::tracing::ConfigMetadata]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/bits/new_allocator.h:175:4,
    inlined from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = datadog::tracing::ConfigMetadata; _Args = {datadog::tracing::ConfigName, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, datadog::tracing::ConfigMetadata::Origin}; _Tp = datadog::tracing::ConfigMetadata]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/bits/alloc_traits.h:516:17,
    inlined from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {datadog::tracing::ConfigName, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, datadog::tracing::ConfigMetadata::Origin}; _Tp = datadog::tracing::ConfigMetadata; _Alloc = std::allocator<datadog::tracing::ConfigMetadata>]' at /nix/store/dqa6kvs8h9nxlrh0a0lgqrdkpx62791d-gcc-12.3.0/include/c++/12.3.0/bits/vector.tcc:117:30,
    inlined from 'std::vector<datadog::tracing::ConfigMetadata> datadog::tracing::ConfigManager::update(const datadog::tracing::ConfigUpdate&)' at external/com_github_datadog_dd_trace_cpp/src/datadog/config_manager.cpp:90:28:
external/com_github_datadog_dd_trace_cpp/src/datadog/error.h:21:8: error: '*(datadog::tracing::Error*)((char*)&<unnamed> + offsetof(std::Optional<datadog::tracing::Error>,std::optional<datadog::tracing::Error>::<unnamed>.std::_Optional_base<datadog::tracing::Error, false, false>::<unnamed>)).datadog::tracing::Error::code' may be used uninitialized [-Werror=maybe-uninitialized]
   21 | struct Error {
      |        ^~~~~
external/com_github_datadog_dd_trace_cpp/src/datadog/config.h: In member function 'std::vector<datadog::tracing::ConfigMetadata> datadog::tracing::ConfigManager::update(const datadog::tracing::ConfigUpdate&)':
external/com_github_datadog_dd_trace_cpp/src/datadog/config.h:50:40: note: '<anonymous>' declared here
   50 |                  Optional<Error> err = nullopt)
      |                                        ^~~~~~~
cc1plus: all warnings being treated as errors

I think that this is spurious. I don't say that lightly, since last time I thought this warning was spurious, it turned out that I had made a nasty bug.
Here's how I figure, though:

The warning is about Error's Code code data member, which indeed is left uninitialized if you don't give it a value.
The warning is triggered by vector::emplace_back here, which will call this flavor of ConfigMetadata's constructor.
This will set ConfigMetadata's Optional<Error> error data member to nullopt, meaning that no Error object is constructed.

It's worth looking at more closely, and with different compilers, to be sure that this is spurious and not a symptom of a real issue somewhere (else) in the code.

Thank you for taking a look. I am definitely not an expert on this. In case it is indeed spurious, would it be correct to add -Wno-error=maybe-uninitialized, or is there a better fix?

EDIT: This only happens using gcc 12. When using gcc 13, the error disappears.

This makes me think that it's a spurious error.
I wonder if there's ever a place in the code where an Error is default constructed (that is, with an undefined code) and then later filled out, e.g.
{
    Error error;
    error.code = DATADOG_AGENT_NULL_HTTP_CLIENT;
    error.message = "uh oh!";
}

Or, more likely:
{
    Error error;
    // stuff...
    if (something(&error)) {
        // use `error`
    }
    // ...
}

I don't think that there's any code in the library written this way. If that's the case, then you might try deleteing the default constructor of Error. Maybe that will sidestep whatever compiler bug is producing the spurious warning.
Even if that works, I'm not sure that it is worth doing. See what Damien thinks.
My goal with Error was to create a C-style plain old data wrapper for an Error::Code and a string. The type is not meant to have any default behavior, value, or semantics.


Profile Link override not working I tried it in LoginController to override but it isn't working.

Not working I tried it in LoginController to override but it isn't working.
Tried in Middleware but in middleware user is not authenticated and there for unable to fetch role of authenticated use
Originally posted by @hkpanchani in https://github.com/jeroennoten/Laravel-AdminLTE/issues/560#issuecomment-620744027

If you override it via the LoginController, then the override is only while you are on the LoginController. You should override it in the "Controller"-Controller.
But you not need to override the profile_url, you can set one generic profile url (like /user/profile) and add the user id through the routes.

There is a situation where each users type role has its own resource methods and their different views so need to override profile_url..
I tried it in constructor of "controller" didn't work out..
Here is the code i tried..
public function __construct(){
if(Auth::check()){
switch(Auth::user()->role){
case 1:
config(['adminlte.profile_url' => 'super/profile']);
break;
case 2:
config(['adminlte.profile_url' => 'tpo/profile']);
break;
case 3:
config(['adminlte.profile_url' => 'admin/profile']);
break;
case 4:
config(['adminlte.profile_url' => 'student/profile']);
break;
default:
config(['adminlte.profile_url' => 'profile']);
break;
}
}
}

@REJack I think we should generate a method for the profile url like the methods for profile image or profile desc.

Yeah this would be a good method too.

@REJack I have opened the linked PR for that issue :) Can you test it please?


Scene viewer shows "Update needed" for google app, even though none is available

Description
On any opening of scene viewer through intent, there is a message that shows me to Update my google app. After clicking on update, no update is available for the app.
The problem started happening this week for me, even though I believe it has not reached our full customer base, based on user feedbacks.
The problem can be replicated on the modelviewer.dev scene viewer example.
Live Demo

https://modelviewer.dev/examples/augmentedreality/#sceneViewer
https://user-images.githubusercontent.com/7118128/122596034-b00b9c00-d03f-11eb-834b-912c1da88758.mp4

Version

model-viewer: latest

Browser Affected

[x] Chrome, version: 91.0.4472.101
[ ] Edge
[ ] Firefox
[ ] IE
[ ] Safari

OS

[x] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

AR

[ ] WebXR
[x] SceneViewer
[ ] QuickLook

Other info
Google App Version: <IP_ADDRESS>.arm64
Google Play Services for AR: 1.25.211460003
Device: Samsung Galaxy s10e SM-G970F

Yes, it looks like a bug is rolling out in a new ARCore or Scene Viewer version. We're trying to get it fixed shortly. Meanwhile, WebXR mode is working fine, so you might consider switching.

I'd like to follow this thread as I am also experiencing the issue and webxr does not work on my phone.

@elalish Please squash this nasty bug quickly, we're using sceneviewer in a production environment :)

On Thursday 6/17/2021, we noticed a number of Android devices were getting an error when trying to open a GLB from a web link into Scene Viewer (using phones most recent security update)
Below is the behavior noticed, when Launching Scene Viewer from HTML link.

When the intent link is fired the user will get a pop up telling them to update the (“Google App”)

(After pressing the update button) This will open a Google Play Store page to the google app which does not have an update available.

Currently we are following the documentation from:
https://developers.google.com/ar/develop/java/scene-viewer#launch_scene_viewer_from_html_or_java
Our current html intent link bundle:
intent://arvr.google.com/scene-viewer/1.1?file=https://bubba-viewer.s3.amazonaws.com/test.glb&mode=ar_only&resizable=false#Intent;scheme=https;package=com.google.ar.core;action=android.intent.action.VIEW;S.browser_fallback_url=https://developers.google.com/ar;end;
Breakdown of intent link bundle:
Base intent url:
intent://arvr.google.com/scene-viewer/1.1
File url:
https://bubba-viewer.s3.amazonaws.com/test.glb
Mode:
ar_only
Resizable:
false
sceneURL:
#Intent;scheme=https;package=com.google.ar.core;action=android.intent.action.VIEW;
Browser_fallback_url:
https://developers.google.com/ar;end;

Quick Update: We've resolved this bug internally and are working on rolling it out. This issue was introduced with the 1.25 launch of Google Play Services for AR, and will be resolved with the next launch (should start rolling out this week and be out to all users next week).
In the mean time, you can mitigate this issue by changing the package in the Scene Viewer intent link to com.google.android.googlequicksearchbox (the Google app) instead of com.google.ar.core. The reason that Model Viewer intents to ARCore instead of the Google app is in order to ensure that an appropriate version of ARCore is installed (otherwise the browser falls back to model-viewer which displayes an in-browser fullscreen 3D view). If you intent to the Google app instead, and the user does not have a reasonably up to date version of ARCore installed then Scene Viewer will still launch but in 3D mode (which is non-ideal because the user will re-download the gltf file in Scene Viewer but not actually get the AR experience).
As @elalish pointed out, if you are able to use WebXR mode, that will also avoid this issue.

@elalish @tpsiaki Apologies if this is a rude question, but can't model-viewer implement this as a patch for the internal intent so that existing users wanting to use scene-viewer instead of WebXR can get this work around as well?

That work-around comes with it's own problems. We're also encouraging people to move toward WebXR in part to avoid issues like this. If you have any reasons you're not switching yet, please post them in our discussion so we can resolve them: https://github.com/google/model-viewer/discussions/2413
The ARCore fix is rolling out as we speak.

Thanks @elalish. I updated the discussion with some ideas for improving WebXR. However, one of the biggest issues I currently have is with WebXR is canActivateAR, as pointed out in this discussion. It's just not reliable due to the async nature, and we often need to know if AR is supported so we can show a QR code rather than the AR button.
There's also some bugs with it when the ar-button will sometimes disappear (could be related to the issue with canActivateAR. I'm trying to create some repro steps now, but it could be related to multiple model-viewers in a single page.

@elalish @tpsiaki can you please provide an ETA when this update will roll out? It seemed to be "ready for release" two weeks ago? 😆
Thank you!

The fix was released for all users on Wednesday last week so it should be deployed to a substantial percent of devices by now. If you have Google Play Services for AR updated version 1.25.1 you should see this working.

Thank you @tpsiaki.


Add full data validation for ArrayData::try_new()

Which issue does this PR close?
Closes https://github.com/apache/arrow-rs/issues/817
Rationale for this change
Improve the security  arrow-rs by validating untrusted user input, and resolves several outstanding potential security issues by doing deep checks of the data passed to ArrayData::try_new()
What changes are included in this PR?

Add full validation to ArrayData::try_new() based on the checks in the C++ implementation, kindly pointed out (and contributed) by @pitrou

Are there any user-facing changes?

ArrayData::try_new() may return an Err now on some (invalid) inputs rather than succeeding and will take more time.
There is a new pub ArrayData::validate_full() that performs full ArrayData validation

Testing

All the arrow-rs tests pass (other than some different error messages) when I temporarily changed the code to call validate_full() always as in https://github.com/apache/arrow-rs/pull/987#pullrequestreview-819558171
All the datafusion tests pass with these changes (using https://github.com/alamb/arrow-rs/tree/alamb/full_array_data_construction_validation_df which has the changes in this PR cherry-picked)

Follow On:

[ ] Add full validation logic for Union in https://github.com/apache/arrow-rs/pull/885 (not backwards compatible)

Codecov Report

Merging #921 (1da1c00) into master (74b520c) will decrease coverage by 0.05%.
The diff coverage is 62.09%.

@@            Coverage Diff             @@
##           master     #921      +/-   ##
==========================================
- Coverage   82.31%   82.26%   -0.06%
==========================================
  Files         168      168
  Lines       48409    48529     +120
==========================================
+ Hits        39849    39922      +73
- Misses       8560     8607      +47

Impacted Files
Coverage Δ

arrow/src/array/data.rs
76.44% <62.09%> (-2.57%)
:arrow_down:

parquet_derive/src/parquet_field.rs
65.98% <0.00%> (-0.23%)
:arrow_down:

arrow/src/array/transform/mod.rs
85.33% <0.00%> (+0.13%)
: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 74b520c...1da1c00. Read the comment docs.

Update: I have a bunch of tests written, so that is good 🎉
I think there is some more testing needed here as when I tried to apply validate_full to every ArrayData construction I found some corner cases (like what if an offset array is marked as null? the spec I think says this is ok, but I think the C++ errors, which seems sensible to me)

This PR (that has full ArrayData validate) is now ready for review . I hope it allows us to close the currently open RUSTSEC entries for arrow-rs: https://github.com/rustsec/advisory-db/tree/main/crates/arrow
cc @jhorstmann  @bjchambers @Jimexist  @jorgecarleitao
I know it is a large ask to review this PR, so thank you if you have time to do so.
As for testing, if you have a project that uses arrow 6.x.0 perhaps you would be willing to test it using the method in https://github.com/apache/arrow-datafusion/pull/1386 which would be very helpful.

Thanks again everyone for the help. I'll backport this PR and hopefully we can get it shipped in 6.4.0


saveDataEditor/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0)

$ java -jar saveDataEditor-1.0.3-SNAPSHOT.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: saveDataEditor/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

thank you for the feedback, i will research what i can do , how simple a version downgrade is.

i will have to test the solution when i get back home next week, if all is well, i will be using java1.8 instead to further develop the project.

java downgrade itself isn't the problematic field, its javafx that needs to be manually built/(or use openjdk that includes jfx) as maven only has jfx 11 or higher :/


Restore v4 webpack extend mode behavior AND deprecate it

Issue: #6081
What I did

In extend-mode, merge with baseConfig rather than defaultConfig
Add deprecation message per rationale in #6081

How to test

Update official-storybook's webpack.config.js to export {}
Observe deprecation message in console

Codecov Report

Merging #6104 into next will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##            next    #6104      +/-   ##
=========================================
- Coverage   37.1%   37.09%   -0.02%
=========================================
  Files        648      649       +1
  Lines       9524     9528       +4
  Branches    1381     1352      -29
=========================================
  Hits        3534     3534
- Misses      5411     5415       +4
  Partials     579      579

Impacted Files
Coverage Δ

lib/core/merge-webpack-config.js
0% <0%> (ø)

...b/core/src/server/preview/custom-webpack-preset.js
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 fa04c38...c42577f. Read the comment docs.


Added in video tutorials for the exercises

We've created some video tutorials for your awesome exercises.  They have been well received and have hundreds of views.  We trust they will be helpful to the other learners and are up to the same standard as our prior efforts.
For your quick reference, here's the previous commit: https://github.com/guipsamora/pandas_exercises/pull/90

Great @PaulHarnagel , thank you a lot for creating the videos and referencing them here 😊


Remove short-circuiting added for wasm bindgen bug

Closes #1181.
Pre-review checklist

[x] All code has been formatted using our config (make format)
[x] Any new API features or modification of existing behavior is covered as defined in our test plan
[x] The changelog has been updated under the ## Unreleased header, using the appropriate sub-headings (### Added, ### Removed, ### Fixed), and the links to the appropriate issues/PRs have been included

@klntsky #1025 also removed newBigNum, I wasn't sure if we wanted to add that back here. It doesn't appear to be needed.


[DOC] [WIP] Update website with BERT deployment latency

Description
(Brief description on what this PR is about)
Checklist
Essentials

[ ] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Job PR-1138/2 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1138/2/index.html

Please don't merge. I still need to benchmark more settings.


More Native Components

What's the direction that react-router wants to go with regards to deeper react-native integration and support?
Eg.. Do we want to provide:
Stacks
<Stack>
  <Route exact path="/" component={List} />
  <Route exact path="/:id" component={Detail} />
</Stack>

Animated
<Animated.Stack>
  <Route exact path="/" component={List} />
  <Route exact path="/:id" component={Detail} />
</Animated.Stack>

<Animated.Switch>
  <Route exact path="/" component={List} />
  <Route exact path="/:id" component={Detail} />
</Animated.Switch>

I have a Stack component that's working nicely for me and I guess I'm asking if I should go the direction of a PR here or write a lib that works on top of react-router?

Feel free to submit a PR. I think we'd be open to more native components. Just make sure it has good tests along with it.


Linux Support

Is there any way to compile for Ubuntu 16.04?
looked through the ReadMe but only saw Windows instructions...
Any help appreciated...
I am https://www.reddit.com/user/Tydefc/ on Reddit

Duplicate of #2


Use correct helm bin path in release workflow

Signed-off-by: joshvanl<EMAIL_ADDRESS>/assign @irbekrm

/lgtm


Velog WIP

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Setup config problem when using multple guest IPs

Using multiple IPs causes the landrush config to split, with:

the /etc/resolv.conf's nameserver points to the correct server but
the iptables port DNAT'ing setup for the /other/ IP

The effect is that queries fail because "<IP_ADDRESS>" is not listening on port 53 and "<IP_ADDRESS>" is not listening for DNS at all.
Since the work on this config is to support others I'm particularly interested in getting the correction into an upstream.
I'm uninitiated wrt vagrant plugin development but if this is a simple fix I'd be willing look for it and submit a PR.
bash-3.2$ vagrant ssh WEB-IMPL-P1
[vagrant@WEB-IMPL-P1 ~]$ host google.com
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
[vagrant@WEB-IMPL-P1 ~]$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search localdomain
nameserver <IP_ADDRESS>
[vagrant@WEB-IMPL-P1 ~]$ sudo iptables -t nat -S
-P PREROUTING ACCEPT
-P POSTROUTING ACCEPT
-P OUTPUT ACCEPT
-A OUTPUT -d <IP_ADDRESS>/32 -p tcp -m tcp --dport 53 -j DNAT --to-destination <IP_ADDRESS>:10053
-A OUTPUT -d <IP_ADDRESS>/32 -p udp -m udp --dport 53 -j DNAT --to-destination <IP_ADDRESS>:10053

[vagrant@WEB-IMPL-P1 ~]$ dig google.com @<IP_ADDRESS> -p10053

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6 <<>> google.com @<IP_ADDRESS> -p10053
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22327
;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.             299     IN      A       <IP_ADDRESS>
google.com.             299     IN      A       <IP_ADDRESS>
google.com.             299     IN      A       <IP_ADDRESS>

[vagrant@WEB-IMPL-P1 ~]$ ip ad
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:0c:29:c3:86:4a brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
    inet6 fe80::20c:29ff:fec3:864a/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:0c:29:c3:86:54 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth1
    inet6 fe80::20c:29ff:fec3:8654/64 scope link
       valid_lft forever preferred_lft forever

bash-3.2$ vagrant plugin list
landrush (0.18.0)
sahara (0.0.17)
vagrant-share (1.1.4, system)
vagrant-vlan (1.0.1)
vagrant-vmware-fusion (4.0.2)

I'm not sure when it stopped but I haven't run into this problem for at least a month of daily use. Seems like it was fixed along the way, so I have no objections to closing this issue.
Thanks!

Thanks for reporting this back. Much appreciated.


tests: kconfig: Remove redundant 'default n' properties

Bool symbols implicitly default to 'n'.
A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though.
Signed-off-by: Ulf Magnusson<EMAIL_ADDRESS>

Codecov Report

Merging #8519 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #8519      +/-   ##
=========================================
- Coverage    63.8%   63.8%   -0.01%
=========================================
  Files         426     426
  Lines       40890   40890
  Branches     6921    6921
=========================================
- Hits        26089   26088       -1
  Misses      11666   11666
- Partials     3135    3136       +1

Impacted Files
Coverage Δ

boards/posix/native_posix/timer_model.c
93.54% <0%> (-1.62%)
:arrow_down:

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 aee97be...0b660b5. Read the comment docs.


Create new visual summary section

This new section will go between the search bar and the results table:

We will want to generate D3 graphs based on the results returned by selected filters. For example

Pie chart displaying the the statuses of the results
Pie or bar chart for data provider groups
Bar chart for the dataset type
etc...
If a filter is selected (e.g. status) then we do not need to show any graph so it should be hidden. We should also allow each graph to be expanded to view it full screen.

Branch mock up:
https://github.com/x-atlas-consortia/data-ingest-board/tree/libpitt/228-visualizations
Powerpoint doc:
https://docs.google.com/presentation/d/1dzI2AaKmRaqFvZkG4FBmrlolwWpx9v-B2uTQnuCBOMk/edit#slide=id.p

@libpitt can you make the slides read-only for viewers so I don't have to request access?

We will be proceeding with proposal 2 from the wireframe. Additional requests:

[ ] In both the carousel and full screen modal view, when hovering over any section of the graph we want to display the category and count.

Example: If the user hovers over a bar chart displaying Data Provider Group it should  display something like TMC - Yale University - Fan: 150

[ ] In the full screen modal view if a user clicks on a specific bar, this should trigger a filter selection.

Example:  If the clicks on the bar for TMC - Yale University - Fan then the data_provider_group column should be filtered by this group and the entire site and all graphs should be updated to reflect this
Alternatively we can also add a filter button in the full screen modal view to accomplish this


opendev to overwritetest

@yunyunyunyun,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Android butterknife zelezny   plug-in can not be used properly

android studio update to version 4.1, butterknife plug-in failure can not be used properly, how to solve ？

That plugin is separate maintained in https://github.com/avast/android-butterknife-zelezny. It looks like it's no longer supported so there's little hope in seeing a fix.
Note that butter knife is also in maintenance mode, and that you should probably migrate to view binding in the coming months.


[dart] every attributes of a schema should be null

every attributes of a schema should be null with or without required key in schema
there's no way to set every attributes to null, even with a required key with empty array

I'm sorry, I didn't understand anything that was written...

sorry
With the given structure
"Pair": {
  "type": "object",
  "properties": {
    "key": {
      "type": "string"
    },
    "value": {
      "type": "string"
    }
  }
},

it will generate
import 'package:json_annotation/json_annotation.dart';

part 'pair.g.dart';

@JsonSerializable()
class Pair {
  const Pair({
    required this.key,
    required this.value,
  });

  factory Pair.fromJson(Map<String, dynamic> json) => _$PairFromJson(json);

  final String key;
  final String value;

  Map<String, dynamic> toJson() => _$PairToJson(this);
}

but i would like key and value attributes to be null
they would be not null only if i have this
"Pair": {
  "required": [
    "key",
    "value",
  ]
  "type": "object",
  "properties": {
    ...
  }
},

This is a moot point, because some languages don't do the required annotation, so you can't please everyone at once.
Therefore, it is better in some cases to correct with your hands.

There is also a nullable annotation, but they are also not supported by all languages.

oh yeah i saw the nullable attributes, but what would be the default value of nullale if not present ?
this project can have different behavior depends on the language
would it be possible for dart to be :

required or not nullable => required this.data
not required and nullable => this.data?

Currently, it is required by default. If value have default parameter, required is false. nullable is not being processed yet, because there were few examples and few people use this annotation.

I agree with @billyandco. It should be not required and nullable => this.data. In dart this makes a big difference in the constructor implementation requirement.


Access Blocked

Followed the step by step instructions but still ended up with:
"You can't sign in because [project name] sent an invalid request"
Error 400: invalid_request
Custom URI scheme is not enabled for your Android client.

Not sure how to fix this. Followed the tutorial exactly.

Hello! Apparently Google disabled Custom URI schemes by default for new projects a month ago.
Go to https://console.cloud.google.com/apis/credentials then select Android client and edit it


cmd: add command to allow purge-osd

Adding command to allow osd purge. Before removing osd it validates if ceph status is 'active+clean' and also wait for ack to confirm the osd removal before proceeding. Also adding Makefile to build the binary.
Signed-off-by: subhamkrai<EMAIL_ADDRESS>

Testing result
srai@fedora ~ (add-osd-purge-cmd) $ ./bin/odf  -n rook-ceph ceph purge-osd 0 --force
Error: command terminated with exit code 16
Error EBUSY: OSD(s) 0 have 32 pgs currently mapped to them.
Warning: Are you sure you want to purge-osd osd.0? This will possible lead to data loss. If yes enter 'yes-i-really-want-to-destroy'
yes-i-really-want-to-destroy
Info: Running purge osd command
2023-12-07 15:21:19.390641 W | cephcmd: loaded admin secret from env var ROOK_CEPH_SECRET instead of from file
2023-12-07 15:21:19.390799 I | rookcmd: starting Rook v1.13.0-alpha.0.28.g6fba73621 with arguments 'rook ceph osd remove --osd-ids=0 --force-osd-removal=true'
2023-12-07 15:21:19.390815 I | rookcmd: flag values: --force-osd-removal=true, --help=false, --log-level=INFO, --osd-ids=0, --preserve-pvc=false
2023-12-07 15:21:19.390824 I | ceph-spec: parsing mon endpoints: a=<IP_ADDRESS>:6789
2023-12-07 15:21:19.402162 I | cephclient: writing config file /var/lib/rook/rook-ceph/rook-ceph.config
2023-12-07 15:21:19.402692 I | cephclient: generated admin config in /var/lib/rook/rook-ceph
2023-12-07 15:21:19.831121 I | cephosd: validating status of osd.0
2023-12-07 15:21:19.831133 I | cephosd: osd.0 is healthy. It cannot be removed unless it is 'down'

Testing result when cancelled:
 ./bin/odf -n rook-ceph ceph purge-osd 0
Error: command terminated with exit code 11
Error EAGAIN: 1 pgs have unknown state; cannot draw any conclusions
Warning: Are you sure you want to purge osd.0? The OSD is *not* safe to destroy. This may lead to data loss. If you are sure the OSD should be purged, enter 'yes-force-destroy-osd'
no
Error: cancelled

Test result when continued:
./bin/odf -n rook-ceph ceph purge-osd 0
Error: command terminated with exit code 11
Error EAGAIN: 1 pgs have unknown state; cannot draw any conclusions
Warning: Are you sure you want to purge osd.0? The OSD is *not* safe to destroy. This may lead to data loss. If you are sure the OSD should be purged, enter 'yes-force-destroy-osd'
yes-force-destroy-osd
Info: Running purge osd command
2023-12-08 03:22:31.172268 W | cephcmd: loaded admin secret from env var ROOK_CEPH_SECRET instead of from file
2023-12-08 03:22:31.172675 I | rookcmd: starting Rook v1.13.0-alpha.0.28.g6fba73621 with arguments 'rook ceph osd remove --osd-ids=0 --force-osd-removal=true'
2023-12-08 03:22:31.172803 I | rookcmd: flag values: --force-osd-removal=true, --help=false, --log-level=INFO, --osd-ids=0, --preserve-pvc=false
2023-12-08 03:22:31.172921 I | ceph-spec: parsing mon endpoints: a=<IP_ADDRESS>:6789
2023-12-08 03:22:31.179494 I | cephclient: writing config file /var/lib/rook/rook-ceph/rook-ceph.config
2023-12-08 03:22:31.179599 I | cephclient: generated admin config in /var/lib/rook/rook-ceph
2023-12-08 03:22:31.530304 I | cephosd: validating status of osd.0
2023-12-08 03:22:31.530372 C | rookcmd: failed to get osd status for osd 0: not found osd.0 in OSDDump
Error: command terminated with exit code 1


Make multiple WillPopScope ordered - will make a PR if this behavior is allowed

Hi thanks for the wonderful Flutter framework! As is discussed in https://github.com/flutter/flutter/issues/97299, nested WillPopScope execution order is inconsistent. (There are reproducible samples there.) Thus, maybe we can make WillPopScope ordered. The code change to flutter framework is roughly:

ModalRoute._willPopCallbacks changes from List<Function> to List<FunctionWithOrderInformation>. Then, when executing the callbacks, follow the ordering information.
Add to WillPopScope widget a ordering field.

I will make a PR if this behavior is allowed!
Related discord discussion: https://discord.com/channels/608014603317936148/608021234516754444/1094241071040573520

I don't know if they want or not, but... If the fix is that small and doesn't break any test, I can't see why they would reject. I would say, go for it!

As @bernaferrari mentioned, this fix is very small, but covers some edge cases that I also experienced in the depths of nested navigation. I'd really suggest you to go with the PR...!

I also think that. However, I am worried whether Flutter team likes the "ordering" concept. IIRC long time ago when they were discussing to implement something like z-index, they thought that an integer to represent ordering is not a good idea.

An integer may not be a good ordering, but the fact that the route is a "stack" lets us understand that a de facto ordering is present...

Thanks for the report @fzyzcjy
I ran the code sample from the linked issue and observed that, in first run, it triggers outer WillPopScope and then in next run after hot reload, it triggers inner one.
You are welcome to file a PR for the proposed change you described above.

Thanks! I will PR when having time (though maybe not now since two days have passed and I am working on other parts today...)

cc @justinmc since you were looking at WillPopScope

@fzyzcjy Actually I was planning to deprecate WillPopScope, see https://github.com/flutter/flutter/pull/120385.  I'm replacing it with CanPopScope, which will have the same problem described in this issue.  What was your plan for executing these in order?

@justinmc Hi, as mentioned in the initial post above, I plan to change List<Function> to List<FunctionWithOrderInformation> (or Map or whatever), and use an integer as the ordering.

Ah sorry I should have read more carefully :grin: .  Does the ordering come from the WillPopScope's place in the widget tree?
Well overall that should be compatible with CanPopScope as well.  I recommend you wait until https://github.com/flutter/flutter/pull/120385 is merged so you don't have to write it twice though.


subcommand failing when using CPM_SOURCE_CACHE on Windows

When I active the CPM_SOURCE_CACHE, I get a subcommand failed error. It appears to be originating from this line.
executing:
cmake -B_build -GNinja -DCMAKE_TOOLCHAIN_FILE="../../cmake/arm-gcc-cortex-m4.cmake" -DCPM_SOURCE_CACHE="C:\Users\ryanw/.cpm"
results in:
[1/9] Performing download step for 'threadx-populate'
':' is not recognized as an internal or external command,
operable program or batch file.
FAILED: threadx-populate-prefix/src/threadx-populate-stamp/threadx-populate-download
cmd.exe /C "cd /D D:\projects\iot\getting-started\Renesas\AE-CLOUD2_build_deps\threadx-subbuild\threadx-populate-prefix\src && : && "C:\Program Files\CMake\bin\cmake.exe" -E touch D:/projects/iot/getting-started/Renesas/AE-CLOUD2/_bu
ild/_deps/threadx-subbuild/threadx-populate-prefix/src/threadx-populate-stamp/threadx-populate-download"
ninja: build stopped: subcommand failed.

Hey thanks for the bug report! It would be great to have the CPM_SOURCE_CACHE work on windows as well. On unix systems, the colon (:) operator means "do nothing", which is the only way I know of to deactivate the download step in CMake. I'll try to find a cross-platform solution.

Sounds great! I replaced it with a semicolon and this worked for me.

Oh thats great to know! the semicolon is an easy fix as it seems to work with unix bash shells as well. Version 0.19 is released and now uses semicolons instead of colons!

I was a bit too hasty about this fix, as it turns out ";" resolves into nothing in CMake (";" is used as a list element separator) and the download step is actually not disabled anymore. This means that offline packages will not work anymore. I've removed the release and will look for another fix. Sorry.

So that was more difficult than expected. v0.20 should now work offline and on all systems. 🎉

Thanks Lars! I'll test it out.


sweethome3d.application: 7.0.2 -> 7.2

Description of changes
Changelog: https://www.sweethome3d.com/history.jsp
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 258980 run on x86_64-linux 1

3 packages built:

sweethome3d.application
sweethome3d.furniture-editor
sweethome3d.textures-editor


2.0: Replicator Requires Optional Settings

If you create a Replicator and only set the replication type, you will get two different NullPointerExceptions and both are from ReplicatorConfiguration.copy. Full stack trace:
Caused by: java.lang.NullPointerException
at com.couchbase.lite.ReplicatorConfiguration.copy(ReplicatorConfiguration.java:180)
at com.couchbase.lite.Replicator.<init>(Replicator.java:199)
at com.couchbase.training.couchbaseevents.ReplicatingActivity.createPushReplication(ReplicatingActivity.java:106)
at com.couchbase.training.couchbaseevents.ReplicatingActivity.replicateCBL(ReplicatingActivity.java:43)
at com.couchbase.training.couchbaseevents.ReplicatingActivity.onCreate(ReplicatingActivity.java:36)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)

To get work around exceptions, you have to add:
configuration.setPinnedServerCertificate(new byte[0]);
configuration.setChannels(new ArrayList<String>(0));
configuration.setDocumentIDs(new ArrayList<String>(0));

This will still error out because the server cert isn't valid.
The way copy is written, it expects server cert, channels, and document ids to be initialized.

@hideki is there a good workaround for this in the meantime? The channels and doc ids seem to handle empty lists, but it doesn't like my empty server cert. Is there a different default server cert I can add?

@eljefe6a Can you set null for these parameters? If they are null, should not cause NPE.
    public ReplicatorConfiguration copy() {
        return new ReplicatorConfiguration(
                database,
                target,
                replicatorType,
                continuous,
                conflictResolver,
                authenticator,
                pinnedServerCertificate != null ?
                        Arrays.copyOf(pinnedServerCertificate, pinnedServerCertificate.length) :
                        null,
                channels != null ? new ArrayList<>(channels) : null,
                documentIDs != null ? new ArrayList<>(documentIDs) : null);
    }

Hi @eljefe6a,
DB012 contains this check.
https://github.com/couchbase/couchbase-lite-android/blob/version/2.0.0-DB012/shared/src/main/java/com/couchbase/lite/ReplicatorConfiguration.java#L179-L193
I remembered I released DB012 more than a couple of times. I guess your dev environment has a cached of first one.
Can you delete the local cache files with following commands?
rm -rf ~/.gradle

This removes all cached jar files. Next time you launch Android Studio, Android Studio re-retrieve all required Jar files from the internet. It could take a time.
Hope this solves your problem.

Confirmed. The latest version of DB012 doesn't have this issue anymore.


https://dev.botframework.com/bots/new is not found

Please update the URL (https://dev.botframework.com/bots/new), it is 404

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

ID: 379bdae4-b9d3-bc6e-ecbd-264108d76cd2
Version Independent ID: b40d773f-d0fd-983f-f063-b3409bdedcef
Content: Registering a calling and meeting bot for Microsoft Teams - Teams
Content Source: msteams-platform/concepts/calls-and-meetings/registering-calling-bot.md
Product: msteams
GitHub Login: @o365devx
Microsoft Alias: o365devx

looks like URL contains '.'

Fixed, thanks!


Add a Parser for CSV format

Hi
This project looks awesome, especially for a VBA agnostic like me.
Question: Is there a simple straightforward "correct" way to parse CSV in the WebResponse?
(I always prefer default mechanisms over implementing such things on my own, even in so seemingly easy cases, for not reinventing the wheel and because of possible pitfalls.)
Sebastian

I have not tried to write the parser, but here is how to use it: WebHelpers.RegisterConverter
' 1. Use global module functions for Convert and Parse
' ---
' Module: CSVConverter
Function ParseCSV(Value As String) As Object
  ' Parse response body (Value) as csv
  '
  ' Note: Return value needs to be an Object (e.g. Collection/Dictionary)
  '       May add support for value types in the future
End Function
Function ConvertToCSV(Value As Variant) As String
  ' Convert raw Request.Body to string
  ' (can be empty if only parsing is desired)
End Function

WebHelpers.RegisterConverter "csv", "text/csv", _
  "CSVConverter.ConvertToCSV", "CSVConverter.ParseCSV"

As for the body of ParseCSV, I'd imagine it would look something like the following (converts to Collection of Array):
Function ParseCSV(Value As String) As Object
  Dim Lines() As String
  Dim Row As Long
  Dim Parsed As New Collection

  Lines = VBA.Split(Value, vbCrLf)
  For Row = LBound(Lines) To UBound(Lines)
    Parsed.Add VBA.Split(Lines(Row), ",")
  Next Row

  Set ParseCSV = Parsed
End Function

Thanks!
As for the example code, by looking at it, I'd guess it would not properly ignore commas inside quotation marks - which is basically what I was thinking of by mentioning possible pitfalls - even going further with allowing for escaped quotation marks within quotation marks, maybe even line breaks within fields, etc.
I thought there might be some way to leverage Excel's functionality of importing/opening CSV files, just without the input being a "file" from the filesystem. I'd guess Excel's own mechanism would be quite mature and standards-compliant, but I'm not familiar with Ado/.NET or whatever it's called.

Hi,
The following is a CSV parser which is compliant with RFC4180 standard.
It may be used for VBA-Web.
https://github.com/sdkn104/VBA-CSV


Adding test for the logout link

Adding a single test that confirms the user has been logged out after he clicked 'logout'.
fix #108

LGTM


Add automate UI tests

[x] Run API db
[x] Migrate db
[x] Seed db
[ ] Run API
[ ] Mock stripe
[x] Run frontend
[x] Run tests

I will also need to check if we can somehow save time by re-using the already built front-end container instead of building it again

Closing in favour of #998


LuckPerms blows up if the MySQL server is unreachable

Description
While the Spigot/Paper server is running if the MySQL server is stopped or is otherwise unreachable LuckPerms will blow up and eventually cause the server to crash.
Reproduction Steps

Install LuckPerms configured with a MySQL or MariaDB server for data storage on a Spigot/Paper server (I believe this also works on Bungee)
Start the MySQL/MariaDB server
Start the Spigot/Paper server and wait for it to boot
Stop the MySQL/MariaDB server
Wait

Expected Behaviour
LuckPerms will wait longer between reconnect attempts every time it fails (0 seconds then 2 then 4 then 8 etc.)
Possibly also display a more user-friendly message when LuckPerms can't connect to the MySQL/MariaDB server
Server Details
git-Purpur-1882 (MC: 1.19.3)
LuckPerms Version
v5.4.56
Logs and Configs
https://gist.github.com/Kale-Ko/71d7e186529268e34c58e09f0c1e2d8b

This is expected behaviour, LuckPerms needs a reliable connection to a database to function normally.


Better translation for Korean Locale

Thanks for the awesome project.
I changed some strings for more easily understand the meaning in Korean.

I merged following translation from index.ko.html to ko.yml . https://github.com/nagadomi/waifu2x/commit/b32feab88b80dbbc0f5a66261fc02c8ad21eed8a
-show_demonstration: 모든 데모 보기
-go_to_github: GitHub으로
+show_demonstration: 실제 데모 보기
+go_to_github: GitHub에서 보기

Please double check  http://waifu2x.udp.jp/index.ko.html

Nice! 👍


Release dates/notes are inconsistent

URL(s)
https://dotnet.microsoft.com/en-us/download/dotnet/8.0
https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.6/8.0.6.md
https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.6/8.0.302.md
https://github.com/dotnet/core/blob/main/release-notes/8.0/README.md
Description
The download page currently shows:

8.0.6 Security patch
Release notes
Latest release date    June 11, 2024

Problems I found:

The linked release notes say ".NET 8.0.6 - May 28, 2024". This doesn't match the "June 11, 2024" from the downloads page.
The version actually released on "June 11, 2024" was .NET 8.0.302 -June 11, 2024, but it looks like this is not linked from the download page (which makes sense, because it look like it doesn't actually contain any information on what changed in that version).
Both release notes files say "The latest 8.0 release is always listed at .NET 8.0 Releases." But the linked page doesn't contain version 8.0.6.
The downloads page doesn't explain what the difference between SDK 8.0.3xx, SDK 8.0.2xx and SDK 8.0.1xx is. The release notes files do explain it (if you can spot the minor difference), but as noted above they are not linked on the downloads page.

https://github.com/dotnet/core/pull/9356 to fix the dates in readme files and adding cve informaiton

There was also no "monthly update" post for June over in the announcements repository. Should there have been one?

Yep, neither here nor the blog post on https://devblogs.microsoft.com/dotnet/

@reduckted and @Falco20019 - There was no June monthly update release so nothing to report.

@reduckted and @Falco20019 - There was no June monthly update release so nothing to report.

😕 But 8.0.302 SDK was released in June.

Yes, 8.0.302 was the only June update but also https://github.com/dotnet/announcements/issues/306 is not linking the versions of https://github.com/dotnet/core/issues/9362 although mentioning that it should if there are more updates the month.

The downloads page doesn't explain what the difference between SDK 8.0.3xx, SDK 8.0.2xx and SDK 8.0.1xx is. The release notes files do explain it (if you can spot the minor difference), but as noted above they are not linked on the downloads page.

I just found https://learn.microsoft.com/en-us/dotnet/core/versions/#versioning-details which explains this. That should be linked on the downloads page!

@Falco20019 @cremor what would you like to see on the downloads page to help with that? A link to versioning details somewhere inside the table for each version?

I'd like to see a note that says something like the following:
"See the versioning documentation to understand the different SDK versions. See [the release notes] for the feature differences."
"[the release notes]" should then link to a page that provides a nice overview of the feature changes between SDK 8.0.3xx, SDK 8.0.2xx and SDK 8.0.1xx.

I meant those mismatches on https://github.com/dotnet/announcements/issues/306:

https://github.com/dotnet/core/issues/9362

So the first is mentioning 8.0.4 and 8.0.5 while it should mention (and link) 8.0.6 instead.

I meant those mismatches on dotnet/announcements#306:...

Tagging @rbhanda for the announcements descriptions that are incorrect.


First time onStart cost a long time

The first time execut onStart() will cost a long time in the app's First Activity which extends RxFragmentActivity

The Version is rxlifecycle-components:2.1.0

I have my doubts that the issue lies within RxLifecycle itself since all it does is call BehaviorSubject.onNext() once within onStart().
Could you provide a sample showing the performance issue?


Regarding an unexpected token in JSON file

Does this occur consistently?
Repro steps:

Action: writeFile
Error type: SyntaxError
Error Message: Unexpected token } in JSON at position 44
Version: 0.15.1
OS: win32
OS Release: 10.0.18363
Product: Visual Studio Code
Product Version: 1.52.1
Language: en

Call Stack
DocDBDocumentTreeItem.<anonymous> extension.bundle.js:188:182934
extension.bundle.js:188:181351extension.bundle.js:188:181351
n extension.bundle.js:188:181037
DocDBDocumentTreeItem.writeFileContent extension.bundle.js:188:182887
DatabasesFileSystem.<anonymous> extension.bundle.js:797:103386
fulfilled extension.bundle.js:797:101953
processTicksAndRejections task_queues.js:94:5

It is possible that there is one or more extra brace surrounding the JSON object or extra comma right before the closing brace. You should see the red squiggles right under the syntax error.

It is possible that there is one or more extra brace surrounding the JSON object or extra comma right before the closing brace. You should see the red squiggles right under the syntax error.

@neelip Mam , Am actually creating some json files to store some data  in it , and storing them in a database , after I make some changes to json ,( like add some stuff ) , my VS Code  prompts a message  , showing this error
Unexpected token } in JSON at position 83
Similarly for  81 and many other line numbers ,
it simply redirects me to create an issue ,
this is the max info I can provide you of what I actually saw

This error seems to be specific to the syntax in your document, we won't be able to support you without looking at the syntax.

@neelip Should I send the code here ?

Yes, you can upload here if you don't mind sharing it publicly. Make sure to redact any sensitive information before sharing.


Arrow beneath sample count is appearing behind Read Coverage Distribution chart

Only happens after the word "thousand" appears, which then forces it too low.

This is on Firefox 61 on Windows 10


framework intel: Disable cros-usbpd-charger

Description of changes
Disables an unused module that otherwise outputs an error log on bootup.
See https://community.frame.work/t/responded-linux-kernel-errors-about-cros-usbpd-charger/26264
I've had this disabled on 11th gen, and when upgraded it to 13th gen, still had log without it. I have not tested 12th gen but I assume it is the same.
Things done

[X] Tested the changes in your own NixOS Configuration
[ ] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

@mergify queue


[DO NOT REVIEW] OJ-1902: Set up Sonar Cloud

Run SonarCloud analysis on pull requests and merges to main
Add the new job to the existing workflow containing the CodeQL job, and rename the workflow

Replaced by other PRs


Create basic scaffolding for collections

Added collection definition.
Added basic operations body.

👍

This fixes #1


Deepnude AI:  Best AI for Undressing People For Free

Deepnude AI has revolutionized digital image manipulation such as deepnude no blur photo editing and undressing anyone using artificial intelligence. Users can quickly generate high-quality images through a streamlined upload-and-edit interface. Deepnude AI is not only easy to use, but also you can find completely free deepnude apps of all tastes nowadays.  By the way, it prioritizes user privacy, ensuring your data stays secure. As a fast, reliable and free solution Deepnude AI and deepnude generators is the best choice for undressed picture generation!
🟢 ➤ ➤ ➤ 🌐 Explore Best Deepnude AI Tools

[!IMPORTANT]
Searching for 'DeepNude Free' might expose you to malware or illegal content. This article provides tips to stay safe online and suggests ethical AI tools for creative projects.

withount sing up : 👍
🟢 ➤ ➤ ➤ 🌐 Get Free Deep Nude AI
🟢 ➤ ➤ ➤ 🌐 Get Free Deep Nude AI
🟢 ➤ ➤ ➤ 🌐 Get Free Deep Nude AI

[!IMPORTANT]

Searching for 'DeepNude Free' might expose you to malware or illegal content. This article provides tips to stay safe online and suggests ethical AI tools for creative projects.
withount sing up : 👍
🟢 ➤ ➤ ➤ 🌐 Get Free Deep Nude AI
🟢 ➤ ➤ ➤ 🌐 Get Free Deep Nude AI
🟢 ➤ ➤ ➤ 🌐 Get Free Deep Nude AI
🟢 ➤ ➤ ➤ 🌐 Get Free Deep Nude AI
🟢 ➤ ➤ ➤ 🌐 Get Free Deep Nude AI
🟢 ➤ ➤ ➤ 🌐 Get Free Deep Nude AI

I just discovered an amazing tool that's super helpful! 🚀 If you're curious to try it out, check these resources for free access — no sign-up needed! 🙌

🔗 👉🔴 Unlock AI magic for free here! ✅
🔗 👉🔴 Get started with AI — no sign-up required! ✅
🔗 👉 🔴Explore free AI features now! ✅
🔗 👉 🔴Explore free AI features now! ✅

Don't miss out! 🌟

🔥 **Looking to create Deepnude images in seconds?** Visit the **Undress AI website** and transform any photo instantly! Customize outfits, styles, and body types — then download your results for **FREE**! 🚀
 🔗 **👉🔴 _Get the Undress AI website — Create Deepnude Images for FREE!_ ✅**
🔗 👉🔴 Undress Anyone with AI — Instant Results & Free Downloads! ✅
🔗 👉🔴 Try Our Free AI Undress Tool Now on the Website! ✅
🔗 👉🔴 Create Deepnude Images Fast — 100% Free! ✅
 ✨ **Don’t miss out — unleash AI-powered creativity now!** 🌟

DeepNude AI offers advanced tools for generating high-quality AI-powered imagery. With features like precision, ease of use, and seamless integration, it caters to beginners and professionals alike. Users can enjoy: https://deepnudefree.online/
👉 Deepnude Free + Without Sing Up
OR : 👉 Deepnude Free + Without Sing Up
OR 👍👉🔴 Click HERE >>
3- Best undress ai for free without sing up : 👉 Deepnude
4- surprise For an iPhone at a surprising price : https://securecd-smrtnd.com/s?a=256440&sm=46517&co=316585&mt=21
No cost: Completely free with no hidden charges.
👉🔴 Get Free undress ai >>
👉🔴 Get Free undress ai >>
👉🔴 Get Free undress ai >>

DeepNude AI offers advanced tools for generating high-quality AI-powered imagery. With features like precision, ease of use, and seamless integration, it caters to beginners and professionals alike. Users can enjoy: https://deepnudefree.online/
👉 Deepnude Free + Without Sing Up ➤ ➤  DeepNude FREE
OR : 👉 Deepnude Free + Without Sing Up ➤ ➤  DeepNude FREE
OR 👍👉🔴 Click HERE >> ➤ ➤  DeepNude FREE
3- Best undress ai for free without sing up : 👉 Deepnude
4- surprise For an iPhone at a surprising price : https://securecd-smrtnd.com/s?a=256440&sm=46517&co=316585&mt=21
No cost: Completely free with no hidden charges.
👉🔴 Get Free undress ai >>
👉🔴 Get Free undress ai >>
👉🔴 Get Free undress ai >>

Accessibility: Available on various platforms. Advanced results: Crisp and accurate outputs. Why Choose DeepNude AI? https://frestr20.blogspot.com/ Trusted worldwide for its efficiency, DeepNude AI combines simplicity with reliability, making it an ideal choice for users seeking fast, effective AI solutions
withount sing up : 👍
➤ ➤  DeepNude FREE
➤ ➤  DeepNude FREE
➤ ➤  DeepNude FREE
➤ ➤  DeepNude FREE
➤ ➤  DeepNude FREE


dataset

Thank you very much for your work, can you provide the processed data?

Thank you very much for your work, can you provide the processed data?

Hi,
Sorry that I cannot find a free site to host all datasets.
Could you please drop me<EMAIL_ADDRESS>an email saying which datasets you would like, e.g., CNNDM, XSUM, etc. I will share you with an access link via email.

Okay, thank you very much.


Light sleep wrapper

Thought it would be nice to wrap light sleep routines.
Work in progress. Suggestions welcome.
Right now it's almost definitely too simple, given that light sleep disrupts peripherals.

Hmmm... if we go for wrapping how about thinking holistically how we wrap the whole ESP32 power management APIs?
Wrapping just a few light sleep routines looks a bit "too little" for me.

I agree, sorry if this PR is too pre-emptive. I'd like to wrap PM comprehensively but unsure where to start. :)

I agree, sorry if this PR is too pre-emptive. I'd like to wrap PM comprehensively but unsure where to start. :)

Perhaps we can start by studying the ESP-IDF PM API as well as the Sleep API and then thinking how to map it to Rust in a type-safe way?

Closing this, will be revisiting more intelligently in due course :)


[interpreters] Skip adding all default available editors for every whitelisted app

What changes were proposed in this pull request?

This change ensures that if a user needs an interpreter X, then user needs to add its config under [[interpreters]] section. This way Hue won't be showing all unneeded interpreters and confuse users whenever any app is whitelisted.
If user still wants to add all default available interpreters for every whitelisted app (old scenario), then they can set the flag enable_all_interpreters to True in the Hue configs.

How was this patch tested?

Manually tested different scenarios of Hue config and verified the editors available on the Hue UI.

Next steps is to add unit tests for this change.

is this change backwards compatible? Or do users need to update configs after an upgrade?

PR is ready for review.
The change is big because of all the code formatting and linting.

is this change backwards compatible? Or do users need to update configs after an upgrade?

@amitsrivastava Yes the change is backward compatible. I've added a config ENABLE_ALL_INTERPRETERS and set it to False by default. If the users want old behaviour back, they can set it to True.

is this change backwards compatible? Or do users need to update configs after an upgrade?

@amitsrivastava Yes the change is backward compatible. I've added a config ENABLE_ALL_INTERPRETERS and set it to False by default. If the users want old behaviour back, they can set it to True.

Does this mean, no interpreters will show up if they simply do an upgrade and make no config update?

is this change backwards compatible? Or do users need to update configs after an upgrade?

@amitsrivastava Yes the change is backward compatible. I've added a config ENABLE_ALL_INTERPRETERS and set it to False by default. If the users want old behaviour back, they can set it to True.

Does this mean, no interpreters will show up if they simply do an upgrade and make no config update?

No, it will show interpreters based on existing configs under [[interpreters]] and if Hive and Impala are blacklisted.


Usage with vuejs

I am trying to implement this package in my vuejs app. However I haven't really found a way of how to do this, since implementing the library.
Could someone provide me an example of implementing this library in vuejs. I allready saw an reactjs implementation but this differs from the vuejs.
I would like to implement the formless conversational-form.

Open call for anyone in the community to cook up an example.

I had it working once with a simple import and require.  All depends how deep you are needing vue to go.  I was only using for layout.

I will close this issue for now. I will add proper Vue example soon.

i got it working by doing this with jquery or vanilla js
first install the package: npm install conversational-form
then in your script, do this

@it-fm the updated v1.0 documentation has an example on how to implement in Vue: https://space10-community.github.io/conversational-form/docs/1.0.0/getting-started/
Just scroll down the page a bit and you'll see a StackBlitz example.


Don't create InstantiatedMethodIL for null MethodIL

A test found this. Abstract generic methods have null MethodIL.

Hi @MichalStrehovsky, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

LGTM


debian plugin for alzheimer and typo people

debian-simple
To me the short to letter aliases the debian plugin has are simply not memorable and possibly even dangerous, because my tab key is in extensive use. I bet the maker's of the original debian plugin will love theyre plugin to be with those short aliases, wich is of course totally fine.
But I also kind of think that I'm not the only debian/ubuntu oh-my-zsh user that has a terrible memory ;), so I thought it would be nicer to share my modification of debian in stead of just making my custom/plugins/debian.

There seems to be no love for this plugin. You can set it up as a custom plugin, see adding a new plugin.


Metadata

As a developer, I want my page to be easily searchable and be found in regular searching. There needs to be metadata that allows for a search engine to present my site to potential users.

Metadata regarding content was added to allow for better optimization on the search engine.


How do you play your game?
in the top right you will find your remaining gas and your current items
j while on driving screen to enter an encounter.
w and s to navigate through up to three diffrent options while in an encounter.
d to select an option in an encounter
the encounter will continue automaticaly if there are no options.
if you attempt to start an encounter with no gas the game ends.
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

closing since this is a duplicate


How to operate with the blockchain if it grows very large?

@dvf
Hello. I have written a function that saves the blockchain to a JSON file and when the script is run, it is loaded from this JSON file. What if the blockchain grows really large? While the blockchain.py is working, the blockchain is stored in RAM. What if it grows to more gigabytes than my computer has got?
I can provide my code if you need it.

This is a problem with all Blockchains... the Bitcoin blockchain is around 250+ GB. You can either look at compression or discard blocks older than a certain amount.

I don't know how does Bitcoin blockchain exactly work, but I don't think it tries to load a single 250+ GB file into RAM. Or does it?

Not into RAM, but into its file-based Level DB: https://en.bitcoin.it/wiki/Bitcoin_Core_0.11_(ch_2):_Data_Storage


Remove support for linking arclite

Darwin no longer uses arclite and it's no longer distributed in the macOS SDKs.
This leaves the options -link-objc-runtime and -no-link-objc-runtime in place, but strips out all the logic that actually used them.
Resolves: rdar://105406972

We should likely emit a warning when the deprecated flag is passed to provide a heads up that it is deprecated.

@swift-ci Please test

@swift-ci Please test

Linux CI is failing here:
Failed Tests (1):
  Swift(linux-x86_64) :: Driver/options.swift

FileCheck error: '<stdin>' is empty.
FileCheck command line:  /home/build-user/build/buildbot_linux/llvm-linux-x86_64/bin/FileCheck --allow-unused-prefixes -check-prefix LINK_OBJC_RUNTIME_WARNING /home/build-user/swift/test/Driver/options.swift

But I can't reproduce this on ARM64 Ubuntu22.10.  I guess I'll have to try some other options.

@swift-ci please test linux platform

I'm confused why the -link-objc-runtime test passes locally on Ubuntu 22.10/aarch64 and fails on CI Ubuntu 22.04/x86, but I went ahead and split that test into a macOS-only test file for now.

@swift-ci Please test and merge

@swift-ci Please test macOS

@tbkka Can we cherry-pick this on release/5.8 too?


move malloc from Solo5 to libOS layer

Solo5 currently contains a malloc implementation.  In the MirageOS case, it is used by the libOS via ocaml-freestanding.  In the IncludeOS case, they have their own malloc, which gets memory from the Solo5 malloc.
I think malloc should be the responsibility of the libOS layer.  This has the advantage of removing duplicate functionality (in the IncludeOS case).  Also, it removes the malloc family of calls from the solo5 interface (solo5.h) and bringing it closer to alignment with the underlying isolation interface (e.g., the set of ukvm hypercalls).
I've prepared a PR for Solo5 and for ocaml-freestanding, which applies to the MirageOS case.  @ricarkol I would like your opinion on whether this will be suitable for IncludeOS as well.

Thanks for the change @djwillia . It makes things easier on the IncludeOS side. We are currently using the IncludeOS malloc() which uses all of the solo5 heap.

@ricarkol Can you point me to the relevant code in the IncludeOS repository that initialises the heap when running on Solo5?

@mato here it is:
https://github.com/hioa-cs/IncludeOS/blob/master/src/platform/x86_solo5/kernel_start.cpp#L72
mem_size = (uintptr_t)get_cpu_ebp();
...
kernel_start()
    OS::start(cmdline, mem_size)
        OS::memory_end_ = mem_size;
        OS::heap_max_ = OS::memory_end_;
        // OS::heap_begin is really reinterpret_cast<uintptr_t>(&_end);

As you can see, using ebp as the heap end won't work on the seccomp case.

I've finally found some time to think about the implications of this change in depth, both from a design and implementation (WIP in #224, mirage/ocaml-freestanding#29) point of view.
To set the stage: I agree that a high-level memory allocator (as defined by the malloc() family of functions) need not be part of the Solo5 API, and we gain the following benefits by removing it:

the application is free to manage memory as it sees fit in a way that is tailored to its requirements. This will be an advantage especially in the case of managed language runtimes,
the Solo5 API and implementation both shrink in size, which is good.

However: I think that Solo5 should retain some control over the low-level memory layout and allocation semantics (i.e. how malloc() gets its memory at runtime). Rationale:

we should keep the ability to implement a stack guard, and abstract away the low-level details of the stack/heap split from the application,
we should preserve the ability to hand back memory freed by the application to the host, even if we don't do that today,
if we end up implementing ASLR, or doing other tricks with page tables in Solo5 or a monitor/tender (see #172), we will need to keep control over the memory layout,
the same applies if we wish to implement shared memory communication channels, hardware device pass-through or other techniques, where the low-level abstractions to set this up need to be done at the Solo5 API layer.

To summarize: By all means, let's remove malloc(), but let's keep the "cut point" at the low-level runtime interface for dynamic memory allocation, which should stay in Solo5. If we don't do that then we will shoot ourselves in the foot and be sorry later.

Now, the question is, what should this low-level interface look like? I can think of two options:

something resembling UNIX mmap() or Win32 VirtualAlloc(),
something resembling UNIX sbrk().

In the case of (1), given that a) we don't directly expose the notion of "virtual memory" to the application and don't plan to do so in the future, b) we are presenting the abstract concept of a single heap to the application, an mmap()-style interface seems far too over-engineered and would include a bunch of complex housekeeping to deal with multiple memory regions in Solo5.
That leaves the 1970s-style sbrk(), or a more modern version of the same concept, i.e. "extend the heap" and "shrink the heap".
The main limitation of a sbrk() style interface is that it requires the heap to be contiguous in  memory. I don't think this is an issue for us since the current direction with Solo5 is to perform all external resource allocation (which may include mapping "other" memory regions) before passing control to the guest, leaving it with an entirely static system.
Unless anyone has strong objections to this, I'm going to re-work #224 and mirage/ocaml-freestanding#29 along these lines and see what I get. /cc @djwillia @ricarkol

I think we are in agreement that Solo5 should retain some control over
the low-level memory layout.  But I believe we already have control to
do most of your points, without introducing an additional allocation
interface to the Solo5 API.
The only of your points that seems to need an allocation routine seem
like they are associated with dynamic behavior, mostly your second
point: handing back memory to the host.
Up to this point, we've been doing most resource allocation tasks
statically (e.g., a static amount of memory for the unikernel).  I
think this is a simple way to do it that I'm not sure we should change
unless we have an application need to do so.
Do you have any unikernels in mind that use a malloc that tries to
give memory back to the host or that a static allocation is
insufficient for?

The only of your points that seems to need an allocation routine seem like they are associated with dynamic behavior, mostly your second point: handing back memory to the host.

There's also my first point, which is enforcing a stack/heap split. Granted, this is mainly a convenience feature, but if we want to implement proper stack guards (to detect stack overflow correctly at runtime) then we can't just hand off "all the memory" to the libos. It might be sufficient to resolve this by returning the heap boundaries in a solo5_mem_info() call instead of "all the memory".

Up to this point, we've been doing most resource allocation tasks statically (e.g., a static amount of memory for the unikernel). I think this is a simple way to do it that I'm not sure we should change unless we have an application need to do so.

I'm more concerned about the real-world operational aspects in the long run. While static memory allocation works, we've been glossing over the fact that (excepting platforms which themselves use static allocation such as virtio or muen) under the hood the guest memory pages have to come from somewhere. Memory is still a scarce resource, especially if you look at scenarios where you want to run lots of unikernels at high density, potentially overcommitting your host resources.
With the "hands off" approach of "here's a chunk of memory, go use any/all/none of it", we are effectively committing ourselves to pretending that memory is cheap, and ignoring any memory pressure or hidden costs (page tables, kernel memory) on the host.
With sbrk() we have at least some control point where we keep the option of changing our memory allocation strategy under the hood in the future without breaking applications.

Do you have any unikernels in mind that use a malloc that tries to give memory back to the host or that a static allocation is insufficient for?

Most (all?) modern memory allocators will try to give back memory to the host (or "next level below") at some level of granularity. Even dlmalloc (and thus Mirage/Solo5) does so. We're just ignoring it and not communicating that back to the host. Granted, in the vt (ukvm) case we probably don't want to do that as it has other implications for the implementation, but again, I'm not sure, and why rob ourselves of the option to do so in the future?

Could we have "dynamic memory allocation" implemented in an optional module? What about the following. A unikernel could start with a static heap size, and if the dynamic memory allocation module is present, it could ask for some pages (not necessarily sequential, and not necessarily after the original static heap). And specifically for this PR, we could start by having a solo5_mem_info() call.

There's also my first point, which is enforcing a stack/heap split.

I think stack/heap splits is a decision that the (upper layer) libOS
will want to make; for example, it may be allocating many stacks in
what Solo5 thinks of as the heap for a threading implementation.  I
think that would push towards an mprotect-like interface for stack
guards, but even then I would favor a static approach where the libOS
specifies a memory protection map at boot time.  It may know, for
example, that it wants to implement N stack guards in its threading
strategy.

especially if you look at scenarios where you want to run lots of
unikernels at high density, potentially overcommitting your host
resources.

I think that overcommitting host memory resources is often a bad idea
because it is so expensive if you get it wrong and it often adds a lot
of complexity into the system.  I agree that we can't completely
ignore dynamic behavior forever, but I'm just a bit wary of adding in
that stuff unless we really have to - I believe there are use cases
that benefit from the lack of complexity that comes from doing things
statically.

With sbrk() we have at least some control point where we keep the
option of changing our memory allocation strategy under the hood in
the future without breaking applications.

I'm not sure I understand; if we leave out sbrk and add it in later,
no applications will break, but if we add in sbrk and decide it is
not what we want later, then things that may depend on it will break,
right?
Is there a way to do what you need in an optional way, e.g., as a
module, as @ricarkol suggests?

I think stack/heap splits is a decision that the (upper layer) libOS will want to make; for example, it may be allocating many stacks in what Solo5 thinks of as the heap for a threading implementation. I
think that would push towards an mprotect-like interface for stack guards,

An mprotect-like interface might work for this, though it'd still be up to the libOS to ensure that it lays out whatever regions it's trying to protect with enough granularity to support any underlying architectural limits (e.g. huge pages). Also, if such an interface existed I'd be keen on it only ever being able to increase protection, eg. RW -> R -> (none) or RX -> X -> (none) or (if possible and allowed via a separate policy) (R)W -> (R)X -> (none).

I'm not sure I understand; if we leave out sbrk and add it in later, no applications will break, but if we add in sbrk and decide it is not what we want later, then things that may depend on it will break, right?

This is not specifically about sbrk (in fact that specific interface from the 1970s is pretty horrible). But taking "some interface to grow/expand a single heap" as an example, we can't have both that and the hands off approach of "here is all your memory" since they are mutually incompatible.

Is there a way to do what you need in an optional way, e.g., as a module, as @ricarkol suggests?

You misunderstand me -- I don't need anything. The current arrangement with malloc works just fine for Mirage/Solo5, so from that point of view this discussion is largely academic as it doesn't change "what can you do with today's code after this change that you couldn't do before".
However, given that we are changing things I'm trying to understand the implications for the wider "contract" (formalised or not) between Solo5 and the libOS, and whether or not any of them get us into a situation where "we can't do something with tomorrow's code after this change that we could do before".
Now, I think we've covered most of the points and you've managed to convince me that the "hand's off" approach is the best we have at the moment. Let me try and document the new contract:

The guest receives the (start, size) of a single, contiguous, read/write memory region it may use for heap or stack(s) as it sees fit.
At entry, the guest is provided with an initial stack growing down from start + size.
The guest must not make any further assumptions about memory layout, including where executable code or static data are located in memory.

With that, I think we should dispense with the proposed solo5_mem_info() call entirely and instead change the signature of solo5_app_main() to:
int solo5_app_main(const char *cmdline, uintptr_t heap_start, size_t heap_size);

...since any non-trivial guest will need this information at start time. Note that unlike the proposed solo5_mem_info() the heap_size passed here is the size of the of the "data region" only.
For the Mirage/Solo5 and ocaml-freestanding split I can adapt to this scheme by adding a nolibc_init(heap_start, heap_size) function which will be called by the mirage-solo5 package before handing off control to the OCaml runtime via caml_startup().
What do you think? Does this make sense?

@djwillia I now have the Solo5 side of the above ready in #244. This is based on your work with the additional changes discussed here and rebased to current master.
I've also done one more thing, which is changing solo5_app_main() to take a const struct solo5_boot_info * instead of individual parameters; this will allow some ABI flexibility for future extension points without changing the signature, plus it means you don't have to specify tons of __attribute__((unused)) for parameters you don't care about.

Corresponding ocaml-freestanding changes are here: https://github.com/mirage/ocaml-freestanding/compare/master...mato:add-malloc
And the minimal mirage-solo5 changes: https://github.com/mirage/mirage-solo5/compare/master...mato:malloc-change
I'll open PRs for these in the right order (for CI purposes) once this change lands in Solo5.

Done in mirage/ocaml-freestanding#32, mirage/mirage-solo5#26. This is now completed, yay!


Better explanation of Geometry array

Can you please better explain what do the values in the geometry array present.
float geometry[5][3] = {     {  4.2, 0,   8.5 },     {    0, 0,   9.5 },     {    1, 0,  1.85 },     { 14.8, 0,     0 },     {    0, 0,  -2.2 } };
Thank you!

Those are the coordinates of the links V0-V5 according to the schematic below.
float geometry[5][3] = {
 { 4.2, 0, 8.5 }, //V0 {x,y,z}
 { 0, 0, 9.5 }, //V1
 { 1, 0, 1.85 }, //V2
 { 14.8, 0, 0 }, //V3
 { 0, 0, -2.2 } //V4
};

Thank you for the reply but there i can see the world coordiante system and
tool coordinate system. How do you define for example the V1 if it is long
200mm and pinting up (like the picture) is it x0,y0,z200?
And the V2 and V3 lenghts. How do I input if I have only V2 and is 100mm
long. Do I write x100,y0,z0?
What if the j3 is on j2? Can i use zero for V3?

V pon., 19. mar. 2018 09:51 je oseba Maximilian Beck <
<EMAIL_ADDRESS>napisala:

Those are the coordinates of the links V0-V5 according to the schematic
below.
float geometry[5][3] = {
{ 4.2, 0, 8.5 }, //V0 {x,y,z}
{ 0, 0, 9.5 }, //V1
{ 1, 0, 1.85 }, //V2
{ 14.8, 0, 0 }, //V3
{ 0, 0, -2.2 } //V4
};
[image: bc6a01d0-3967-11e7-83c9-d572eef1bd12]
https://user-images.githubusercontent.com/3062564/37585876-cf49250c-2b5a-11e8-9539-713608ee5cb7.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/glumb/mrc/issues/5#issuecomment-374140053, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABXZIYdzMCDVXCo_r1z7m2CZaGI1jsaVks5tf3GlgaJpZM4SrGl5
.

I would kindly ask you to read my answer on GitHub. I editet it 5s after initial post. Maybe you did not receive the updated version.

Thank you! Got it working:)


(AsciiDoc) Control characters in input are not escaped

AsciiDoc control characters in a swagger.json file are not escaped. I.e., a file containing the description
"description": "A boolean expression. The | can be used for expressing disjunction. "

will contain this | character in the output, which breaks the generated AsciiDoc if it occurs in a table.

Thx. We have a look at it.

I can't reproduce the problem, I tried to include some pipes in all descriptions in a JSON swagger, pipes are correctly escaped.
Could you provide a whole example to help to reproduce ?

Currently, markup-document-builder escape '|' in cells with '|'.
Perhaps your tool which later convert your AsciiDoc does not support this escaping ..
For example, I know an alternative is to use '{vbar}' to escape pipes.

I guess he uses S2M v0.9.2 which is not that smart as v1.0.0-SNAPSHOT.

We should add the github issue template file which ask users to specify the version they use.

@noschinl Can you test 1.0.0-SNAPSHOT if it solved your issue?
See docs: http://swagger2markup.github.io/swagger2markup/1.0.0-SNAPSHOT


arm + chrome version

running on armv8 it's complaining about the chrome package, i have another container using alpine-chrome:123 if that helps

 CANCELED [scraperr_api pybuilder 3/8] RUN python -m pip --  8.6s
 => [scraperr_api stage-1  4/12] RUN wget -q -O - https://dl.g  2.2s
 => [scraperr_api stage-1  5/12] RUN sh -c 'echo "deb [arch=am  0.3s
 => [scraperr_api stage-1  6/12] RUN apt-get update             2.2s
 => ERROR [scraperr_api stage-1  7/12] RUN apt-get install -y   1.3s
------
 > [scraperr_api stage-1  7/12] RUN apt-get install -y google-chrome-stable:
0.344 Reading package lists...
1.082 Building dependency tree...
1.294 Reading state information...
1.306 E: Unable to locate package google-chrome-stable
------
failed to solve: process "/bin/sh -c apt-get install -y google-chrome-stable" did not complete successfully: exit code: 100
make: *** [Makefile:40: up] Error 17

would love to see arm64 support.


sample_raster_points() in mapping.py seems to not be performing as desired

As part of QA/QC efforts, I ran w4h.get_resources() with the defaults (local) and w4h.run() with the defaults from the example. I exported the by-point results of the w4h.run() function to shapefile for inspection in ArcGIS Pro where I noticed a few things:

the projected lat long fields are populated oddly, I think.
somewhere in the translation from python to ArcGIS Pro the API values get truncated/rounded and lose many of their digits (i.e., 123456789 becomes 123450000). I think we talked about this before, but is it possible the unique call in this function struggles to match large integers/floats?
the surface_elev for the majority of the points are unrealistic for the study area
I popped a print statement into sample_raster_points() to get a better understanding of the functioning of a portion of the function and got the results below:

code:

results:

I'm not 100% sure how to interpret/troubleshoot these things. It seems that the original lat-long values are correct (when brought into ArcGIS Pro, they mapped in the study area and when cross checked with ILWATER, the locations look identical), but the projected coordinates look suspicious. The surface and bedrock elevations in the screenshots above look correct, but many of the surface elevations (and values derived from them) for other points are incorrect for the study area. Many have values outside the range of the original surface elevation raster provided with the package download.

Fixed issue, was an issue with truncated API number of sample data


Collision detection for multi-agent testing

I'm writing a custom task for 2 agents in the same environment. I need to know when the 2 agents collide and which body parts of each are colliding for reward calculation. I'm imagining something similar to Unity's OnCollisionEnter. Is there a way to do this with dm_control?

Hi @CharlesAverill . The contacts information is stored in the internal mjData structure, which is exposed via python bindings as physics.data. There's a field called contacts in this structure, which contains all the contacts ("collisions") found by the collision detector. Here's the documentation related to that structure. Look for the following part:
    // ...
    // computed by mj_fwdPosition/mj_collision
    mjContact* contact;             // list of all detected contacts            (nconmax x 1)
    // ...

The number of detected contacts can be obtained via physics.data.ncon, which you can use to iterate over the contact field. Each element in that field is a mjContact structure, which is described here. I'm positive these are also exposed via the python bindings, so you can just grab the information you require for those contacts. If you're interested only on the geoms that collided, then just check for these fields:
struct _mjContact                   // result of collision detection functions
{
    // ...
    int geom1;                      // id of geom 1
    int geom2;                      // id of geom 2
    // ...
};

If then you want to obtain the name of the geoms that collided (might be easier to check that way), you could use the function mj_id2name, which I think is exposed on the python package mjbindings
from dm_control.mujoco.wrapper.mjbindings import mjlib
name = mjlib.mj_id2name( id_geom )

contact is an np.recarray that exposes the struct fields as vectors, so you can vectorize the filtering code, which may help performance if you have lots of collisions:
agent_1_geom_ids = ...
agent_2_geom_ids = ...

geom1 = env.physics.data.contact.geom1
geom2 = env.physics.data.contact.geom2
agent1to2 = np.in1d(geom1, agent1_geom_ids) & np.in1d(geom2, agent2_geom_ids)
agent2to1 = np.in1d(geom1, agent2_geom_ids) & np.in1d(geom2, agent1_geom_ids)
is_relevant = agent1to2 | agent2to1

for contact in env.physics.data.contact[is_relevant]:
  geom_names = [env.physics.model.id2name(g) for g in [contact.geom1, contact.geom2]]
  print(', '.join(geom_names))


[Weighted Routing] Add support for discovered master and remove local weights

Signed-off-by: Anshu Agarwal<EMAIL_ADDRESS>
Description
The local weights don't add much value since weights are relative and having just the local value gives no indication of how traffic would get distributed.
Discovered master is helpful to understand cases where after weights are set and also that the node is unable to connect to the leader either due to
Master not discovered -- This might happen to newly launched after decommission or even otherwise
Decommissioned -- The node was decommissioned
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #5680 (5ad7e3c) into main (2746517) will decrease coverage by 0.09%.
The diff coverage is 52.38%.

@@             Coverage Diff              @@
##               main    #5680      +/-   ##
============================================
- Coverage     71.11%   71.02%   -0.10%
+ Complexity    58641    58575      -66
============================================
  Files          4760     4760
  Lines        279515   279516       +1
  Branches      40348    40347       -1
============================================
- Hits         198782   198524     -258
- Misses        64463    64812     +349
+ Partials      16270    16180      -90

Impacted Files
Coverage Δ

...eighted/get/TransportGetWeightedRoutingAction.java
73.68% <50.00%> (-2.32%)
:arrow_down:

...eighted/get/ClusterGetWeightedRoutingResponse.java
62.26% <52.63%> (-2.96%)
:arrow_down:

...adonly/AddIndexBlockClusterStateUpdateRequest.java
0.00% <0.00%> (-75.00%)
:arrow_down:

...readonly/TransportVerifyShardIndexBlockAction.java
9.75% <0.00%> (-73.18%)
:arrow_down:

...n/admin/indices/readonly/AddIndexBlockRequest.java
17.85% <0.00%> (-53.58%)
:arrow_down:

...r/src/main/java/org/opensearch/http/HttpUtils.java
16.66% <0.00%> (-50.00%)
:arrow_down:

.../java/org/opensearch/node/NodeClosedException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

...ava/org/opensearch/action/NoSuchNodeException.java
0.00% <0.00%> (-50.00%)
:arrow_down:

...a/org/opensearch/tasks/TaskCancelledException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

.../org/opensearch/client/indices/AnalyzeRequest.java
31.00% <0.00%> (-47.00%)
:arrow_down:

... and 504 more

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

I think we should let this functionality be as is . A local collector could use this to find out weights in a light weight manner , which otherwise  would be  heavy to go to the cluster manager.

I think we should let this functionality be as is . A local collector could use this to find out weights in a light weight manner , which otherwise would be heavy to go to the cluster manager.

@anshu1106 can correct me but this doesn't remove _local query but removes local_weight since it doesn't add much value as weights are relative. The caller is responsible to select specific weights based on the awareness attribute

I think we should let this functionality be as is . A local collector could use this to find out weights in a light weight manner , which otherwise would be heavy to go to the cluster manager.

@anshu1106 can correct me but this doesn't remove _local query but removes local_weight since it doesn't add much value as weights are relative. The caller is responsible to select specific weights based on the awareness attribute

Got it. My bad, i misread the title  .


Update Rust toolchain to 1.57

I originally updated my toolchain to 1.56.1 on a local branch, since afaict rust-analyzer wasn't able to work with derived StructOpt proc-macros in 1.54. Since 1.57 was released today, I figured I'd update it all the way in this pr.
followed example from #2017
This commit can be replicated by updating rust-toolchain, then running
cargo clippy --fix --allow-dirty.

Could you fix the lint error? https://github.com/cloudflare/wrangler/runs/4402686399?check_suite_focus=true Nevermind the security audit, we're working on fixing that separately


Add enum values (Ignore, Warn, Error) to GDScript warnings

Separating this PR from #59428 to make the changes easier to review, and because my implementation of proposal godotengine/godot-proposals#4310 is built around the changes included in this PR.
Closes godotengine/godot-proposals#3531

Warnings are now enum values (Ignore, Warn, Error) to allow setting whether you want a warning to be treated as either an error, a warning, or ignored.
The way warnings are initialized in gdscript.cpp has been improved to offer more flexibility. (Support for property info per warning and different default values.)

Thanks!


Add Practical Support Mode!

I rule and have completed some work on Case Manager that's ready for review!
This pull request makes the following changes:

Adds a config for practical support mode (#2876) and marked_complete field in the Patient model.
Updates views when practical support mode is on; specifically, hides budget bar and fulfillment options, and changes language in table (#3017)
Changes the Submit Pledge button to Mark Complete, and updates the confirmation modals:

Currently, there is no valid for marking a patient complete, as there is for fulifilling a pledge; this could be changed.
DRAFT until tests are added.
It relates to the following issue #s:

Fixes #2876,  #3017, #2174, #2142

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

Thanks for review @colinxfleming! am moving this week (and starting school...) but once I get a dev environment spun back up I'll close this out!


Create default cert directory

The new authentication code in #250 does not have a default directory for the certificates.  This should be changed to /etc/containers/certs.d.  Verify that the same works for kpod and skopeo.

Duplicate #246, closing.


Potential storage collision with STATE slot

In near-sdk-rs, there is a feature that automatically loads the contract state before a function is called and saves it afterwards. For this purpose, the storage slot with the key STATE is used. However, this is not documented, so the user may unintentionally use the same slot for something else, leading to incorrect behavior.
The usage can be either explicit (such as env::storage_write(&b'STATE', something)) or implicit through collections (such as collections::LookupMap::<u32, Something>::new(vec![83]).insert(1163149652, something)).
To fix this, the first step is to document the storage usage of this feature. The other thing that I would recommend to do is to change the storage key to an empty byte sequence. This has an advantage that it is guaranteed to not collide with any storage keys used by collections with a nonempty prefix.

Good feedback.
I think we should expose it using #[near_bindgen(state_key=b"").
Update all examples to use #[near_bindgen(state_key=b"") and keep default state_key to b"STATE".

Good feedback.
I think we should expose it using #[near_bindgen(state_key=b"").
Update all examples to use #[near_bindgen(state_key=b"") and keep default state_key to b"STATE".

Has the #[near_bindgen(state_key=b"")] feature been implemented? I noticed that the default "STATE" key has been documented^1 (though I had to go digging to find those mentions). Since the concerns in the original issue haven't really been addressed (there's nothing preventing an uninformed author from accidentally storage_writeing over top of "STATE"), I wonder if it wouldn't be prudent to have a "safe" version of storage_write that checks that the key is not equal to "STATE" and a storage_write_unchecked (or something similar) that doesn't perform that check?

Yes, this is definitely possible. It's a bit error-prone because it requires someone to know that they need to add this annotation to every near_bindgen attribute and not just the state struct which might be intuitive. Can explore other API types for this, but will add this to backlog.