_input_event(event) is called after _input(event)

Linux x64
According to the documentation the call order for input events is  _input_event(event) then _input(event) as described here:
http://docs.godotengine.org/en/latest/tutorials/engine/inputevent.html
But _input(event) is always called before _input_event(event)

tested in 1.1 stable 2.0 stable 2.0.2 stable and compiled from source 19.4.2016 under Linux x64
minimal example
input_eve.zip

The same problem in 2.0.3.
This makes hard to have mouse interactions in game and some UI at the same time. For example: if some UI button is pressed, game will handle _input() of other nodes and do their logic(for example spawn monster at mouse position), and after this engine will invoke _input_event() of the button, call signals of the button and so on, so monster will be spawned under button, and it is too late to call accept_event() or set_input_as_handled()

right, this is a bug resulting in the recent rewrite of the gui for 2.0

Sorry, I misunderstood this. This is not a bug and was reverted. The documentation will have to be updated..

For reference, it is allright that _input() is called before _input_event()
The correct order is _input() -> _input_event() -> _unhandled_input()
For implementing game code that uses fullscreen, but that needs to stop working if GUI is active, replace your _input() by _unhandled_input()

Doc has been updated


Update main.py

Updated code with comments should help understand the purpose and logic of each section of the code.

What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)

Hi @SwayamSahu thank you for raising this PR, we really appreciate your interest in contributing to Appwrite :)
We will have to close this as the scope and context of this PR is not clear. An issue should be created first to discuss the problem before making an implementation.


Add NUCLEO_G071RB

Description
Hi
Let's introduce the NUCLEO-G071RB board:
https://os.mbed.com/platforms/ST-Nucleo-G071RB/
https://www.st.com/en/evaluation-tools/nucleo-g071rb.html
@LMESTM @MarceloSalazar
Pull request type
[ ] Fix
[ ] Refactor
[x] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Any update ?
Thx

I confirm this platform is already in the online database.
@mark-edgeworth please review and merge


Swap description and info to ease experience

Description
When creating a quick task, I normally just want to add a title and the time I want to execute it.
The thing is that the current order of params is the name, description, and info. This causes some troubles because if one doesn't want to fill a description, they would need to tab twice to get to add the info which in my case is adding the time.
This is a highly opinionated PR based on an hypothesis that adding the time of an event is highly more important than adding a description to a task, and I would totally understand if this is not the direction you wanna follow @thomaslombart, just wanted to bring this up to discussion to see if this resonates with you.
Screencast
https://user-images.githubusercontent.com/13922607/225363358-a08669ef-5c46-4a28-bf69-22a6b59d8e94.mov
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing (ran the build)
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

What would you think of merging the title and info fields instead? That way you can write all your tasks info in one go and you still have to tab once to add a description.
That would totally work @thomaslombart, appreciate the feedback. I'll experiment with this one and ping you when it's done

Changes added

Merged title and info parameters, I called the merge of both of them just "text".
Fixed your comment about the description @thomaslombart

Things to consider
Arguments for quick tasks are a bit small, and it's pretty evident now that text and info are merged, notice that typing a task text is now a longer string that doesn't fit the input's container. Not a big deal as it's not part of this task, but just worth noticing.
Evidence
https://user-images.githubusercontent.com/13922607/227736630-798e9f12-766b-4964-896c-a0f81b802646.mov
Any thoughts on this approach @thomaslombart? Appreciate you took the time to review and give some good feedback on this

Looks good to me! Maybe let's put some info in the title's placeholder to let users know they can enter some of them: Task title and info (today 5pm p2)

I like that! Will make the changes later today or tomorrow. Appreciate it @thomaslombart

I made some iterations to the placeholder because the input container does not expand with the content. This is the text that read completely without getting trimmed. Hopefully it makes sense @thomaslombart

FWIW I've been using my local env Quick Add Task command a lot these days, I can really feel the ease and excitement of creating a quick task


Form rework

This PR reworks the form api in bedrockrs.

all of these errors/warnings do not originate from the form crate as far as i see


Add dif cam1 2 3

this was adding hdf5 saving ability with ROIstats, but not turning hdf5 saving on/off for 1 device.  The idea is to switch between devices.
did the same for tiff saving of color cameras (dif_cam2 and dif_cam1).  Outstanding issue with trans in dif_cam3, but we can fix this as the cycle goes along.
also found roi configuration attrs were not being saved for fccd .  fixed that and added also for dif_beam.  this could be done better, but not before the cycle starts tomorrow.

@mrakitin
I made edits to ensure that the HDF5 plugin will be able to create directories.
https://github.com/NSLS-II-CSX/profile_collection/pull/66/commits/f909ee7a5b2f6e5fa2ee0dcc051eac8068ed3840
This assumes that even though https://github.com/bluesky/ophyd/pull/996 is up to date in the environment, that a staging order will cause issues in the HDF5 plugin (https://github.com/bluesky/ophyd/issues/1027).
Following the example from https://github.com/NSLS-II-SIX/profile_collection/pull/36/files.


boost::exception_detail::clone_impl thrown with 0.13-release

Hi -- I'm getting this error thrown:
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<std::__exception_ptr::exception_ptr>'

A quick google of the error turned this stack overflow question up.
At the end of that ticket is this comment:

The author of library found the solution to be using the same instance of the client and not creating/destroying it each time

If I assume that the same approach would work for me, I have the issue that my cpp-netlib client is being created in a fire-and-forget thread each time it is needed. This is because I need them to run concurrently.
Would I need to implement a pool of clients to handle this? Has anyone seen anything similar that they could point me to, if I should?
Thanks for any and all assistance,
Doug.

Instances of the client are thread-safe. You can reuse the object in multiple threads without explicit synchronisation.

Ah, then I was definitely barking up the wrong tree -- thanks for letting me know, I'll come at the problem another way.
Thanks again,
Doug.

I believe this is a regression, possibly caused by code added to the 0.13 branch in the past 6 months.
I used to work with a version of cpp-netlib that I compiled around 6 months ago, and I was able to communicate with Google's API without any issues... when I recompiled everything from scratch around a month ago, this problem appeared.
I've written some code to consistently reproduce the issue. The following program allows you to make a single http query and outputs the response:
// main.cpp
#define BOOST_NETWORK_ENABLE_HTTPS
#include <boost/program_options.hpp>
#include <boost/network/protocol/http.hpp>
#include <string>
#include <utility>
#include <iostream>

int main(int argc, char* argv[]) {
  using namespace boost::network;

  boost::program_options::variables_map options;
  {
    using namespace boost::program_options;

    options_description options_d("Options");
    options_d.add_options()
      ("headers", value<bool>(), "print headers")
      ("status",  value<bool>(), "print status and message")
      ("source",  value<std::string>(), "source URL")
      ;

    store(parse_command_line(argc, argv, options_d), options);
    notify(options);
  }

  if (options.count("source") < 1) {
    std::cout << "Error: Source URL required." << std::endl;
    return EXIT_FAILURE;
  }

  std::string source = options["source"].as<std::string>();
  bool show_headers = options.count("headers") ? true : false;
  bool show_status = options.count("status") ? true : false;

  http::client::request request(source);
  http::client::string_type destination_ = host(request);

  request << ::boost::network::header("Connection", "close");
  http::client::options client_options;
  client_options.follow_redirects(true);
  http::client client(client_options);
  http::client::response response = client.get(request);

  if (show_status)
    std::cout << status(response) << " " << status_message(response)
              << std::endl;

  if (show_headers) {
    auto headers_ = response.headers();
    for (auto const& header : headers_) {
      std::cout << header.first << ": " << header.second << std::endl;
    }
    std::cout << std::endl;
  }

  std::cout << body(response);
  return EXIT_SUCCESS;
}

# Makefile
CPPNETLIB_PATH=/usr/local/lib64

all:
        g++ main.cpp \
        -lssl \
        -lcrypto \
        -lboost_program_options \
        -lpthread \
        -lboost_system \
        -lboost_thread \
        ${CPPNETLIB_PATH}/libcppnetlib-uri.a \
        ${CPPNETLIB_PATH}/libcppnetlib-client-connections.a

Running the program with the following URL will consistently crash, producing this output:
$> ./a.out --source "https://accounts.google.com/o/oauth2/auth"
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<std::__exception_ptr::exception_ptr>'
[1]    32389 abort (core dumped)  ./a.out --source "https://accounts.google.com/o/oauth2/auth"

Any solutions ? I've got the same problem in the latest version.


Unable to find MNIST Dataset

Can you please tell what needs to be done here?

Traceback (most recent call last):
  File "hello42.py", line 1, in <module>
    from tensorflow.examples.tutorials.mnist import input_data
ImportError: No module named examples.tutorials.mnist

--------------------Done--------------------------

I just retried the steps from the video at https://youtu.be/kMtrOIPLpR0 and hello42.py worked fine. Did you use cloud9?
setup.sh right clicked select run then
a01-rocksetta-hello42 rightclick select run
it found the Mnist dataset. If not using cloud9, then I have no idea what is wrong, sorry.

I am using Cloud9 and have followed the same steps. I am able to run hello42 example. But the following import is giving error.
from tensorflow.examples.tutorials.mnist import input_data

???? not getting the same error, so hard to track down. I will setup a workspace and see what I can find. You can share your workspace with
jerteach
both read and write then I can have a look at it.

make sure you enter the line
source ~/virtual-tf/bin/activate
I should have put it in the path I will try to change that.
The share button is at the top right of your cloud 9 workspace screen

