frontend: e2e tests wiring and clientid

An OAuth application had to be provisioned with CSP STG. Needed to wire
the e2e tests execution to verify code changes.
Provisioned the OAuth application, and configured the client ID.
Added a script to run the e2e tests, and a gitlab ci task to run it.
Added also unit test coverage to gitlab artifacts per frontend component.
Added to artifacts also data-pipelines e2e reports.
Added issue on continuously failing explore page search tests fix:
https://github.com/vmware/versatile-data-kit/issues/1764
Added issue on headless mode fix:
https://github.com/vmware/versatile-data-kit/issues/1766
Updated the VEP-1507 on e2e testing during CI.
Testing done: authenticated successfully with starting the application
locally, backed by our CI/CD control-service instance.

All tests passed:
https://gitlab.com/vmware-analytics/versatile-data-kit/-/jobs/3978667051


uint16_t depth data & cv::Mat CV_8UC1 structure for looping

Required Info

Camera Model
D415

Firmware Version

Operating System & Version
Win10

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC

SDK Version
2.0

Language
c++

Segment

Issue Description
I've a question regarding the data structure of depth data.
Let's say I got a 16 bits linear depth image with resolution of 640x480, and the depth_scale of my sensor to convert depth values into distances.
My goal is simply calculate each pixel's distance by access its depth value and multiply it by the depth_scale.
uint16_t *depth_ptr = (uint16_t *)depth_frame.get_data(); //get the pointer on first pixel
Then I start looping through each pixel and calculate its distance. And if the distance < UserDefinedThreshold then I will assign a value of 255 to a cv::Mat (CV_8UC1) with same size of the depth_frame to represent foreground.
void remove_background(rs2::depth_frame& depth_frame, Mat &bw, float depth_scale, float clipping_dist)
{
	uint16_t* depth_ptr = (uint16_t*)(depth_frame.get_data());

	int cols  = depth_frame.get_width();
	int rows  = depth_frame.get_height();
	bw = Mat::zeros(Size(cols, rows), CV_8U);

#pragma omp parallel for //Using OpenMP to try to parallelise the loop
	for (int i = 0; i < rows; i++)
	{
		auto depth_idx = i * cols;
		uchar *bw_ptr = bw.ptr<uchar>(i);
		for (int j = 0; j < cols; j++)
		{
			auto dist = depth_scale * depth_ptr[depth_idx + j];
			bw_ptr[j] = dist < clipping_dist ? 255 : bw_ptr[j];
		}
	}
}

However, my result of thresholding out background create a mirroring effect, which I suspect to be the index problem.  But to my knowledge, both opencv and realsense read pixel in rows major order, which my code shown above shouldn't have any problem(?)  Unless the data structure for depth_frame is different? Or the depth data is a 3-channel data instead of a single channel data? Also can you brief explain how rs2::colorizer map depth_data into data with color information? Thanks.
@dorodnic

[Realsense Customer Engineering Team Comment]
Hi @WeiChihChern,
You can refer to "rs-align" example code to have the background removal. The depth value is 16bit and CV_16U should be used in your code. You can also get it from "depth_frame.get_bytes_per_pixel()".
https://github.com/IntelRealSense/librealsense/blob/master/examples/align/rs-align.cpp

@RealSense-Customer-Engineering Thanks for the reply, but Im afraid thats not the issue, since i only assign either 0 or 255 to the cv_8cu1.

[Realsense Customer Engineering Team Comment]
Hi @WeiChihChern,
I didn't see this mirroring effect issue even through the foreground removed is based on your threshold.
"colorizer" is just used to map depth to Color channels for better visualization which is like a similar function in opencv function applyColorMap. The usage like below code:
rs2::colorizer color_map;
rs2::frameset data = pipe.wait_for_frames();
rs2::frame depth = color_map(data.get_depth_frame());
const int w = depth.asrs2::video_frame().get_width();
const int h = depth.asrs2::video_frame().get_height();
cv::Mat image(Size(w, h), CV_8UC3, (void*)depth.get_data(), cv::Mat::AUTO_STEP);

@RealSense-Customer-Engineering Thanks for the reply, I guess I will check on it again later.
What I do right now is to convert the depth map to CV_16UC1, then do the background removal process all under cv::Mat. (Code Link)
Maybe I previously did some processes, like colorizer, to the uint16_t type depth image and the structure was changed, idk.  But I will keep trying it.

[Realsense Customer Engineering Team Comment]
Hi @WeiChihChern,
If no other question about this topic, will close this.


SetPageLayout doesn't work for FitToWidth and FitToHeight

Description
I want to set width to page layout. I send FitToWidth as argument, but it doesn't actually work.
Code:
	file.SetPageLayout(
		sheet,
		excelize.FitToWidth(1),
		excelize.PageLayoutOrientation(excelize.OrientationLandscape),
	)

Every value is set. Orientation is set to landscape at excel, but width is not set to 1.
Maybe it would help
When I do it with this code
	file.SetPageLayout(
		sheet,
		excelize.FitToWidth(1),
		excelize.PageLayoutOrientation(excelize.OrientationLandscape),
	)

(Removed other attributes)
The XML is:
<style:page-layout-properties style:print-orientation="portrait"  style:scale-to="100%"/>

When I change it in excel and save it.
XML is:
<style:page-layout-properties style:print-orientation="portrait"  loext:scale-to-X="1"/>

Steps to reproduce the issue:

Create file.
Create sheet
Set page layout option

Describe the results you received:
width is automatic
Describe the results you expected:
1 page
Output of go version:
1.12.10

Excelize version or commit ID:
a00ba75f0f294ce04bfe8d25703d13cd27d6284f

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Windows 10
Microsoft Excel 2016

Hi @Jk1484, thanks for your issue. Please enable FitToPage by SetSheetPrOptions when you specify FitToWidth and FitToHeight of the worksheet, for example:
if err := f.SetSheetPrOptions(
    sheet,
    excelize.FitToPage(true),
); err != nil {
    panic(err)
}


Large message size handling in Pulsar: Chunking for shared subscription

We have requirement of sending large message size over 250 MB for the shared subscription.
As the chunking feature is not enable for shared subscription while we are trying to send the message above 200MB we are getting below error.
2020-07-23 03:53:03,864 -0700 [bookie-io-1-10] ERROR org.apache.bookkeeper.proto.BookieRequestHandler - Unhandled exception occurred in I/O thread or handler
io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 406847488 byte(s) of direct memory (used:<PHONE_NUMBER>, max:<PHONE_NUMBER>)

@amitkaushal16 yes, right now chunking feature is only available for non-shared subscription. It's little tricky for shared subscription as it requires sequential chunked-messages delivery to one consumer and also need to take other scenarios such as acking, redelivery, keeping multiple chunks in buffers, etc. We will look into this feature soon.

Closed as stale and no one worked on it. Please open a new issue if it's still relevant to the maintained versions.

This feature is implemented in https://github.com/apache/pulsar/pull/16202


when the player is dead

Hi thanks so much for this amazing mod can u add this feature ;
1/ prevents npc from spawning when the player is dead, when he is in view waiting for his respawn timer to allow him to spawn

NPC don't spawn when player is LV 90 even if EncounterMaxLevelDifference = 0


[Ppstgresql-embedded] Custom binary URL not supported

I am using the library to set up tests in a private project. The nature of the project requires us to not depend on bonary downlaods from external sources.
To fix the issue I forked the postgresql_binaries repo and used it as the source in the bundled version:
cargo.toml:
postgresql_embedded = { version = "0.16.1", features = ["bundled"] }

async fn new_mock_db(db_port: u16) -> Result<PostgreSQL, Error> {
        let mut postgresql = PostgreSQL::new(Settings {
            username: PG_USER.to_string(),
            password: PG_PASSWORD.to_string(),
            host: PG_HOST.to_string(),
            port: db_port,
            temporary: true,
            timeout: Some(std::time::Duration::from_secs(5)),
            releases_url: BINARY_RELEASE_URL.to_string(),
            ..Settings::default()
        });
        postgresql.setup().await?;
        postgresql.start().await?;
        tracing::debug!("Database created");

        Ok(postgresql)
    }

And then run tests using the POSTGRESQL_RELEASES_URL environment variable
POSTGRESQL_RELEASES_URL=https://github.com/my_repo cargo nextest run

I then get the following build error:
error: failed to run custom build command for `postgresql_embedded v0.16.1`

Caused by:
  process didn't exit successfully: `/home/jasso/projects/dave/target/debug/build/postgresql_embedded-c55d909f543c1350/build-script-build` (exit status: 1)
  --- stdout
  PostgreSQL releases URL: https://github.com/2571-project/postgresql-binaries
  PostgreSQL version: *
  Target: x86_64-unknown-linux-gnu
  OUT_DIR: "/home/jasso/projects/dave/target/debug/build/postgresql_embedded-960de399e93312a9/out"

  --- stderr
  Error: unsupported repository for 'https://github.com/2571-project/postgresql-binaries'

@veigajoao thank you for reporting this issue.  I updated the bundling logic so that it should support any github repository as a source in https://github.com/theseus-rs/postgresql-embedded/pull/135


openai.error.InvalidRequestError: This model's maximum context length is 4097 tokens, however you requested 11836 tokens (11580 in your prompt; 256 for the completion). Please reduce your prompt; or completion length.

this is my code for hooking up an LLM to answer questions over a database(remote pg).

but find error:

Can anyone give me some advice to solve this problem？

Take a look #2133 (comment)

this a good job，but i dont know how to set reduce_k_below_max_tokens=True？Can you give me some examples

same issue here, have you solved ?

Take a look #2133 (comment)

this a good job，but i dont know how to set reduce_k_below_max_tokens=True？Can you give me some examples

here is a example:
chain_type_kwargs = {"prompt": prompt}
llm = ChatOpenAI(
    model_name="gpt-3.5-turbo",
    temperature=0,
    max_tokens=1000)
chain = VectorDBQAWithSourcesChain.from_chain_type(
    llm=llm,
    vectorstore=index.store,
    return_source_documents=True,
    chain_type_kwargs=chain_type_kwargs,
    reduce_k_below_max_tokens=True,
)

https://github.com/Laisky/HelloWorld/blob/master/py3/ailangchain/security.ipynb

Take a look #2133 (comment)

this a good job，but i dont know how to set reduce_k_below_max_tokens=True？Can you give me some examples

here is an example:
chain_type_kwargs = {"prompt": prompt}
llm = ChatOpenAI(
    model_name="gpt-3.5-turbo",
    temperature=0,
    max_tokens=1000)
