Refactor browser logic to more universal approach

Hey toxicFork. Great work man!
One idea... Currently there are a lot of references to browser api methods in modules such as DevtoolsHelpers and webglRenderer. Refs and even requirements to things like console, window, document etc.
Also the Reconciler has a hard requirement of ReactDOM. There must be a better way of initializing the react context better without the fake dom node.
If this would be possible we could make r3r-fiber work with webgl ports in other platforms, such as react-native with react-native-webgl.
Currently working on refactoring the context construction with the recently released React.createContext api, but any ideas or i told you so's appreciated.

First of all, good idea!
Yes, currently the renderer is still very much tied to threejs' browser
implementation, but it should not be too difficult to identify parts of it
that can be disconnected and refactored, or modularised. For example we
could have a core module and a "threejs-browser" module and
"threejs-reactnative" module. Additionally things like dev tools and
console can be made to be turned on/off or mocked/replaced.

React.createContext api

The name of this excites me! Can you please link to relevant documentation
or resources you have found? It will help :)
On Thu, Feb 8, 2018, 00:57 Birkir Rafn Guðjónsson<EMAIL_ADDRESS>wrote:

Hey toxicFork. Great work man!
One idea... Currently there are a lot of references to browser api methods
in modules such as DevtoolsHelpers and webglRenderer. Refs and even
requirements to things like console, window, document etc.
Also the Reconciler has a hard requirement of ReactDOM. There must be a
better way of initializing the react context better without the fake dom
node.
If this would be possible we could make r3r-fiber work with webgl ports in
other platforms, such as react-native with react-native-webgl.
Currently working on refactoring the context construction with the
recently released context api.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/toxicFork/react-three-renderer-fiber/issues/54, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA0iLe2l_ZzlouVbwR45x5GY229yBZshks5tSkZ4gaJpZM4R9ouj
.

Awesome! Here is a blog post taking on the new (undocumented) createContext api.
https://blog.kentcdodds.com/reacts--new-context-api-70c9fe01596b

Here are the changes I had to make to react-three-renderer-fiber just to make it compile/bundle for react-native.
https://gist.github.com/birkir/c86b315df390fe485b76d96c0ffe4545
Here is a repo with it fully working, but it won't react to state changes because there isn't any context.
https://github.com/birkir/react-native-three-renderer
I am too unfamiliar with the codebase to create quality refactor PR so bear with me while I'm digging 😇


Add ability to run the XLA unit tests against a different device

This is a squashed version of https://github.com/tensorflow/tensorflow/pull/9409

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Hi all.  I wonder if you might consider this patch again?  Just trying to clear the many diffs between my version of TF and the public one.

@hawkinsp could you give this another look? Thanks.

@hawkinsp hi.  I wonder if this can be merged now?

Jenkins, test this please


Need offical images from SUSE

In the same way that CentOS and RHEL are different, openSUSE and SUSE are different :)
The correct place for openSUSE images would be registry.opensuse.org not registry.suse.com (which would be the correct place for SLE / SUSE images)
On registry.opensuse.org, because openSUSE doesn't have a distribution named openSUSE, we don't have a container named opensuse either :)
The official openSUSE base containers are as follows
registry.opensuse.org/opensuse/tumbleweed - regular base container based on Tumbleweed
registry.opensuse.org/opensuse/busybox - trimmed down minimal container based on Tumbleweed
registry.opensuse.org/opensuse/leap - regular base container based on Leap
These are the 3 that I would say make the most sense to be included in this project.
There's also a whole bunch of official service containers in the registry.opensuse.org/opensuse namespace for stuff such as haproxy, redis, nginx, etc, but that's probably stretching things beyond the scope of this effort, right?

@sysrich I would like to get the list of suse images.
If a user does
podman pull suse
podman pull sle15
We need someone to open a PR with this repo giving us the list of image shortnames that SUSE/OpenSUSE would like to claim.

BTW I know there is a difference between OpenSUSE and SUSE.  Did not mean to make them seem the same.

Closing as SUSE images are now covered.


Shouldn't we disable the null last feature by default (in config)

If not we should change the doc.

Thanks. fixed.