Another option is to tell me your cloud9 username and I will share my workspace with you.

I have shared the workspace with you. You can find mnist.py in the main folder along with mnist.sh

I left some comments inn the cloud 9 collaboration area

You made a command that killed your terminals PATH command
always do PATH=$PATH: so you don't kill your old path.
PATH=~/virtual-tf/bin/activate
Also  ~/virtual-tf/bin/activate is a program not a path
I fixed the ~/.profile file to include source ~/virtual-tf/bin/activate and things should be fine.
Good luck

If everything is fine it is best to un-share with me and then share again another time if you need help again.
Cheers.

P.S. If I ever get it going you might really like https://github.com/hpssjellis/TensorFlow-Android-Camera-Demo-on-Cloud9


Amazing, but -> The GET method is not supported for route api/subscribers/XXXX/tags. Supported methods: POST, DELETE.

I'm using Laravel 10, and latest mailcoach sdk (with a self hosted mailcoach, latest version). And guzzlehttp/guzzle 7.9.2
I try to do
$mailcoachSubscriber->addTags(['test']);
I have this code (MakesHttpRequests) to try to debug:
if (! $this->isSuccessful($response)) {
            dump($verb);
            dump($uri);
            dump($payload);
            dd($response->getBody()->getContents());
            $this->handleRequestError($response);

            return null;
        }

I get :
"POST" // vendor/spatie/mailcoach-sdk-php/src/MakesHttpRequests.php:48
"subscribers/XXXX/tags" // vendor/spatie/mailcoach-sdk-php/src/MakesHttpRequests.php:49
array:1 [
  "tags" => array:1 [
    0 => "test"
  ]
] // vendor/spatie/mailcoach-sdk-php/src/MakesHttpRequests.php:50
"""
{\n
    "message": "The GET method is not supported for route api/subscribers/XXXX/tags. Supported methods: POST, DELETE."\n
}
""" // vendor/spatie/mailcoach-sdk-php/src/MakesHttpRequests.php:51

Using curl in command line:
curl -X POST "https://xxx/api/subscribers/XXXX/tags"     -H "Authorization: Bearer XXXX"     -H "Accept: application/json"     -H "Content-Type: application/json"     -d '{"tags":["test"]}'
It works, so it is not mailcoach.
This is the guzzle call
GuzzleHttp\Psr7\Request^ {#4880
  -method: "POST"
  -requestTarget: null
  -uri: GuzzleHttp\Psr7\Uri^ {#4881
    -scheme: "https"
    -userInfo: ""
    -host: "XXXX"
    -port: null
    -path: "/api//subscribers/XXXX/tags"
    -query: ""
    -fragment: ""
    -composedComponents: null
  }
  -headers: array:5 [
    "Authorization" => array:1 [
      0 => "Bearer XXXX"
    ]
    "Accept" => array:1 [
      0 => "application/json"
    ]
    "User-Agent" => array:1 [
      0 => "GuzzleHttp/7"
    ]
    "Content-Type" => array:1 [
      0 => "application/x-www-form-urlencoded"
    ]
    "Host" => array:1 [
      0 => "XXXX"
    ]
  ]
  -headerNames: array:5 [
    "authorization" => "Authorization"
    "accept" => "Accept"
    "user-agent" => "User-Agent"
    "content-type" => "Content-Type"
    "host" => "Host"
  ]
  -protocol: "1.1"
  -stream: GuzzleHttp\Psr7\Stream^ {#4891
    -stream: stream resource {@3313
      wrapper_type: "PHP"
      stream_type: "TEMP"
      mode: "w+b"
      unread_bytes: 0
      seekable: true
      uri: "php://temp"
      options: []
    }
    -size: null
    -seekable: true
    -readable: true
    -writable: true
    -uri: "php://temp"
    -customMetadata: []
  }
}

This is a POST call.

$response = Http::withHeaders([
             'Authorization' => 'Bearer XXXX',
             'Accept' => 'application/json',
             'Content-Type' => 'application/json',
         ])->post('https://XXX/api/subscribers/XXXX/tags', [
             'tags' => ['test'],
         ]);

Also works :)


meta/sql: fix update query in SQL transaction

Codecov Report

Merging #2024 (305141f) into main (c361878) will increase coverage by 0.04%.
The diff coverage is 79.68%.

:exclamation: Current head 305141f differs from pull request most recent head 6957328. Consider uploading reports for the commit 6957328 to get more accurate results

@@            Coverage Diff             @@
##             main    #2024      +/-   ##
==========================================
+ Coverage   61.52%   61.57%   +0.04%
==========================================
  Files         137      137
  Lines       23837    23836       -1
==========================================
+ Hits        14665    14676      +11
+ Misses       7452     7443       -9
+ Partials     1720     1717       -3

Impacted Files
Coverage Δ

pkg/object/prefix.go
69.76% <0.00%> (ø)

pkg/meta/sql_lock.go
72.43% <60.00%> (ø)

pkg/meta/sql.go
65.08% <85.71%> (+0.17%)
:arrow_up:

pkg/chunk/utils_unix.go
73.33% <0.00%> (-20.00%)
:arrow_down:

pkg/fs/fs.go
76.87% <0.00%> (-0.79%)
:arrow_down:

pkg/chunk/cached_store.go
75.50% <0.00%> (-0.74%)
:arrow_down:

pkg/meta/redis.go
71.88% <0.00%> (+0.04%)
:arrow_up:

pkg/vfs/writer.go
79.66% <0.00%> (+1.01%)
:arrow_up:

pkg/vfs/reader.go
80.29% <0.00%> (+3.10%)
: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 9090714...6957328. Read the comment docs.


TypeScript symbols is empty inside closure (like jQuery plugins)

I tried developing basic jQuery plugin with TS, looks like the symbols list is totally empty if I use following code:
/// <reference path="./typings/tsd.d.ts" />
(function ($: JQueryStatic) {

    interface Anything {
        something : string
    }

    function func() {
    }

})(jQuery);

I think it should recgonize the whole file spanning closure and not let it ruin the symbols listing.

I also think this is annoying. Symbols view only shows symbols in the global scope, also for Javasript. If you use class expressions for Angular, like .controller('MyController', class MyController { ... }) you will never get any methods of that class show up in the symbol view.

+1
much needed feature.

This is an issue with TypeScript. For JavaScript this actually works a lot better then for TypeScript...

This issue was moved to Microsoft/TypeScript#8218


[Tracking issue] Implement sound feature tasks and bugs

Tracking issue for all issues related to the audio/sounds feature
Current issues:

https://github.com/Expensify/App/issues/36714
https://github.com/Expensify/App/issues/36543
https://github.com/Expensify/App/issues/36487
https://github.com/Expensify/App/issues/36455
https://github.com/Expensify/App/issues/36542
https://github.com/Expensify/App/issues/36579
https://github.com/Expensify/App/issues/37011
https://github.com/Expensify/App/issues/36863
https://github.com/Expensify/App/issues/37098
Tasks cause message sound even when 'mute all sounds is enabled' (link to discussion)
Mobile @here and @user push notifications should use unique audio cue
Create push notification test cases for Applause

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ace9e31f7b3ab29b
Upwork Job ID:<PHONE_NUMBER>753469440
Last Price Increase: 2024-02-20

@Julesssss comment to assign me on this issue 👀

@Julesssss can you add:

https://github.com/Expensify/App/issues/36714
https://github.com/Expensify/App/issues/36487
https://github.com/Expensify/App/issues/36455

I think some of them are duplicates, but let's add all of them for better transparency?

@hoangzinh I saw you assigned, was this for a specific review?

@Julesssss thanks for creating this issue and keeping us organized here!

@Julesssss let's add this to the list?
https://github.com/Expensify/App/issues/36543

Thanks, added. Though that one seems a bit vague. We'll need to try to see if anyone can reproduce

Adding this issue here: https://github.com/Expensify/App/issues/37098

Not overdue, looks like we're making some progress on the issues listed in the original comment above.

Yeah, thanks Shawn.
I closed one issue today, and I have just asked in Social for an iOS user to check that a 2nd issue is still occurring (if not I will close that as fixed)

When I have a spare moment I'll create the TestRail cases for QA

Not overdue, looks like just two items left here.

Yeah, I'll try to finish this up when I have a moment, but I'm working on higher-priority tasks currently 👍

Same update as before, just one issue to wrap up and then I will send the Project Wrap Up email and call this one done.

Still waiting to send the wrap up email

Hey, sorry for the delay here. I have a fire and some important issues to squeeze in before the quarterly release

Still waiting on the final clean up item.

@shawnborton please take a look here and LMK if you have any additional test suggestions. Then I'll create the testrails cases. I think we might need a test case for when the app is open and the user is reading the chat report (notification shouldn't display, ut sound should?)

Nice!