chain = VectorDBQAWithSourcesChain.from_chain_type(
    llm=llm,
    vectorstore=index.store,
    return_source_documents=True,
    chain_type_kwargs=chain_type_kwargs,
    reduce_k_below_max_tokens=True,
)

https://github.com/Laisky/HelloWorld/blob/master/py3/ailangchain/security.ipynb

God Bless You

f you are getting this error: openai.error.InvalidRequestError: This model's maximum context length is 4097 tokens, however you requested 4638 tokens (4382 in your prompt; 256 for the completion). Please reduce your prompt; or completion length.   The solution is bellow[change your host port accordingly]. The trick is to include only tables that you want. I have given bellow an actual code snippet
from langchain import SQLDatabaseChain
from sqlalchemy import create_engine
import os
os.environ["OPENAI_API_KEY"] = 'XXXXXX'
engine=create_engine('mysql+pymysql://admin:admin@localhost:3307/wordpress1')
include_tables=['wp_greetings']
db = SQLDatabase(engine, include_tables=include_tables) #This will only include a list of tables you want!!!
llm = OpenAI(temperature=0, verbose=True,max_tokens=1000)
db_chain = SQLDatabaseChain(llm=llm, database=db, verbose=True)
db_chain.run("Describe wp_greetings table")

I tried to limit the content length by using the following code:
llm = OpenAI(temperature=0, verbose=True, max_tokens=2000)

toolkit = SQLDatabaseToolkit(db=db, llm=llm, max_tokens_limit = 2000)

agent_executor = create_sql_agent(
    llm=OpenAI(temperature=0),
    toolkit=toolkit,
    verbose=True,
    reduce_k_below_max_tokens=True,
    max_tokens_limit = 2000
)

But that didn't seem to work. I still got the following error:

InvalidRequestError: This model's maximum context length is 4097 tokens, however you requested 4151 tokens (3895 in your prompt; 256 for the completion). Please reduce your prompt; or completion length.

Is this something wrong with the way I'm using the agent, or is this a bug in langchain? I am using sql agent on a large database so something may be wrong with how I'm using it.

David, you can try including only the necessary table as I shown above. This will definitely decrease number of tokens

David, you can try including only the necessary table as I shown above. This will definitely decrease number of tokens

Thanks for the suggestion!
I only have two tables in my database, but the tables have a ton of columns in them. In this case should I try to build my own agent with the ability to summarize tables?

Hi! I'm encountering the same issue as David. Is there a method to track token usage as the program runs? I think it'd be very beneficial for me to monitor what is actually being used as a token and potentially finding reductions that way.


 KISS

Hello, @omaraladin. Unfortunately I cannot merge this request without a signed CLA. Feel free to reopen once signed.

Hello, @omaraladin. Unfortunately I cannot merge this request without a signed CLA. Feel free to reopen once signed.


Arbitrary precision numerics

This effort was based in part on the work of @dtolnay in #252 and @alexcrichton in https://github.com/alexcrichton/toml-rs.
Also updated test suite for arbitrary_precision feature.
Notes:

I haven't yet benchmarked the library with arbitrary_precision enabled vs. disabled; this would surely be worthwhile.
There's a fair bit of code duplication between cfg(feature = "arbitrary_precision") and cfg(not(feature = "arbitrary_precision")) functions, but I couldn't see a straightforward way around this.
I noticed while going through the code that some of the inlining may not be consistent, but that's another task.

@dtolnay Just updated the PR notes.
A couple more things I'm wondering:

Should the special struct & field name used here be specific to serde-json? Maybe they should be format-agnostic, so other libraries (e.g. a decimal library) can work with all serde formats that support arbitrary precision.
Should we think about bringing arbitrary precision support into serde in general? This could be done by creating some help traits, functions, and macros, as I see it. Along with a set of guidelines on a wiki page, of course.

Per the advice of @dtolnay, leaving this open for now until the PR can be made more manageable at some future, by myself, @dtolnay, or another person. Whoever takes the task on will have my thanks!

 I was hoping to leave it open, so others can see it exists more easily, and hence don’t duplicate the work. But up to you, of course. :)

On 23 Aug 2017, at 17:46, David Tolnay<EMAIL_ADDRESS>wrote:
Closed #348 https://github.com/serde-rs/json/pull/348.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/serde-rs/json/pull/348#event-1218233525, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEF3JbOuwg712KUhH1yC4-2h-BV85P-ks5sbFdRgaJpZM4O-1fV.

I put a link in #18 which is open.


Added option to obfuscate device IDs in the console/log view

As the console view is now always coupled with the web view, I added a new option in the SyncTrayzor settings that allows to filter the full device IDs out of the console view. Helpfull if you demonstrate something over a stream/remote and don't want them to show up on a recording.

Fantastic, this looks great, thank you! Couple of very minor comments, otherwise well done on following the architecture :)

Oh, and feel free to add yourself to Contributors.md while you're at it

Oh, just noticed it's targetted at master - I'll manually merge it into develop. I should really document the coding standard / contributing process somewhere....

Oh no hurry, I can try to fix the stuff and do a clean pull request against develop if you want.

I think it's cleaner if you update this PR - then we have a history of the discussion, rather than it being split.

Right that's in, thanks! I ended up enabling it by default, since the majority of people won't care and will benifit from the increased security this brings.
I'll probably cut a new release tomorrow - there's some work around making the tray icon notifications less annoying that I want to get in.


Gh-2841: Update Spotbugs

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2-alpha@6ce0a4e). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             v2-alpha    #2842   +/-   ##
===========================================
  Coverage            ?   73.62%
  Complexity          ?      228
===========================================
  Files               ?       19
  Lines               ?      728
  Branches            ?       57
===========================================
  Hits                ?      536
  Misses              ?      143
  Partials            ?       49

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


Cookie Pop-Up not properly disappearing

The Accept/Reject Cookies prompt doesn't completely disappear from the page when clicked, but rather gets pushed below the bottom of the page. Generally, this would essentially make it invisible, but when scrolling against the bottom, the bounce effect of the browser reveals the prompt
Fix suggestions:

Add opacity fade to onclick transition (probably the better option)
Setting global CSS overscroll-behavior to none

I've been wanting to fix this myself, but I can't seem to find the cookie pop-up component

@nico-bachner https://github.com/vercel/commerce/pull/52

I'll take a look at the styling part since I'm there :)

Perfect. Thank you!

PR Coming! Thank you!


Remove multilang

Resolves #1059

@faissaloux I think I misunderstood and we still need to keep lang/en/validation.php

@faissaloux I think I misunderstood and we still need to keep lang/en/validation.php

Yeah we do.

Sorry, took me a while to this one. Thanks!


azure - Add support for offhour, onhour filters on VMs

I think we could use the currently implemented filter and add it to Azure VMs similar to aws ec2

yeah. its pretty generic / independent of provider. the only consideration is populating tags into the same structure, and if the tag value restrictions allow the same syntax usage.

PR #2807


Support version-update:ignore-{patch,minor,major} in docker ecosystem

I think CI will fail since this required a few changes, but I think the idea is solid. Will explain in more detail later.
Fixes #5758.
Fixes #1971.

Github customer Zendesk is requesting this feature. Right now, Dependabot supports updating language version on the base images. This means teams can get Dependabot PRs to update e.g. their Ruby version from 2.7 to 3.1. This is not what we need to resolve OS vulnerabilities.
I would like to introduce a workflow whereby teams pin to a language version and a SHA, e,g, FROM gcr.io/bla/base_images/ruby:3.1@sha256:4fa6a9cf8bf97e6ecdc5fd4edc5aeaa128bf199b3e74d71f468d96c2a2a6bcbd. This would mean that they can get Dependabot PRs whenever a new SHA for the current language version is released without PRs proposing new language changes.
As I understand it, Dependabot doesn't support this at present. I believe the work to fix this has been started in https://github.com/dependabot/dependabot-core/pull/6115 but this PR has not been merged for some reason.
Would it be possible to get this feature added to Dependabot ?

Hi @deivid-rodriguez , could you tell me, when this PR will be released for all users?

We're planning to do public gem releases soon, but I can't tell you a specific date.

We're planning to do public gem releases soon, but I can't tell you a specific date.

Does this apply to users of the Dependabot app in GitHub? I'm seeing on another thread that some users are getting the PRs that they expect, but I'm not seeing that on my test app. Is that because the change hasn't shipped or because there's something wrong with my setup?

Nope, that only applies to people using dependabot as a library. This PR is already deployed to the Github service. If you're getting something unexpected, feel free to report a new issue!


x/crypto/ssh: proposal to remove weak (rc4 based) ciphers arcfour{128,256} from default cipher list

x/crypto/ssh has "arcfour256", "arcfour128" in its list of default ciphers. These ciphers are now considered weak. I seems like it might be time to disable these by default as the documentation says:
// The allowed cipher algorithms. If unspecified then a sensible
// default is used.
Ciphers []string

These two ciphers are rc4 variants. They do discard the first 1536 bytes of the cipher stream so they are better than plain rc4 but they are still considered weak.
OpenSSH disabled them by default in 7.2 (2016-02-29) and removed them completely in release 7.6 (2017-10-03).
RC4 was disabled by default in crypto/tls in 2015: #10094.
I was dinged in a security audit because these ciphers were enabled. I can obviously remove them from my config, but with the OpenSSH changes it seemed like it might be more appropriate to update the defaults.
If this change is acceptable I'm happy to something for code review.

/cc @agl @FiloSottile @hanwen

Thanks for bringing this up. The OpenSSH changes suggest there is no sizable compatibility loss, so I’m strongly in favor. (Even if I think SSH has strong downgrade protection, so they wouldn’t affect most connections.)

OK to remove them from the default list, but they must be available if specified explicitly.


#62 kes wrench fix

This is a fix for https://github.com/aclist/kbin-kes/issues/62
It appears the testing branch is missing a lot from main.

It appears the testing branch is missing a lot from main.

I hadn't backported today's hotfixes into testing yet, got carried away implementing #74 (almost done)

Great fix, thank you! Superb


sql int just can convert to swift.Int64 not to Swift.Int

convert int database field to swift Int return nil but convert to Int64 work correctly.
this just happen when i use raw string query.
table declaration:
CREATE TABLE groups (grGuid long UNIQUE, grName TEXT, grType int, grAccess long)
query:
prepare("select grGuid, grName, grType, grAccess from groups")
let x: item[2] as! Int -> return nil
but
let x: item[2] as! Int64 -> return number
alseo using expression of type int is work correctly if you use insert, select function(not raw string query)
let grType = Expression("grType")

It has to be Int64, this is the type that SQLite uses internally.


Update Freedesktop categories