Support PathBase (#214).

Using ServerAddress.Path as PathBase. Had to change ServerAddress to not allow Path to be / or end with a /, since we don't want that for PathBase.
I'm in doubt about the difference between a request to /foo and /foo/ when PathBase is /foo. Should Path be empty in the first case (which OWIN allows) and / in the second case, or should it be / in both cases? I tried forcing it to be / in both cases but that caused some functional tests to fail.
I'd appreciate some input on this.
#214
cc @Tratcher @halter73 @davidfowl

Follow up on my original comment: WebListener sets Path to / when the request URL ends with a trailing slash, but leaves it empty when it doesn't. That's the current behavior I have for Kestrel in this PR.

Ping.

:+1: on the tests. Good luck with the perf. /cc: @benaadams

:+1: on the tests

I've stepped away from using iterators to do the path base comparison. The code started looking quite messy when I included UTF-8 characters in the game.
Since I already have a decoded string for the whole request URL, I'm simply using that to compare against _pathBase. I did a quick check to make sure that the new code doesn't significantly impact our requests per seconds and it's not the case.
I see little advantage in using iterators anyways, since what we're trying to optimize for is reduced string allocations. With iterators or not we still have to allocate a new string if the path base in the request doesn't match case with the registered path base. And we will always have to allocate a new string for the path.

Squash this.

@halter73 Done :+1:

@davidfowl @cesarbs explained to me that doing an iterator based comparison against pathbase made no measurable improvement in RPS (using wrk) over the PR as it currently stands.
Given your aversion to complicating the codebase for no rps/memory gains, I assume your fine with taking this PR as is? Technically, we might be able to reduce allocations if the full path is exactly equal to the PathBase, but I'm not sure if that is worth special casing to remove one string allocation per impacted request.
We could always look at improving the performance of this down the road.

:shipit:

:shipit:
/cc @DamianEdwards measure when this is merged


Fix no-superflous-tags rule not working with examples and change the …

…rule to report an error for each tag that violates it, instead of 1 error per tag line
Fixes: 167

Pull Request Test Coverage Report for Build 469

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 97.497%

Totals

Change from base Build 466:
-0.008%

Covered Lines:
634

Relevant Lines:
643

💛  - Coveralls

Pull Request Test Coverage Report for Build 469

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 97.497%

Totals

Change from base Build 466:
-0.008%

Covered Lines:
634

Relevant Lines:
643

💛  - Coveralls

Pull Request Test Coverage Report for Build 469

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 97.497%

Totals

Change from base Build 466:
-0.008%

Covered Lines:
634

Relevant Lines:
643

💛  - Coveralls


Implemented Missions Page

Changes | ⚔

🌮  Tasks Completed:

[ ] Fetching missions data from API 🐺
[ ] User can see the list of missions 🐺
[ ] User can reserve and cancel the missions 🐺
[ ] User can see the updates of the UI immediately 🐺
Good Job We can merge it to develop branch.


[bazel] cleanup opentitan_functest to promote code-reuse

A review comment in #11787 suggested the opentitan_functest rule could benefit from some refactoring to promote code reuse. This does so, and fixes #11805.
Note: this depends on #11835.

Can you rerun the mask rom tests? it looks like this made it fail in CI. Let me know if it looks like CI is misbehaving.

Can you rerun the mask rom tests? it looks like this made it fail in CI. Let me know if it looks like CI is misbehaving.

Fixed.

PR dependency merged.


grid_connected sensor showing problem

Issue related to
Sunsynk / mbusd Home Assistant Add-On
grid_connected sensor showing problem
the sensor grid_connected is changing between problem, ok, and unavailable
Expected behavior
I expected to show ok?
Your environment

Home Assistant version: 2022.2.8
Addon version:2023.08.17-0.5.3
Inverter make: Sunsynk.

These error seems related to the umodbus driver

Same issue here...
`DRIVER: umodbus
INVERTERS:

SERIAL_NR: "123"
HA_PREFIX: SS
MODBUS_ID: 1
PORT: serial:///dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
SENSOR_DEFINITIONS: single-phase
SENSORS:
total_battery_charge
total_battery_discharge
total_grid_import
total_grid_export
battery_soc
battery_temperature
battery_voltage
battery_power
battery_current
non_essential_power
inverter_power
inverter_voltage
inverter_frequency
inverter_current
essential_power
grid_voltage
grid_power
grid_current
grid_frequency
grid_ct_power
overall_state
fault
environment_temperature
dc_transformer_temperature
radiator_temperature
day_active_energy
day_battery_charge
day_battery_discharge
day_grid_export
day_grid_import
day_load_energy
day_pv_energy
day_reactive_energy
month_grid_energy
month_load_energy
month_pv_energy
total_active_energy
total_load_energy
total_pv_energy
year_grid_export
year_load_energy
year_pv_energy
load_power
PV1_power
PV2_power
PV1_voltage
PV2_voltage
PV1_current
PV2_current
Prog1_Time
Prog2_Time
Prog3_Time
Prog4_Time
Prog5_Time
Prog6_Time
Prog1_power
Prog2_power
Prog3_power
Prog4_power
Prog5_power
Prog6_power
Prog1_Capacity
Prog2_Capacity
Prog3_Capacity
Prog4_Capacity
Prog5_Capacity
Prog6_Capacity
Prog1_charge
Prog2_charge
Prog3_charge
Prog4_charge
Prog5_charge
Prog6_charge
Prog1_mode
Prog2_mode
Prog3_mode
Prog4_mode
Prog5_mode
Prog6_mode
Use_Timer
Priority_Load
AUX_power
grid_connected
SENSORS_FIRST_INVERTER: []
MANUFACTURER: SS
READ_ALLOW_GAP: 5
READ_SENSORS_BATCH_SIZE: 60
SCHEDULES:
KEY: W
READ_EVERY: 5
REPORT_EVERY: 60
CHANGE_ANY: false
CHANGE_BY: 80
CHANGE_PERCENT: 0
NUMBER_ENTITY_MODE: auto
MQTT_HOST: core-mosquitto
MQTT_PORT: 1883
MQTT_USERNAME: mosquittomqtt
MQTT_PASSWORD: 12345
DEBUG: 0
DEBUG_DEVICE: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
`

Same issue here.
Might be because it is set as "device_class: problem". So when it is on the status shows problem and when it is off, status is ok.

Same issue here.
Might be because it is set as "device_class: problem". So when it is on the status shows "problem" and when it is off, status is "ok"

🤦♂ its inverted. Thx.
will remove “problem” class as the sensors work well with the power flow card

Phew at least it's nothing serious haha :-) Thank you!

Will be in the next release


Update seraph.js

Update of _createNodeObject to address overwriting of ['id'] property of the object. Currently if the object in the database has property named ID that is not the internal ID assigned to the node, the function overwrites it with internal ID. This quick fix checks to see if ID already exists, if it doesn't it allows the internal ID to be used.

I'm not sure I entirely agree with this implementation. After reading an object from the database with a pre-set id property, you would not be able to save it back again without creating an entirely new and separate node. Seraph (and neo4j) relies on there being an id property to refer to existing nodes. If you want to change the name of the property that is used as id, you can do that by changing options.id to something else as documented here.

Yes I totally missed that in the docs. Thanx


Broken links in help section

Right now site https://bitshares.org/wallet/#/help is useless.
I guess it suppose to used texts from https://github.com/cryptonomex/graphene-ui/blob/master/help/en/index.md
Unfortunately all link redirects to https://bitshares.org/
Expected result:
All links should open proper section, i.e.:
https://bitshares.org/wallet/introduction/bitshares.md
should open
https://github.com/cryptonomex/graphene-ui/blob/master/help/en/introduction/bitshares.md in the browser
etc.

@valzav Is it right, that this ticket can be closed now?


Issues with example

The example http://reactdropzone.azurewebsites.net/example/ doesn't display on Firefox 40 and will crash Chrome 45 if anything but small files are dropped.

Hey, I can't reproduce your issues with the upload - the sample is served by a mini Node server that might break if you do anything serious, but it should work just fine. I just tested with a 10mb and 1gb, which was okay.
Thanks for telling me about the Firefox issue though! Somehow, some ES6 (unsupported by Firefox) made it into the example - that's now fixed. Thanks again!

Turns out it's a problem with your component, but with dropzone.js and Windows 7 64 bit: https://github.com/enyo/dropzone/issues/568


Thermostat setting is reverting to set temperature

The thermostat (model ONE X ) is reading the actual and set temperature perfectly, but chaging the set temperature is not working, approx. after 3 seconds after a change of the temperature it reverts back to the previously set temperature.

@tigrrr I think it will actually end up setting / reflecting the correct temperature selected but because there is a delay of 2.5 to 15 minutes before it gets applied on the device itself it jumps back awaiting for it to happen. Let me think how to better handle this code wise.

@dynasticorpheus I retested using both UI options - setting of the target temperature is not posible on my side.
3 seconds after setting the target temp, the number goes from red to black. 3 seconds later, the black number gets updated and jumps back to the initial value.


controlling several android tvs from a single laptop

i want to open a link in more than one android tv using only my laptop

i want to open a link in more than one android tv using only my laptop


Update PHOENIX data to use API instead of CSV file

The API appears to be called CKAN. CKAN data loader needs to be added.
Example: https://phoenixopendata.com/dataset/ois/resource/24fe89fb-9d4f-4fba-8b40-9330a5f7d9e7
Click Data API button.

Boston uses this too: https://data.boston.gov/

San Jose also uses CKAN: https://data.sanjoseca.gov/dataset?q=police

Milwaukee: https://data.milwaukee.gov/dataset/fpc-citizen-complaints

Santa Monica: https://data.santamonica.gov/dataset/police-incidents/resource/ff0f4877-3731-4476-b2ca-065f5819bf12


Percent encoding payload

UrlFetchApp.fetch(url, params) does not encode params.payload properly.
So, Twitter's POST statuses/update API (https://api.twitter.com/1.1/statuses/update.json) always fail with error response {"errors":[{"message":"Could not authenticate you","code":32}]} .

I signed it!
2015-04-14 20:58 GMT+09:00 googlebot<EMAIL_ADDRESS>
Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project, in which case you'll need to
sign a Contributor License Agreement (CLA).
[image: :memo:] Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the
company's name.

—
Reply to this email directly or view it on GitHub
https://github.com/googlesamples/apps-script-oauth1/pull/6#issuecomment-92782223
.

UrlFetchApp does encode the payload automatically, it just doesn't use the stricter RFC 3986 encoding that twitter requires. I'd rather leave the encoding as-is and have the client perform extra encoding on their input if needed. For example, you can do this for the Twitter API with code like this:
function makeRequest(service) {
  var status = 'It\'s a tweet!';
  var url = 'https://api.twitter.com/1.1/statuses/update.json';
  var payload = {
    status: 'It\'s a tweet!'
  };
  payload = Object.keys(payload).map(function(key) {
    return encodeRfc3986(key) + '=' + encodeRfc3986(payload[key]);
  }).join('&');
  var response = service.fetch(url, {
    method: 'post',
    payload: payload,
    escaping: false
  });
  return JSON.parse(response.getContentText());
}

function encodeRfc3986(str) {
  return encodeURIComponent(str).replace(/[!'()]/g, function(char) {
    return escape(char);
  }).replace(/\*/g, "%2A");
}

The other problem with your PR is that you assume the payload being passed in is always a JavaScript object that needs to be percent encoded. It may be that the payload is a string, binary content, etc.

I got it. thank you for your kind replay!


How can I check based on what version of this template a project was generated?

According to the comments?
Well, in my opinion, this is just a template, you should make your own modification in your project.


Update PDK parameters for global placement and global routing

Prompt
Update PDK parameters for global placement and global routing
Proposal
Efabless should study these changes to the default parameters in global placement padding fastroute parameters which we found improve results.
Alternatives
None

Routing adjustments added to #856, cell pad thing I think needs a dedicated PR

Padding now matches ORFS.


Foundry Install Fail - No Valid manifest file.

Installation failed: The request to https://raw.githubusercontent.com/ian612/sfrpgbb/main/system.js did not provide a valid manifest file.

The manifest file should have had a .json file extension, not .js
Issue has been corrected, and install should work, now


Toolbar not showing controls

Hello,
I have implemented Medium editor in my one of blogging site.
It was working very good till last week. Last week suddenly toolbar stopped showing controls.
I just want to know anyone of you know the reason why this happened?
Please help me to solve this. see the snapshot attached.
This is not a browser specific issue, its not working in any browser.

Did you include the css for FontAwesome?

Yes I included,

Got the solution.
Actually my site is running on HTTPS and the url I included was from HTTP.
So the file was not loading. Due to that I was facing the issue.
Thank you so much for making a wonder full editor... :)


Hello

Will you give out a pretrained model for this dataset? Thanks!

Thank you for your interest. I failed the training, but since you requested it, I have uploaded the model.
https://huggingface.co/Bingsu/speecht5_test
The data is restricted by licence.

@Bing-su this is my personal account. I am working on something similar and would like to try training the dataset. Do you want to connect on discord?

sure


Feature/289 course connections

Critical Changes
Changes
Issues Closed
Fixes #289 .
Fixes #290 .

@ceiroa This is ready for code review. I will be doing string review with Doc later today so it is not completely ready to merge yet but I wanted to give you as much time as possible to start reviewing. I did not have time to bring Issue #292 into this because it will take a large refactoring of the previous logic. You will also need the latest CumulucCI version to deploy this code.
I also need to finish up the Critical Changes and Changes for release notes. We should meet later about it.

@ceiroa This is ready again. I still need to finish the release notes.


Memory requirements of collector/query/web services

There are no memory args specified in run.sh file of collector/query/web services.
It would be good to document minimum memory requirement for these services to help users setting up Zipkin in production.

Want to help try and determine this? I suspect if you add -verbose:gc and
then use this for a while, you'll find out what the heap needs to be. Obv
this will be just one datapoint as volume of spans will impact this
significantly.

Is there any benchmark script that can be used to generate spans?

Nope. Just this https://github.com/openzipkin/zipkin-java/issues/45
Even if there were, it is still completely up to instrumentation what they
log (ex some cases a single annotation is 2KB). Add to that the fact that
people do scaling differently, ex some use one big instance. Finally, each
storage backend will have different processing and encoding overhead.
Maybe just start with what you find from -verbose:gc and localize heap
settings until you find what's right? Production environments are somewhat
snowflakey.
If you are interested in benchmarking, would love a hand. Let's just make
sure these are based on real usage patterns, ex by interviewing others if
your zipkin isn't live.

Not a benchmark, but there is bin/tracegen in this project and also
adrianco/spigo can generate span data which can be posted via json.
The collector accepts spans from kafka and scribe, and the query server
accepts via HTTP post. Each could be considered its own benchmark suite.
My 2p is conserve energy for the architecture you actually plan to use, and
don't assume the memory args will be useful to others.

Is there a way to set the Xmx and Xms