I think we might need a test case for when the app is open and the user is reading the chat report (notification shouldn't display, but sound should?)

That sounds correct to me

Great. I added three more tests. The only thing remaining is whether we have a shareable folder with the labelled sounds. This should make testing easier, but I can't find the folder I used 😞

The final issue has now been closed. Marking the project complete 🥳

Amazing, thanks Jules!


[Required] regression in 3.2.6

prefab required even with a prefab referenced

Hi,
Again I can not re-produce it. More information is required to locate this issue (
Im using the simple code:
public class Issue79 : SaintsMonoBehaviour
{
    [Serializable]
    public struct MyStruct
    {
        [Required] public Issue79 prefab;
    }

    [SaintsRow] public MyStruct myStruct;

    [Required] public Issue79 prefab;
}

But it works fine under 2022.2.0f1, both IMGUI and UI Toolkit, both in scene mode and perfab editing mode.
(P.S. to attach an video you can just drag and drop the file in the comment area)
https://github.com/user-attachments/assets/8073687d-17e6-42f8-adf0-0aa270a5cbd8

like by magic, it solved itself.
must be hot reload...


fix(airtable): Exporting to airtable automatically saves current document

Background
Similar to https://github.com/dendronhq/dendron/pull/2631, this PR fixes the issue where user needs to save first before exporting to airtable.
Changes

Before exporting, we will first save the current document if it is dirty. After the save, listen to the engine for an onEngineNoteStateChanged event before continuing the command.
Expose EngineEmitter as part of EngineAPIService. This makes it easier to listen to events since the extension is readily available
Remove updating the engine as part of onWillSaveNote.

The TextDocument entering onDidSave for the TextDocumentService contains the proper updated timestamp
note.updated = now actually updates the engine note for us so we can leave this in in case there's a bug that causes  onDidSave to never be triggered
Ideally onWillSaveNote does not trigger an engine event. Otherwise every save action will cause 2 events to be fired which could be confusing

Dendron Extended PR Checklist
Code
Basics

[x] code should follow Code Conventions
[x] circular dependency check: make sure your code is not introducing new circular dependencies in plugin-core.  See Avoiding Circular Dependencies.
[x] sticking to existing conventions instead of creating new ones

eg: if configuration for utilities are already in one module or package, add future utilities there as well

Extended

General

[x] check whether code be simplified
[x] check if similar function already exist in the codebase. if so, can it be re-used?
[x] check if this change adversely impact performance

Operations

[x] when shipping this change, will it just work or will it introduce additional operational overhead due to complicated interface or known bugs?

Architecture

[ ] check if code is introducing changes on a foundational class or interface. if so, call for design review if needed

eg: making changes to DNode

Instrumentation
Basics

[ ] if you are adding analytics related changes, make sure you Document changes in airtable

Extended

[ ] can we track the performance of this change to know if it is successful?

eg: see usage for export pod

Tests
Basics

[x] Write Tests
[x] Confirm existing tests pass
[x] Confirm manual testing
[x] Common cases tested
[x] 1-2 Edge cases tested
[ ] If your tests changes an existing snapshot, snapshots have been updated

Extended

[ ] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), an example is included in the test workspace

CSS

[ ] display is correct for following dimensions

[ ] sm: screen ≥ 576px, eg. iphonex, (375x812)
[ ] lg: screen ≥ 992px
[ ] xxl: screen ≥ 1600px eg. mac (1600x900)

[ ] display is correct for following browsers (across the various dimensions)

[ ] safari
[ ] firefox
[ ] chrome

Docs
Basics

[ ] if your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR

Basics

[ ] does this change introduce a new or better way of doing things that others need to be aware of? if so, an async should be created and a process added in Development or Packages

Close the Loop
Basics
Extended

[ ]  is this a developer BREAKING change? if another person cloning from this branch will need to adjust their dependencies or mental model of the architecture, then it is. if this is the case, make sure this is communicated according to Close Loop

eg. breaking dev change due to new dependency

LGTM saves the document before Airtable Export.
Although this is out of scope of this PR but sometimes on activation, engine not set is thrown from the setup command.

Ah yes, I was just looking at that. Looks like its due to setting up the commands before the engine is ready. I will address it in a followup PR


[release-1.6] Update base image for build

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@ericvn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio_release-1.6
270c398f180e13f678ca93cf5d3012a4bf6644e0
link
/test integ-security-k8s-tests_istio_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Support .netrc files

pip supports obtaining credentials for authentication from .netrc files. This allows to keep pip.conf, --index-url and --find-links free of credentials and instead store them in a central place in ~/.netrc.
Unfortunately, uv does not support obtaining credentials from there.
This is also required, for e.g. using requirements.txt files that refer to wheels at urls that require auth
torch @ https://foo.org/torch.whl

Thanks for the report! We definitely need to address registry authentication.

Hello! How would a new contributor go about implementing this?
Pop open a new crate, something like uv-credentials, and then start cranking out code? I've got a fork compiled locally and I've poked around the codebase but I'm still very new to collaborative software development.
I guess my question is more general: How does one learn the inner machinations of a new project in order to make a useful contribution?

We would also like the .netrc support. We specify the private repo in a slightly different way
# From Gemfury (https://pypi.fury.io/the-org/)
# =============================================
some-package

Since you are using reqwest crate, using reqwest-netrc middleware could be an option ?

This work for index access, but fail on download since reqwest middleware is not used:
https://github.com/astral-sh/uv/blob/main/crates/uv-client/src/registry_client.rs#L415

In fact this is not download in itself that cause this issue, but only the read_metadata_range_request usage. If I activate reqwest-netrc and skip all metada range errors (here) the download succeed.
In my situation, the error we need to skip is an HTTP 401.


43 header reorg

Summary:

Change "core" to "framework" directory
Add subdirectories for clear separation of headers from different bundles
Remove "us" prefix from file names (in rare cases, replace with "cppmicroservices")
Move from "us" to "cppmicroservices" namespace
Install only public headers (including "private" headers in "detail" subdirectory)
Clean up and re-organize "#include" directives

Note:

I tried to rename the files using "git mv", but a couple of files didn't work quite right. Reviewers may not be able to view a diff side-by-side for those files.
"Private" headers inside "detail" directory all include "detail" namespace, EXCEPT ServiceTracker.tpp. This was done so that the public header "ServiceTracker.h" does not also gain a "detail" namespace.

Thanks for working on this massive change!
I have a few remarks / questions:

Since we are at it, could you also remove the _p suffix from the header files in the details folder?
When you said "remove the us prefix from all files", I didn't realize that you really meant all files. We should add the prefix back in some cases in my opinion:

Executable and library names On Linux, these are typically installed into a common lib and bin folder (the current defaults need to be adapted) and I think the names need some prefix to better distinguish them from all the installed files.
CMake file and function / macro names Basically the same reasoning as above. Although the custom CMake files typically are installed into a project specific sub-directory, this directory can be added as a search path in external projects. Then a call to include(FunctionEmbedResources) misses some CppMicroServices specific information. Same goes for calling the CMake function later.
Include guards Header files now need to be prefixed when being included, but their include guards are not scoped in any way. A define like BUNDLE_H is more likely to clash with some other project's define then US_BUNDLE_H.

The default installation sub-directories need to be updated (removing the CppMicroServices sub-directory in the Linux case), but that issue was there before your modifications. I could adapt them after your merge myself.

@saschazelzer ,
I agree with your feedback. One minor suggestion: how about doing header include guards with "cppmicroservices" prefix? (e.g. CPPMICROSERVICES_BUNDLE_H)

Sure, good point.

+1 for merging

Are we going to change the generated us_resource.cpp files to cppmicroservices_resource.cpp?

@jeffdiclemente
Yes, I will change it to cppmicroservices_resources.cpp.
While I was working on this, I also noticed that the directories in which these resources are put into are called "us_${US_RESOURCE_TARGET}". This creates directories like:
framework/us_CppMicroServices
framework/test/us_usFrameworkTestDriver
framework/test/bundles/libA/us_TestBundleA
@saschazelzer @jeffdiclemente @karthikreddy09
Does this "us_" prefix serve a purpose like other instances where we want to preserve them?
If not, I'll remove these prefixes as well.

I think you can remove these directory prefixes.
On August 9, 2016 10:27:13 PM GMT+02:00, kevinleeMW<EMAIL_ADDRESS>wrote:

@jeffdiclemente
Yes, I will change it to cppmicroservices_resources.cpp.
While I was working on this, I also noticed that the directories in
which these resources are put into are called
"us_${US_RESOURCE_TARGET}". This creates directories like:
framework/us_CppMicroServices
framework/test/us_usFrameworkTestDriver
framework/test/bundles/libA/us_TestBundleA
@saschazelzer @jeffdiclemente @karthikreddy09
Does this "us_" prefix serve a purpose like other instances where we
want to preserve them?
If not, I'll remove these prefixes as well.

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/CppMicroServices/CppMicroServices/pull/118#issuecomment-238680091

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

+1 for merging after changing the us_resource.cpp files to cppmicroservices_resource.cpp and the  us_ prefix on generated folder names mentioned above.

Thanks for all your feedback and help, everyone!


Fixes #614

Fixes the following error when building using flutter build apk:
error: cannot find symbol import androidx.annotation.NonNull;

Thanks @chrisfraser

@luanpotter My pleasure. Keep up the awesome work on this.


Matplotcheck build fix

Fixing issues causing matplotcheck builds to fail.

@lwasser this is good to merge too! I think I fixed the issues here.

you rock! @nkorinek what was the issue? i'll merge but i'd still like to know just for future :)