Currently, the main Freedesktop category used is "Utility" ("Small utility application, 'Accessories'" according to Freedesktop's description). This is where we find things (at least in LXQt) like Featherpad editor and PCManFM-Qt file manager.
On the other hand, "Settings" ("Settings applications") and the additional category of "DesktopSettings" ("Configuration tool for the GUI") is used for things like ObConf-Qt Openbox configuration editor and LXQt configuration center.
This makes sddm-conf much more consistent.

Hello! Thank you for this.
I just checked and it was already like that in the beginning, but at some point while changing files, I used the wrong categories from a new file coming from another project, forgetting to adapt to this.


Publish 7.4-20220207000204+0000

Publish 7.4-20220207000204+0000

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

Pre-tested commit build failed.

OK, I've already triggered a build for you.


[type:refactor] fix response status override logic.

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3015 (cd1be23) into master (edc8fdc) will decrease coverage by 0.34%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #3015      +/-   ##
============================================
- Coverage     58.89%   58.55%   -0.35%
+ Complexity     4366     4327      -39
============================================
  Files           688      688
  Lines         19854    19851       -3
  Branches       1792     1792
============================================
- Hits          11694    11624      -70
- Misses         7176     7247      +71
+ Partials        984      980       -4

Impacted Files
Coverage Δ

...ache/shenyu/plugin/httpclient/WebClientPlugin.java
84.00% <100.00%> (-0.62%)
:arrow_down:

.../apache/shenyu/plugin/sentinel/SentinelPlugin.java
90.00% <100.00%> (+10.00%)
:arrow_up:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
68.75% <0.00%> (-31.25%)
:arrow_down:

...admin/controller/ShenyuHttpRegistryController.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
42.85% <0.00%> (-12.70%)
:arrow_down:

...in/disruptor/RegisterServerDisruptorPublisher.java
52.94% <0.00%> (-11.77%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
52.12% <0.00%> (-10.64%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

... and 27 more

Continue to review full report at Codecov.

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


Task: Preliminary Pediatric Ventilator Experimentation

Ticket to capture exploratory experimentation to evaluate possible use of this ventilator design for pediatric ventilation.

Reasonable scenario for a 1yr old infant:

[ ] RR 30/min
[ ] PIP 25cmH2O
[ ] PEEP 5cmH2O
[ ] I-time: 0.5s
[ ] Lung compliance: 2.5ml/cmH2O

[ ] Resulting tidal volume at this compliance: 50ml

[ ] Lung resistance: 20cmH20/L/s

Here is a very preliminary test using the unmodified code (same control values, same blower throttle settings) as what is currently in master.  I do not have a test lung that can simulate the low compliance of 2.5ml/cmH2O but the other settings I was able to test.  In this plot we can see good controllability, even at the high respiratory rate.

Perhaps someone in India with access to the pediatric Michigan test lung can test with the lower compliance setting

Here, a similar test at:
RR 60
PIP 15
PEEP 5
IE Ratio 1.0
Compliance: 10
Resistance: 20
Here we see OK controllability at the higher RR of 60 which is more common in pediatric ventilation.  The PIP looks good but the PEEP does not settle in the provided time.  Again, this needs to be tested a lower compliance than this setup can provide.


Change SeriesID from uint32 to uint64

The world is bigger now!

Let me fix this up, as I have to go into this code for https://github.com/influxdb/influxdb/issues/2082

@otoolep isn't this done now?

Sure is.


Deployment not triggered on changes of body

Is your request related to a problem? Please describe.
The module doesn't trigger a deployment when a change is done to body for example when using openapi.yml spec
Describe the solution you'd like.
re trigger deployment when a change to that is done i.e.
replace these lines
with
triggers = {
    redeployment = sha1(join(",", tolist([
      jsonencode(aws_apigatewayv2_integration.this),
      jsonencode(aws_apigatewayv2_route.this),
      jsonencode(aws_apigatewayv2_route_response.this),
      jsonencode(aws_apigatewayv2_api.this[0].body),
    ])))
  }

EDIT: Actually tested this solution but it still didnt trigger deployment on a change in openapi spec
Additional context
issue was mentioned in several issues on provider
i.e. #14445

This issue has been resolved in version 5.1.0 :tada:


fix(Configurator): honour the interactable disabled states - fixes #249

The Interactable can have the touch and grab states disabled meaning
the interactable is not touchable/grabbable. However, the pointer
interactor was still attempting to touch and grab the interactable
even if the Touch/Grab was disabled.
This fix attempts to short circuit the logic by checking the
interactable touch and grab state in the appropriate point in the
logic.

:tada: This PR is included in version 2.1.19 :tada:
The release is available on:

npm package (@latest dist-tag)
v2.1.19
GitHub release

Your semantic-release bot :package::rocket:


Add note about SET python_scan_all_frames=true for DuckDB

See ploomber/jupysql#1033

Yes good idea...


🐛 Use realpath to see through symlinks

Summary
This PR injects usage of realpath into scripts that navigate from $something/bin to $something/config or $something/core-helm-chart because sometimes that bin is a symlink and the config or core-helm-chart is adjacent to where that symlink points.
This PR also removes a redundant variable holding the bin pathname.
Related issue(s)
Fixes #1152

/cc @francostellari
/cc @dumb0002
/cc @clubanderson

Successfully tested on my Mac (OS 13.5, Ventura) using deployment of core in a kind cluster using the v0.8.0 core image. That is, I tested that kubectl-kubestellar-deploy works, did not test the navigation in kubestellar init. The CI test of example1 covered the latter.

Successful test with:

deploy core to kind cluster, using image built from first commit here (quay.io/kubestellar/kubestellar:v0.9.0-alpha.1.git1f0e2cc-clean)
make userbuild rather than make build to get user's executables
create a special bin full of symlinks to the executables and put that special bin on the $PATH (this is parallel to what brew install does, as is demonstrated with the go binary)

The attached typescript shows most of what was done (including a few mistakes and recoveries); some of the setup (mostly kind) was done in a different shell.
test1156.log

/retest

/test all

Prow commands do not touch GitHub Actions

Let's see what close and re-open does.

Let's see if this retries the GitHub workflows.


implement vhost based bruteforcing

This PR implements simple VHOST based bruteforcing. It sends requests with a modified Host header and checks if the specified vhost is available.
I moved the HTTP stuff back into libgobuster because now a second plugin needs http functionality

I was about to pull the trigger on merging this, but then I head a thought.
This caters for bruteforcing vhost names when the base domain name is known. However, what if a webserver supports multiple domain names? So a single host with IP x.x.x.x might serve bar.com, foo.bar.com, foo.com and bar.foo.com.
Do we want to be able to support that or are we going to stick with a single base domain name?
I also thought "Hang on, isn't this just DNS bruteforcing via HTTP", and while I think that for the most part this is how it'll be used (so DNS is a better option), there will be cases where external DNS entries might not be available, yet are still supported. It's an edge case, for sure, but probably still worth having.

Pardon the force-push. I rebased onto v3.0 working after adding some readme stuff to the base.

I use it most of the time on some CTF style boxes like on hackthebox to find VHOSTs in named vhost based setups. On these scenarios you can rarely enumerate a DNS server because they are fake hostnames not existing.
But nice to see some action on this PR again 👍

Yeah cool, that's exactly the kind of scenario I pictured. All good.
So what do you think with regards to the base domain thing? Do you think that extends the scope too much? I'm happy to go with what we have as it's a handy feature, and changes are that servers aren't necessarily going to support lots of subdomains across different domains unless they wildcard stuff.
Yeah sorry it took so long, been SOO busy :)

I think it's good for now to focus on one domain and bruteforce it. We can still think of adding a feature to also enumerate the base domain in the future

Hey @FireFart so the one thing that seems to be left outstanding for me is that the vhost bruteforcing doesn't track status codes other than 200. If a 301 is found, shouldn't that mean that something was discovered?
Not sure how to handle this case. Is vhost brute forcing only about finding different content? Or is it about getting any non-error response from the target? Thoughts?

Oh, and another thing. The intent with the -v flag, when doing verbose output, is to show messages when things fail, whereas this flag doesn't do anything at the moment. We should implement something that returns a missing result so that it can be logged with -v.

Currently it's a content based detection only. So if the new vhost returns something else than the default VHOST or the non exitent it will be reported because there is most likely some content to inspect. There is also the followredirect option if you want to follow 30x responses.
I will have a look into the -v and if there is any reasonable we can log 👍

@OJ implemented some verbose output, let me know what you think about it

Merging this into v3 for public testing


[TouchRipple] Document of TouchRipple Component

It seems that there isn't a document for TouchRipple Component, can we have one? :)

[X] I have searched the issues of this repository and believe that this is not a duplicate.

BTW, is it possible to make TouchRipple (or CircleRipple) receive class props, so users can customize the style of it?

It's a private component.

TouchRipple isn't documented because it's an internal component. What's your use-case?

@mbrookes We are implementing a set of heavily customized components, which need CSS variable as system controller to adjust colors. It's known that the styling system of material and CSS variables didn't play well with each other, so we are thinking if we could only use TouchRipple / CircleRipple component directly.

In that case I think you may be best to clone the component into your project, and make the changes you need locally.

Hmmmmm, maybe you are right...


Automated cherry pick of #3323: Reset all AdmissionChecks on Eviction to Pending
#3389: Cleanup debug log in provisioning integration tests

Cherry pick of #3323 #3389 on release-0.8.
#3323: Reset all AdmissionChecks on Eviction to Pending
#3389: Cleanup debug log in provisioning integration tests
For details on the cherry pick process, see the cherry pick requests page.
Workload is requeued with all AdmissionChecks set to Pending if there was an AdmissionCheck in Retry state.
NONE

/close


Fix native person integration

Renamed attribute "location_name" to "address" as "location_name" breaks native person integration or zone resolution
Always return "source_type" gps to allow native zone resolution and usage of person integration

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


[React] Datepicker for React

There is a bunch of stuff on my to-do list to make this date picker for React more complete.
Feel free to make a pull request and fix anything of these tasks.
To-Do

Design the draggable element.
Create a mobile design.
Create and verify Responsive design.
Add main color and sub-color options.
Add accessability keyboard support.
Validate that it's working as expected in different timezones.
Add Framer animations.
Create a infinity scroll layout.
Connect outer setHooks with internal date values.
Fix minor design issues on Compact design.
Create tests using Jest framework.
Add a time input.

Hi @johannesoak ,
I would like to work on this

I think you just can fork this repo, make code changes and then do a pull request @RitikPandey1

Okay that's great

Okay that's great

You doin something specific? If yes I whould love to share a few tasks :). What do you think?

Okay that's great

You doin something specific? If yes I whould love to share a few tasks :). What do you think?