Both here and in the replacement docker repo (
https://github.com/openzipkin/docker-zipkin-java), you can set the env
variable JAVA_OPTS with heap arguments


Clean working directory when Project is deleted

When a project is deleted via the REST API, the project is currently only deleted from the database.
Additionally, the deleted project's git clone should also be deleted from the working directory. Otherwise, if you create a new project with the same name, the old got clone will be used.
Additional Infos:

the working directory is configured using the configuration parameter coderadar.workdir
the class ProjectDeleter is responsible for deleting a project.

Project deletion functions properly now.


Inaccurate documentation for randf

The documentation of randf() currently says:
Returns a random floating point value between 0 and 1.
This wording sounds like (0.0, 1.0) - I am assuming the function actually returns [0.0, 1.0), as is normal for random float generation.
I suggest someone who can verify what exactly randf() returns updates the documentation to be more precise, i.e.
Returns a random floating point value in the range [0.0, 1.0)

For anything resulting of floating-point operations, it doesn't make much difference whether you include or exclude the bounds. In any case, you can't rely on the fact that the method would give you a round value.

I think this issue can be closed


docs: note on how to customize the patches directory

I had to do this internally and I figured it's worth documenting upstream so others can know how to do this in a native way

Type of change

Documentation (updates to documentation or READMEs)

Test plan
None

Done!

Rebased and force pushed


Mobile header adjustments

This PR adjusts the header on mobile so it shows all the links and there's no horizontal scrolling.
before (current):

after:

after (gif):

Nice.


driverMetadata: respect both minor and major k8s versions

https://github.com/rancher/rancher/issues/21556
https://github.com/rancher/rancher/issues/21553

LGTM


Some slow-odgi tests failing

Probably minor, but something bad has slipped through. It should not be too hard to dive in and check where things went awry. It happened in the last couple days for sure.
Originally posted by @anshumanmohan in https://github.com/cucapra/pollen/issues/118#issuecomment-1634672473

After updating turnt via python3.9 -m pip install turnt --upgrade, more of the tests are passing than before, but all of the flip and validate tests are failing! In both cases, there seems to be an issue with links getting dropped. Here are the diffs for note5.gfa:
Flip:
--- test/note5.flip	2023-07-13 00:13:02.639008800 -0400
+++ /tmp/tmp2grt3jme	2023-07-13 14:14:10.173015133 -0400
@@ -5,7 +5,3 @@
 S	4	TCTCAGG
 P	5	1+,3+,4+	*
 P	5-	1+,3-,4+	*
-L	1	+	3	-	0M
-L	1	+	3	+	0M
-L	3	-	4	+	0M
-L	3	+	4	+	0M

Validate:
--- test/note5.validate	2023-07-12 23:47:57.249831362 -0400
+++ /tmp/tmpr7k6mmy9	2023-07-13 14:44:22.553493140 -0400
@@ -0,0 +1,4 @@
+[odgi::validate] error: the path 5 does not respect the graph topology: the link 1+,3+ is missing.
+[odgi::validate] error: the path 5 does not respect the graph topology: the link 3+,4+ is missing.
+[odgi::validate] error: the path 5- does not respect the graph topology: the link 1+,3- is missing.
+[odgi::validate] error: the path 5- does not respect the graph topology: the link 3-,4+ is missing.

That's odd! I will look into this more deeply, but one quick thing to try: just rerun make slow-odgi-setup ; make slow-odgi-oracles to ensure that all the auxiliary files are up to date?

Susan is your slow-odgi itself current? Do you need to run path/to/pollen/slow_odgi$ python3 -m pip install --user -e ../mygfa .?

I just ran this on Havarti using the latest turnt and the following commit of odgi:
/path/to/odgi$ git show --oneline -s
7b09e802 (HEAD -> master, origin/master, origin/HEAD) Merge pull request #500 from aryarm/master

test-slow-odgi worked cleanly.
I noticed, however, that this was not running all the targets under slow-odgi-tests. It was running the first only, not all four.slow-odgi-tests:
    turnt -j $(TEST_ENVS:%=--env %) test/*.gfa
    turnt -j --env validate_test_err test/invalid/*.gfa
    turnt -j --env crush_test test/handmade/crush*.gfa
    turnt -j --env flip_test test/handmade/flip*.gfa

I ran the other three by hand. While flip and crush worked great, I had an issue with invalid:not ok 1 - test/invalid/chr6.C4.gfa validate_test_err
# exit code: 0, expected: 1

I had this for all eight files. The fix was to go into turnt.toml and change the environment validate_test_err. I don't think it needs the return_code = 1 flag, because slow-odgi currently considers it a graceful run if it is passed an invalid graph and it can point out issues with the validity of the graph.

@sampsyo please let me know if you can recreate this! The fact that it's running only part of the recipe seems very strange to me, and I'm 90% sure that it's me who's being silly, not make.

Oops; thanks for pointing out the issue where we weren't running everything! And the problem with the invalid tests expecting the wrong error code, which was masked by that. PR incoming shortly!


Need a synchronousresponse->write()

I have a handler where I want to shut the server down once I've written a response... for example:
_server.resource["^/shutdown$"]["GET"] =
    [&](std::shared_ptr<HttpServer::Response> response, std::shared_ptr<HttpServer::Request> request)
    {
        std::stringstream stream;
        stream << "
Shutting down!
";
        response->write(stream);
        _server.stop();
    };

The problem is that response->write(stream); returns immediately. Is there a synchronous way of doing this?

You can do like this:
HttpServer _server;
_server.config.port = 8080;
_server.resource["^/shutdown$"]["GET"] = [&](std::shared_ptr<HttpServer::Response> response,
                                             std::shared_ptr<HttpServer::Request> /*request*/) {
  response->write("
Shutting down!
"); // Write to stream
  response->send([&](const SimpleWeb::error_code & /*ec*/) { // Send stream over network
    _server.stop(); // When send has finished, successful or not, stop the server
  });
};
_server.start();
return 0;


A custom game should have its own 404 + error pages

https://github.com/gregorybesson/PlaygroundGame/releases/tag/2.9.0


Why do not create a KDE plugin for Leon ?

Feature Proposal
Why to not create a KDE plugin to use Leon as a Siri from your desktop environnement ?
I'm thinking about to create a little KDE plugin to use Leon from your desktop environnement as Siri :
What do you think of this idea ? Should I do it ?

#167

Duplicate?
I think this is a (more specific) duplicate of #32. Should this be closed as a duplicate?


engines in dropdown should be in alphabetic order.

I'm submitting a ...

[ ] bug report
[x] feature request

Current behavior:

Its random.
Expected behavior:

with Alphabetic order, should be the list of engines
Steps to reproduce:
Go to http://query-server.herokuapp.com/, open engine dropdown.

I am working on it.

Hi Rupa,
This is a beginner friendly issue. Please work on advance issue to make
this app stable
On 12-Feb-2018 10:20 AM, "rupav jain"<EMAIL_ADDRESS>wrote:

I am working on it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/query-server/issues/501#issuecomment-364828747,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AITVajRvPSzNx6j1LrWYjc6z0y-cJ5sJks5tT8MkgaJpZM4SBsXt
.


Add cross-env for Windows

Hey @narian. Thanks for your PR!
I‘m not sure why cross-env helps because all parameters are still being read with minimist.
But you also changed paths in the package
json. Maybe this is already the fix for Windows? I do not have a Windows PC for testing at the moment. Maybe you could check this? Thanks.

Closed because of #50.


only bind demographics module for pids present in task data

The way the demographics report is generated, it usually contains data for more pids than might be in our task data (for example sub_00x is in demographics data, but doesn't have any task data). Can we make it so that when the demo data binds to task data, it only happens for pids that are present in the task data?
To illustrate with merge because that's what I know how to use best we'd want:
merge(task data, demo data, by="bid short", all.x=T
NOT
merge(task data, demo data, by="bid short", all=T) which is what the output looks like now.
Hopefully that made sense....

➤ Jessica Younger commented:
Let me know if the description turns up in the github issue or if I need to put it in a comment here

Quick update: the description WILL edit in Github if you change it in Asana. So you can keep on keeping on in Asana!
This ask makes sense to me 👍 I'm actually kind of surprised that this isn't already the default behavior. It should be an easy change in the joining parameters to use the task data as the master and discard unmatched pids in the demos.


Add instruction for AWS Codecommit integration

Description of changes:
Add instruction for AWS Codecommit integration
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

It would be useful to have CodeCommit example, as using this text I was able to spot that I miss YOUR_SSH_KEY_ID in the URL and getting ssh: unable to authenticate errors. However I agree that this contribution requires redaction and polishing.


Add scrolling/zooming feature for VQGAN-CLIP

Since this feature required updating the Python environment, added a reminder to users to upgrade if opencv cannot be imported on start


BROOKLYN-267: test for brooklyn.parameters inheritance

Nice test 👍.  Would it be valuable to add variants that mutate the config value, e.g. if the app overrides the value from the root, and then demonstrating the child 'inheriting' the mutated value?

@geomacy thanks for the review. Agree we can add more tests, including for overriding config etc. But I won't do that just now.

The build error looks unrelated:
[ERROR] Failed to execute goal on project brooklyn-rest-api: Could not resolve dependencies for project org.apache.brooklyn:brooklyn-rest-api:jar:0.10.0-SNAPSHOT: Could not find artifact org.apache.brooklyn:brooklyn-jsgui:jar:tests:0.10.0-SNAPSHOT in Nexus (http://repository.apache.org/snapshots) -> [Help 1]

I'm guessing that is down to some strange build environment thing. Maybe something else was messing with the maven local cache for brooklyn-rest-api while this was being compiled? Or is our build order and dependencies messed up, with brooklyn-rest-api depending on brooklyn-jsgui for tests?!
Merging this PR now anyway.


Find workspace root by searching upward for relevant paths

This brings the behavior in line with how codeium.vim does it. I just copied the list of paths to look from from there as well.
This also updates get_relative_path to find the relative path from the workspace root rather than the existing behavior which actually just returned the absolute filename.
While doing that I discovered that passing a relative workspace_uri to the RefreshContextForIdeAction allows the chat to properly locate the active file when it starts up, but will crash the LS so for now it's using relative_path_migrate_me_to_workspace_uri.
I'm not yet sure what the proper fix for that is.
Closes #244

Ok I think this is looking good now. I implemented a 4-step process:

If provided, call an optional function to find the workspace root which can be provided to setup. I'm using this to ask coc.nvim for the workspace root in my config.
Query the LSP support for the workspace folders
Search upwards in the filesystem
Use the CWD


Add NonCopyable object to session

Dear drogon users,
any suggestions to store a NonCopyable object in the session? This goes against the requirements for the underlying std::any in SessionMap.
Any possibilities to extend the session as we do with Plugins?
I would need to store a complex concurrent data structure which is inherently only movable.
Thanks in advance for any help.
Alessio

You could add a smart-pointer of NonCopyable object to session.


De-duped some test functions.

Summary
In travis, some tests were applied more than once. This PR makes sure that those tests are only ran once.
Related Issues
PR Overview

[ ] This PR requires new unit tests [y/n] (make sure tests are included)
[ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[x] This PR is backwards compatible [y/n]
[ ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

This timeout is getting weirder and weirder. Now it's happening in the integration tests.

LGTM.


clangd hits assertion `Ancestor->getEntity() == CurContext && "ancestor context mismatch"'

Please describe the problem.
I'm using clangd to index LLVM source code in VSCode. It hits an assertion:
clang/lib/Sema/SemaDecl.cpp:1352: void clang::Sema::EnterDeclaratorContext(clang::Scope*, clang::DeclContext*): Assertion `Ancestor->getEntity() == CurContext && "ancestor context mismatch"' failed.

when processing LLVM source file clang/lib/CodeGen/CGStmtOpenMP.cpp.
I built clangd as part of LLVM of version llvmorg-13.0.0. Here is how I configured LLVM:
cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$HOME/.local/llvm-13.0.0 -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;lldb;compiler-rt;libcxx;libcxxabi;lld;clang-tools-extra" -DLLVM_TARGETS_TO_BUILD="host;NVPTX" -DLLVM_INSTALL_UTILS=ON -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_ENABLE_ASSERTIONS=ON -DCLANG_OPENMP_NVPTX_DEFAULT_ARCH=sm_75 -DLLVM_APPEND_VC_REV=OFF ../llvm-project/llvm

Logs
I[16:27:06.170] clangd version 13.0.1
I[16:27:06.170] Features: linux+debug
I[16:27:06.170] PID: 2833401
I[16:27:06.170] Working directory: /home/shiltian/Documents/vscode/llvm-project
I[16:27:06.170] argv[0]: /home/shiltian/.local/llvm/bin/clangd
I[16:27:06.170] argv[1]: --limit-results=0
I[16:27:06.170] argv[2]: --limit-references=0
I[16:27:06.170] argv[3]: --background-index
I[16:27:06.170] argv[4]: --all-scopes-completion=true
I[16:27:06.170] argv[5]: --log=verbose
V[16:27:06.170] User config file is /home/shiltian/.config/clangd/config.yaml
I[16:27:06.170] Starting LSP over stdin/stdout
V[16:27:06.171] <<< {"id":0,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"markdown":{"parser":"marked","version":"1.1.0"},"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"staleRequestSupport":{"cancel":true,"retryOnContentModified":["textDocument/semanticTokens/full","textDocument/semanticTokens/range","textDocument/semanticTokens/full/delta"]}},"textDocument":{"callHierarchy":{"dynamicRegistration":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"disabledSupport":true,"dynamicRegistration":true,"honorsChangeAnnotations":false,"isPreferredSupport":true,"resolveSupport":{"properties":["edit"]}},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"insertReplaceSupport":true,"insertTextModeSupport":{"valueSet":[1,2]},"labelDetailsSupport":true,"preselectSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true,"dynamicRegistration":true,"editsNearCursor":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":true,"labelSupport":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"linkedEditingRange":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"codeDescriptionSupport":true,"dataSupport":true,"relatedInformation":true,"tagSupport":{"valueSet":[1,2]},"versionSupport":false},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"honorsChangeAnnotations":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1},"selectionRange":{"dynamicRegistration":true},"semanticHighlightingCapabilities":{"semanticHighlighting":true},"semanticTokens":{"dynamicRegistration":true,"formats":["relative"],"multilineTokenSupport":false,"overlappingTokenSupport":false,"requests":{"full":{"delta":true},"range":true},"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"]},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"applyEdit":true,"codeLens":{"refreshSupport":true},"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true},"fileOperations":{"didCreate":true,"didDelete":true,"didRename":true,"dynamicRegistration":true,"willCreate":true,"willDelete":true,"willRename":true},"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"workspaceEdit":{"changeAnnotationSupport":{"groupsOnLabel":true},"documentChanges":true,"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"Visual Studio Code","version":"1.63.2"},"initializationOptions":{"clangdFileStatus":true,"fallbackFlags":[]},"locale":"en","processId":2825836,"rootPath":"/home/shiltian/Documents/vscode/llvm-project","rootUri":"file:///home/shiltian/Documents/vscode/llvm-project","trace":"off","workspaceFolders":[{"name":"llvm-project","uri":"file:///home/shiltian/Documents/vscode/llvm-project"}]}}

I[16:27:06.171] <-- initialize(0)
I[16:27:06.174] --> reply:initialize(0) 2 ms
V[16:27:06.174] >>> {"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","deprecated","deduced","readonly","static","abstract","dependentName","defaultLibrary","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 13.0.1 linux+debug x86_64-unknown-linux-gnu"}}}

V[16:27:06.180] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[16:27:06.180] <-- initialized
V[16:27:06.190] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"...","uri":"file:///home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp","version":1}}}