@lwasser there were three issues. One was that a link died b/c the website updated from http: to https:. The se
cond issue was make docs having a hard time parsing one of our docstrings for some reason (it said “Inline literal start-string without end-string”, which I couldn't see any strings that matched that description). I added a return in the affected area and that seemed to fix whatever issue it was having.
The third issue was black updated and caught some new formatting issues it didn't check for before. This one slipped by bc black updated here but not on my pc so had to update it locally to catch those same errors


fix: change folder name for management API

Description
Change the folder name of Management API distribution within the full zip so the docker image can be built

Close because of https://github.com/gravitee-io/gravitee-api-management/pull/30


fix: mult rows need to be pasted into multiple cells

close https://github.com/dream-num/univer-pro/issues/2475

Pull Request Checklist

[ ] Related tickets or issues have been linked in the PR description (or missing issue).
[ ] Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
[ ] Unit tests have been added for the changes (if applicable).
[ ] Breaking changes have been documented (or no breaking changes introduced in this PR).

@ybzky第3行粘贴后未识别为链接，3、4行少了一个字符


Create a wrapped imod.util.where function

In GitLab by @Huite on Nov 23, 2021, 13:43
The behavior of xarray's .where() is often unintuitive when a value should be changed.
This works well:
new = old.where(condition)

Often the interest is changing a value. With numpy, we'd mutate as follows:
old[condition] = new_value

There is no direct way to express this, especially when taking delayed evaluation into account while where is a nice and (pure) function.
There are a number of ways to express this, none of them very nice, in my opinion:
# 1: new array
new = xr.full_like(new_value)
new = new.where(condition, other=old)

# 2: negation, unintuitive
new = old.where(~condition, other=new_value)

It gets worse when neither the old values nor the new values are present already, especially when preserving nodata.
# 3:
condition = da > 5
new = xr.full_like(da, 1)
new = new.where(condition, other=0)
new = new.where(da.notnull(

So it makes quite a bit of sense to provide the following:
def where(condition, wheretrue, wherefalse, keepnan=True)
    ...

One thing to consider here is what gets priority in xarray's broadcasting behavior.
Xarray also has a xr.where, and I believe the condition dimension are put first. This is undesirable when condition is 2D and wheretrue is 3D (layer, y, x), or 3D (time, layer, ...).

In GitLab by @Huite on Dec 20, 2021, 21:17
Closed by 3d6e27094bc6e5e4526f3593e003e78306bdb7cb


Certain requests are failing on Kitura-net v0.11.4+

Running Couch-DB tests on Travis-CI now fail when the version of Kitura-net is >= 0.11.4. In addition, while uploading photos to CouchDB in Blue-Pic, the response received in the callback is occasionally nil  causing the execution of the endpoint /photos/:title/:photoname to fail.
These errors are not present when using Kitura-net v0.11.3 or older.
Failing Travis-CI Build: https://travis-ci.org/IBM-Swift/Kitura-CouchDB/builds/127913233

It seems that this same error is present locally after switching to the 5/3 binaries. I pushed the 5/3 changes to a separate branch so they can be looked at.

I am going to manually merge the changes made above in side branches to the develop branch.

Seems to be solved by supporting HTTP Continue.


create log.js

JS or python can be use as raw data
change this if I'm wrong

1const pair ="Integrating AES Encryption";
/soon making a CMD prompt for AES or etc


haskell.packages.ghc96.serialise: remove unnecessary jailbreak

serialise was jailbroken on ghc9.6.x due to invalid bounds, this has been fixed upstream
same procedure as in the previous PR
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

newtype-generics is not fixed upstream yet, fortunately

Thank you!


Updated: losslesscut 3.13.0

${}

6f3d8d00-0b47-4a09-8b25-2e8369c1f51f

Newer version of losslesscut (3.17.27) is now available in master. 255ea75e80a12dbeca72dd1288bd7686f50c77be


Windows WebView2 Error (after closing a window)

Describe the bug
On the release version of our app (on Windows 10 with the latest Webview2 Runtime version), every time a new window is opened and then closed, our app has no response and turns to a white screen.
the window is created through : new WebviewWindow()
I've checked https://github.com/tauri-apps/tauri/issues/2570 and reverted webview2 to an old version https://github.com/tauri-apps/tauri/issues/2570#issuecomment-913466578 , the problem got solved. However, I noticed that you guys have released a new webview2 binding and I updated Tauri, the problem still exists.
To Reproduce
Steps to reproduce the behavior:

pnpm build
run the generated .msi file and install the app on Windows.
call new WebviewWindow() to create a new window and then close it.

Expected behavior
The app can respond, or display errors in the console/custom log file.
Screenshots
I tried tauri build -d, the terminal shows

Platform and Versions (required):

Operating System - Windows version 10.0.18363.535  X64

Node.js environment
Node.js - 14.16.0
@tauri-apps/cli - 1.0.0-beta.10
@tauri-apps/api - 1.0.0-beta.8

Global packages
npm - 6.14.11
pnpm - 6.0.2

Rust environment
rustc - 1.54.0
cargo - 1.54.0

App directory structure
/.git
/.vscode
/dist
/node_modules
/public
/release
/src
/src-tauri

App
tauri.rs - 1.0.0-beta.8
build-type - bundle
CSP - default-src blob: data: filesystem: ws: wss: asset: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
distDir - ../dist

Same error

I can't replicate this error on next branch, please reopen this issue if the issue persists in the next release.

Same here for me.


AssertionFailure: Class invariant must always hold

To reproduce within a code snippet:

Type 1 to: 233)
go to the end of the line using command+arrow left
type (

Solved via https://github.com/feenkcom/gtoolkit/issues/2098


[Bug]: Documentation on dockerhub doesn't mention WHERE to place configuration YAML file

Describe the bug
The documentation  on docker hub states the following:
Just like opensearch.yml, you can pass a custom opensearch_dashboards.yml to the container in the Docker Compose file.

But doesn't say where this file should be mounted or what it's contents can be.
To reproduce
visit docker hub site
Expected behavior
No response
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
No response
Relevant log output
No response

Hi @JeffH-AWS , is this something you can address when you work on the Docker installation?

I'm working to figure out who is able to address this. Docker Hub isn't part of the documentation-website repo.

Path forward here is to engage the team that works on deployment pipelines as they have access to edit the Dockerhub page. Once I begin work on the Docker installation process I will pass along a recommended change for the Dockerhub page as well and that team will implement the change so there's no need to worry about providing me access.

I've engaged a member of the team about this change. The solution is to add a link to https://opensearch.org/docs/latest/opensearch/install/docker/#configure-opensearch for the user to follow if they are not familiar with how to use Docker.  Bear in mind that these steps are native to Docker - they aren't exclusive to OpenSearch.

Due to OpenSearch Con it might take a few days to get pushed since a lot of the team are traveling.

All fixed!  Validated on the Docker Hub page.


Something Went Wrong

Microsoft PowerToys version
<IP_ADDRESS>
Running as admin

[X] Yes

Area(s) with issue?
General
Steps to reproduce
Whenever I start my computer or PowerToys I get an error. Just started 2 - 3 days ago.
✔ Expected Behavior
No error message
❌ Actual Behavior
I get this:
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19043.0
IntPtr Length: 8
x64: True
Date: 6/22/2022 3:36:58 PM
Exception:
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\PowerToys\modules\launcher\Images\app.dark.png'.
File name: 'C:\Program Files\PowerToys\modules\launcher\Images\app.dark.png'
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapImage.EndInit()
at System.Windows.Media.Imaging.BitmapImage..ctor(Uri uriSource, RequestCachePolicy uriCachePolicy)
at Wox.Infrastructure.Image.ImageLoader.Initialize(Theme theme)
at PowerLauncher.App.<>c__DisplayClass14_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2022-06-22.txt
Other Software
No response

This might be caused by some older files not being uninstalled correctly.
Would you mind:
1 - Uninstall PowerToys.
2 - See if the PowerToys install directory (default: C:\Program Files\PowerToys) is still there. If it is, delete it manually.
3 - Install PowerToys.
Please let us know if this works for you.
/needinfo

Jaime (and team),
Sorry for the delayed reply. Removing and reinstalling seems to have done the trick.
Thanks for the help (and for the great tool set)!
Neil

From: msftbot[bot] @.>
Sent: Wednesday, June 29, 2022 7:03 AM
To: microsoft/PowerToys @.>
Cc: neilghickey @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Something Went Wrong (Issue #18994)
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F18994%23issuecomment-1170022076&data=05|01||02cdd03e87534d4064cb08da59d81bc8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637921081967553936|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=0SBXWrxCeZHncZuVYthE%2BazFqmTAPPb1eibTwVOcAP4%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZYHPNH76SJJ57ONQXQ6SH3VRRJSDANCNFSM5ZSC4OLA&data=05|01||02cdd03e87534d4064cb08da59d81bc8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637921081967553936|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=F0xeQgX5QNQIw0hFlHoA0K7kZ4dIaML9eKbIqjZYqcI%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>


"Open Database Object..." (Shift + Ctrl + D) won't open synonym objects

As in the topic. While using "Open database object" search engine for my MSSQL database objects, option "Synonym" founds correctly tables that are marked as synonyms. But When you try to "open" them - nothing happens.
Would be great to be able to open the synonym table if you already managed to find them ;)

Thanks for the bug report

verified


Broken references when adding to a Unity project

Is there any chance you could post a sample working Unity project?
Or failing that - can you specify which Unity version and URP version is working for you? I'd at least like to recreate as close to your conditions as I can.
(this looks great by the way. thanks for releasing it!)

Is there any chance you could post a sample working Unity project?
Or failing that - can you specify which Unity version and URP version is working for you? I'd at least like to recreate as close to your conditions as I can.
(this looks great by the way. thanks for releasing it!)

Effect made and tested on Unity version - 2020.3 URP version - 10.7. Try these versions, everything should work correctly on them or later.
In URP 10, the code for SSAO was added and this effect is written based on it.

Create a new URP project with 2020.3 via Unity Hub
Confirm in Package Manager that it is using 10.7
Unzip the repo download into Assets

At this point I have an error:
ScreenSpaceCavity_Renderer is missing RendererFeatures
This could be due to missing scripts or compile error.
UnityEngine.Rendering.Universal.ScriptableRendererData:OnValidate () (at Library/PackageCache/com.unity.render-pipelines.universal@10.7.0/Runtime/ScriptableRendererData.cs:59)

Furthermore all the prefab references in the demo scene are broken and the camera has two broken script references on it.
I then look at your original repo and notice there's no .meta files (and no .gitignore either so you must be manually excluding them somehow)

Create a new URP project with 2020.3 via Unity Hub
Confirm in Package Manager that it is using 10.7
Unzip the repo download into Assets

At this point I have an error:
ScreenSpaceCavity_Renderer is missing RendererFeatures
This could be due to missing scripts or compile error.
UnityEngine.Rendering.Universal.ScriptableRendererData:OnValidate () (at Library/PackageCache/com.unity.render-pipelines.universal@10.7.0/Runtime/ScriptableRendererData.cs:59)

Furthermore all the prefab references in the demo scene are broken and the camera has two broken script references on it.
I then look at your original repo and notice there's no .meta files (and no .gitignore either so you must be manually excluding them somehow)

Of course! Sorry!
Please use the package - https://github.com/malyawka/URP-ScreenSpaceCavity/releases
I rubbed the meta files to make the repository readable.

I rubbed the meta files to make the repository readable.

Lol. A repo should be functional over readable. ;-)
I'd also like to recommend making the repo an entire working Unity project. If you look around Github for Unity projects you'll find the vast majority of them are packaged as entire projects and there's a good reason for this. In my experience (and I download a lot of Unity code from Github) the chance of something working is significantly higher if it is provided as a project. By all means have a branch that's UPM compatible or supply a .unitypackage under releases. (there's some handy Github actions that automate this for you) but the main repo should be a project.
It makes it much easier for other people to try out your code and generally makes it much more likely that things will just work.

I rubbed the meta files to make the repository readable.

I would argue that repo should be functional over readable. ;-)
I'd also like to recommend making the repo an entire working Unity project. If you look around Github for Unity projects you'll find the vast majority of them are packaged as entire projects and there's a good reason for this. In my experience (and I download a lot of Unity code from Github) the chance of something working is significantly higher if it is provided as a project. By all means have a branch that's UPM compatible or supply a .unitypackage under releases. (there's some handy Github actions that automate this for you) but the main repo should be a project.
It makes it much easier for other people to try out your code and generally makes it much more likely that things will just work.

You're right. Does the package import result in the effect working as it should?

You're right. Does the package import result in the effect working as it should?

It's got rid of the errors but I don't see any effect - even when I tick "debug" (which I presume should give me the black and white view)

I can confirm that the effects don't show up at all even when following the setup instructions to the letter. Unity 2020.3.25f1 + URP 10.7, fresh URP template project with only the Unity package for this installed.

Also confirming that I do not see the effects at all in the demo scene when following setup instructions, Unity 2021.2.13f1 and URP 12.1.4, all in a fresh URP project.

I can confirm that the effects don't show up at all even when following the setup instructions to the letter. Unity 2020.3.25f1 + URP 10.7, fresh URP template project with only the Unity package for this installed.

Also confirming that I do not see the effects at all in the demo scene when following setup instructions, Unity 2021.2.13f1 and URP 12.1.4, all in a fresh URP project.

Did you add the renderer feature to the URP forward renderer in the settings? Out of the box it will also only work with the example ToonyShader

I can confirm that the effects don't show up at all even when following the setup instructions to the letter. Unity 2020.3.25f1 + URP 10.7, fresh URP template project with only the Unity package for this installed.

Also confirming that I do not see the effects at all in the demo scene when following setup instructions, Unity 2021.2.13f1 and URP 12.1.4, all in a fresh URP project.

Did you add the renderer feature to the URP forward renderer in the settings? Out of the box it will also only work with the example ToonyShader

Yes, in a blank URP project, after importing, I have the project set to use the URP asset and Universal Renderer Data asset which are included in PolgonStarter/URP/, and those have the renderer feature applied.

I can confirm that the effects don't show up at all even when following the setup instructions to the letter. Unity 2020.3.25f1 + URP 10.7, fresh URP template project with only the Unity package for this installed.

Also confirming that I do not see the effects at all in the demo scene when following setup instructions, Unity 2021.2.13f1 and URP 12.1.4, all in a fresh URP project.

Did you add the renderer feature to the URP forward renderer in the settings? Out of the box it will also only work with the example ToonyShader

Yes. I opened the example scene provided after ensuring the renderer feature was set up correctly, and all of the materials in that example scene were using the shader you referenced. There is no cavity/edge effect whatsoever.


Big updates

Coverage remained the same at 100.0% when pulling 974455cb66b33c8c6680666bd3b2302f091ee4f3 on ktutnik:master into bfbfdca9c43417fc9292d961c1ff8f6cd87b2038 on kambojajs:master.

Coverage remained the same at 100.0% when pulling 92d556ce14319ab0ce7f45cee06a69aaff8d5dd5 on ktutnik:master into bfbfdca9c43417fc9292d961c1ff8f6cd87b2038 on kambojajs:master.

Coverage remained the same at 100.0% when pulling 23a3bc3a467e6d60e230236839184d401c31ceaf on ktutnik:master into bfbfdca9c43417fc9292d961c1ff8f6cd87b2038 on kambojajs:master.


Translated index page for Russian language

[ x ] I have read freeCodeCamp's contribution guidelines.
[ x ] My pull request has a descriptive title (not a vague title like Update index.md)
[ x ] My pull request targets the master branch of freeCodeCamp.
[ x ] None of my changes are plagiarized from another source without proper attribution.
[ x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@ckorobov Thank you for your pull request.
I am closing this pull request. This is a duplicate of the following PR - #18544
If you think I’m wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding.


Crash on startup

The newest version cannot start on a Nvidia+Intel GPU notebook. If I have libva-vdpau-driver installed, startup fails with GPU at BusId 0x1 doesn't have a supported video decoder; if I uninstall libva-vdpau-driver, it fails with [21560:21560:0807/204751.670679:ERROR:vaapi_wrapper.cc(326)] vaInitialize failed: unknown libva error.
It used to be a warning which will not crash the whole thing, but now it just crashes.

I built on a second machine with use_vaapi=false but the package crashes on both machines. The vaapi error disappeared but it still crashes with Illegal instruction (core dumped). Verbose log does not really have anything useful:
[1782:1782:0807/235617.143497:VERBOSE1:breakpad_linux.cc(1994)] Breakpad disabled
[1:1:0807/235617.273246:INFO:cpu_info.cc(53)] Available number of cores: 8
[1:1:0807/235617.273476:VERBOSE1:zygote_main_linux.cc(217)] ZygoteMain: initializing 0 fork delegates
[1782:1782:0807/235617.381429:VERBOSE1:webrtc_event_log_manager.cc(89)] WebRTC remote-bound event logging enabled.
[1782:1782:0807/235617.381689:VERBOSE1:proxy_config_service_linux.cc(1243)] Obtained proxy settings from annotation hash code 11258689
[1782:1782:0807/235617.381722:VERBOSE1:pref_proxy_config_tracker_impl.cc(184)] 0xbe8ad17a920: set chrome proxy config service to 0xbe8ad13a200
[1782:1808:0807/235617.489168:WARNING:backend_impl.cc(1846)] Destroying invalid entry.
[1782:1782:0807/235617.496474:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[1782:1782:0807/235617.497680:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[1782:1782:0807/235617.497836:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(347)] MutablePO2TS::MutablePO2TS
[1782:1782:0807/235617.497862:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[1807:1807:0807/235617.685022:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: gpu-process.
[1812:1812:0807/235619.002753:VERBOSE1:statistics_recorder.cc(409)] Collections of all histograms
Histogram: ChildProcess.FieldTrials.CreateFromShmemSuccess recorded 1 samples, mean = 1.0 (flags = 0x1)
0  O                                                                         (0 = 0.0%)
1  ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2  O                                                                         (0 = 0.0%) {100.0%}

Histogram: ThreadPool.DetachDuration.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.BackgroundTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.BackgroundTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.UserBlockingTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.UserBlockingTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.UserVisibleTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.UserVisibleTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumActiveWorkers.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksBeforeDetach.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksBetweenWaits.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.BackgroundTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.BackgroundTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.UserBlockingTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.UserBlockingTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.UserVisibleTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.UserVisibleTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumWorkers.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.BackgroundTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.BackgroundTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.UserBlockingTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.UserBlockingTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.UserVisibleTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.UserVisibleTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: V8.Initializer.LoadV8Snapshot.Result recorded 1 samples, mean = 0.0 (flags = 0x1)
0  ------------------------------------------------------------------------O (1 = 100.0%)
1  ...

Histogram: V8.Initializer.OpenV8File.Result recorded 2 samples, mean = 0.0 (flags = 0x1)
0  ------------------------------------------------------------------------O (2 = 100.0%)
1  ...

[1807:1807:0807/235619.004065:VERBOSE1:statistics_recorder.cc(409)] Collections of all histograms
Histogram: ChildProcess.FieldTrials.CreateFromShmemSuccess recorded 1 samples, mean = 1.0 (flags = 0x1)
0  O                                                                         (0 = 0.0%)
1  ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2  O                                                                         (0 = 0.0%) {100.0%}

Histogram: GPU.CollectContextGraphicsInfo recorded 2 samples, mean = 34.5 (flags = 0x1)
0   ...
12  ------------------------------------------------------------------------O (1 = 50.0%) {0.0%}
14  ...
48  -----------------------------O                                            (1 = 50.0%) {50.0%}
57  ...

Histogram: GPU.GLImplementation recorded 1 samples, mean = 1.0 (flags = 0x1)
0  O                                                                         (0 = 0.0%)
1  ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2  ...

Histogram: GPU.InitializeOneOffMediumTime recorded 1 samples, mean = 129.0 (flags = 0x1)
0    ...
113  ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
139  ...

Histogram: GPU.MaxMSAASampleCount recorded 2 samples (flags = 0x1)
32  ------------------------------------------------------------------------O (2 = 100.0%)

Histogram: GPU.Sandbox.InitializedSuccessfully recorded 1 samples, mean = 1.0 (flags = 0x1)
0  O                                                                         (0 = 0.0%)
1  ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2  O                                                                         (0 = 0.0%) {100.0%}

Histogram: ThreadPool.DetachDuration.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.BackgroundTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.BackgroundTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.UserBlockingTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.UserBlockingTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.UserVisibleTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.HeartbeatLatencyMicroseconds.ContentChild.UserVisibleTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumActiveWorkers.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksBeforeDetach.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksBetweenWaits.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.BackgroundTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.BackgroundTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.UserBlockingTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.UserBlockingTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.UserVisibleTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumTasksRunWhileQueuing.ContentChild.UserVisibleTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.NumWorkers.ContentChild.Foreground recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.BackgroundTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.BackgroundTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.UserBlockingTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.UserBlockingTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.UserVisibleTaskPriority recorded 0 samples (flags = 0x1)
0 ...

Histogram: ThreadPool.TaskLatencyMicroseconds.ContentChild.UserVisibleTaskPriority_MayBlock recorded 0 samples (flags = 0x1)
0 ...

Illegal instruction (core dumped)

@Eloston Is this the same as https://github.com/ungoogled-software/ungoogled-chromium-debian/issues/20?

Is this the same as ungoogled-software/ungoogled-chromium-debian#20?

I haven't looked into the issue further yet. However, I wouldn't be surprised if it's related to the new VA-API patch.

ungoogled-chromium also crashed on my computer (also, Intel + NVIDIA notebook) from recently, while chromium-vaapi is working (hardware acceleration unavailable, though).
On running ungoogled-chromium, I receive:
[8573:8573:0809/203624.123947:ERROR:vaapi_wrapper.cc(326)] vaInitialize failed: unknown libva error
[8573:8573:0809/203624.145839:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.

regardless of libva-vdpau-driver installed or not (nvidia driver not used with nvidia-xrun).
On nvidia driver enabled and libva-vdpau-driver installed, I get:
[12210:12210:0809/203937.068940:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069005:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 0 and entrypoint 1
[12210:12210:0809/203937.069011:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069014:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 1 and entrypoint 1
[12210:12210:0809/203937.069017:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069019:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 2 and entrypoint 1
[12210:12210:0809/203937.069022:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069025:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 3 and entrypoint 1
[12210:12210:0809/203937.069028:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069031:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 5 and entrypoint 1
[12210:12210:0809/203937.069034:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069037:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 6 and entrypoint 1
[12210:12210:0809/203937.069042:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069064:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 7 and entrypoint 1
[12210:12210:0809/203937.069068:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069071:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 8 and entrypoint 1
[12210:12210:0809/203937.069075:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069078:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 9 and entrypoint 1
[12210:12210:0809/203937.069082:ERROR:vaapi_wrapper.cc(704)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[12210:12210:0809/203937.069086:ERROR:vaapi_wrapper.cc(595)] FillProfileInfo_Locked failed for va_profile 10 and entrypoint 1
[12210:12210:0809/203937.069090:ERROR:vaapi_wrapper.cc(425)] GetConfigAttributes failed for va_profile 5
[12210:12210:0809/203937.069094:ERROR:vaapi_wrapper.cc(425)] GetConfigAttributes failed for va_profile 6
[12210:12210:0809/203937.069097:ERROR:vaapi_wrapper.cc(425)] GetConfigAttributes failed for va_profile 7

On nvidia driver enabled and libva-vdpau-driver uninstalled, I get:
[15925:15925:0809/204018.685238:ERROR:vaapi_wrapper.cc(326)] vaInitialize failed: unknown libva error

The crash actually had nothing to do with vaapi. I tried ungoogled-crhomium on an Intel only notebook but it still crashes. Then I tried chromium-vaapi from AUR and it didn't crash. So there must be a faulty patch somewhere else.
I am trying to use gdb to determine where the crash happens but I cannot seem to trigger the crash when gdb is attached..

You're right, it was a hasty assumption. I'm also experimenting with build flags and patches, and I don't think VA-API is at fault either. Right now, I'm trying to get a debug build to work, but I'm running into linker issues with the fingerprinting patch at the moment.
Since GDB prevents the issue from occuring, it may have something to do with the compiler optimizations producing invalid code. I'm hoping that the debug builds will be more strict and allow the compiler or linker to catch problems with the code.

I also agree that there may be some patching problems rather than VA-API since google-chrome is working on my computer.

I figured it out. Changing use_allocator="none" to use_allocator="tcmalloc" fixed the crash. Based on core dump the error comes from GlibcGetSizeEstimate in base/allocator/allocator_shim_default_dispatch_to_glibc.cc and it has something to do with shim headers. According to tools/generate_shim_headers/generate_shim_headers.py in an offical build they should not be used, but use-system-libraries-in-official-build.patch changed that behavior.
I do not know C++ good enough to figure out the root cause of this. I think it may have something to do with something like glibc versions.

Nice work. Unfortunately, this area is also beyond my knowledge; it's not necessarily a C++ issue at this point, but more of an understanding of OS internals.
More importantly, I'm not comfortable with just changing use_allocator to solve the problems. Our current setup is an unsupported use-case (i.e. using system libraries with is_official_build), and I don't think it's worth our time to try and hack it simply for a little performance improvement (at least for me). I'm going to remove explicit settings for is_official_build and use_allocator so we can let the code decide the best options here (and also the shim headers patch).

With the removal of use-system-libraries-in-official-build.patch, the build fails with the following messages:
[2019-08-10T13:55:26.913Z] In file included from ../../base/i18n/icu_util.cc:21:
[2019-08-10T13:55:26.913Z] gen/shim_headers/icuuc_shim/third_party/icu/source/common/unicode/putil.h:3:2: error: shim headers must not be used in official builds!
[2019-08-10T13:55:26.913Z] #error shim headers must not be used in official builds!
[2019-08-10T13:55:26.913Z]  ^
[2019-08-10T13:55:26.913Z] In file included from ../../base/i18n/icu_util.cc:22:
[2019-08-10T13:55:26.913Z] gen/shim_headers/icuuc_shim/third_party/icu/source/common/unicode/udata.h:3:2: error: shim headers must not be used in official builds!
[2019-08-10T13:55:26.913Z] #error shim headers must not be used in official builds!
[2019-08-10T13:55:26.913Z]  ^
[2019-08-10T13:55:26.913Z] In file included from ../../base/i18n/icu_util.cc:24:
[2019-08-10T13:55:26.913Z] gen/shim_headers/icui18n_shim/third_party/icu/source/i18n/unicode/timezone.h:3:2: error: shim headers must not be used in official builds!
[2019-08-10T13:55:26.913Z] #error shim headers must not be used in official builds!
[2019-08-10T13:55:26.913Z]  ^
[2019-08-10T13:55:26.913Z] 3 errors generated.

Is there something wrong on my end, @Eloston ?

@thefallenrat Might be fine now, but I don't have an environment to test it.

@thefallenrat  make sure is_official_build is false otherwise it won't build.

I have tested this pkgbuild from my fork of this repo and it's built succesfully. I added some stuff that was removed though. Me reasoning is that, if it works for the archlinux maintainers, why wouldn't it work for us?
https://github.com/jstkdng/ungoogled-chromium-archlinux
Could send a PR if @Eloston is alright with my changes.

Here's my PKGBUILD at the moment. It was based on the PKGBUILD made by seppia at the AUR. The PKGBUILD was only modified to update the archlinux version to the latest commit (7f34e64), just like @Eloston  did. And it failed with the messages that I posted above

make sure is_official_build is false otherwise it won't build.

Should I do that? I mean, @Eloston removed the flags altogether (Even though I'm sure that's the main reason why the build fails). Nevertheless, I'll add is_official_build=false anyway just to see what happens
If all else fails, guess I might try PKGBUILD by @jstkdng provided if he explained the reasoning behind the changes he made

@thefallenrat
I actually sort of re added the patch that was removed. Instead of using a patch file the arch maintainers just used sed to achieve the same thing the patch file did.
And I built without the is_official_build flag and it built succesfully, of course, it was a developer build, but hey, if it works for the maintainers why wouldn't it work for us?
pic related

I also added the vaapi fix from chromium-vaapi to enable hardware acceleration and removed the bundled vaapi patch which was basically useless.

@thefallenrat It is not PKGBUILD that caused the error you see but GN flags. The error you see comes from generate_shim_headers.py which adds a section in headers, and the section will only be triggered when OFFICIAL_BUILD is defined (i.e. is_official_build is true). When is_official_build is removed it should be defaulted to false but in case something else changed it to true implicitly it is better to define it as false.
@jstkdng Are you using tag 76.0.3809.100-1 from main repo? @Eloston removed is_debug=false from GN flags which will cause it to be defaulted to true.

@wchen342
yes, I'm using that tag, but I have my own fork in which I re-added that option for testing. I haven't tested the build without it but seriously don't want to spend 6 hours compiling again, too lazy for that.
The arch's chromium pkgbuild doesn't have that option either:

Then again, if it works for them, it should work for us right? I have my fork with that mentality in mind.

@jstkdng I see is_official_build=true in your screenshot, which will turn is_debug off automatically. And sure, a debug build can work but I don't think letting users use a debug build is a good idea (only my personal opinion).

@wchen342
I have is_official_build=true in my fork's flags and supposedly is_debug is false, but in my previous screenshot it says "Developer Build"
Pic related

And the previous screenshot

Thanks, @wchen342. With the added is_official_build=false flag, the packages were built and ran successfully

@jstkdng I just built a previous version using seppia's AUR package and it definitely says Official Build. I am not sure what was going on with your build. Probably you can try to run gn args -C out/Default --list to see whether the flags are really set correctly.

@wchen342
That command returned and error related to python so no use, this are my resulting flags.gn
Kinda weird tbh, now there is no is_official_build and is_debug is there as false.
Oh well, at least it works. Will test later tomorrow with is_official_build=true. Hope it doesn't break.
clang_use_chrome_plugins=false
closure_compile=false
enable_hangout_services_extension=false
enable_hevc_demuxing=true
enable_mdns=false
enable_mse_mpeg2ts_stream_parser=true
enable_nacl=false
enable_nacl_nonsfi=false
enable_one_click_signin=false
enable_reading_list=false
enable_remoting=false
enable_reporting=false
enable_service_discovery=false
enable_swiftshader=false
enable_widevine=true
exclude_unwind_tables=true
fieldtrial_testing_like_official_build=true
google_api_key=""
google_default_client_id=""
google_default_client_secret=""
optimize_webui=false
safe_browsing_mode=0
treat_warnings_as_errors=false
use_official_google_api_keys=false
use_unofficial_version_number=false

blink_symbol_level=0
custom_toolchain="//build/toolchain/linux/unbundle:default"
enable_ac3_eac3_audio_demuxing=true
enable_iterator_debugging=false
fatal_linker_warnings=false
ffmpeg_branding="ChromeOS"
gold_path=""
goma_dir=""
host_toolchain="//build/toolchain/linux/unbundle:default"
is_clang=true
is_debug=false
jumbo_file_merge_limit=8
link_pulseaudio=true
linux_use_bundled_binutils=false
proprietary_codecs=true
symbol_level=0
use_cups=true
use_custom_libcxx=false
use_gio=true
use_gnome_keyring=false
use_jumbo_build=true
use_kerberos=false
use_libjpeg_turbo=true
use_lld=true
use_openh264=false
use_pulseaudio=true
use_sysroot=false
use_system_freetype=true
use_system_harfbuzz=true
use_system_lcms2=true
use_system_libjpeg=true
use_system_libopenjpeg2=true
use_system_zlib=true
use_vaapi=true

The flags I've removed from the main ungoogled-chromium repo are now in flags.archlinux.gn. There should be no effective changes to the GN flags, unless the PKGBUILD is using the wrong ungoogled-chromium version.
Right now, it seems using is_official_build=true with system libraries will break things unless the memory allocator is set to tcmalloc (the default on desktop Linux). I should note that using is_official_build=true with system libraries was never supported by Chromium to begin with, so it's hard to say how this workaround may break in the future.

The flags I've removed from the main ungoogled-chromium repo are now in flags.archlinux.gn.

But you removed it (is_official_build=false) altogether . At least add this flag for this platform please

Just finished compiling and building with only is_official_build=true, works for me. Pic related.
I have release the resulting package in my repo is anyone wants to test it.
Using only that flag reduced the package size so maybe there is indeed a difference.

@thefallenrat You don't need to add is_official_build=false because it's never set to true anywhere in this repo or the ungoogled-chromium repo.

@Eloston Oh you're right. Guess I'll have to point it to the latest commit


Priority balancing doesn't work as expected

set of 1, 50, 100 is balancing tiny, 25% and 50% accordingly
In comment of priority it says
"This priority will determine the likelihood of this IP address being selected for use when sending a message. The higher the number the more likely the IP is to be chosen. By defalt, the priority is set to the maximum value of 100.
This can be used to warm up new IP addresses by adding them with a low priority.
To give an indication of how this works, if you have three IPs with 1, 50 and 100 as their priorities, and you send 100,000 emails, the priority 1 address will receive
a tiny percentage, the priority 50 will receive roughly 25% and the priority 100 will receive roughly 75%.
To Reproduce

Set 3 IPs
Set up distribution 1,50,100

Expected behaviour
1/151 goes to 1
50/151 goes to 50
100/151 goes to 100
It's expected more like 33/66% for 50/100 weights
How feature can be used as expected? Is that a bug or performance efficient feature?
How to calculate proper rate of distribution?
Thank you!
Link to code:
https://github.com/postalserver/postal/blob/21a8d890459958375d4a49a5b7f31f4900a9e8b1/app/models/ip_address.rb#L39

I don't think that this implementation of RAND would actually achieve a specific amount of traffic going to a specific IP address, definitely not over a small sample size of 150 messages.
Stack Overflow seems to suggest that guaranteeing percentages of messages going to certain IP addresses would require something a little more complicated https://stackoverflow.com/questions/61285226/selecting-rows-by-percentage-of-chance
I'm definitely not a statistician so I don't know what I'm talking about at all but if you're not sending many thousands of messages then I'd say your priority numbers should be closer together (i.e. don't use 1, 50, 100, use 50, 100, 100) so that your newer IP address actually stands a chance of being used.

There is a specific ratio we need to achieve on specific pool of IPs.
With current implementation is impossible to do.
Let's say we would like to allocate 10% on IP A, 25% on IP B, 40% on IP C and 25 % IP D.
What ratio needs to be set?
There is no such a way besides jumping into statistic and getting right ratios which is not
10, 25, 40, 25 for sure.
In my opinion implementation of load balancing is not correct.
For example in Nginx where you set weight for load balancing - it does process close to weights were set.
https://github.com/nginx/nginx/blob/a64190933e06758d50eea926e6a55974645096fd/src/stream/ngx_stream_upstream_round_robin.c

As I said, I don't think you can achieve specific ratios but as those numbers are relatively close together, it might get pretty close in the current implementation.
There would need to be a bit of a code change to achieve specific ratios and then there would probably have to be some kind of limit on the ratio values entered, don't want someone entering 10000 and crashing Postal whilst it tries to figure out all the possible permutations :sweat_smile:

I've read this a few times, and I don't think I understand. You have described the expected behaviour, but what is the incorrect behaviour you are observing?

To give an indication of how this works, if you have three IPs with 1, 50 and 100 as their priorities, and you send 100,000 emails, the priority 1 address will receive a tiny percentage, the priority 50 will receive roughly 25% and the priority 100 will receive roughly 75%.
Note: This documentation is wrong. Your description is correct.


I18n support?

you mean for the UI?

Yep
I want to translate to es, de and it if u put strings in Pot, yml, Json or
any file of that
El dom, 14 de ago. de 2022, 7:23 p. m., Pablo Bandinopla <
@.***> escribió:

you mean for the UI?
—
Reply to this email directly, view it on GitHub
https://github.com/bandinopla/skill-assessments-quizzes/issues/1#issuecomment-1214484411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADIWFCHRWULVE7X7YAELZ3VZGEZHANCNFSM56QSQ5YA
.
You are receiving this because you authored the thread.Message ID:
@.***>

ok, added this mechanic in the latest commit: https://github.com/bandinopla/skill-assessments-quizzes/commit/8011079dd93b9129541af75af97cfcd9d5076de9
read the docs to learn how to add the new translation files!

@all-contributors add @johnfelipe for ideas


Add benchmarks for circuit scheduling

Summary
Add benchmarks to track the time performance of circuit scheduling
Details and comments
Add four tests, which benchmark TimeUnitConversion, ALAPSchedule, ASAPSchedule and DynamicalDecoupling passes. Also add a bench for tracking overall time when transpiling a 14 x 14 QV circuit with a scheduling option. It would be a good time to start benchmarking those as rework on circuit scheduling passes is about to start.

Here is an example of the results of new benchmarks in my local env.
[ 66.67%] ··· ...Benchmarks.time_alap_schedule_pass                 ok
[ 66.67%] ··· ========== =========== ============
              --                  depth
              ---------- ------------------------
               n_qubits      500         1000
              ========== =========== ============
                  5       102±0.6ms    202±3ms
                  10       278±7ms     605±10ms
                  20       844±40ms   1.72±0.02s
              ========== =========== ============

[ 83.33%] ··· ...Benchmarks.time_asap_schedule_pass                 ok
[ 83.33%] ··· ========== ========== ============
              --                  depth
              ---------- -----------------------
               n_qubits     500         1000
              ========== ========== ============
                  5       110±5ms     201±2ms
                  10      306±2ms     604±7ms
                  20      901±10ms   1.85±0.01s
              ========== ========== ============

[100.00%] ··· ...rks.time_dynamical_decoupling_pass                 ok
[100.00%] ··· ========== ============ ============
              --                   depth
              ---------- -------------------------
               n_qubits      500          1000
              ========== ============ ============
                  5        118±3ms      233±7ms
                  10       339±7ms      684±5ms
                  20      1.06±0.01s   2.09±0.05s
              ========== ============ ============

[100.00%] ··· ...rks.time_time_unit_conversion_pass                 ok
[100.00%] ··· ========== ========== ==========
              --                 depth
              ---------- ---------------------
               n_qubits     500        1000
              ========== ========== ==========
                  5       51.3±2ms   110±6ms
                  10      141±2ms    296±2ms
                  20      414±3ms    837±10ms
              ========== ========== ==========

[100.00%] ··· ...enchmarks.time_schedule_qv_14_x_14                 ok
[100.00%] ··· =============================== ============
               transpiler optimization level
              ------------------------------- ------------
                             0                  628±10ms
                             1                 1.40±0.03s
                             2                 1.86±0.02s
                             3                 3.63±0.05s
              =============================== ============

@jakelishman I've updated according to your suggestions. Would you mind taking a second look?

Sorry to cut in, what about an idea in the middle? That is introducing measure_pauli accepting multi-qubit pauli measurement while it internally produces single-qubit PauliMeasures for now to avoid the drawer issue for mult-clbits. The direct creation of multi-qubit pauli measurement, e.g. PauliMeasure(basis="XYZ"), should raise "NotImplementedError" for now. In this way, once the drawer issue is fixed, we can introduce true multi-qubit pauli measurement in the future without a big change. Am I missing something?


Bar of logo's that are using FlowForge

Story
No response
Description
many websites feature who already adopted their product, it would be great if we had the same on our website.

Do we have somewhere that we are gathering the list for this?

closed by https://github.com/flowforge/website/pull/904


Restructure et_relay subpackage

Summary

Make et_replay structure easier to refactor: added an entry point to export public symbols, used it in train code.
Enabled tests run as part of GHA CI.

Reviewed at https://github.com/facebookresearch/param/pull/124
Test Plan
CI
Additional Notes
--

I had to unlink this PR from Meta's import since my changes to internal build files cannot be exported as I do not own the diff.
So in order for them to be exported, the system needs me to own the PR to be able to export my internal changes.
I followed our internal guidelines to unlink this import. I will now export a new diff, and that should open a new PR which should contain these changes + my change to build files (albeit they will be hidden in the OSS part of PR).


Query breaks line instead of scrolling horizontally

I can no longer reproduce this. Maybe it had local changes to the source which I wasn't aware of?


Check which execute actions can be run in parallel for Performance Infra Dashboard

@Rhitottam is this about the execute action or about the perf infra dashboard. Please add some desc for clarity!


Adds a new how to use page to the top nav bar

Adds a how to use section on a separate page.  Information comes from usage on README and styling matches with original index.html.

Hi there! Thank you for your help!
I think it would look best if "How to Use" was on the same page, before the list of buttons.
Also, I think the font we're using does not look good for paragraph text (i.e something other than headings) so maybe for the content of the "How to Use" page we can use a different font from google font. If you can find something nice then please do and if not just put the section on the home page and I'll find a better font later on.
If you can also use something like prism to display the code better I think that would be nice, although not required. Just putting the content of the section on the home page is enough.


Implement nil handling for operator which does not accept nor produce nil results such as +, -, etc

Description:
Implement the proposed nil handling for operators: Unary, Additive, Multipicative, Shift and Binary bitwise operators
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

We need to allow operator like + with nil-able values when applicable.
Example:
int? a = 22;
int b = 20;
int? c = a + b; // currently we don't allow this.

If any operand of + is nil, result should be nil.


This is charge, an original turn based mini game where you use items to outsmart your enemy, Bob

How to play your game?

press A/D to move and s to select and play your item, press k to restart the game

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)

[x ] The image is in the /games/img directory.
[ x] The name of the image matches the name of your file. Example: sokoban_plus.js -> sokoban_plus.png.

Good luck and  have fun ( and be sure to try out hard mode too )

Awesome. Thanks for the speedy merge


PDF Resolution (PPI)

How does this handle PDF Resolution? My best guess is its defaulting to 96 PPI? E.g. what if I wanted to process the PDF and convert with a resolution of 300 PPI 3in x 3in.
There can be some pretty high detailed print-ready pdf documents that can lose detail if we can't control the resolution.

Hi @daviss92, this is a duplicate of #22. There was some work to add a scale parameter here but there are some outstanding issues with the PR.


call recording feature

Hi,
Could this code support server side call recording? If yes, can you share a sample code with us?

This is just a sample code of the official MediaSoup package, that aims to make it easier to adopt the MediaSoup. It covers just basic things that related to streaming. You need to refer to the official MediaSoup project for any other stuff.
AFAIK, there is no official support for recording. But MediaSoup allows you to access raw RTP packets, which you can handle as you want.
Here are some references:
https://groups.google.com/forum/#!topic/mediasoup/3FOeMbM8SHQ


Validation for Array of Models fails

from typing import List
from flask_pydantic import validate

api = Blueprint("lineage-collector", __name__)

class EntityPayload(BaseModel):
    attributes: dict
    typeName: str

class EntityPayloadBulk(BaseModel):
    __root__:  List[EntityPayload]

@api.route('/entity/bulk', methods=["POST"])
@validate()
def entity_bulk(body: EntityPayloadBulk):
    return "Hello World"

Call to this endpoint returns the following error:

`  File "/usr/local/lib/python3.9/site-packages/flask_pydantic/core.py", line 158, in wrapper
b = body_model(**body_params)
TypeError: api.routes.EntityPayloadBulk() argument after ** must be a mapping, not list
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2464, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python3.9/site-packages/flask_pydantic/core.py", line 164, in wrapper
raise JsonBodyParsingError()
flask_pydantic.exceptions.JsonBodyParsingError`

Hi,
Thank you for pointing out. To be honest I did not know about pydantic's custom root types using __root__ attribute. I will modify functionality to take care of them.
Jirka

Hi,
Thank you for pointing out. To be honest I did not know about pydantic's custom root types using __root__ attribute. I will modify functionality to take care of them.
Jirka

I added this feature to support as many pydantic's feature as possible.
However I strongly encourage you not to use custom root types.
The preferred way of achieving the same result is using validate's request_body_many attribute
from typing import List
from flask_pydantic import validate

api = Blueprint("lineage-collector", __name__)

class EntityPayload(BaseModel):
    attributes: dict
    typeName: str

@api.route('/entity/bulk', methods=["POST"])
@validate(request_body_many=True)
def entity_bulk(body: EntityPayload):
    return "Hello World"

I added this feature to support as many pydantic's feature as possible.
However I strongly encourage you not to use custom root types.
The preferred way of achieving the same result is using validate's request_body_many attribute
from typing import List
from flask_pydantic import validate

api = Blueprint("lineage-collector", __name__)

class EntityPayload(BaseModel):
    attributes: dict
    typeName: str

@api.route('/entity/bulk', methods=["POST"])
@validate(request_body_many=True)
def entity_bulk(body: EntityPayload):
    return "Hello World"

I think using List[EntityPayload] will be better, like
def entity_bulk(body: List[EntityPayload]):
By using request_body_many=True we get an array of EntityPayload in body, not an object of EntityPayload. This messes up autocomplete in IDEs.


Fix linking with Office 365

Addresses two issues preventing Office 365 integration from working. Fixed in this PR:

Require only one version of accounts-office365
Correctly use Office365 global variable added by accounts-office365

I did a quick run through with a test account to verify that it works after the above changes.

@gwhobbs Thanks for the fix! I have fixed the issues in the latest release (before I even saw your PR, my apologies) in a bit different way. I prefer referring to the package directly rather than via global var.


Add Maintenance cmdlets, unit tests, refactor to folders

Added maintenance functions (New \ Get \ Remove)
Added unit tests for the functions needed immediately and refactored to separate files to simplify debugging and maintenance. Fixed small bugs as the unit tests exposed them.
Moved the sprawl of files into subfolders to keep the top level clean.
Refactored the Zbx prefix into the function declarations to simplify maintenance.
Added install\uninstall scripts to simplify dev and testing.
Moved existing test into end-to-end test folder.

Thanks for the huge work. I like the "one method per file" change. However, I think hard coding the prefix is a regression - I have actually been in contexts where we had prefix collisions (not with this module, but I am now prudent on that matter). So this is one change I would like to revert.

Hi @marcanpilami,
we're using your module because it's handy and more "powershelly" (thanks!) than others we've hade a look on.
I would really appriciate to see @doglefts maintanance-extensions going into the official branch.
What's left? Can I assist you in fixing those things?
Additionally I would like to make it able to run under Linux PS-Core.
As a start I adopted the pester tests to v5 syntax (in a local branch). Thus I could start to assist.
Regards, Wolfgang


Fix bug in align_acquires

Summary
There was a bug in align_acquires. Measurement pulses which were perfectly valid were causing an error to be raised. Measure stimulus pulses weren't being aligned with the Acquire pulses.
Details and comments
This rescheduling pass doesn't support multiple measurements or pulses after measurements. Had to track which channels were acquired/measured at what times, and allow one acquire and one measure on each channel, both of which would get scheduled at the same time.

Checked that it fixed the error I had before