Yes, I am working on bug

Okay that's great

You doin something specific? If yes I whould love to share a few tasks :). What do you think?

Yes, I am working on the bug and after it I'd like to work on infinite scroll feature.

can i contact u soon so we work it off together?

Okay that's great

You doin something specific? If yes I whould love to share a few tasks :). What do you think?

Yes, I am working on the bug and after it I'd like to work on infinite scroll feature.

can i contact u soon so we work it off together?

I have fixed the bug and open the PR , you could work on other features @JuWeber99

Removed bug since it's fixed by @RitikPandey1

Hey, is this still available to work on? I think I would like to add testing and draggable elements

@vinlegend1 Yes, go ahead! 👍  I don't know anyone who works at those task - Atleast what I've heard of and no pull request :)

I'll start to work on the tests for this...

@vinlegend1 are you working on testing? If not, I'd like to take it

@vinlegend1 are you working on testing? If not, I'd like to take it

Go ahead, I had a change of plans and am working on a different project, woops.


I need the DDL of pinpoint in database?

could you give me a DDL of the pinpoint in database? I can't understand the field of asyncId  mean

The field asyncId is used to propagate trace across thread boundary.


feat: add multi-thread support

等我测测🌚

time ./k8spider all -t 16 -l debug
real    1m58.820s
user    0m5.181s
sys     0m6.380s


CertGetCertificateChain trust error

m <- treebase::download_metadata("2019-01-01", by="until") gives error:
schannel: CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT
If I change httr setting by httr::set_config(httr::config(ssl_verifypeer=0L)), rerunning the download_metadata gives another error:
schannel: CertGetCertificateChain trust error CERT_TRUST_IS_NOT_TIME_VALID

Found a solution for the issue:
library(RCurl)
options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")))

However, then I encountered the same issue XML content does not seem to be XML: '' as reported by @gtiley in https://github.com/ropensci/treebase/issues/16#issuecomment-1179077970_


Fix completion for tools using __complete function

Before completion was only working when the actual binary was using ShellCompNoDescRequestCmd (__completeNoDesc). But some tools (like kubectl and helm) use ShellCompRequestCmd (__complete) which needs to be forwarded to the binary as well to make it work

Thnaks a lot @xx4h :pray:


Add docs for driver.get_build_version

This docs is basically for maintainers.
Related to #5723.

Jenkins CI test (for commit cea0e40d60aa844c37d4851d4d2348861e4944af, target branch master) succeeded!


Webhook for setting state label modified

if the state contains space, it replaces it with underscore(_)
Corresponding BOSH release PR https://github.com/cloudfoundry-incubator/service-fabrik-boshrelease/pull/160

Pull Request Test Coverage Report for Build 2739

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 90.02%

Totals

Change from base Build 2735:
0.02%

Covered Lines:
8771

Relevant Lines:
9420

💛  - Coveralls


Is dependency on flake8 needed?

Looking into this package as a replacement for darglint and really like it so far. 😃
Right now I am using ruff for linting instead instead of separate flake8 packages and plugins.
I see that this project depends on flake8 package according to the setup.cfg file.
But is it really needed? I was able to uninstall flake8 from my environment via pip uninstall ... and could still run pydoclint without issues.
Is it possible to have flake8 as an optional dependency instead? Or am I missing something?

Hi @magnussommarsjo ,
Thanks you!  Yes, you are right.  flake8 is not needed at all to run the checks of pydoclint.  The only place where flake8 is needed is to selectively ignore some violation codes, as explained here: https://github.com/jsh9/pydoclint#24-native-vs-flake8
I've made a PR to make flake8 an optional dependency.  It will be included in version 0.3.2.

v0.3.2 published.  Please feel free to give it a try.  Thanks!

Thank you @jsh9 for a very speedy implementation. 😄 I will try it out!


Metrics not working following 1.5 -> 1.6 upgrade

Bug description
As I've blogged about - it's really important for us that we're able to reduce the cardinality of metrics at the Sidecar.
We did this using an EnvoyFilter configured with:
                {
                  "debug": "false",
                  "stat_prefix": "istio",
                  "metrics": {
                    "tags_to_remove": ["destination_canonical_service", "source_canonical_service", "destination_principal", "source_principal", "connection_security_policy", "grpc_response_status", "source_version", "destination_version", "request_protocol", "source_canonical_revision", "destination_canonical_revision"]
                  },
                  "metrics": {
                    "name": "request_duration_milliseconds",
                    "tags_to_remove": ["response_code", "response_flags"],
                  },
                  "metrics": {
                    "name": "request_bytes",
                    "tags_to_remove": ["response_code", "response_flags"],
                  },
                  "metrics": {
                    "name": "response_bytes",
                    "tags_to_remove": ["response_code", "response_flags"],
                  }
                }

This works fine on 1.5, but on 1.6 we get no metrics at all.  Switching it back to the default:
                  {
                    "debug": "false",
                    "stat_prefix": "istio"
                  }

And we start getting metrics, but with all the dimensions we're not interested in.
I'm guessing something has changed about this config between 1.5 and 1.6 but I cannot see anything in documentation to tell me what/why.
It also really highlights how dangerous EnvoyFilters are for configuration rather than first class API's.
cc @howardjohn @douglas-reid
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[x] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[x] Developer Infrastructure
Expected behavior
Metrics to work
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
1.6
How was Istio installed?
Helm
Environment where bug was observed (cloud vendor, OS, etc)

@kyessenov did anything change between 1.5 and 1.6 with respect to supporting the repeated MetricsConfig metrics or similar?

Modifying the configuration to:
                {
                  "debug": "false",
                  "stat_prefix": "istio",
                  "metrics": [
                    {
                      "tags_to_remove": ["destination_canonical_service", "source_canonical_service", "destination_principal", "source_principal", "connection_security_policy", "grpc_response_status", "source_version", "destination_version", "request_protocol", "source_canonical_revision", "destination_canonical_revision"]
                    },
                    {
                      "name": "request_duration_milliseconds",
                      "tags_to_remove": ["response_code", "response_flags"],
                    },
                    {
                      "name": "request_bytes",
                      "tags_to_remove": ["response_code", "response_flags"],
                    },
                    {
                      "name": "response_bytes",
                      "tags_to_remove": ["response_code", "response_flags"],
                    }
                  ]
                }

Resolved the issue.
@douglas-reid suggested https://github.com/istio/proxy/pull/2807, in particular https://github.com/istio/proxy/pull/2807/files#diff-db83bcb3df7f25cfb88ff0a20bbd5540 was likely the cause.
As a user - this was extremely difficult to debug.

@Stono Yes, the fix is right. I am entirely with you on the danger of EnvoyFilters.
RE: schema, I think we should do a better job in istio on enforcing JSON format. Protobuf is very lax so some gray areas like duplicate keys are accepted by protobuf parser, but not other common JSON parsers.

@Stono is this OK to close now?

It depends, do we not want to tackle the UX issue here in some way?

@kyessenov how hard would it be to write a validator / converter across the parsing regimes ?

@douglas-reid Do you mean a validator for EnvoyFilters? There is a long list of tasks to make EnvoyFilter between upgrades (see https://github.com/istio/istio/issues/26627). It's not even possible to do it completely, but we want to carve out a subset that's reasonable.
For this issue specifically, I'm not sure where to put the tool. Istio does not have any custom code for extensions besides EnvoyFilters. The extension itself is not appropriate since we removed protobuf to make it smaller (the parser from protobuf easily takes a megabyte of binary, more than the extension itself).

I agree that this was a behaviour change.
@Stono I am curious, do you use proto json encoding elsewhere as well, or was it inadvertent use here?

This is the only place we use it

Should metrics not working be possible to consider as a failure, so that canary upgrades would cause a rollback?

Yes, In fact a traffic metrics based canary would automatically stop progress when it suddenly cannot find metrics.

@douglas-reid that's right, we only use source metrics.
Is there anything to do on this issue, or is it just a learning piece that we can close off?


add prompt snippets support

For https://github.com/microsoft/vscode-internalbacklog/issues/5220#issuecomment-2486738649

I can't get this to work- I set the setting, should I see intellisense for #file? If I manually type #file:./test.js, it doesn't include that file.
Also, it seems like this might break normal implicit context?

@roblourens

I can't get this to work- I set the setting, should I see intellisense for #file? If I manually type #file:./test.js, it doesn't include that file.

You mean autocompletion? Yeah it should work just fine, I don't recall it to broken at any point 🤔

Also, it seems like this might break normal implicit context?

It was broken for a bit a while back but should work just fine now, please try again!

I'm trying to just understand how it's working, I have the setting enabled, but nothing special seems to happen. I'm expecting to see the text saying that there's +1 reference or something like that, I don't get it

I'm trying to just understand how it's working, I have the setting enabled, but nothing special seems to happen. I'm expecting to see the text saying that there's +1 reference or something like that, I don't get it

@roblourens only the .prompt.md files work atm, we would ignore the .js references 🤗

only the .prompt.md files work atm, we would ignore the .js references

Do you plan to enable things like that in the future? Seems useful

@roblourens yeah I believe so but we need to collect more feedback and understand the use cases first. This iteration meant to rely on the separate file extensions, but it would be trivial to remove/adjust this restriction in the future 👍

It's fine to check this in so we can try it but I'm not really seeing the utility of it, it takes up a lot of space and what do I do with this information? I think I'd rather just see this when I hover, but I'll have to try it out. Also seems to be missing from the attachment pill.

@roblourens

It's fine to check this in so we can try it but I'm not really seeing the utility of it, it takes up a lot of space and what do I do with this information? I think I'd rather just see this when I hover, but I'll have to try it out.

You mean the +N more label right? I've received similar feedback before and happy to remove it altogether. I've tried to avoid silent errors when users think that some files are included but they are not. The fact that there is no "compilation" or pre-run checks on the file tree can easily lead to the confusing cases for the user.

Also seems to be missing from the attachment pill.

No attachments included in this PR. Please see https://github.com/microsoft/vscode-internalbacklog/issues/5220#issuecomment-2486738649 for info on what's included.

fyi @legomushroom I moved this to November Recovery 1


TransferState API doesn't works on fastify

I trying to make works TransferState, (for avoid flickering) with fastify and fastify-angular-universal, but serializeTransferStateFactory  it is never called during the process.
With express all works correctly.
Are you already aware of it?
I'm preparing a test app based on yours, if you are interested.

Not yet used the TransferState. Can you provide a test application for this? Maybe we can look into integrating it.
Thanks for reporting.

Following this tutorial: https://medium.com/@evertonrobertoauler/angular-5-universal-with-transfer-state-using-angular-cli-19fe1e1d352c
I created a branch for a sample integration of TransferState API.
The sample integration is applied on the test application using @angular/cli and fastify
Let me know what's the issue since a serialized state is already present on my end when rendering an Angular app server-side.

It was a dependencies problem for me, after upgrading to angular 5.1.0.
I deleted both node_modules folder and yarn.lock and magically the Issue disappared.
Don't  know why I did not have the problem with express...
Sorry for that, I miss a bit of experience.

I'll close it for now.


Building upon the dwdbulk codebase

@jlewis91 maintains a well done implementation at [1]. While it is somehow derived from this project, it is based on modern Python (Python 3.7+ & Pandas). Thanks for this, @jlewis91!
It currently seems to implement acquisition of "observation" data [2] of

precipitation for the 1_minute resolution
air_temperature, precipitation, solar, wind, extreme_temperature and extreme_wind for the 10_minutes resolution

as well as acquisition of "forecast" data.
It would be cool to join both projects again in any way. The best thing would be to build upon @jlewis91's efforts and add back improved versions of a CLI interface and a caching layer. SQLite support should be dropped altogether.
[1] https://github.com/jlewis91/dwdbulk
[2] https://github.com/jlewis91/dwdbulk/blob/6892c2c/tests/test_dwdbulk.py#L64-L65
cc @wetterfrosch

In order to integrate forecast information, I've created https://github.com/earthobservations/wetterdienst/issues/70 and will deliberately close this issue in order to divert further discussions to Wetterdienst, the successor library of dwdweather2.
@jlewis91, @gutzbenj, @wetterfrosch et moi recently discussed the future of Wetterdienst within https://github.com/earthobservations/wetterdienst/issues/50.


fix duplicate bot name in status update message

When the generic_api is in use, the bot name appears twice at the start of each status update message, because the bot name is added at the start by both the GameStats _send_status_update method and the GenericApi _send method.
example of bug:

This commit changes the behavior of the _send_status_update method. If the generic_api is in use, it will avoid adding the bot name to the start of the message.

Made the changes and re-tested both api modes today. Good to go from my end.


Planned updates and potentially breaking changes

I'm thinking about adding a few potentially breaking changes and I need your feedback about this.
First, I'd like to rename the application entry-point from start.js to index.js, for better compatibility with development workflows / tools (i.e. lots of people are using nodemon in its "standard" configuration). I can't even remember why I used start.js initially, but it's kind of non-standard.
Second, I'd like to start the application (see this line in the control script) with node --use_strict. Lots of people are now using ES6 / ES7 (with or without babel) and having to add 'use strict' on top of every file is annoying.
And I'm also thinking about adding a better-looking application template in this folder. Nothing too fancy because we have to avoid installing tens of npms when provisioning the cartridge, but I'm thinking about displaying some useful info from os on a nice-looking background (artwork suggestions and/or submissions are welcome :-) ).
Of course, the aforementioned changes won't affect existing deployments.
Looking forward for your feedback...