I[16:27:06.240] <-- textDocument/didOpen
I[16:27:06.237] Loaded compilation database from /home/shiltian/Documents/vscode/llvm-project/compile_commands.json
V[16:27:06.240] Broadcasting compilation database from /home/shiltian/Documents/vscode/llvm-project
I[16:27:06.241] ASTWorker building file /home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp version 3 with command inferred from /home/shiltian/Documents/vscode/llvm-project/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
[/home/shiltian/Documents/vscode/llvm-project/build]
/usr/bin/c++ --driver-mode=g++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/shiltian/Documents/vscode/llvm-project/build/lib/CodeGen -I/home/shiltian/Documents/vscode/llvm-project/llvm/lib/CodeGen -I/home/shiltian/Documents/vscode/llvm-project/build/include -I/home/shiltian/Documents/vscode/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -g -fno-exceptions -fno-rtti -c -std=c++14 -resource-dir=/home/shiltian/.local/llvm-13.0.0/lib/clang/13.0.1 -- /home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp
V[16:27:06.243] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -main-file-name CGStmtOpenMP.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64 -tune-cpu generic -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -fcoverage-compilation-dir=/home/shiltian/Documents/vscode/llvm-project/build -resource-dir /home/shiltian/.local/llvm-13.0.0/lib/clang/13.0.1 -D GTEST_HAS_RTTI=0 -D _DEBUG -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I /home/shiltian/Documents/vscode/llvm-project/build/lib/CodeGen -I /home/shiltian/Documents/vscode/llvm-project/llvm/lib/CodeGen -I /home/shiltian/Documents/vscode/llvm-project/build/include -I /home/shiltian/Documents/vscode/llvm-project/llvm/include -I/opt/cuda/11.4/include -I/home/shiltian/.local/llvm/include -I/home/shiltian/.local/include -I. -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11 -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/x86_64-redhat-linux -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/backward -internal-isystem /home/shiltian/.local/llvm-13.0.0/lib/clang/13.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/11/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -pedantic -std=c++14 -fdeprecated-macro -fdebug-compilation-dir=/home/shiltian/Documents/vscode/llvm-project/build -ferror-limit 19 -fvisibility-inlines-hidden -fno-rtti -fgnuc-version=4.2.1 -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp
I[16:27:06.244] --> textDocument/clangd.fileStatus
V[16:27:06.244] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, running Update (3)","uri":"file:///home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp"}}

V[16:27:06.244] Building first preamble for /home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp version 3
I[16:27:06.246] ASTWorker building file /home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp version 1 with command inferred from /home/shiltian/Documents/vscode/llvm-project/llvm/lib/Analysis/AliasAnalysis.cpp
[/home/shiltian/Documents/vscode/llvm-project/build]
/usr/bin/c++ --driver-mode=g++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/shiltian/Documents/vscode/llvm-project/build/lib/Analysis -I/home/shiltian/Documents/vscode/llvm-project/llvm/lib/Analysis -I/home/shiltian/Documents/vscode/llvm-project/build/include -I/home/shiltian/Documents/vscode/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -g -fno-exceptions -fno-rtti -c -std=c++14 -resource-dir=/home/shiltian/.local/llvm-13.0.0/lib/clang/13.0.1 -- /home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp
V[16:27:06.246] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:06.247] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:06.250] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:06.250] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -main-file-name SemaDecl.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64 -tune-cpu generic -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -fcoverage-compilation-dir=/home/shiltian/Documents/vscode/llvm-project/build -resource-dir /home/shiltian/.local/llvm-13.0.0/lib/clang/13.0.1 -D GTEST_HAS_RTTI=0 -D _DEBUG -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I /home/shiltian/Documents/vscode/llvm-project/build/lib/Analysis -I /home/shiltian/Documents/vscode/llvm-project/llvm/lib/Analysis -I /home/shiltian/Documents/vscode/llvm-project/build/include -I /home/shiltian/Documents/vscode/llvm-project/llvm/include -I/opt/cuda/11.4/include -I/home/shiltian/.local/llvm/include -I/home/shiltian/.local/include -I. -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11 -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/x86_64-redhat-linux -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/backward -internal-isystem /home/shiltian/.local/llvm-13.0.0/lib/clang/13.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/11/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -pedantic -std=c++14 -fdeprecated-macro -fdebug-compilation-dir=/home/shiltian/Documents/vscode/llvm-project/build -ferror-limit 19 -fvisibility-inlines-hidden -fno-rtti -fgnuc-version=4.2.1 -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp
I[16:27:06.250] --> textDocument/clangd.fileStatus
V[16:27:06.251] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, running Update (1)","uri":"file:///home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp"}}

V[16:27:06.251] Building first preamble for /home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp version 1
V[16:27:06.251] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:06.253] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:06.254] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:06.257] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:06.258] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
I[16:27:06.275] --> window/workDoneProgress/create(0)
V[16:27:06.275] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[16:27:06.275] Enqueueing 3178 commands for indexing
V[16:27:06.298] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[16:27:06.298] <-- reply(0)
I[16:27:06.298] --> $/progress
V[16:27:06.298] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[16:27:06.298] --> $/progress
V[16:27:06.298] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[16:27:06.430] Loaded compilation database from /home/shiltian/Documents/vscode/llvm-project/build/compile_commands.json
V[16:27:06.517] <<< {"id":1,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file:///home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp"}}}

I[16:27:06.517] <-- textDocument/semanticTokens/full(1)
V[16:27:06.517] <<< {"id":2,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file:///home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp"}}}

I[16:27:06.517] <-- textDocument/semanticTokens/full(2)
V[16:27:06.643] Dropped diagnostic: /home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp: in included file: too few template arguments for class template 'DenseMapInfo'
V[16:27:07.614] Dropped diagnostic: /home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp: in included file: too few template arguments for class template 'DenseMapInfo'
V[16:27:08.950] Dropped diagnostic: /home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp: in included file: unknown type name 'BitIntType'; did you mean 'ExtIntType'?
V[16:27:09.181] BackgroundIndex: building version 1 after loading index from disk
V[16:27:10.605] Dropped diagnostic: /home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp: in included file: no type named 'GVIDX' in namespace 'llvm::omp'
V[16:27:10.666] Dropped diagnostic: /home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp: in included file: unknown type name 'OMPMetaDirective'
V[16:27:12.037] indexed preamble AST for /home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp version 1:
  symbol slab: 65121 symbols, 18504460 bytes
  ref slab: 0 symbols, 0 refs, 128 bytes
  relations slab: 2353 relations, 69656 bytes
V[16:27:12.475] Build dynamic index for header symbols with estimated memory usage of 30811184 bytes
V[16:27:12.549] Built preamble of size 59687312 for file /home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp version 1
I[16:27:12.553] --> workspace/semanticTokens/refresh(1)
I[16:27:12.553] --> textDocument/clangd.fileStatus
V[16:27:12.553] >>> {"id":1,"jsonrpc":"2.0","method":"workspace/semanticTokens/refresh","params":null}

V[16:27:12.553] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, running Build AST for (1)","uri":"file:///home/shiltian/Documents/vscode/llvm-project/clang/lib/Sema/SemaDecl.cpp"}}

V[16:27:12.555] <<< {"id":1,"jsonrpc":"2.0","result":null}

I[16:27:12.555] <-- reply(1)
V[16:27:12.573] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:12.574] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:12.846] Trying to fix unresolved name "kw___ibm128" in scopes: [clang::tok::]
V[16:27:12.846] Dex query tree: false
V[16:27:12.915] BackgroundIndex: serving version 1 (525709602 bytes)
E[16:27:12.916] Background-index: Couldn't read /usr/include/c++/10/bits/locale_facets.tcc to validate stored index: No such file or directory
E[16:27:12.917] Background-index: Couldn't read /usr/include/c++/10/fstream to validate stored index: No such file or directory
E[16:27:12.917] Background-index: Couldn't read /usr/include/c++/10/bits/stl_deque.h to validate stored index: No such file or directory
E[16:27:12.917] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/cxxabi_tweaks.h to validate stored index: No such file or directory
E[16:27:12.918] Background-index: Couldn't read /usr/include/c++/10/bits/range_access.h to validate stored index: No such file or directory
E[16:27:12.918] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/Frontend/OpenMP/OMP.h.inc to validate stored index: No such file or directory
E[16:27:12.919] Background-index: Couldn't read /usr/include/c++/10/bits/char_traits.h to validate stored index: No such file or directory
E[16:27:12.920] Background-index: Couldn't read /usr/include/c++/10/bits/stl_bvector.h to validate stored index: No such file or directory
E[16:27:12.920] Background-index: Couldn't read /usr/include/c++/10/bits/std_abs.h to validate stored index: No such file or directory
E[16:27:12.922] Background-index: Couldn't read /usr/include/c++/10/bits/stream_iterator.h to validate stored index: No such file or directory
E[16:27:12.922] Background-index: Couldn't read /usr/include/c++/10/bits/exception_defines.h to validate stored index: No such file or directory
E[16:27:12.923] Background-index: Couldn't read /usr/include/c++/10/bits/std_function.h to validate stored index: No such file or directory
E[16:27:12.923] Background-index: Couldn't read /usr/include/c++/10/bits/nested_exception.h to validate stored index: No such file or directory
E[16:27:12.923] Background-index: Couldn't read /usr/include/c++/10/bits/stl_multimap.h to validate stored index: No such file or directory
E[16:27:12.924] Background-index: Couldn't read /usr/include/c++/10/bits/atomic_base.h to validate stored index: No such file or directory
E[16:27:12.924] Background-index: Couldn't read /usr/include/c++/10/bits/atomic_lockfree_defines.h to validate stored index: No such file or directory
E[16:27:12.924] Background-index: Couldn't read /usr/include/c++/10/queue to validate stored index: No such file or directory
E[16:27:12.925] Background-index: Couldn't read /usr/include/c++/10/random to validate stored index: No such file or directory
E[16:27:12.925] Background-index: Couldn't read /usr/include/c++/10/bits/cxxabi_init_exception.h to validate stored index: No such file or directory
E[16:27:12.925] Background-index: Couldn't read /usr/include/c++/10/bits/memoryfwd.h to validate stored index: No such file or directory
E[16:27:12.926] Background-index: Couldn't read /usr/include/c++/10/bits/stl_relops.h to validate stored index: No such file or directory
E[16:27:12.926] Background-index: Couldn't read /usr/include/c++/10/vector to validate stored index: No such file or directory
E[16:27:12.926] Background-index: Couldn't read /usr/include/c++/10/cwchar to validate stored index: No such file or directory
E[16:27:12.926] Background-index: Couldn't read /usr/include/c++/10/string to validate stored index: No such file or directory
E[16:27:12.926] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/Frontend/OpenACC/ACC.inc to validate stored index: No such file or directory
E[16:27:12.927] Background-index: Couldn't read /usr/include/c++/10/bits/atomic_futex.h to validate stored index: No such file or directory
E[16:27:12.928] Background-index: Couldn't read /usr/include/c++/10/stdexcept to validate stored index: No such file or directory
E[16:27:12.929] Background-index: Couldn't read /usr/include/c++/10/ext/aligned_buffer.h to validate stored index: No such file or directory
E[16:27:12.930] Background-index: Couldn't read /usr/include/c++/10/bitset to validate stored index: No such file or directory
E[16:27:12.930] Background-index: Couldn't read /usr/include/c++/10/bits/move.h to validate stored index: No such file or directory
E[16:27:12.930] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/IR/IntrinsicsX86.h to validate stored index: No such file or directory
E[16:27:12.930] Background-index: Couldn't read /home/shiltian/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/12.0.0/clangd_12.0.0/lib/clang/12.0.0/include/stdbool.h to validate stored index: No such file or directory
E[16:27:12.931] Background-index: Couldn't read /usr/include/c++/10/bits/cxxabi_forced.h to validate stored index: No such file or directory
E[16:27:12.931] Background-index: Couldn't read /usr/include/c++/10/unordered_set to validate stored index: No such file or directory
E[16:27:12.931] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/ctype_base.h to validate stored index: No such file or directory
E[16:27:12.931] Background-index: Couldn't read /usr/include/c++/10/bits/erase_if.h to validate stored index: No such file or directory
E[16:27:12.933] Background-index: Couldn't read /usr/include/c++/10/forward_list to validate stored index: No such file or directory
E[16:27:12.933] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/IR/IntrinsicsHexagon.h to validate stored index: No such file or directory
E[16:27:12.933] Background-index: Couldn't read /usr/include/c++/10/bits/functexcept.h to validate stored index: No such file or directory
E[16:27:12.933] Background-index: Couldn't read /usr/include/c++/10/bits/stl_list.h to validate stored index: No such file or directory
E[16:27:12.935] Background-index: Couldn't read /usr/include/c++/10/bits/stl_set.h to validate stored index: No such file or directory
E[16:27:12.937] Background-index: Couldn't read /usr/include/c++/10/array to validate stored index: No such file or directory
E[16:27:12.938] Background-index: Couldn't read /usr/include/c++/10/bits/range_cmp.h to validate stored index: No such file or directory
E[16:27:12.938] Background-index: Couldn't read /usr/include/c++/10/bits/forward_list.tcc to validate stored index: No such file or directory
E[16:27:12.938] Background-index: Couldn't read /usr/include/c++/10/math.h to validate stored index: No such file or directory
E[16:27:12.938] Background-index: Couldn't read /usr/include/c++/10/bits/list.tcc to validate stored index: No such file or directory
E[16:27:12.939] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/IR/IntrinsicsRISCV.h to validate stored index: No such file or directory
E[16:27:12.939] Background-index: Couldn't read /usr/include/c++/10/iterator to validate stored index: No such file or directory
E[16:27:12.939] Background-index: Couldn't read /usr/include/c++/10/bits/quoted_string.h to validate stored index: No such file or directory
E[16:27:12.941] Background-index: Couldn't read /usr/include/c++/10/bits/unique_lock.h to validate stored index: No such file or directory
E[16:27:12.941] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/Frontend/OpenACC/ACC.h.inc to validate stored index: No such file or directory
E[16:27:12.941] Background-index: Couldn't read /usr/include/c++/10/cstdarg to validate stored index: No such file or directory
E[16:27:12.942] Background-index: Couldn't read /home/shiltian/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/12.0.0/clangd_12.0.0/lib/clang/12.0.0/include/__stddef_max_align_t.h to validate stored index: No such file or directory
E[16:27:12.942] Background-index: Couldn't read /usr/include/c++/10/exception to validate stored index: No such file or directory
E[16:27:12.942] Background-index: Couldn't read /usr/include/c++/10/bits/hashtable.h to validate stored index: No such file or directory
E[16:27:12.943] Background-index: Couldn't read /usr/include/c++/10/bits/hashtable_policy.h to validate stored index: No such file or directory
E[16:27:12.943] Background-index: Couldn't read /home/shiltian/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/12.0.0/clangd_12.0.0/lib/clang/12.0.0/include/stdarg.h to validate stored index: No such file or directory
E[16:27:12.944] Background-index: Couldn't read /usr/include/c++/10/bits/basic_ios.tcc to validate stored index: No such file or directory
E[16:27:12.945] Background-index: Couldn't read /usr/include/c++/10/set to validate stored index: No such file or directory
E[16:27:12.945] Background-index: Couldn't read /usr/include/c++/10/type_traits to validate stored index: No such file or directory
E[16:27:12.946] Background-index: Couldn't read /usr/include/c++/10/bits/random.h to validate stored index: No such file or directory
E[16:27:12.946] Background-index: Couldn't read /usr/include/c++/10/bits/exception_ptr.h to validate stored index: No such file or directory
E[16:27:12.946] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/c++locale.h to validate stored index: No such file or directory
E[16:27:12.946] Background-index: Couldn't read /usr/include/c++/10/ext/atomicity.h to validate stored index: No such file or directory
E[16:27:12.947] Background-index: Couldn't read /home/shiltian/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/12.0.0/clangd_12.0.0/lib/clang/12.0.0/include/inttypes.h to validate stored index: No such file or directory
E[16:27:12.948] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/ctype_inline.h to validate stored index: No such file or directory
E[16:27:12.948] Background-index: Couldn't read /home/shiltian/Documents/vscode/llvm-project/llvm/utils/benchmark/include/benchmark/benchmark.h to validate stored index: No such file or directory
E[16:27:12.949] Background-index: Couldn't read /usr/include/c++/10/bits/allocated_ptr.h to validate stored index: No such file or directory
E[16:27:12.949] Background-index: Couldn't read /usr/include/c++/10/bits/stl_algobase.h to validate stored index: No such file or directory
E[16:27:12.949] Background-index: Couldn't read /usr/include/c++/10/locale to validate stored index: No such file or directory
E[16:27:12.950] Background-index: Couldn't read /usr/include/c++/10/bits/shared_ptr_base.h to validate stored index: No such file or directory
E[16:27:12.950] Background-index: Couldn't read /usr/include/c++/10/ext/new_allocator.h to validate stored index: No such file or directory
E[16:27:12.950] Background-index: Couldn't read /usr/include/c++/10/bits/localefwd.h to validate stored index: No such file or directory
E[16:27:12.951] Background-index: Couldn't read /usr/include/c++/10/bits/sstream.tcc to validate stored index: No such file or directory
E[16:27:12.951] Background-index: Couldn't read /usr/include/c++/10/bits/locale_conv.h to validate stored index: No such file or directory
E[16:27:12.952] Background-index: Couldn't read /usr/include/c++/10/list to validate stored index: No such file or directory
E[16:27:12.953] Background-index: Couldn't read /usr/include/c++/10/bits/basic_string.h to validate stored index: No such file or directory
E[16:27:12.953] Background-index: Couldn't read /usr/include/c++/10/bits/stl_vector.h to validate stored index: No such file or directory
E[16:27:12.953] Background-index: Couldn't read /usr/include/c++/10/streambuf to validate stored index: No such file or directory
E[16:27:12.953] Background-index: Couldn't read /usr/include/c++/10/bits/stl_heap.h to validate stored index: No such file or directory
E[16:27:12.954] Background-index: Couldn't read /usr/include/c++/10/atomic to validate stored index: No such file or directory
E[16:27:12.954] Background-index: Couldn't read /usr/include/c++/10/bits/uniform_int_dist.h to validate stored index: No such file or directory
E[16:27:12.955] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/cpu_defines.h to validate stored index: No such file or directory
E[16:27:12.955] Background-index: Couldn't read /usr/include/c++/10/sstream to validate stored index: No such file or directory
E[16:27:12.955] Background-index: Couldn't read /usr/include/c++/10/bits/shared_ptr.h to validate stored index: No such file or directory
E[16:27:12.955] Background-index: Couldn't read /usr/include/c++/10/bits/basic_ios.h to validate stored index: No such file or directory
E[16:27:12.955] Background-index: Couldn't read /home/shiltian/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/12.0.0/clangd_12.0.0/lib/clang/12.0.0/include/unwind.h to validate stored index: No such file or directory
E[16:27:12.957] Background-index: Couldn't read /usr/include/c++/10/bits/predefined_ops.h to validate stored index: No such file or directory
E[16:27:12.957] Background-index: Couldn't read /usr/include/c++/10/bits/algorithmfwd.h to validate stored index: No such file or directory
E[16:27:12.958] Background-index: Couldn't read /usr/include/c++/10/iostream to validate stored index: No such file or directory
E[16:27:12.960] Background-index: Couldn't read /usr/include/c++/10/bits/cpp_type_traits.h to validate stored index: No such file or directory
E[16:27:12.960] Background-index: Couldn't read /usr/include/c++/10/cstddef to validate stored index: No such file or directory
E[16:27:12.961] Background-index: Couldn't read /home/shiltian/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/12.0.0/clangd_12.0.0/lib/clang/12.0.0/include/stdint.h to validate stored index: No such file or directory
E[16:27:12.961] Background-index: Couldn't read /usr/include/c++/10/bits/ranges_uninitialized.h to validate stored index: No such file or directory
E[16:27:12.961] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/messages_members.h to validate stored index: No such file or directory
E[16:27:12.961] Background-index: Couldn't read /usr/include/c++/10/bits/stl_multiset.h to validate stored index: No such file or directory
E[16:27:12.962] Background-index: Couldn't read /usr/include/c++/10/bits/forward_list.h to validate stored index: No such file or directory
E[16:27:12.962] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/IR/IntrinsicsBPF.h to validate stored index: No such file or directory
E[16:27:12.962] Background-index: Couldn't read /usr/include/c++/10/ext/numeric_traits.h to validate stored index: No such file or directory
E[16:27:12.963] Background-index: Couldn't read /usr/include/c++/10/future to validate stored index: No such file or directory
E[16:27:12.963] Background-index: Couldn't read /usr/include/c++/10/csignal to validate stored index: No such file or directory
E[16:27:12.963] Background-index: Couldn't read /usr/include/c++/10/bits/locale_facets_nonio.h to validate stored index: No such file or directory
E[16:27:12.964] Background-index: Couldn't read /usr/include/c++/10/bits/locale_classes.h to validate stored index: No such file or directory
E[16:27:12.965] Background-index: Couldn't read /usr/include/c++/10/debug/debug.h to validate stored index: No such file or directory
E[16:27:12.965] Background-index: Couldn't read /usr/include/c++/10/bits/alloc_traits.h to validate stored index: No such file or directory
E[16:27:12.966] Background-index: Couldn't read /usr/include/c++/10/bits/locale_facets.h to validate stored index: No such file or directory
E[16:27:12.967] Background-index: Couldn't read /usr/include/c++/10/cstring to validate stored index: No such file or directory
E[16:27:12.970] Background-index: Couldn't read /usr/include/c++/10/bits/allocator.h to validate stored index: No such file or directory
E[16:27:12.970] Background-index: Couldn't read /home/shiltian/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/12.0.0/clangd_12.0.0/lib/clang/12.0.0/include/limits.h to validate stored index: No such file or directory
E[16:27:12.971] Background-index: Couldn't read /usr/include/c++/10/limits to validate stored index: No such file or directory
E[16:27:12.971] Background-index: Couldn't read /usr/include/c++/10/bits/stl_iterator.h to validate stored index: No such file or directory
E[16:27:12.972] Background-index: Couldn't read /usr/include/c++/10/bits/locale_facets_nonio.tcc to validate stored index: No such file or directory
E[16:27:12.972] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/IR/IntrinsicsPowerPC.h to validate stored index: No such file or directory
E[16:27:12.972] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/basic_file.h to validate stored index: No such file or directory
E[16:27:12.973] Background-index: Couldn't read /usr/include/c++/10/bits/fstream.tcc to validate stored index: No such file or directory
E[16:27:12.974] Background-index: Couldn't read /usr/include/c++/10/bits/parse_numbers.h to validate stored index: No such file or directory
E[16:27:12.974] Background-index: Couldn't read /usr/include/c++/10/mutex to validate stored index: No such file or directory
E[16:27:12.974] Background-index: Couldn't read /usr/include/c++/10/bits/stl_uninitialized.h to validate stored index: No such file or directory
E[16:27:12.976] Background-index: Couldn't read /usr/include/c++/10/bits/ios_base.h to validate stored index: No such file or directory
E[16:27:12.977] Background-index: Couldn't read /usr/include/c++/10/debug/assertions.h to validate stored index: No such file or directory
E[16:27:12.979] Background-index: Couldn't read /usr/include/c++/10/ostream to validate stored index: No such file or directory
E[16:27:12.980] Background-index: Couldn't read /usr/include/c++/10/numeric to validate stored index: No such file or directory
E[16:27:12.980] Background-index: Couldn't read /usr/include/c++/10/ratio to validate stored index: No such file or directory
E[16:27:12.981] Background-index: Couldn't read /usr/include/c++/10/bits/stl_pair.h to validate stored index: No such file or directory
E[16:27:12.982] Background-index: Couldn't read /usr/include/c++/10/cassert to validate stored index: No such file or directory
E[16:27:12.983] Background-index: Couldn't read /usr/include/c++/10/bits/vector.tcc to validate stored index: No such file or directory
E[16:27:12.983] Background-index: Couldn't read /usr/include/c++/10/backward/binders.h to validate stored index: No such file or directory
E[16:27:12.984] Background-index: Couldn't read /usr/include/c++/10/bits/stl_tempbuf.h to validate stored index: No such file or directory
E[16:27:12.985] Background-index: Couldn't read /usr/include/c++/10/bits/shared_ptr_atomic.h to validate stored index: No such file or directory
E[16:27:12.985] Background-index: Couldn't read /usr/include/c++/10/cstdio to validate stored index: No such file or directory
E[16:27:12.986] Background-index: Couldn't read /usr/include/c++/10/ios to validate stored index: No such file or directory
E[16:27:12.986] Background-index: Couldn't read /usr/include/c++/10/ext/type_traits.h to validate stored index: No such file or directory
E[16:27:12.986] Background-index: Couldn't read /usr/include/c++/10/bits/stl_raw_storage_iter.h to validate stored index: No such file or directory
E[16:27:12.987] Background-index: Couldn't read /usr/include/c++/10/bits/deque.tcc to validate stored index: No such file or directory
E[16:27:12.987] Background-index: Couldn't read /usr/include/c++/10/bits/ostream_insert.h to validate stored index: No such file or directory
E[16:27:12.988] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/opt_random.h to validate stored index: No such file or directory
E[16:27:12.988] Background-index: Couldn't read /usr/include/c++/10/ext/string_conversions.h to validate stored index: No such file or directory
E[16:27:12.988] Background-index: Couldn't read /usr/include/c++/10/bits/unordered_map.h to validate stored index: No such file or directory
E[16:27:12.989] Background-index: Couldn't read /usr/include/c++/10/bits/refwrap.h to validate stored index: No such file or directory
E[16:27:12.989] Background-index: Couldn't read /usr/include/c++/10/ciso646 to validate stored index: No such file or directory
E[16:27:12.990] Background-index: Couldn't read /usr/include/c++/10/functional to validate stored index: No such file or directory
E[16:27:12.991] Background-index: Couldn't read /usr/include/c++/10/backward/auto_ptr.h to validate stored index: No such file or directory
E[16:27:12.992] Background-index: Couldn't read /usr/include/c++/10/bits/basic_string.tcc to validate stored index: No such file or directory
E[16:27:12.992] Background-index: Couldn't read /usr/include/c++/10/bits/invoke.h to validate stored index: No such file or directory
E[16:27:12.992] Background-index: Couldn't read /usr/include/c++/10/clocale to validate stored index: No such file or directory
E[16:27:12.993] Background-index: Couldn't read /usr/include/c++/10/bits/codecvt.h to validate stored index: No such file or directory
E[16:27:12.993] Background-index: Couldn't read /usr/include/c++/10/bits/stl_algo.h to validate stored index: No such file or directory
E[16:27:12.994] Background-index: Couldn't read /usr/include/c++/10/typeinfo to validate stored index: No such file or directory
E[16:27:12.996] Background-index: Couldn't read /usr/include/c++/10/bits/functional_hash.h to validate stored index: No such file or directory
E[16:27:12.998] Background-index: Couldn't read /usr/include/c++/10/cinttypes to validate stored index: No such file or directory
E[16:27:12.999] Background-index: Couldn't read /usr/include/c++/10/ext/concurrence.h to validate stored index: No such file or directory
E[16:27:13.000] Background-index: Couldn't read /usr/include/c++/10/unordered_map to validate stored index: No such file or directory
E[16:27:13.000] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/Frontend/OpenMP/OMP.inc to validate stored index: No such file or directory
E[16:27:13.000] Background-index: Couldn't read /usr/include/c++/10/bits/concept_check.h to validate stored index: No such file or directory
E[16:27:13.000] Background-index: Couldn't read /usr/include/c++/10/bits/stl_function.h to validate stored index: No such file or directory
E[16:27:13.001] Background-index: Couldn't read /usr/include/c++/10/bits/stringfwd.h to validate stored index: No such file or directory
E[16:27:13.001] Background-index: Couldn't read /usr/include/c++/10/chrono to validate stored index: No such file or directory
E[16:27:13.002] Background-index: Couldn't read /usr/include/c++/10/cstdint to validate stored index: No such file or directory
E[16:27:13.002] Background-index: Couldn't read /usr/include/c++/10/bits/stl_construct.h to validate stored index: No such file or directory
E[16:27:13.003] Background-index: Couldn't read /usr/include/c++/10/algorithm to validate stored index: No such file or directory
E[16:27:13.004] Background-index: Couldn't read /usr/include/c++/10/stdlib.h to validate stored index: No such file or directory
E[16:27:13.005] Background-index: Couldn't read /usr/include/c++/10/ctime to validate stored index: No such file or directory
E[16:27:13.006] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/error_constants.h to validate stored index: No such file or directory
E[16:27:13.007] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/c++config.h to validate stored index: No such file or directory
E[16:27:13.007] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/c++allocator.h to validate stored index: No such file or directory
E[16:27:13.008] Background-index: Couldn't read /usr/include/c++/10/bits/exception.h to validate stored index: No such file or directory
E[16:27:13.008] Background-index: Couldn't read /usr/include/c++/10/cerrno to validate stored index: No such file or directory
E[16:27:13.009] Background-index: Couldn't read /usr/include/c++/10/deque to validate stored index: No such file or directory
E[16:27:13.009] Background-index: Couldn't read /usr/include/c++/10/bits/ptr_traits.h to validate stored index: No such file or directory
E[16:27:13.011] Background-index: Couldn't read /usr/include/c++/10/bits/unique_ptr.h to validate stored index: No such file or directory
E[16:27:13.011] Background-index: Couldn't read /home/shiltian/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/12.0.0/clangd_12.0.0/lib/clang/12.0.0/include/stddef.h to validate stored index: No such file or directory
E[16:27:13.012] Background-index: Couldn't read /usr/include/c++/10/ext/alloc_traits.h to validate stored index: No such file or directory
E[16:27:13.012] Background-index: Couldn't read /usr/include/c++/10/utility to validate stored index: No such file or directory
E[16:27:13.012] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/IR/IntrinsicsS390.h to validate stored index: No such file or directory
E[16:27:13.012] Background-index: Couldn't read /usr/include/c++/10/bits/streambuf.tcc to validate stored index: No such file or directory
E[16:27:13.014] Background-index: Couldn't read /usr/include/c++/10/bits/streambuf_iterator.h to validate stored index: No such file or directory
E[16:27:13.014] Background-index: Couldn't read /usr/include/c++/10/bits/stl_map.h to validate stored index: No such file or directory
E[16:27:13.014] Background-index: Couldn't read /usr/include/c++/10/bits/stl_numeric.h to validate stored index: No such file or directory
E[16:27:13.015] Background-index: Couldn't read /usr/include/c++/10/thread to validate stored index: No such file or directory
E[16:27:13.015] Background-index: Couldn't read /usr/include/c++/10/iosfwd to validate stored index: No such file or directory
E[16:27:13.015] Background-index: Couldn't read /usr/include/c++/10/climits to validate stored index: No such file or directory
E[16:27:13.015] Background-index: Couldn't read /usr/include/c++/10/bits/iterator_concepts.h to validate stored index: No such file or directory
E[16:27:13.015] Background-index: Couldn't read /usr/include/c++/10/system_error to validate stored index: No such file or directory
E[16:27:13.016] Background-index: Couldn't read /usr/include/c++/10/map to validate stored index: No such file or directory
E[16:27:13.017] Background-index: Couldn't read /usr/include/c++/10/istream to validate stored index: No such file or directory
E[16:27:13.017] Background-index: Couldn't read /usr/include/c++/10/bits/uses_allocator.h to validate stored index: No such file or directory
E[16:27:13.019] Background-index: Couldn't read /usr/include/c++/10/cctype to validate stored index: No such file or directory
E[16:27:13.019] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/IR/IntrinsicsARM.h to validate stored index: No such file or directory
E[16:27:13.019] Background-index: Couldn't read /usr/include/c++/10/bits/charconv.h to validate stored index: No such file or directory
E[16:27:13.020] Background-index: Couldn't read /usr/include/c++/10/condition_variable to validate stored index: No such file or directory
E[16:27:13.020] Background-index: Couldn't read /usr/include/c++/10/bits/stl_iterator_base_types.h to validate stored index: No such file or directory
E[16:27:13.021] Background-index: Couldn't read /usr/include/c++/10/cmath to validate stored index: No such file or directory
E[16:27:13.021] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/IR/IntrinsicsXCore.h to validate stored index: No such file or directory
E[16:27:13.021] Background-index: Couldn't read /usr/include/c++/10/bits/postypes.h to validate stored index: No such file or directory
E[16:27:13.021] Background-index: Couldn't read /usr/include/c++/10/bits/std_mutex.h to validate stored index: No such file or directory
E[16:27:13.022] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/gthr.h to validate stored index: No such file or directory
E[16:27:13.022] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/gthr-default.h to validate stored index: No such file or directory
E[16:27:13.022] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/c++io.h to validate stored index: No such file or directory
E[16:27:13.022] Background-index: Couldn't read /usr/include/c++/10/bits/stl_iterator_base_funcs.h to validate stored index: No such file or directory
E[16:27:13.022] Background-index: Couldn't read /home/shiltian/.vscode-server/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/12.0.0/clangd_12.0.0/lib/clang/12.0.0/include/float.h to validate stored index: No such file or directory
E[16:27:13.023] Background-index: Couldn't read /usr/include/c++/10/bits/stl_queue.h to validate stored index: No such file or directory
E[16:27:13.023] Background-index: Couldn't read /usr/include/c++/10/new to validate stored index: No such file or directory
E[16:27:13.024] Background-index: Couldn't read /usr/include/c++/10/cxxabi.h to validate stored index: No such file or directory
E[16:27:13.024] Background-index: Couldn't read /home/shiltian/.local/llvm-12.0.0/include/llvm/IR/IntrinsicsNVPTX.h to validate stored index: No such file or directory
E[16:27:13.025] Background-index: Couldn't read /usr/include/c++/10/cstdlib to validate stored index: No such file or directory
E[16:27:13.025] Background-index: Couldn't read /usr/include/c++/10/tuple to validate stored index: No such file or directory
E[16:27:13.025] Background-index: Couldn't read /usr/include/c++/10/bits/random.tcc to validate stored index: No such file or directory
E[16:27:13.025] Background-index: Couldn't read /usr/include/c++/10/cwctype to validate stored index: No such file or directory
E[16:27:13.027] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/os_defines.h to validate stored index: No such file or directory
E[16:27:13.027] Background-index: Couldn't read /usr/include/c++/10/bits/locale_classes.tcc to validate stored index: No such file or directory
E[16:27:13.028] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/atomic_word.h to validate stored index: No such file or directory
E[16:27:13.029] Background-index: Couldn't read /usr/include/c++/10/iomanip to validate stored index: No such file or directory
E[16:27:13.029] Background-index: Couldn't read /usr/include/c++/10/initializer_list to validate stored index: No such file or directory
E[16:27:13.029] Background-index: Couldn't read /usr/include/c++/10/bits/unordered_set.h to validate stored index: No such file or directory
E[16:27:13.030] Background-index: Couldn't read /usr/include/c++/10/bits/stl_tree.h to validate stored index: No such file or directory
E[16:27:13.031] Background-index: Couldn't read /usr/include/c++/10/x86_64-redhat-linux/bits/time_members.h to validate stored index: No such file or directory
E[16:27:13.031] Background-index: Couldn't read /usr/include/c++/10/memory to validate stored index: No such file or directory
E[16:27:13.032] Background-index: Couldn't read /usr/include/c++/10/bits/hash_bytes.h to validate stored index: No such file or directory
E[16:27:13.032] Background-index: Couldn't read /usr/include/c++/10/bits/ostream.tcc to validate stored index: No such file or directory
E[16:27:13.033] Background-index: Couldn't read /usr/include/c++/10/concepts to validate stored index: No such file or directory
E[16:27:13.034] Background-index: Couldn't read /usr/include/c++/10/bits/istream.tcc to validate stored index: No such file or directory
I[16:27:13.078] --> $/progress
V[16:27:13.078] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/7","percentage":0}}}