Maybe you can use npm start instead of hard coding the entry-point.

:+1: for npm start as @wytesk133. Hard-coding the entry-point seems strange

Nodemon also tries npm start by default as well as other PAAS services like Heroku.
+1 for npm start :)

Thank you all for your feedback!
I'm leaning towards npm start myself so I'll get @AlexChesters's PR later today. I just have one small concern about it, see the discussion here.
If we'll find the memory usage unacceptable, we'll have to look for a way to "emulate" npm start using bash... which I find totally unappealing :-P

Finally managed to find some spare time for this; the "default" template looks a bit better now (imo).

Deploying a cartridge on OpenShift takes long enough already, that's why I wanted to avoid creating an express or koa application.
I've referred Riot.js and superagent from jsdelivr on the client-side, though. The client is polls the server and updates the "Uptime" and "Free Memory" rows once every 3 seconds... just for fun.

Sorry if this is a dumb question but I can't find anything on google. There is a config file or any other way where I can disable --use_strict ? Google Cloud Storage API and node-forge doesn't run with strict mode

By default Node.js doesn't run in strict mode. If you're referring to the
default application template, it's running in strict mode because of line 8
in package.json:
https://github.com/icflorescu/openshift-cartridge-nodejs/blob/master/usr/template/package.json#L8
Feel free to adjust it how you see fit in your application.
Ionut-Cristian Florescu
+40.723.784.997 |<EMAIL_ADDRESS>| linkedin.com/in/icflorescu
On Thu, May 12, 2016 at 2:43 AM, Rafael Salguero Iturrios <
<EMAIL_ADDRESS>wrote:

Sorry if this is a dumb question but I can't find anything on google.
There is a config file or any other way where I can disable --use_strict
? Google Cloud Storage API and node-forge doesn't run with strict mode
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/icflorescu/openshift-cartridge-nodejs/issues/6#issuecomment-218622161


Add option to remove accounts

Hi!
I would like if exists an option to remove an option would be added. I guess the only way now to do is removing the registry entry of the account on Steam registry folder.

That's a good idea and something I wanted to add, I just couldn't figure out a simple and easy way to let the user do it.
For reference, the exact file it reads from is located at C:\Program Files (x86)\Steam\config\loginusers.vdf. You can delete entries manually and the app will automatically recognize it.

I've tried to do it myself but i'm a JavaScript guy, i'm not familiarizated with C#. My idea was adding a option named "Manage Accounts" below the "Add Account" button. It would open a window with a row list of accounts, with a delete button at the end of the row.


How is the internal state of arangodb obtained, based on /_admin/metrics？

My Environment

ArangoDB Version:
Storage Engine:
Deployment Mode:
Deployment Strategy:
Configuration:
Infrastructure:
Operating System:
Total RAM in your machine:
Disks in use:
Used Package:

Component, Query & Data
Affected feature:

AQL query (if applicable):

AQL explain and/or profile (if applicable):

Dataset:

Size of your Dataset on disk:

Replication Factor & Number of Shards (Cluster only):

Steps to reproduce

Problem:
Expected result:

Its a mix:

accessing /proc (or the windows counterport)
polling internal counters
polling rocksdb counters

Its a mix:

accessing /proc (or the windows counterport)
polling internal counters
polling rocksdb counters

I can't find this information in the official documentation for version 3.7

The implementation and the documentation has been reworked for 3.8 to be much more extensive.
However, I don't think the data source of the gauge is documented, since nobody has asked for this so far.


Fix NBSP; Minor grammar/md fixes; Expand gravity docs

My original intention was to expand on the scene gravity documentation, based on my hair-pulling in this forum post:
https://forum.babylonjs.com/t/how-do-i-detect-falling-through-a-mesh/16781/3
This led to discovering an issue in some documentation pages where non-breaking spaces were preventing certain markdown directives (including headers) from being rendered properly. I did some regex searches and fixed the ones that seemed the most critical. (There are still several thousand nbsp's throughout the docs, mostly in pasted code, but I didn't attempt to fix them.)
I also fixed a few places (in the files I was already working in, not globally) where headers weren't separated from content above them by a blank line, and a few spots I noticed where bold was used as a surrogate for a proper header level.
The remaining changes were just places where Prettier (which is active in my VS Code) was tweaking the markdown automatically -- using _ for italic rather than *, for example. It also "prettified" the embedded JavaScript. I see there is a .prettierrc in this repo, so I hope any extra changes it made conform with the team's preferred style.

Thanks a lot!


Provide a read-only web UI

The registry can be searchable and present metadata using permalink URLs.
https://bcr-web-ui-hobofan.netlify.app/ is a start.

Now it's deployed at http://bazelbuild.github.io/bazel-central-registry

I just got approval for using https://registry.bazel.build as a custom domain for this Github Page, working on set this up!

This is done ;)


Unexpected exclamation marks

One weird thing:
some pictures (supposedly all from the same original source/Camera) show a Comment (AKA "Annotation") as three exclamation marks in ThumbsPlus. Explorer Details shows the correct 'Image Descriptionastitle`(and no exclamation marks whatsoever.
In the file there indeed is a "!!!" string somewhere.
The original file does not contain such a string.
I did check my software but did not find any hint of three exclamation marks.

Originally posted by @mschnell1 in https://github.com/TechnikTobi/little_exif/issues/32#issuecomment-2438276239
Required:

Example file where this comes up
The string you are trying to write as ImageDescription, i.e. what you expected to read but get "!!!" instead

www.bitvibe.de/Upload/A0040453.JPG
setting ImageDescription to "IW Collection, Fotoshooting, Rheinberg, Juni 2008"
which actually does works, according to Explorer Details Titel.

Can you tell me what you get now for Titel and comment with this modified file?

I get
"l_e"
?!?!?!?