I[16:27:13.078] --> $/progress
V[16:27:13.078] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/7","percentage":0}}}

I[16:27:13.078] --> $/progress
V[16:27:13.078] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/7","percentage":0}}}

I[16:27:13.079] --> $/progress
V[16:27:13.079] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/7","percentage":0}}}

I[16:27:13.079] --> $/progress
V[16:27:13.079] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/7","percentage":0}}}

I[16:27:13.079] --> $/progress
V[16:27:13.079] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/7","percentage":0}}}

I[16:27:13.079] --> $/progress
V[16:27:13.079] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/7","percentage":14}}}

I[16:27:13.079] --> $/progress
V[16:27:13.079] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/7","percentage":14}}}

V[16:27:13.082] Indexing /home/shiltian/Documents/vscode/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp (digest:=109DBE8B8301B28A)
V[16:27:13.084] Indexing /home/shiltian/Documents/vscode/llvm-project/llvm/lib/Transforms/IPO/AttributorAttributes.cpp (digest:=EEE5549D0329A621)
V[16:27:13.085] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:13.086] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:13.087] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:13.087] Indexing /home/shiltian/Documents/vscode/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (digest:=8044E1CA21DED63C)
V[16:27:13.088] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:13.093] Indexing /home/shiltian/Documents/vscode/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (digest:=2F5EC827EECC107C)
V[16:27:13.096] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:13.096] Indexing /home/shiltian/Documents/vscode/llvm-project/llvm/lib/IR/Verifier.cpp (digest:=9258BDF620625B04)
V[16:27:13.097] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:13.100] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:13.101] Indexing /home/shiltian/Documents/vscode/llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp (digest:=551F760009CE882E)
V[16:27:13.101] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:13.103] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:13.104] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:13.107] Ignored diagnostic. unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
V[16:27:13.108] Ignored diagnostic. unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
V[16:27:13.168] Trying to fix unresolved name "ErrorAttr" in scopes: [, clang::, clang::sema::]
V[16:27:13.168] Dex query tree: (LIMIT 10000 (& T=ror T=rro T=ora T=ttr T=att T=err T=rat (| S= S=clang:: S=clang::sema::) ?=Restricted For Code Completion))
V[16:27:13.169] Dex query tree: (LIMIT 10000 (& T=rro T=ora T=ror T=err T=ttr T=att T=rat S= ?=Restricted For Code Completion))
V[16:27:13.219] Trying to fix unresolved name "BTFDeclTagAttr" in scopes: [, clang::, clang::sema::]
V[16:27:13.219] Dex query tree: (LIMIT 10000 (& T=btf T=tfd T=aga T=tag T=clt T=fde T=gat T=lta T=ttr T=att T=dec T=ecl (| S= S=clang:: S=clang::sema::) ?=Restricted For Code Completion))
V[16:27:13.219] Dex query tree: (LIMIT 10000 (& T=btf T=tfd T=clt T=tag T=aga T=fde T=lta T=gat T=ecl T=dec T=ttr T=att S= ?=Restricted For Code Completion))
V[16:27:13.351] Trying to fix unresolved name "err_attribute_missing_on_first_decl" in scopes: [clang::diag::]
V[16:27:13.351] Dex query tree: (LIMIT 10000 (& T=gon T=fir T=ngo T=irs T=onf T=nfi T=mis T=emi T=std T=rib T=but T=iss T=ute T=rst T=rra T=ssi T=ibu T=tri T=tem T=ttr T=tde T=sin T=att T=dec T=ing T=err T=ecl S=clang::diag:: T=rat ?=Restricted For Code Completion))
V[16:27:13.351] Dex query tree: false
V[16:27:13.368] Trying to fix unresolved name "ErrorAttr" in scopes: [, clang::, clang::sema::]
V[16:27:13.384] Trying to fix unresolved name "ErrorAttr" in scopes: [, clang::, clang::sema::]
V[16:27:13.433] Trying to fix unresolved name "err_attribute_missing_on_first_decl" in scopes: [clang::diag::]
V[16:27:13.448] Trying to fix unresolved name "ErrorAttr" in scopes: [, clang::, clang::sema::]
V[16:27:13.518] Trying to fix unresolved name "SubstAutoTypeDependent" in scopes: [, clang::, clang::sema::]
V[16:27:13.518] Dex query tree: (LIMIT 10000 (& T=tau T=aut T=ubs T=uto T=ped T=bst T=epe T=sub T=tot T=dep T=oty T=den T=pen T=end T=sta T=nde T=ede T=ent T=ype T=typ (| S= S=clang:: S=clang::sema::) ?=Restricted For Code Completion))
V[16:27:13.518] Dex query tree: (LIMIT 10000 (& T=aut T=tau T=ubs T=uto T=ped T=epe T=bst T=dep T=oty T=pen T=tot T=sub T=den T=ede T=end T=nde T=ype T=typ T=sta T=ent S= ?=Restricted For Code Completion))
V[16:27:13.553] Trying to fix unresolved name "SubstAutoTypeDependent" in scopes: [, clang::, clang::sema::]
V[16:27:13.612] Trying to fix unresolved name "err_attribute_missing_on_first_decl" in scopes: [clang::diag::]
V[16:27:13.648] Ignored diagnostic. /home/shiltian/Documents/vscode/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h:108:10:'HexagonGenRegisterInfo.inc' file not found
V[16:27:13.696] Trying to fix unresolved name "err_attribute_missing_on_first_decl" in scopes: [clang::diag::]
V[16:27:13.718] indexed preamble AST for /home/shiltian/Documents/vscode/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp version 3:
  symbol slab: 78111 symbols, 21960508 bytes
  ref slab: 0 symbols, 0 refs, 128 bytes
  relations slab: 3148 relations, 69656 bytes