That is what I was hoping for ;-) This means that the "!!!" string comes from the Photoshop Segment (see issue #35) that already exists in your source JPG image file (note: this segment is specific to JPG only). I used a hex editor to locate the exclamation marks and changed them so something I came up with ("l_e" as abbreviation for "little_exif").
This means however that adding the ImageDescription via little_exif won't work. As I am not an expert in the Photoshop Segment data structure and edit the description there as well we could think about simply removing the segment (as it does not hold any data that obviously seems important:

The highlighted area is this Photoshop Segment (as noted by the 0xFFED that are located right before the area). The next two bytes tell us that this segment has a length of 0x002C bytes, then comes some Photoshop Version information (I guess?) with the String that shows up as Comment/Titel at the end (here "l_e", the original file shows the three exclamation marks).
Removing this segment does not show any immediate drawbacks for now, and I could add a routine that does exactly that for JPG files.

Hmm.
How can I force that the ImageDescription Exif takes priority over the PhotoShop stuff ?

My proposal: Removing this segment does not show any immediate drawbacks for now, and I could add a routine that does exactly that for JPG files.

Yep an option in Little-Exif to kill the Photoshop section would be great.

Functions for clearing the APP12 and APP13 segment (both are related to Photoshop, see here) are now available in 0.6.0-beta4 and can be used via:
Metadata::clear_app13_segment(&mut file_content, file_extension)?;

I added this line after reading the file content. #
Unfortunately nor ThumbsPlus does not accept many files to be pictures any more.

Was this already the case with my two example images?

No. Your test images shows just fine, only with weird the "comments" we discussed.
Here tje orihinalk of an example with the new issue:
www.bitvibe.de/Upload(dsc61076.jpg

And what if you only perform the APP13 segment removal without modifying the metadata (i.e. disabling metadata.write_to_vec...)?

Same: no picture recognized.

I see, I am able to reproduce this at least.

A0040453.JPG does work OK.

Found, fixed and released in beta5

I don't see any problem with Beta.5 here !
Thanks a lot for making this happen !!!


Comms Driver

No one on the software team knows how to convert radio signals into bytes and vice versa. Maybe work has been done in the past, although even Aaron B doesn't know of any productive work that has been done. Please don't spend time writing a new driver, but search for any existing libraries that we could use and alter for our purposes if need be.

Talk to Dr. Muhlberger about this

Closed by #25

Closed by #25


Update roamjs components

Looks like most of the other migration steps were done already.

Im noting the build fail for sunday


Fixing metadata issues

There was a space causing rendering issues
/cc @nokura

@mairaw This looks great. Let's :shipit:


Is the C source code open?

Hi, I found you have used ffmpeg to mix the audio and video, Is the C source code open? Where can I get it?

ffmpeg.org?
On Sat, Sep 19, 2015 at 4:58 AM, yulf<EMAIL_ADDRESS>wrote:

Hi, I found you have used ffmpeg to mix the audio and video, Is the C
source code open? Where can I get it?
—
Reply to this email directly or view it on GitHub
https://github.com/Kickflip/kickflip-android-sdk/issues/49.

The author must have modified some codes to satisfy the application.  This is the key.

No, the FFmpeg sources are unmodified. The JNI bridge is open source.
On Mon, Sep 21, 2015 at 6:41 PM, yulf<EMAIL_ADDRESS>wrote:

The author must have modified some codes to satisfy the application. This
is the key.
—
Reply to this email directly or view it on GitHub
https://github.com/Kickflip/kickflip-android-sdk/issues/49#issuecomment-142156608
.

Where can I download the JNI bridge codes?

https://github.com/Kickflip/kickflip-android-sdk/blob/master/sdk/src/main/java/net/openwatch/ffmpegwrapper/FFmpegWrapper.java
Cant seem to find the .c file, but it's somewhere.

Did the author release the C source code ? I can not find them.

The FFmpeg wrapper can be found here: https://github.com/OpenWatch/FFmpegWrapper-Android/tree/master/FFmpegWrapper/jni
But, if you want to make changes to that code, you have to build the library with ndk-build.sh

In FFmpegWrapper.java, there are  functions as follow:
public native void setAVOptions(AVOptions jOpts);
public native void prepareAVFormatContext(String jOutputPath);
public native void writeAVPacketFromEncodedData(ByteBuffer jData, int jIsVideo, int jOffset, int jSize, int jFlags, long jPts);
public native void finalizeAVFormatContext();
But,  In https://github.com/OpenWatch/FFmpegWrapper-Android/tree/master/FFmpegWrapper/jni, I can not find corresponding C implementation.

prepareAVFormatContext -> https://github.com/OpenWatch/FFmpegWrapper-Android/blob/master/FFmpegWrapper/jni/FFmpegWrapper.c#L302
setAVOptions -> https://github.com/OpenWatch/FFmpegWrapper-Android/blob/master/FFmpegWrapper/jni/FFmpegWrapper.c#L345
writeAVPacketFromEncodedData -> https://github.com/OpenWatch/FFmpegWrapper-Android/blob/master/FFmpegWrapper/jni/FFmpegWrapper.c#L374
finalizeAVFormatContext -> https://github.com/OpenWatch/FFmpegWrapper-Android/blob/master/FFmpegWrapper/jni/FFmpegWrapper.c#L432


Revert "Update libreoffice to 5.2.2" to "Update libreoffice to 5.2.1"

Hi all,
It looks like LibreOffice 5.2.2 is disappeared:
http://download.documentfoundation.org/libreoffice/stable/
even we still can found 5.2.2.x here.
Maybe we should revert this PR: caskroom/homebrew-cask#25011

Version 5.2.2. is back up.

OK, just forget it. :no_mouth:


make package available in PyPI

Hi,
I am running a CI job to test one of my packages that depends on mobie.
I'd like to install mobie from a dependencies list using pip.
Would it be possible to make it available on PyPI?

same holds for https://github.com/constantinpape/pybdv/

Unfortunately this is not currently possible for mobie-utils-python, since it has several dependencies that are not available via PyPI and that are very difficult to provide through it in a reliable fashion:

https://github.com/constantinpape/z5
https://github.com/DerThorsten/nifty
https://github.com/ukoethe/vigra

These are c++ packages with python bindings, for which building wheels is not straight forward.
There are some efforts to enable building wheels from conda recipes, e.g. https://github.com/conda-incubator/conda-press.
But I don't know how well this would work in these cases and I don't have time to look into this.

same holds for https://github.com/constantinpape/pybdv/

That's possible since it does not rely on any upstream dependencies that are not available on PyPI.

Although there it seems that PyPI provides an old version.

Really? Could you link to it? I couldn't find it; and it's not by me.

I am running a CI job to test one of my packages that depends on mobie.

If you're using GH Actions then using conda is very easy: https://github.com/marketplace/actions/setup-miniconda

I am using Gitlab CI, because I need to make some custom-built containers available as web service APIs to run my tests against.
I will try to base my test run on anacoda then and get my dependencies through there.
I think I had an older version of pybdv installed in that environment, so when running pip install it did simply fetch the local installation.
In a fresh clean environment it does not find it, so false alarm...

Hmm, this looks like a numba error caused by the skan import. Have you seen this one before @jni?
@martinschorb, can you try this with a more recent python version? 3.7 is fairly old, maybe that could fix it.
If not I could update elf, so that skan only gets imported on demand.

unfortunately, one of the core packages I am using still relies on 3.7, so at the moment I am stuck using that.

Also, it runs well on 3.7 in my other environments (Mac, Linux). Just inside the continuumio/miniconda3 container, it refuses to import after installing everything.

Can you run a conda list in that container and paste the output here?

The issue arises when running python as a non-privileged user inside the container.
# su testuser -c 'conda list'
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(144): Could not remove or rename /opt/conda/conda-meta/botocore-1.24.21-pyhd8ed1ab_1.json.

By "the issue",  do you mean the error reported in https://github.com/mobie/mobie-utils-python/issues/49#issuecomment-1081810124?
If so, then this is probably caused by numba modifying files that are not accessible in the container.
This is an issue I can't do much about; except for guarding against import errors of skan / numba in elf.
But numba is a very commonly used package, so a CI set-up that can't deal with it is not very good.

Yes, it looks like it is the good old conda permissions issue in a multi-user environment.
If I chmod 777 all conda and install everything as the user, it works.

I haven't done a release yet since you've added the move_data option. I have done it now, but it will take probably till tomorrow to be on conda-forge. I will ping you then.

Cool, thanks.


Feature: suggest installation steps for npm/pip/ruby packages

This should be fairly easy and would make Autoformat a bit easier to get started with out of the box: if a formatter is easily installable via one of the popular environment-specific but os-independent package managers, Autoformat can emit a message "xxx not found. Hint: xxxx can be installed via npm install -g xxx" (or pip install or gem install, etc.)

I'm not against this, but I also feel that this feature solves a non-existent problem. So I'm not sure if it's worth the hassle. If you can implement this in a way that doesn't introduce additional housekeeping, I'm fine with this feature.

Closing as not an issue.


Allow freeing NSView based on parent window closing notifications.

In order to use third party crates that, under the hood, may increase the ref count of the given NSView, we add an additional "window closing" check by querying the given NSView for its NSWindow parent, and subscribing to the NSWindowWillCloseNotification message.
Note that in DAWs such as Reaper, we share a parent window with other plugins, so this approach is not reliable (since you can switch between different plugins but the window persists). Those cases may require another solution.
(Mostly) fixes #124

I am not really a fan of heuristic solutions like this. As you say, in situations like in Reaper where the NSWindow outlives Baseview's NSView, this notification won't occur; and, in the reverse situation, where the host closes the containing NSWindow but retains a reference to Baseview's NSView and then reparents it to another window, this notification will result in premature destruction of the Baseview window.
There was a discussion on the Rust Audio discord several months ago about changing Baseview's API contract so that windows may only be closed via an explicit call to WindowHandle::close() or Window::close(), which would resolve the refcount cycle issue in a more principled way. I'll write that up in more detail on #124.


Add document for merge operator

Description
What is the current behavior?
In the past, we had a tutorial which illustrated how to use each of our operators/decorators:
https://github.com/astronomer/astro-sdk/blob/be6280df00ccff0d7a1c0dfb099b2065303dbe88/REFERENCE.md
closes: #591
What is the new behavior?
Have a reference page per operator/decorator similar to
https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/operators/ecs.html#howto-operator-ecsoperator
In which we reference parts of an (automated tested) example DAG which illustrates the usage of that operator/decorator.
Many of these use cases already exist in our example DAGs - we should reference them.
merge
with conflicts (what options the user has)
without conflicts
Does this introduce a breaking change?
Nope
Checklist

[X] Extended the README / documentation, if necessary

Closing this one as this had conflicts. Raised a new PR - https://github.com/astronomer/astro-sdk/pull/636


Microsoft Autofill on kiwi

The "Microsoft AutoFill" extension does not work properly on kiwi browser.
Is there a plan for kiwi to support this extension in the future?

Can you provide more info of what is not working ?

Sorry, I haven't used this browser for a long time, so I can't provide more info

Closing this then . If you will be back to Kiwi and still face the issue feel free to re-open the ticket with details .


Replace list of disposable resources with explicit disposal

Sometimes we have something like List<IDisposable> Resources and add stuff to it and on Dispose we dispose items in the list.
This is a bad idea and we were removing it from the codebase but there are still some instances of this pattern.
Reason why it should be removed: this pattern removes control over disposing sequence.

I think that a list of disposable resources may be useful to check that all disposable resources are effectively disposed.
We have many places with naive implementation of Dispose() where we don't catch exception and we may end up with disposable object not disposed (and this may be the cause of some weird behavior node has sometime)
reference to an issue I just opened: #3035


Express Dialog

Description
Changes to dialog to use aliases better so it supports express vars.
Spectrum dialog:

Express dialog:

How and where has this been tested?

How this was tested:
Browser(s) and OS(s) this was tested with:

Screenshots

To-do list

[x] If my change impacts other components, I have tested to make sure they don't break.
[x] If my change impacts documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

[x] This pull request is ready to merge.

Looks like the title font weight isn't switching. I'll dig into it.

Waiting on close button to finish this up.

The close button X icon is smaller, but not actually a part of the design system ui kit, so we don't have a definition of the size. I went with the default Close Button size.


Document the order of game updates and script callbacks in AGS

These are so messed up ("historical" reasons!) that I keep forgetting them myself, and give wrong advises to people.
From double-checking the code, the actual order of things in AGS is this:
rep_exec_always > main game update > late_rep_exec_always > screen shaking > mouse position update > gui visual poll (react to mouse over etc) > render > rep_exec and all other events (scheduled during this frame) > room background animation update.
Yes that's weird.

There's some related information here: https://github.com/adventuregamestudio/ags-manual/wiki/BlockingScripts

Btw, it's probably wrong and relates to some old state of the engine, because it mentions 3 script "threads" while engine currently has only 2.

BTW that page is kind of wrong, because there are not 3 but 2 "threads". Probably the "room thread" was split out to illustrate the relation between global script and room, it even sais that room events still run on the global thread.

Added new page: https://github.com/adventuregamestudio/ags-manual/wiki/GameEventsOrder
Linked from here: https://github.com/adventuregamestudio/ags-manual/wiki/ScriptingLanguage
Could be moved elsewhere later if it's bad.


last guesit - 0.10.1 breaks it

i get index out of range errors

Refer to https://github.com/Diaoul/subliminal/issues/429


Problem with EachValidator in 2.0.8

An example of rules in the model:
// $this->brands = [1];
public function rules()
{
    return [
        [['brands'], 'each', 'rule' => ['integer']],
    ];
}

When $this->brands = [1]; errors should not be
After validation I have an error "brands must be an integer."
The problem is probably in \yii\validators\EachValidator in 131 lines
foreach ($value as $k => $v) {
            $model->$attribute = $v;
            $validator->validateAttribute($model, $attribute);
.....

$model->$attribute = $v;
var_dump($v, $model->$attribute);

vendor/yiisoft/yii2/validators/EachValidator.php:132:int 1
vendor/yiisoft/yii2/validators/EachValidator.php:132:
array (size=1)
  0 => int 1

Yii 2.0.8
PHP version   7.0.5
Operating system OS X

Such behavior validator due setter
My model:
private $brands;
........

    /**
     * @param string $brands
     */
    public function setBrands($brands)
    {
        if (is_scalar($brands) && preg_match('/^\d+(?:,\d+)*$/', (string) $brands)) {
            $this->brands = explode(',', (string) $brands);
        }
    }

I do not know if this is a bug in validator.

you should remove the private property, it prevents the attribute from being set.

assuming you are using active record

This model is not ActiveRecord. Attribute brand in my case must be an array.
EachValidator assigns attribute brands of integer or string value at the time of validation. I did not expect this.
I can do attribute "brands" public and move method setBrands from model. But, it seems to me, this is not the right solution.

the best way would be to have it as a public property and do the transformation in a filter validator.

Thanks, I'll do what you recommend.
But I think that the validator should not change the model state in validation process.

How I can now implement this logic if I use eachValidator for check integer in catIds? https://github.com/yiisoft/yii2/issues/3660#issuecomment-44921519

But I think that the validator should not change the model state in validation process.

that's the purpose of filter validators, we have not introduced another concept of filters beside validation flow because this way, they can be mixed.


MapVector::sortedKeys_ is not maintained properly

Bug description
I found that MapVector::sortedKeys_ flag is not maintained properly when I investigated the error in https://github.com/facebookincubator/velox/issues/4114.
MapVector::sortedKeys_ indicates whether all rows in the map vector has their keys sorted in ascending order. This flag is used in MapZipWithFunction to skip sorting of keys. However, it doesn't always reflect the truth.

When a map vector is created, sortedKeys_ is set to false unless explicitly specified by the constructor caller. Callers that do not specify this flat include CastExpr, MapFilterFunction, MapValues, MapVector::slice().
CoalesceExpr and SwitchExpr compose a result vector with contents from multiple arguments. They do not update the sortedKeys_ flag, so the final result's sortedKeys_ flag would remain the same as the flag of the first argument or branch.

For (1), since MapVector constructor conservatively set sortedKeys_ to be false, it doesn't cause correctness issue. But (2) can possibly cause correctness issue when evaluating map_zip_with(coalesce(sorted_key_map, non_sorted_key_map), ...).
One possible solution is to set the result vector's sortedKeys_ to true only if all arguments of CoalesceExpr or all branches of SwitchExpr have sortedKeys_ being true (or simply set the result sortedKeys_ to false for these two special forms). This would require a special handling of MapVector in these two special forms.
System information
Unit test to reproduce the issue:
TEST_F(ExprTest, mapIsSortedKeys) {
  auto map1 = makeNullableMapVector<int64_t, int64_t>(
      {{{{0, 0}, {1, 10}}}, {{{2, 20}, {3, 30}}}, std::nullopt});
  EXPECT_TRUE(map1->hasSortedKeys());

  auto map2 = makeNullableMapVector<int64_t, int64_t>(
      {std::nullopt, std::nullopt, {{{5, 50}, {4, 40}}}});
  auto keys =
      makeNullableArrayVector<int64_t>({{{0, 1}}, {{2, 3}}, std::nullopt});
  auto values =
      makeNullableArrayVector<int64_t>({{{0, 10}}, {{20, 30}}, std::nullopt});

  auto result = evaluate(
      "coalesce(map(c0, c1), c2)", makeRowVector({keys, values, map2}));
  auto resultMap = result->as<MapVector>();
  EXPECT_FALSE(resultMap->hasSortedKeys());
}

Relevant logs
No response

Set the result vector's sortedKeys_ to true only if all arguments of CoalesceExpr or all branches of SwitchExpr have sortedKeys_ being true

I think this is a good way to go.

Set the result vector's sortedKeys_ to true only if all arguments of CoalesceExpr or all branches of SwitchExpr have sortedKeys_ being true

I think this is a good way to go.

Hi Jimmy, Thank you for sharing your idea! Looking into this problem deeper, Masha and I found that it doesn't limit to sortedKeys_ and CoalesceExpr only. I extend the discussion about this problem in https://github.com/facebookincubator/velox/discussions/4148.

Closing this issue since it has been fixed.


fix: KeyError during creating endpoint strategy if it contains a reference

Fixes #612

Codecov Report

Merging #613 into master will decrease coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #613      +/-   ##
==========================================
- Coverage   99.73%   99.60%   -0.13%
==========================================
  Files          51       51
  Lines        3354     3322      -32
  Branches      578      578
==========================================
- Hits         3345     3309      -36
- Misses          3        5       +2
- Partials        6        8       +2

Flag
Coverage Δ

#unittests
99.60% <100.00%> (-0.13%)
:arrow_down:

Impacted Files
Coverage Δ

src/schemathesis/models.py
100.00% <100.00%> (ø)

src/schemathesis/specs/openapi/schemas.py
100.00% <100.00%> (ø)

...c/schemathesis/specs/openapi/expressions/parser.py
97.36% <0.00%> (-2.64%)
:arrow_down:

src/schemathesis/extra/pytest_plugin.py
97.53% <0.00%> (-2.47%)
:arrow_down:

src/schemathesis/specs/openapi/security.py
96.49% <0.00%> (-0.07%)
:arrow_down:

src/schemathesis/runner/impl/core.py
99.46% <0.00%> (-0.01%)
:arrow_down:

src/schemathesis/lazy.py
100.00% <0.00%> (ø)

src/schemathesis/hooks.py
100.00% <0.00%> (ø)

src/schemathesis/stateful.py
100.00% <0.00%> (ø)

... and 7 more

Continue to review full report at Codecov.

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


Add option to allow passing unknown parameters to ParameterExpression.bind

Summary
This allows the user to avoid an error being raised when passing a dictionary to ParameterExpression.bind that can contain parameters not in the expression. This is done by adding the allow_unknown_parameters argument.
Details and comments

In other parts of Qiskit Terra we use a raise_on_failure: bool argument, to indicate whether or not an error should be raised or merely a warning should be logged.

I'm not sure that's appropriate here because it's not clear what action to take under other failure conditions, like zero division. Besides, passing unknown parameters is a sensible use case, so we should allow the user to do that while catching other error conditions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.002%) to 84.536%

Files with Coverage Reduction
New Missed Lines
%

qiskit/extensions/quantum_initializer/squ.py
2
79.78%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
63844

Relevant Lines:
75523

💛  - Coveralls

CI failure seems unrelated

I've added the argument to ParameterExpression.subs.

CI failure seems unrelated.

@Mergifyio requeue


support annotations to customize step behavior

supports things like

custom step names for a method
custom step behavior (skippable, etc)

[ ] decorator function
[ ] name
[ ] repeatable
[ ] skippable
[ ] critical
[ ] timeout ?

closing in favor of #18


BottomSheet cannot scroll in Android release build

Steps to reproduce:

Build Android release build with any keystore.
Pass onboarding screen.
Open BottomSheet.
Expect BottomSheet cannot scroll.

Does this refer to the bottomSheet content? If so this would be solved by PR here: https://github.com/CovidShield/mobile/pull/64/files#diff-fd838fc0404393664e941314a16c6240R111

Yes, it does. Thanks @sbearben

Fixed


latest update broken, cannot find ID

somehow after latest update, I am getting message that it can't find the id. New annotations made in the settings pane do not appear.  Luckily, I had made an .md file before noticing the problem :)

Thanks for the feedback!
I worked a lot to ensure that annotations are not getting lost and upgraded to the new format. Obviously, I missed something.
Would you be so kind to send me your data.json file. You can find it under the folder YOUR_VAULT/.obsidian/plugins/plugins-annotations. This will allow me to understand what went wrong and fix it.

Meanwhile, I withdrew the release 1.5.0 until I will figure out what went wrong with your settings. I want to avoid endangering the annotations of other users.

Good luck.
In this particular vault, no error was thrown.
data.json
https://github.com/user-attachments/assets/341fa371-ac4b-483a-8528-111beb32c171

Meanwhile, I withdrew the release 1.5.0 until I will figure out what went wrong with your settings. I want to avoid endangering the annotations of other users.

The losing of the annotations was my fault, for uninstalling. I don't think the plugin as it was lost any.

Thank you!

The losing of the annotations was my fault, for uninstalling. I don't think the plugin as it was lost any.

This is very helpful to know. Yes, indeed, this is a typical thing of Obsidian. If you uninstall a plugin, you lose all important settings stored in the plugin. I will consider in the future adding a button to make a backup of the configurations and settings.

You said you could recover your old annotations. Could you send me this data.json? The one you sent me contains no annotations. If you open it, you would find:
{
  "annotations": {},
  "plugins_annotations_uuid": "BC56AB7B-A46F-4ACF-9BA1-3A4461F74C79",
  "hide_placeholders": false,
  "delete_placeholder_string_on_insertion": false,
  "label_mobile": "Annotation: ",
  "label_desktop": "Personal annotation: ",
  "label_placeholder": "Add your personal comment about ${plugin_name} here...",
  "editable": true,
  "automatic_remove": false,
  "markdown_file_path": "",
  "compatibility": "1.5.0"
}

The first field annotations should not be just empty {} as in your case, but contain a list of annotations. If you can find your data.json file that has worked until now and still works with the previous version, it will be super helpful to debug and fix the problem.

Here is your rabbit hole.
I found an old vault that had the veresion 1.4 installed:
{
  "annotations": {
    "mrj-crosslink-between-notes": {
      "anno": "another test",
      "name": "Add links to current note"
    }
  },
  "plugins_annotations_uuid": "B265C5B2-A6AD-4194-9E4C-C1327DB1EA18",
  "hide_placeholders": false,
  "delete_placeholder_string_on_insertion": false,
  "label_mobile": "Annotation: ",
  "label_desktop": "Personal annotation: ",
  "label_placeholder": "Add your personal comment about ${plugin_name} here...",
  "editable": true,
  "automatic_remove": false
}

so I pasted the annotations part into a vault that had 1.5 installed and was missing the annotation (but had the same plugin):
{
  "annotations": {
    "mrj-crosslink-between-notes": {
      "anno": "another test",
      "name": "Add links to current note"
      "type": "markdown"
    }
  },
  "plugins_annotations_uuid": "BC56AB7B-A46F-4ACF-9BA1-3A4461F74C79",
  "hide_placeholders": false,
  "delete_placeholder_string_on_insertion": false,
  "label_mobile": "Annotation: ",
  "label_desktop": "Personal annotation: ",
  "label_placeholder": "Add your personal comment about ${plugin_name} here...",
  "editable": true,
  "automatic_remove": false,
  "markdown_file_path": "_newtest.md",
  "compatibility": "1.5.0"
}

This annotation appears properly, and is editable. If I edit it, the edits appear in the file (I can monitor the contents of the file in a text editor).
However, I am not able to make edits to any other plugins that stick.
Now, if I try to switch to markdown as the markdown file (in the root directory), and add a new file, the plugin settings show the new file, but no new file is created.
{
  "annotations": {
    "mrj-crosslink-between-notes": {
      "desc": "this is a test of it youu",
      "name": "Add links to current note",
      "type": "markdown"
    }
  },
  "plugins_annotations_uuid": "BC56AB7B-A46F-4ACF-9BA1-3A4461F74C79",
  "hide_placeholders": false,
  "delete_placeholder_string_on_insertion": false,
  "label_mobile": "Annotation: ",
  "label_desktop": "Personal annotation",
  "label_placeholder": "Add your personal comment ",
  "editable": true,
  "automatic_remove": false,
  "markdown_file_path": "anewtest.md",
  "compatibility": "1.5.0"
}

Switching to subdirectory is okay:
{
  "annotations": {
    "mrj-crosslink-between-notes": {
      "desc": "this is a test of it youu",
      "name": "Add links to current note",
      "type": "markdown"
    }
  },
  "plugins_annotations_uuid": "BC56AB7B-A46F-4ACF-9BA1-3A4461F74C79",
  "hide_placeholders": false,
  "delete_placeholder_string_on_insertion": false,
  "label_mobile": "Annotation: ",
  "label_desktop": "Personal annotation",
  "label_placeholder": "Add your personal comment ",
  "editable": true,
  "automatic_remove": false,
  "markdown_file_path": "temp/anewtest.md",
  "compatibility": "1.5.0"
}

Make changes only within the annotation blocks marked by  and . Changes made anywhere else will be overwritten.

# Add links to current note

this is a test of it youu

This is editable both from settings and from the file.
HOwever, edits from teh file do NOT appear in the json file *until I edit it from settings!
Edting in other plugins still does not work.

I recovered the content of the edits from the markdown file, but not the contents of the json, so I can't send you the json.

Thanks a lot for the detailed feedback. It was very useful to identify two bugs.
After your feedback, I added to version 1.5.1 a section for managing backups of the annotations. I don't want people to lose their annotations because something goes wrong.

Dang, it works!
Great job, thanks for fixing it so promptly. I am looking forward to making good use of it!
:-)

Thank you very much for your quick feedback and help identifying the problems. It was super helpful. I will close this issue.


⚠ Bofrost.at has degraded performance

In d0402f9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1182 ms

Resolved: Bofrost.at performance has improved in e590cb3 after 13 minutes.


Feat signature chain

Major refactoring of how signatures are written, verified and chained.

added hash value to signature
added key fingerprint to signature
removed notion of 'signatureGrapn': the outermost signature is in a separate graph but all the others are in envelope graphs
removed SignatureMethod in favor of fixed values
add signature of all the events in the same connection that haven't been referenced, yet to node envelope.
add signature of the need create event to the node envelope of each connect/open message

Open Todos:

update message-signing.md to reflect changes
put public key in connect/open message so that we have a signed message containing that key on our side (in the owner application).
fix the multiple envelope problem: node may generate multiple stacked envelopes to add different kinds of data, this is wasteful
add the link to previous messages
check for the protocol version identifier, only allow 1.0

@fkleedorfer finished checking the pull therequest

Some todos fixed in #717. Still open:
Open Todos:

update message-signing.md to reflect changes
put public key in connect/open message so that we have a signed message containing that key on our side (in the owner application).
check for the protocol version identifier, only allow 1.0


run error and questions about data format

Hi, i'm studying the brilliant system.
After deploying the system ,i got error 'Segmentation fault (core dumped)' when i tried to run it . Is there any suggestion for this error ?
More else, where can i got the file 'twitter-2010.binedgelist'? If it is possibile , Would you please offer some test files in this project so that users could run this system more conveniently without worrying the data format.
Thanks

Hi. Can your provide more detailed information? You may use gdb to locate the detailed position where the segmentation fault happens.
For the twitter-2010 data, you can first go to the WebGraph Dataset page and then write a program to extract the edges and write them to an output file in binary format.

@coolerzxw So do you mean that based on current project, the only way of reading the graph is read from a binary format from a regulated exact format?
If is, I think the data reading part could be more flexible. If you need the part I think I am willing to help. (I am currently trying this on a practical problem before this I used GraphX)
qiu hui fu 3q! ╮(╯▽╰)╭

@SummerLitchy Yes the current implementation can only read from binary edge list files. It would be great if you can enhance the input/output implementation!

hi, how to make twitter-2010 data ,it's download twitter-2010.graph and write it to binary format?


Somthing wrong with saving data of  CustomObjective

My first post: https://github.com/FlyingPikachu/Quests/issues/706
More:
That's all code of my CustomObjective. I have my plugin QuestConversation but it just get data from quest. I realize that when I created quest with only my CustomObjective, it saved all data of this quest. But when I created it with requirement, reward,... it only saved first data of data map.
Your plugin is wonderful, i love it. Hope you will check it back soon. Thank you!

Your code from before: https://pastebin.com/0BpyZ422
Creating a plugin ("QuestConversation") for custom objectives/rewards/requirements rather than a module is neither supported nor recommended, as that is not indicative of this project's goals for the user experience. It is recommended that you release a module along with your plugin so that users may safely break linkage with your plugin at any time. Quests will not populate the datamap properly unless the code is loaded as module from the plugins/Quests/modules folder at startup. When creating a module, you may wish to catch an event as such is the purpose of creating a CustomObjective class which extends Listener.


iframe [src] property binding not updating

I have a component with a template like so:
        <iframe

            [src] = "_sourceFile"

            allowfullscreen webkitallowfullscreen>
        </iframe>

As you can see the component has a _sourceFile property that is being bound to as the src for the iframe in the template. The initial value is bound to correctly and the page is loaded successfully. However, when I modify _sourceFile to a new URI the iframe makes no attempt to update and load the new resource....
I believe this to be a bug, but if I am simply missing something please let me know. I've tried to research the issue, but I can only find Angular 1 resources on the matter.

This repo is for Angular2 documentation.
Your question sounds like a support question.
GitHub issues are for bug reports and feature requests.
For support questions please use other channels like the ones listed in CONTRIBUTING - Got a Question or Problem?
If you don't think it is a support question please open an issue in https://github.com/angular/angular with a Plunker that allows to reproduce.

I'd say this is a bug - unless it is documented somewhere that the iframe src property is unsupported by the present version of angular2?

If it's actually a bug you need to provide a plunker that allows to reproduce it and the bug needs to be reported in the https://github.com/angular/angular repository where Angular2 bug reports are maintained. This repo is only for Angular2 documentation (the http://angular.io site)

@iam1me I am having the same issue and I was wondering if you have figured out a workaround for this issue?

@iam1me i am also having the issue.

Toggle the iframe...
I was trying to force a file to download, and went the iframe route (sure, there are other ways). Here are the relevant parts I used to get the iframe to reload (so a user could download the file more than once (how likely is that??? i know)):
...
import { DomSanitizer, SafeResourceUrl, SafeUrl} from '@angular/platform-browser';

@Component({
    ...
    template : `
<!-- iframe for download -->
<iframe [src]="url" *ngIf="download" height="0" width="0" frameborder="0"></iframe>`
})

export class SomeComponent(){

    // url for iframe
    private url:SafeResourceUrl;

    // toggle iframe
    private download:boolean = false;

    constructor(private sanitizer: DomSanitizer){
    }

    mediaDownload(_id:string){
        this.download = false; // hide iframe
        this.url = this.sanitizer.bypassSecurityTrustResourceUrl('//api.' + window.location.hostname + '/content/media/download/' + _id);
        this.download = true; // show iframe
    }

}


New Validation Tool

I tried out your new validation script, and it flagged a couple things incorrectly

We have a field 'OrigMapUnit' that has map units that we are not defining in our DMU, the correct values are in the 'MapUnit' field. The tool flagged every entry in the 'OrigMapUnit' as not in the DMU
We have an additional table that has digitization Methods listed and it flagged our methods as not being defined in the glossary
I think its telling me that im missing my GeologicMap dataset, but im not sure how I would be missing it if it went through and checked it.

Also the old 2.9.4 validation script adds the GeoMaterialDict to the database and the new 2.10.2 validate tool does not, and in the new validate tool I think there is a typo in the geomat. dict for "Made" deposits

Undefined methods found in a non-GeMS table should now get logged as warnings, not errors. I haven't addressed fields like OrigMapUnit yet.

I have changed the tool so that undefined values in fields like OrigMapUnit are logged as warnings, not errors.  Try it out and let me know.

Fixed