clangd: /dev/shm/shiltian/llvm-project/clang/lib/Sema/SemaDecl.cpp:1352: void clang::Sema::EnterDeclaratorContext(clang::Scope*, clang::DeclContext*): Assertion `Ancestor->getEntity() == CurContext && "ancestor context mismatch"' failed.
[Error - 4:27:34 PM] Connection to server got closed. Server will not be restarted.
[Error - 4:27:34 PM] Request textDocument/semanticTokens/full failed.
[object Object]
[Error - 4:27:34 PM] Request textDocument/semanticTokens/full failed.
[object Object]

System information
Output of clangd --version:
clangd version 13.0.1
Features: linux+debug
Platform: x86_64-unknown-linux-gnu
Editor/LSP plugin:
Unknown
Operating system:
Fedora 35

Seems like it got fixed at some point. Close it now.


Add python 3.6 support (without yet dropping python 3.4 support)

This adds python 3.6 builds without yet dropping python 3.4 support.

Isn't this a duplicate of #663?

Precisely.

#663 enables python 3.6 support while also dropping python 3.4 support.

It looks like conda-forge has dropped python 3.4 support, so it may not be critical to retain this after all. We can discuss on the call today.

Looks like this is probably working on travis, but the log is too long for travis to complete all builds in one go. I'll hold off until after our omnia meeting today to enable this, in case we decide to deprecate python 3.4.


Fix for bugs in the Conditional Questions functionality:

In the case of a conditional question with answers that removed questions, any answers of removed questions was not removed. Nor were the removed answers deleted in the database.
**Changes:**
- Fixed the broken functionality in the method remove_answers_list in app/helpers/conditions_helper.rb.
- Removed and destroyed the answers of the removed questions.
- Updated RSpec tests for Conditional Questions functionality.

The context for why this fix was created:
An university have reported that conditional questions don't work as expected in template for one of their templates.
What happens:
Conditions for question 18 don't work.
In the past, conditions for questions Conditions for questions 8a failed too. On the day we met with them, conditions for 8a worked.
What should happen:
User says: 'When Q.18 is answered ‘None of the above applies’, Q19, 20 & 21 should go, but they are still there'. Note that the behaviour of the questions is very random. On the day met with them questions 20 and 21 had gone, only 19 was still present.

I noticed github-action suggest breaking PR. That is not sensible in this case. Separating the Rspec tests from the main code changes would break the previous RSpec tests.

Hold on this PR as I have found a bug that needs fixing. So closing.


⚠ Samsung has degraded performance

In aaaa04b, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2121 ms

Resolved: Samsung performance has improved in 50a1e90.