Document Integral Curves

Update/create documentation on integral curves.

"Go to the Source section on the Integration tab." in https://visit-sphinx-github-user-manual.readthedocs.io/en/develop/tutorials/Aneurysm.html#visualizing-the-velocity-vector-field doesn't make sense because source is now its own tab

Sampling along and sampling type should be on different lines

Add sphinx docs for http://www.visitusers.org/index.php?title=Integral_Curve_Operator_in_VisIt

[ ] Under source->field->flash, it is not clear what the velocity property does.

[ ] Is NIMROD still a future implementation? (source->field)

[ ] Not really clear what is bounding box absolute tolerance for the integrator.

It is not clear if Pathline options in Appearance tab are for  both streamlines and pathlines.

[ ] Determine if pathline options are for both pathlines and streamlines or just the one.

[ ] Under advanced, warnings, why would we issue a warning when the maximum number of steps is reached?

[ ] Remove details of stiffness warning from the gui.

[ ] What is speed cutoff for critical points?

[ ] Add images from visit users to the new docs. Images of the gui itself should be retaken because they are outdated.

[ ] Integral Curve -> Source: replace "Read text file" with "Load Points..."

[ ] Correlation distance and difference in ICO->Appearance

[ ] Keep all point should not have the "Velocity threshold" greyed out. This option should simply not be there.

[ ] The PICS image should be much simpler than what was in the visit-users doc. It should show a vector field along with a streamline. Maybe something like aneurysm.

Under ICO->Source->Termination, what is:

[ ] Limit maximum time elapsed by particles
[ ] Limit maximum distance traveled by particles.

Under ICO->Appearance->Data what is:

[ ] Correlation Distance

[ ] Termination Subsection for LCS is not well documented or even clear what it does. Look into this and document from scratch

[ ] Second paragraph of Limit Cycle operator leaves the user asking, "What is this for?"

[ ] In the gui for limit cycle appearance, remove the (limit cycle may not be present)

[ ] What is directionless integration? It is not clear....

[ ] Data is a bad name. Should probably just be color since that's what it does.

[ ] How much work would it be to streamline the interface for all PICS operators (e.g. support same source types for each)?

[ ] What do we mean by material in the limit cycle operator?

[ ] Confirm the conservative criteria (the or-ing).

[ ] Poincare settings have the term "fieldlines". Replace this with a different term (either streamlines or integral curves).

[ ] Consider removing Forward Euler because it is unnecessary

[ ] How does Visit choose the best parallel algorithm.

[ ] Update gui to have RKDP instead of Dormand-Prince (Runge-Kutta)

[ ] The options under Appearance->Data are not clear. It is not clear that "Seed ID" will randomly color each curve a different color. Some of these options should be updated to be more self-descriptive.

[ ] Add CLI docs as well, including the script for animations.

[ ] Understand Poincare Appearance

[ ] Only show the fields with third party values that the user's build supports.

Things to investigate:

More intelligent seeding, especially when wanting a general picture of vector field.
"You should always get a picture." So why do the integral curves fail so often?

* [x]  Is NIMROD still a future implementation? (source->field)

I emailed Allen about this. It has not been implemented yet.

[ ] Remove NIMROD interface because it does not work.


Uri.parse does not throw on invalid inputs (docs say it does)

The tooltip for Uri.parse says "Will throw if the given value is not valid", however it seems to accept all sorts of things that I wouldn't expect to be valid (eg. no protocol or invalid domains).
console.log("Testing URIs");
console.log(Uri.parse("d").toString());
console.log(Uri.parse("").toString());
console.log(Uri.parse("0").toString());
console.log(Uri.parse("-test.com").toString());
console.log(Uri.parse("test-.com").toString());
console.log(Uri.parse("http://test-.com/").toString());
console.log("Nothing threw");

Outputs:
Testing URIs
d

0
-test.com
test-.com
http://test-.com/
Nothing threw

@jrieken Understood. I think it'd be worth making the tooltip a bit clearer to avoid confusion.

With https://github.com/Microsoft/vscode/commit/d2239c2473fda8ae7898f75a453f8a9eb0fdad1d there is Uri.parse(value, strict). Running with strict will throw when no scheme can be parsed. That should cover most of the cases above


ENH: Pass parameters for manual run

Is your feature request related to a problem? Please describe.
When running a task manually (using force_run), sometimes it's useful to pass parameters for this particular manual run.
Describe the solution you'd like
Possibly a core change. An attribute manual_parameters or so that are used only once and only when the task is run with force_run.
Describe alternatives you've considered
Cannot think of such.

This is already implemented and will be in v2.4.0:
@app.task()
def mytask(x, y):
    ...

task = app.session["mytask"]
task.run(x=5, y="value")

task.run will set the task to the run queue of the task (called batches) which the scheduler will pick when it has time. The parameters supplied to the method will override all others that overlap.


Remove support for bring-your-own certificate authority

Remove the ca_certificate, ca_key_alg, and ca_private_key variables
Typhoon does not plan to expose custom CA support. Continuing to support it clutters the implementation and security auditing
Using an existing CA certificate and private key has been supported in terraform-render-bootkube only to match bootkube

Relevant discussion where Typhoon won't allow bring-your-own CA. Leaving this open for a while.

Hi,
Regarding the TLS questions, what is the recommended approach to rotate/update/renew the TLS certificates used by the K8s component (API/kubelet/etcd/...) ?
My understanding is, based on the validity_period_hours hardcoded values, the deployed Typhoon clusters would "stop working" after a year.
Thank you.

This PR doesn't change TLS certificates expiring being out of scope.
Cluster expiration falls in the same category as in-place updates, as a non-goal. True in-place updates forever (incl. component cert rotation assuming CA's haven't expired) are possible (we did it in Tectonic), but with substantial tradeoffs. I don't invest time in this anymore.
Yes, a year old cluster will stop working. But a year old cluster also has a verison of Kubernetes that upstream doesn't support or patch. Its vulnerable. And its missing a year of Typhoon improvements.
Instead, I recommend designing for periodic replacements of clusters and investing in blue-green cluster migrations / failovers. Typhoon is geared for this with its minimalism, speedy creation/deletion, and frequent releases. Its a different operational paradigm, but with it, I've found a year to be plenty.
See https://typhoon.psdn.io/topics/maintenance/#upgrades


Optional DataInt.Body elements

I've changed my mind about DataInt.Body/subscript(optional:), etc. In particular, optional DataInt.Body/first and DataInt.Body/last elements help fight verbosity. Perhaps I can do without (#28), if the expression is ergonomic enough.

In other news, I confirmed that the following examples produce identical machine code:
func verbose(body: UnsafeBufferPointer<UInt8>) -> Bool {
    if  body.isEmpty {
        return true
    }   else {
        return body[body.count &- 1] != 0
    }
}

func succinct(body: UnsafeBufferPointer<UInt8>) -> Bool {
    body.last != 0
}

Now that I think about it. DataInt/first and DataInt/last also make sense. The former more so than DataInt/load().


Adding Google Clone Project

Describe the project you want to add with tech stack
This is a Google Clone application built with React JS. It replicates the functionality of the Google search engine, providing a home page, search component, and search results page.
Expected behavior

Home Page: The application displays a home page similar to the Google search page, with a search bar and buttons.
Search Component: Users can enter search queries in the search bar and click the search button to initiate a search.
Search Page: The application displays search results instantly without refreshing the page, providing a list of search results with page titles, snippets, and links.

Screenshots (optional)
Home Page

Search Page

Additional context (optional )
Technologies Used

React JS: The application is built using React JS library, enabling efficient and modular UI components.
Material UI: The Material UI library is used for styling the UI components and providing a modern and responsive design.
React Router: React Router is utilized for handling routing within the application, allowing navigation between different pages.
Context API: The Context API is used for state management, allowing data sharing between components using a global state.
Google Custom Search API: The application makes use of the Google Custom Search API to fetch search results based on user queries.
Firebase: Firebase is used to set up the app and connect it to Google services, facilitating authentication and other backend functionalities.

Project already present


Binding only works sometimes

Binding fails ~9/10 times. Not sure if I am improperly using the node-ldapjs client, or if there is a problem with the server I am connecting to.
My code:
var client = ldap.createClient({
  url: 'ldap://main.ad.rit.edu',
});

client.bind(credentials.username, credentials.password, function (err) {
  if (err) {
    console.log("[ERROR] when binding:");
    console.log(err, err.dn, err.code, err.name, err.message);
  } else {
    ...
  }
}

Output (on failure case):
[ERROR] when binding:
{ [ConnectionError: ldap://main.ad.rit.edu closed]
  dn: [Getter],
  code: [Getter],
  name: [Getter],
  message: [Getter] } '' 128 'ConnectionError' 'ldap://main.ad.rit.edu closed'

Otherwise, when it succeeds, I can run queries and the client functions as expected.

Any update on this? we are also facing similar issue

It may be outside the scope of this tool. I used the ldapsearch command with debugging enabled (e.g., ldapsearch -d 1 ...) to see that I was connecting to a server with a poor load balancing strategy. The query would eventually finish, but after considerable amount of time. Maybe there are some timeout configuration settings that could be causing this issue.

Assuming ldapjs v0.7.1, it does seem like an issue where the connection was closed prematurely by the server (or some intermediate component).

Is there a fix for it? or should we use older version and what would be impact. This is impacting us.

It's likely a server issue.
If you have packet captures of the transaction, that could be confirmed.

I had a similar issue that was resolved by pointing the url parameter to the LDAP server IP / load balancer IP instead of a domain name. In my particular situation the parent domain name space was performing round robin dns queries that sometimes would point to servers that were slow or that couldn't be routed to hence the sometimes works, sometimes is slow, sometimes fails issue.

Just stumbled upon this.
I'm having a similar problem. Most of the time bind works but sometimes it fails to bind.
It shows this error because it takes too long

Any update on how to resolve this?

@bhshkh As stated before, it's likely an issue with the LDAP server you are connecting to and not the node-ldapjs client.

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


semantic segmentation does not work properly on props ingestion- version 0.9.8 linux from source

Hello
working on carla release 0.9.8 on linux from source
after prop ingestion (using json file with tag e.g. -  {
"maps": [
],"props": [
{      "name": "MyProp01",      "size": "big",      "source": "./props/prop01/prop01.fbx",      "tag": "Vehicles"} ]} )
the image that I get with semantic segmentation sensor colores the object in black (so my tag has no effect).
I found out the "render custom" is disabled on  my prop after start playing , comparing to other constant actors in the scene,  so perhaps this should be fixed
Thanks

Did you try with 0.9.9? Any differences?

I have similar issue on 0.9.9 version
See: https://github.com/carla-simulator/carla/issues/3070


i2c example ?

I didn't know where to ask this ... i feel it may not be the right place ...
my question:
I'm trying to connect a sensor with i2c protocol to my jn5168 chip.
I'm not using the entire Mesh_Bee framework, i just what the i2c stuff.
where i should start looking in the code base (which files ?) .
library files are so dependent on each other ...

https://raw.githubusercontent.com/Seeed-Studio/Mesh_Bee/master/suli/suli.h &
https://raw.githubusercontent.com/Seeed-Studio/Mesh_Bee/master/suli/suli.c
worked perfectly.


Error in Triton implementation

Using the below configuration i loaded the instruct model
config = transformers.AutoConfig.from_pretrained(
  'mosaicml/mpt-7b-instruct',
  trust_remote_code=True
)
config.attn_config['attn_impl'] = 'triton'

model = transformers.AutoModelForCausalLM.from_pretrained(
  'mosaicml/mpt-7b-instruct',
  config=config,
  torch_dtype=torch.bfloat16,
  trust_remote_code=True
)
model.to(device='cuda:0')

But I got error:
TypeError: dot() got an unexpected keyword argument 'trans_b'

That error comes up if you are not using the pinned version of triton ie it looks like your requirements are not installed correctly.
https://github.com/mosaicml/llm-foundry/issues/62#issuecomment-1538604986


Bump version to 0.2.0

Change profile output from box to match Portable Contacts schema

http://passportjs.org/guide/profile

profile.displayName over profile.name

profile.name is now an object

{ name: {
  givenName: 'firstName',
  middleName: 'middleName',
  familyName: 'lastName'
} }

lock express < 4
add npm > 2 to engines
add relative path to passport-box
update views to use displayName (name is deprecated)
added profile dump to account page (for clarity)

@bluedge let me know what I need to do to get this merged.

fixed while I revamped the whole thing


Move SlfLoggingSpanCollector to com.github.kristofa.brave.ext package

SlfLoggingSpanCollector has a dependency on brave and needs to be relocated together with Brave in order to prevent class conflicts when both jaxrs-clients and dropwizard-server packages are on the classpath.

Its probably worth pushing these upstream to Brave. I created PR https://github.com/openzipkin/brave/pull/226 for both synchronous and async slf4j logger implementations.

ah, nice


Company 3 just realised about the format

| Packaly | Utrecht/NL | Engineering | https://packaly.com/ | N/A |

Hi @Younext19. Thanks for you PR.
In fact the link as specified in the README file should take us to the careers page, so it should be https://jobs.packaly.com/ instead


Conders removing upper bounds from dependencies

By default, Poetry uses caret (^) constraints for dependencies, which introduces upper bounds on dependencies.
For user tools and libraries (things installed into user-controlled environments), it's a good idea to remove upper bounds because Python has a flat-dependency tree, and strict version requirements lead to unnecessary conflicts. E.g., when a new version of a ncompre dependency is released, users cannot install it into the same environment as ncompare unless a new version of ncompre  is also released.
Importantly, for user tools and libraries, upper bounds are guaranteed to make ncompare uninstallable (break) in user environments over time without regular releases that move the upper bounds. New versions of dependencies, however, are not guaranteed to break ncompare (even for major releases) as you may not be using the parts of the API that have changed. So upper bounds have a tendency to increase the maintenance of Python packages and decrease their usability.
The poetry-relax Poetry plugin helps ease this process and has a really good reference section on the discussion around this that'd be worth reading:
https://github.com/zanieb/poetry-relax?tab=readme-ov-file#references

@jhkennedy, how do you feel about the carat ^ still being used for the specified version of Python in pyproject.toml?

@danielfromearth Poetry currently requires an upper bound on Python, so it's definitely one to leave. Python 4 is unlikely to ever happen after the 2->3 shenanigans, and with that experience, I think 4 would fit needly in the "expected incompatibility" category anyway.


Add react-app-rewire-inline-source plugin to the readme file for documentation

Hey, here is a small contribution to help people inline css and js in their html file.

Love small contributions - thanks.


[CP (Stable)] [ios17][text_input]fix ios 17.0 keyboard freeze when switching languages

Issue Link
https://github.com/flutter/engine/pull/46591
Commit Hash
ffcc5bf
Target
stable
PR Link
https://github.com/flutter/engine/pull/48038
Changelog Description
Fix ios 17.0 keyboard freeze when switching languages
Impacted Users
all iOS end-customers under iOS 17.0
Impact Description
This affects all flutter apps with text inputs (e.g. text field) on iOS 17.0.
It's been fixed in iOS 17.1 by Apple a few weeks ago, but there are still many users in iOS 17.0, so we need this CP for those users
Workaround
No workaround
Risk
low
Test Coverage
yes
Validation Steps
Repro steps in https://github.com/flutter/flutter/issues/134716

This needs CP to both the previous stable (https://github.com/flutter/flutter/issues/138439) and the new beta (https://github.com/flutter/flutter/issues/138440)

This has my approval for cherry-picking (although I'm not sure if we're still cherry-picking to the current stable).

I think so, because this is a pretty serious crash. Wanna get it out asap.

@hellohuanlin we've promoted 3.16 to stable. Please reopen if this is a high priority and we should back port it to 3.13.

I think we should be good -  devs who update 3.13 probably will directly update to 3.16


HTTPConnectionPool(host='qb', port=4861): Max retries exceeded with url: /api/1.0/quizbowl/status

I installed everything following instructions however when i run docker-compose up. I get the following error:
PS C:\Users\*****\qanta-codalab> docker-compose up
Docker Compose is now in the Docker CLI, try `docker compose up`

Starting qanta-codalab_qb_1 ... done
Starting qanta-codalab_eval_1 ... done
Attaching to qanta-codalab_qb_1, qanta-codalab_eval_1
qb_1    | INFO: Using base environemnt
eval_1  | /eval/evaluate.py:75: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
eval_1  |   elog.warn(e)
eval_1  | HTTPConnectionPool(host='qb', port=4861): Max retries exceeded with url: /api/1.0/quizbowl/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2e95a6f60>: Failed to establish a new connection: [Errno 111] Connection refused'))
eval_1  | HTTPConnectionPool(host='qb', port=4861): Max retries exceeded with url: /api/1.0/quizbowl/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2dc12dba8>: Failed to establish a new connection: [Errno 111] Connection refused'))
eval_1  | HTTPConnectionPool(host='qb', port=4861): Max retries exceeded with url: /api/1.0/quizbowl/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2dbcbf2e8>: Failed to establish a new connection: [Errno 111] Connection refused'))
eval_1  | HTTPConnectionPool(host='qb', port=4861): Max retries exceeded with url: /api/1.0/quizbowl/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2dbcbf9e8>: Failed to establish a new connection: [Errno 111] Connection refused'))
...
eval_1  | Failed to find a running web server beep boop, prepare for RUD
eval_1  | Traceback (most recent call last):
eval_1  |   File "/eval/evaluate.py", line 259, in <module>
eval_1  |     evaluate()
eval_1  |   File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 722, in __call__
eval_1  |     return self.main(*args, **kwargs)
eval_1  |   File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 697, in main
eval_1  |     rv = self.invoke(ctx)
eval_1  |   File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 895, in invoke
eval_1  |     return ctx.invoke(self.callback, **ctx.params)
eval_1  |   File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 535, in invoke
eval_1  |     return callback(*args, **kwargs)
eval_1  |   File "/eval/evaluate.py", line 193, in evaluate
eval_1  |     raise ValueError('Status API could not be reached')
eval_1  | ValueError: Status API could not be reached
qanta-codalab_eval_1 exited with code 1
qb_1    |  * Serving Flask app "tfidf" (lazy loading)
qb_1    |  * Environment: production
qb_1    |    WARNING: Do not use the development server in a production environment.
qb_1    |    Use a production WSGI server instead.
qb_1    |  * Debug mode: off
qb_1    | /opt/conda/lib/python3.7/site-packages/sklearn/feature_extraction/text.py:17: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
qb_1    |   from collections import Mapping, defaultdict
qb_1    |  * Running on http://<IP_ADDRESS>:4861/ (Press CTRL+C to quit)

This keeps going. I am unable to find the cause of this

So it seems like this error can be ignored. Also dont do http POST http://<IP_ADDRESS>:4861/api/1.0/quizbowl/act do http POST http://<IP_ADDRESS>:4861/api/1.0/quizbowl/act per https://httpie.io/docs#url-shortcuts-for-localhost


ingressgateway can't access http service with TLS termination

Bug description
I tried to set up a gateway and virtual service for an http service.
used SIMPLE mode for the TLS termination in gateway
And the http service return upstream connect error or disconnect/reset before headers. reset reason: connection failure
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: sample-tls-gateway
spec:
selector:
istio: ingressgateway
servers:

port:
number: 443
name: https
protocol: HTTPS
tls:
mode: SIMPLE
serverCertificate: /etc/istio/ingressgateway-certs/tls.crt
privateKey: /etc/istio/ingressgateway-certs/tls.key
hosts:

"*.example.com"

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: sample-tls-vs
spec:
hosts:

"*.example.com"
gateways:
sample-tls-gateway
http:
match:

uri:
prefix: /console
route:
destination:
port:
number: 80
host: sample
retries:
attempts: 3
perTryTimeout: 2s
retryOn: gateway-error,connect-failure,refused-stream

Duplicate of https://github.com/istio/istio/issues/13578


Not passing params when a rest arg is defined for main crashes the runtime

Consider the following program:
import ballerina/io;

public function main(string... args) {
    string n = "Pubudu Fernando";
    io:println(n);
}

Attempting run the above program without passing any params results in an exception.
$ jballerina run program.jar
error: invoking main method failed due to java.lang.ArrayIndexOutOfBoundsException: 0

Fixed in https://github.com/ballerina-platform/ballerina-lang/pull/15684.


No added value on right side

How to load already value on right side, this docu lack some tutorials

I have the same problem, any solution?

I found a solution:

Currently this loads them all in the 'selected' pile, which makes zero sense. They should all be unselected initially.

Can someone tell me which data- attribute to use for already selected items (items that initially should go to the right sided listbox ? Or maybe an exampe of how to initialize the control via the selected parameter ?

Hi godselevator, this is my code... I hope can help you.
var restUriAllComparator="<%=request.getContextPath()%>/rest/allComparator"; 		 	$(function(){ 	            $.getJSON(restUriAssociatedComparator, function(data) { 	            	var conf = {uri: restUriAllComparator}; 	    		 	$("#duallistcontainer").html(""); 	    		 	/* console.log(JSON.stringify(data)); */ 	    		 	$( "#duallistcontainer" ).append('<div id="dual-list-box" class="form-group row"><select id="dual" multiple="multiple"  data-value="id" data-text="description"></select> </div>'); 	    	        $("#dual").DualListBox(conf,data); 	            }); 	        })

Here's an example to load items without using a JSON datasource.  You just need to add the "selected" attribute to the options you want on the right.

Item 1
Item 2
Item 2
Item 4

So "Item 2" and "Item 4" would be loaded into the "selected" list on the right.

hi mjruether,
I have a arraylist which is used as datasourece, in which there are few items that are selected and saved in DB, now how to append the selected items in that list on to the Right side List box, Please help here as i am stuck


Update HTML4::DocumentFragment#initialize & #parse to take kwargs

What problem is this PR intended to solve?
https://github.com/sparklemotion/nokogiri/issues/3323

Have you included adequate test coverage?
Yes and No. Test coverage is included for #parse. But the the DocumentFragment.new class method calls a C method, which is not getting touched here. Thus I can't add in tests using .new.
@flavorjones : you'll need to update the C code to accept keyword args. Then, you can update this call. Also you'll want to add some tests. I added two in test_document_fragment before I realized they wouldn't work. One for "without a context node" and one for "with a context node".

Does this change affect the behavior of either the C or the Java implementations?
I.... don't think so?

Thanks for your patience. The last couple of weeks have been really busy, but I'm hoping to review and merge this in the next week or so!

@MattJones I'm merging these commits into #3335 so I can have one giant PR for all the Document and DocumentFragment updates!


Feedback on v2

Hey Robert @roos-robert,
As I mentioned a few days ago, I'm working on a version two of this process. I've made some progress, and everything is in this repository: https://github.com/luisignaciocc/ytmusic-scrobbler-web. I haven't added the latest changes you made to the original script yet, but I plan to do so later. I'm letting you know in case you want to take a look; maybe you'll notice something that can be improved (I'm not an expert in open source).
I haven't had much time, so most of it was done quickly with the help of AI tools, so the quality might not be the best, but it has worked so far.
I already have a deployed version in production here: https://scrobbler.bocono-labs.com/. I haven't been able to validate the application with Google yet, so it's in development mode. If you want to try it, you'll need to send me your email to add you to the testing user list.
Anyway, whether it's to send some PRs, tell me what's missing in the documentation, or give me general feedback on the process, your input would be very helpful.

Hey @luisignaciocc and thank you for the update!
I Apologize for the late reply, been a busy few weeks (as always with Midsummer haha). This looks awesome, great job so far on the application! So much better to have this running as a web app and lowering the bar for usage for a lot of people.
I have not had the opportunity to try it out yet, thinking to run it locally since the requirements for signing in with Google are a bit scary at the moment "Give access to manage your playlists and publish comments". I'm not sure how the management for signing in with Google works, but read only access for playlists/history would be optimal for us tin-foil hats 😁
Again, great work so far and it's looking great!


Some error when running setup.sh

I ran the command but got some python error related to unicode decoding somewhere.
This is my log output
https://gist.github.com/diegoaguilar/a12eb4df24a581a9bd37

I get the same error...

I am also getting the same error. Any resolution?

Finally, this has been fixed :)


Ignore .venv folder for YAMLlint

Proposed Changes
SSIA

Codecov Report

Merging #354 (6944ba2) into main (4d9c0c9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #354   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines          115       115
  Branches         9         9
=========================================
  Hits           115       115


Add method to filter out scalpers

I woke up to a ton of notifications of this same scalper selling on amazon.ca
https://www.amazon.ca/dp/B08HH5WF97
Is there a way to filter out these types of listings? Min/max price? Blacklist?

This is being worked on in the form of max price. See here: https://github.com/jef/nvidia-snatcher/pull/383

	labels: { 		captcha: { 			container: 'body', 			text: ['enter the characters you see below'] 		}, 		inStock: { 			container: '#desktop_buybox', 			text: ['add to cart'] 		}, 		bannedSeller: { 			container: '#desktop_buybox', 			text: ['stoneforged', 'greatestdeals', 'deals2you'] 		} 	},
add that to your /src/store/amazon-ca.ts

@karmanbadhesha That seems to do the trick. Thanks! :)

@ultimateguy I'd still keep an eye out for #383 because right now there is the possibility for a 3rd party to list their card at a reasonable price and we wouldn't see it, but this works for now.

We added MAX_PRICE (https://github.com/jef/nvidia-snatcher/pull/383) and added the label bannedSeller (although not in use: https://github.com/jef/nvidia-snatcher/pull/173). This should help with clearing this up.
We can go ahead and close this out and create issues for sellers that continually pop up. As well as an issue for creating the BANNED_SELLERS variable.


Update initializer to be an instance initializer

Ember has deprecated accessing the container instance insider of initializers. Instead there is this notion of instanceInitializers. We should update to mirror that.
We will need to update setup.js to work different or break it up into two separate methods. One that gets called by an initializer that has access to the registry and application and another to be called by instanceInitialzier that has access to the instance.container.

https://github.com/simplabs/ember-simple-auth/issues/517
https://github.com/simplabs/ember-simple-auth/pull/564
https://github.com/simplabs/ember-simple-auth/pull/560

Sorry about that, should have checked more thoroughly.


Create cache of environment variables to speed up access.

Concerns:

if environment variable was updated elsewhere, how would it be detected? Create a refreshCache() method

resolved


Postgresql 12 support notes

For postgres v12 create_trigger produces EXECUTE FUNCTION instead of EXECUTE PROCEDURE in schema.rb:
create_trigger :table, :trigger, "AFTER INSERT OR DELETE OR UPDATE", <<-'END_TRIGGER_...', :force => true
FOR EACH ROW EXECUTE FUNCTION ...

For postgres v9 it produces EXECUTE PROCEDURE, as expected

So this isn't an issue at all.  As technically that is executing a "function".  From the PG 12 documentation on the create trigger statement  ( docs )
In the syntax of CREATE TRIGGER, the keywords FUNCTION and PROCEDURE are equivalent, but the referenced function must in any case be a function, not a procedure. The use of the keyword PROCEDURE here is historical and deprecated.

Thus when upgrading to PG 12 the schema.rb will be slightly changed but has the same meaning. Further that "for each row execute ..." is provided by PostgreSQL as the official definition of the trigger.


Move creds-init to pkg/pod

This simplifies pod.go and makes this logic more easily
testable/understandable in isolation, as part of an overall plan to simplify pod.go.
This change also avoids running creds-init when there are no credentials
to initialize. Previously, we would unconditionally run the creds-init
image, and just pass it zero args if there were no creds, in which case
it would exit immediately.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[y] Includes tests (if functionality changed/added)
[n/a] Includes docs (if user facing)
[y] Commit messages follow commit message best practices

/lgtm

/approve


Chronos cluster with High Avalability

I have three server A,B,C on each machine I'm running chronos, zookeeper, mesos-master, mesos-slave.
Chronos cantact mesos-master using zookeeper url hence it automatically picks leading master even if some node is down. I'm having high availability here.
Even Chronos run in cluster mode so accessing any of the Chronos I see same list of jobs and everything works fine.
Problem I have here is, Chronos is accessible with any of the three URLs
http://server_node_1:4400
http://server_node_2:4400
http://server_node_3:4400
Is there a way to configure Chronos  Cluster with some kind of HAProxy?
My application should be talking to single URL, it has to take  care of routing to active Chronos node even if some node is down.

chronos can't redirect the leader even the leader changed in my mind. you only manually pick the leader ip

You shouldn't need to do anything special in terms of HA. Start Chronos on the masters and Mesos will make one instance the leader check the mesos frameworks tab to verify this. If you're also using mesos-dns the active Chronos leader will always be accessible via http://chronos-2.4.0.mesos:4400/


Bump grsync wrapper

This commit bumps grsync package to fix some race issues that were time to time detected in our unit tests.
The version bump includes zloylos/grsync#19
Fixes #124
Signed-off-by: David Cassany<EMAIL_ADDRESS>

wow, that was fast, very nice!

@Itxaka @mudler believe it or not, but now the situation is way worse... it always fail with the new grsync 😅 And it also fails on my local env. I am currently debugging it.
I think the grsync issue was worse than what I initially thought, probably the problem is that there is a goroutine waiting on scanner.Scan() for stdout and stderr, but it could happen that one of the two pipes (stdout and/or stderr) does not produce a single character, hence no EOF and it just blocks there... trying to validate it 🤔  I hope I did not break grsync with my PR 😓

Ok there were several issues here, first SyncData had a small issue while using the fs, the trailing / needs to be added after the convertion to the real fs. On the way I discovered the super ugly #135 😞  and that my fix of the grsync is not as good as I wanted, it can lead to infinite loops 😞
Damn! Too many things at once to something that was supposed to be a low hanging fruit! 😭

Yes lets close this, no longer needed!


Make it compatible with Android Studio

Hi,
Great plugin, works great on regular Intellij !
I wanted something like that for a while and even opened an issue a while ago
to add it as a feature but it was rejected:
https://youtrack.jetbrains.com/issue/IDEA-252302
It would be nice it was compatible with current stable Android Studio (Artic Fox 2020.3.1 Patch 4).

Hi, my apologies! I didn't mean to ignore you, i never saw this issue. I have just uploaded v1.1 which should support Android Studio 2022.3 and IntelliJ IDEA 2022.3 and later.
It will be available when JetBrains' moderation team has checked the plugin, at most two days.

Hi,
Thank you for this ! I confirm it is working fine.
Very useful for minimal Android Studio / IDEA UI setups with only a status bar, so the filename of the current editor can be seen.


ENCAPSIA_URL and ENCAPSIA_TOKEN are not usable

Code that reads environment variables if host is not supplied is not reachable, so the "Unable to determine host" message is returned to the user.
def get_api(**obj):
    host = obj.get("host")
    if host is None:
        log_error("Unable to determine host.")
        log_error(
            "Please specify via the command line, env variable, or ~/.encapsia/config.toml file.",
            abort=True,
        )
    try:
        url, token = encapsia_api.discover_credentials(obj["host"])
    except encapsia_api.EncapsiaApiError as e:

The code needs to be re-arranged, since if ENCAPSIA_HOST is not set then host will be None, and no attempt to lookup ENCAPSIA_URL and ENCAPSIA_TOKEN will occur.
Note that we are using Click to read the env variables if not provided on the command line (or indeed, provided in the config file). Be sure to read https://github.com/tcorbettclark/encapsia-cli/blob/master/encapsia_cli/encapsia.py#L89 before working on this.


Separate Hub and peer responsibilities in Orchestration workflow

We need to separate the concerns, what tasks Hub will handle and what tasks it will delegate to a peer during environment creation and cluster setup. For this we need to elaborate a document where we will collect all possible metrics and criteria to be used (restrictions, preferences etc) in a blueprint and find out what steps can be performed by Hub, by a SS Console and by subos/agent.
We need to have a layered approach to the orchestration to facilitate and simplify further modification or maintenance.

https://confluence.critical-factor.com/display/~dilshat.aliev/Orchestration+constituents


InvalidFIeldException UserRecordAccess on a Custom Object

I need to select a custom object with UserRecordAccess as a foreign key, but I can't get it from Salesforce SObjectDescribe and SObjectFIeldDescribe, I don't know why... if I can write a select into [] and get that relationship data, why can't I get it from describe? Whatever... I want to use the QueryFactory but I'm getting the InvalidFieldException caused by the problem that I told above through the method fflib_QueryFactory.getFieldToken(String fieldName). I don't want to write  a "hard-coded select" that is the only solution that I found until now. Can someone help me?

@maximorojr Can you post an example of what you have attempted thus far?

I believe you just need to increase the platform API that fflib_QueryFactory and fflib_SObjectDescribe are running against. That field is new(ish) and I don't think exists until > APIv30.0. Give that a try?

@ImJohnMDaniel
Here is an example, try to create a method to the SELECT below on an AccountsSelector using the fflib_QueryFactory.
SELECT Id, Name, UserRecordAccess.HasReadAccess, UserRecordAccess.HasTransferAccess, UserRecordAccess.MaxAccessLevel
FROM Account

Should be something like this:
public List<Account> selectByIdWithUserRecordAcess(Set<Id> idSet)
fflib_QueryFactory accountsQueryFactory = newQueryFactory();
UserRecordAccessesSelector userRecordAccessesSelector = (UserRecordAccessesSelector) UserRecordAccessesSelector.newInstance();
userRecordAccessesSelector.configureQueryFactoryFields(accountsQueryFactory,'UserRecordAccess');
registrationNumbersQueryFactory.setCondition('Id IN :idSet');
return (List<Account>)Database.query(accountsQueryFactory.toSOQL());
}

@capeterson I tried to update the API Version to the latest, but it still not working. I believe it's Salesforce bug... because when I try to get the describe through executing an anonymous apex code, it doesn't work too.
I've opened a discussion in Developer Forum. Link to the discussion

I've created an Idea to implement that. Please up vote my idea. :+1:

Upvoted! :+1:

@maximorojr i think with identifying a platform need and raising the idea, we are done here? Let me know if you think otherwise and we can re-open. Thanks again! 👍

We are done here! Thanks!


Translation of lifetimes in Fn trait input parameters

I think this is a fairly niche and easy to work around case but it's a surprising footgun that might be worth a fix?
use async_trait::async_trait;
use core::future::Future;

#[async_trait]
pub trait ProcessPool: Send + Sync {
    type ThreadPool;

    async fn spawn<F, Fut, T>(&self, work: F) -> T
    where
        F: FnOnce(&Self::ThreadPool) -> Fut + Send,
        Fut: Future<Output = T> + 'static;
}

#[async_trait]
impl<P: ?Sized> ProcessPool for &P
where
    P: ProcessPool,
{
    type ThreadPool = P::ThreadPool;

    async fn spawn<F, Fut, T>(&self, work: F) -> T
    where
        F: FnOnce(&Self::ThreadPool) -> Fut + Send,
        Fut: Future<Output = T> + 'static,
    {
        (*self).spawn(work).await
    }
}

Playground
Self::ThreadPool on line 23 is translated to <&P as ProcessPool>::ThreadPool. I believe due to how unnamed lifetimes are treated in the call syntax of Fn traits, this is desugared to include a HRTB? This leads to the failure:
expected a `std::ops::FnOnce<(&<&P as ProcessPool>::ThreadPool,)>` closure, found `F`

This can be resolved by translating instead to <&'static P as ProcessPool>::ThreadPool. I don't know if this breaks other use cases however?

This can be resolved by translating instead to <&'static P as ProcessPool>::ThreadPool. I don't know if this breaks other use cases however?

IIUC this breaks use cases like FutureExt::inspect:
use async_trait::async_trait;
use std::future::Future;

#[async_trait]
pub trait FutureExt: Future + Send + Sync {
    async fn inspect<F>(self, f: F) -> Self::Output
    where
        F: FnOnce(&Self::Output) + Send,
        Self: Sized;
}

#[async_trait]
impl<Fut: ?Sized + Future + Send + Sync> FutureExt for Fut {
    async fn inspect<F>(self, f: F) -> Fut::Output
    where
        F: FnOnce(&Fut::Output) + Send,
        Self: Sized,
    {
        let output = self.await;
        f(&output);
        output
    }
}

playground
if using &'static:
-         F: FnOnce(&Fut::Output) + Send,
+         F: FnOnce(&'static Fut::Output) + Send,

error[E0310]: the associated type `<Fut as std::future::Future>::Output` may not live long enough
   --> tests/test.rs:924:12
    |
924 |         F: FnOnce(&'static Fut::Output) + Send,
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |

playground

Actually, it seems that it can be fixed by using an explicit lifetime in type &P, not static. (my above comment is incorrect, sorry)
- impl<P: ?Sized> ProcessPool for &P
+ impl<'a, P: ?Sized> ProcessPool for &'a P

use async_trait::async_trait;
use std::future::Future;

#[async_trait]
pub trait ProcessPool: Send + Sync {
    type ThreadPool;

    async fn spawn<F, Fut, T>(&self, work: F) -> T
    where
        F: FnOnce(&Self::ThreadPool) -> Fut + Send,
        Fut: Future<Output = T>;
}

#[async_trait]
impl<'a, P: ?Sized> ProcessPool for &'a P
where
    P: ProcessPool,
{
    type ThreadPool = P::ThreadPool;

    async fn spawn<F, Fut, T>(&self, work: F) -> T
    where
        F: FnOnce(&Self::ThreadPool) -> Fut + Send,
        Fut: Future<Output = T>,
    {
        (*self).spawn(work).await
    }
}

playground

Thanks for the quick response and fix @taiki-e!


Error 0161:null

I am trying to sync files from our dev instance and I am receiving Error 0161:null

Almost a year has passed with no update...gonna mark this closed. Please reopen if it is continuing to happen.

I am having this happen as well. I did an inital sync of some script includes, and now when I try to sync anymore, I get this error.  I'm able to see if a file is up to date, and I'm able to update scripts that have already been synced.
Steps to reproduce:

right click in the folder, and select SN Sync: Sync Record
Receive error
Right click in the folder and select SN Sync: Sync Multiple Records
Paste in encoded query in prompt
Receive error
Control Shift P and select SN Sync: Sync Record
Receive different error: "Command 'SN Sync: Sync Record' resulted in an error (Running the contributed command: 'sn_sync.syncRecord' failed.)"


a graphdriver related question

Hi,
I have a graph driver related question.
Suppose one wants to design and implement a graph driver for some new file system, what would be the general rule to do so? I mean, one can look into existing graph drivers (e.g., btrfs, aufs, zfs, vfs, devmapper, etc) to figure out interfaces and data structures for the new file system driver, but is there any driver specification doc available somewhere? It will make it easier to design new file system driver for docker.
Any suggestions/comments would be helpful! Thanks.
Best,

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

The driver interface to implement is here: https://github.com/docker/docker/blob/master/daemon/graphdriver/driver.go#L39
It would be super awesome if someone were to put up a generic design doc around how the graphdrivers are expected to operate.

I can try to come up with a generic design doc once I have traversed the process :)
Right now, I had another naive question: If I add new directory/source file in the current source code, how can I make sure my source files are compiled then I do "hack/make.sh binary"? I did not any Makefile or Scons file in the sub directory. Any comment could be welcome.
Best,

@michael4RD As long as something is importing your code, it will be compiled in.
This is all handled by go.

I think the question was answered. Feel free to ask more.


Expose utility for logging video frames for an entire video

What

Fixes https://github.com/rerun-io/rerun/issues/7368

creating new issues for the previously remaining items

Fixes  https://github.com/rerun-io/rerun/issues/6532

Had to patch this through to all 3 sdks which naturally takes quite a bit of extra machinery.
Decided to go with raw ns here since it's easiest to pass through FFI and is the most versatile (hopefully our VideoFrameReference typing will be solved with tags instead of per component enums in the future, making this more equivalent).
Changed snippets around. There's now:

a sample with two single frozen frames, showing next to each other. Demonstrating that video frames can be used individually and without any extra utilities

this doesn't quite work yet due to #7420, so this can be regarded a bit of a work in progress

sample using the new frame extraction utility, essentially a "send full video" which we may encapsulate into a higher level utility at some point. It's quite short though in Python, so I'm not too worried about this!

Asset drag & drop got updated to also use this utility.
All this churn also led me to changing how re_video is used a bit, making the entry point more highlevel. Media type got a bit annoying there because we can't afford re_types dependencies in the C++ & Rust SDKs. The solution here is to have independent media type parsing for videos in re_video.
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!
[x] If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide
[ ] pass main ci

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

@rerun-bot full-check


Instructions for connecting Touchscreen to Pi

Prepare instructions (including schematic, photo, screenshots) showing how to connect this part to a Pi

[x] Create schematic for wiring the Touchscreen to the Pi
[x] Share photos showing how to connect to the Pi
[x] Prepare Instructions

(2 hours)

Schematic for connecting the display to the Pi:

(This connection still needs to be tested)

Images showing display connected to the Pi:
Pi to Display Connections:

Pi Connections:

Display Connections:

(This connection still needs to be tested)

@Fatiha897 please review

I updated the schematic, as the MISO connection is not strictly necessary for the display, as the library I am using never reads data back from the display. I also color coded this schematic.
Schematic:

Pi to Display Connections:

Pi Connections:

Display Connections:


Update "initial" driver package

After the driver is published to windows update, I can't find a way to update it with newer package.

image implies that there should be a way, but clicking "here" just takes me to existing driver form.
I followed guide https://docs.microsoft.com/en-us/windows-hardware/drivers/dashboard/create-a-new-hardware-submission to create "initial" package. Then I log in with my company's credentials at https://partner.microsoft.com/en-us/dashboard/hardware/Search, then pick the previously uploaded (and now signed and published) driver package. Supposedly this page has some ways of uploading new CAB file, such that when I create new "label", I can pick new version.

Hi @sychevathotmail
This is still a report about the docs. Please follow these instructions in the dashboard itself:

First, sign into your hardware dev center account.
To open a Hardware Dev Center support case for investigation, go to
How do I contact Partner Center Support?
and click:
If you are having problems accessing the Dashboard or need Dashboard Support please open a support ticket here: https://developer.microsoft.com/windows/support. Select Contact us, Dashboard issue, and then Hardware submissions & signing (all OS version) from the dropdown menu.

This will take you to the support site. Live Chat and Email support hours are 8am-8pm CST Monday-Friday. SLA for an initial response is 24-48 hours for email support.
All the best.
Eliot


[Improvement] Explicitly throw BUFFER_LIMIT_OF_HUGE_PARTITION instead of NO_BUFFER

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
In current codebase, once the huge partition is limited of fixed memory, the NO_BUFFER code will be returned. It's better to throw explicit huge partition limit code and log this in client side.
How should we improve?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

BTW. the code of https://github.com/apache/incubator-uniffle/blob/ca245316c3f5002de117adb7f550d3198fb7f6e2/server/src/main/java/org/apache/uniffle/server/ShuffleTaskManager.java#L410-L440 looks strange. It's better to throw NoBufferException or NoRegisterException  instead of using the negative number to indicate the error.

@jerqi can you assign me this issue?


Added MBN Token

project url: https://membrana.io

Hi @goblinrd  - I would like to merge this request but there is a new requirement that the logo has to be in SVG format. Can I ask you to add it as a replacement for the PNG one? Thanks


Type specific editor

We need type specific editors for the following variables:

date
time
address
monetary amount
list
phone number
string
number

Closed for #225


Property 'logProgress' does not exist on type 'VectorStoreIndex'.ts(2339)

I'm trying to debug an AstraDB index with logProgress, but it's not working.
in this approach, i get: "Object literal may only specify known properties, and 'logProgress' does not exist in type 'VectorStore'."
const index = await VectorStoreIndex.fromVectorStore(astraVS, serviceContext, { logProgress: true });
in this approach, i get: "Property 'logProgress' does not exist on type 'VectorStoreIndex'."
const index = await VectorStoreIndex.fromVectorStore(astraVS, serviceContext);
index.logProgress = true;

please advise

fromVectorStore is not generating any new embeddings, it's just using the existing data in the vector store, that's why there is no logProgress function.
VectorStoreIndex.fromDocuments creates new embeddings and supports the logProgress logging


Efficient interception and logging of the tail of the event history

The event interceptor is currently only a rudimentary one: It dumps all events to disk.
I propose the following extension (to the whole system, not just the interceptor):

Each module accepts a special GetState event, to which it responds by emitting a ModuleState event containing a serialized representation of all of its internal state.
We periodically inject a GetState event in the Node - this event is processed by all modules, creating a sort of checkpoint.
The resulting ModuleState events are intercepted by the interceptor (the same way as any other event).
The interceptor does not directly write intercepted events to disk, but only to a memory buffer.
When an error in the system occurs, the interceptor writes the contents of its buffer to disk before shutting down.

If the buffer of the interceptor is large (and we can easily make it even a few GB), we can reconstruct the state of the node for debugging purposes and replay a reasonably-sized tail of the event history using the debugger.

The module state checkpointing seems to relate closely to WAL. Isn't it duplicate functionality?

This is definitely related, but it's not quite the same. This module state checkpointing is meant for debugging and captures every detail that happens within the node, and I thus expect it to be much more heavyweight than using the WAL. It could be used instead of the WAL, but tthat would be an overkill. The WAL is intended to only capture the minimum of information necessary to reconstruct a state of a module that is not necessarily the same, just "compatible" with the observable behavior of the module. Thus the choice of events to persist in the WAL will be highly protocol-specific and, hopefully, much fewer events will need to be persisted for this.


Feature Request: Allow customize Doctype

XHTML 1.0 Strict not always be the desired Doctype to use with the content, please allow user to select which Doctype to be used.

OK, could you send PR?

I'll try, but no ETAs


[Search Documents] test failing in nightly runs

Search Documents nightly test runs are failing with:

Error message:
[Internal Error] Error: ENOENT: no such file or directory, stat 'D:\a_work\1\s\sdk\search\search-documents\dist-samples\typescript\dist\dist-samples\typescript\src' at D:\a_work\1\s\common\tools\dev-tool\src\index.ts:10:11

For more details check here:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1029950&view=results
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1027715&view=results

Seems like the sample is failing, tests look good.

This issue will be fixed with this PR: https://github.com/Azure/azure-sdk-for-js/pull/16804. I am trying to get it merged today.

Issue fixed with the PR https://github.com/Azure/azure-sdk-for-js/pull/16804


add a button to let flag fly away (basically button to disconnect flag from pole)

add a button to let flag fly away (basically button to disconnect flag from pole)

a very fun way to get rid of a flag, and when you change the flag waving the old one flies away (following the set wind direction)


Logon issue

Hi, I'm getting the following error message during the logon to LCS from the 2LCS application.
Is there anything that I can do about this ?
p.s. normally the account I'm using has Project admin access on some LCS projects.

This is fixed since 0.9.2. Please use latest version.


structure testing docker volumes are convoluted and potentially problematic

I think we might need a bit of a redesign here, couldn't solve it quickly, so I'll document the problems I see.
Currently in our build we have the following participants:

the docker-enabled host (in case of GCCB it's a GCE instance, in case of container-builder-local it's my workstation) starts the build steps
mvn step is the first (and only) step of our build currently, that spins up the "step-container"
that kicks off the maven process, which has an execution phase that runs the structure_test.sh script
structure_test.sh downloads ext_run.sh - which was seemingly designed to run from a docker-enabled host directly, not a container - and runs it
ext_run.sh spins up a "sibling-container" (as it shares now the daemon with the "step-container") from the built openjdk image

Volumes and directories:
GCCB:

host: /workspace contains the project directory (passed in)
step-container: /workspace is a volume mounted from the /workspace directory from host (NOTE: in the future this might change to a separate, isolated volume, that is the clone of the /workspace directory so that the steps don't mutate the host filesystem!!)
sibling-container:

/cfg - that is mounted with -v /workspace/openjdk8/target/classes/.cfg:/cfg in the case of openjdk8
/workspace - that is coming from the --workspace argument of ext_run.sh: --workspace /workspace/openjdk8/target/test-classes/openjdk-test-common-out/workspace for example

The problematic part is that both sibling-container volumes work currently because of the coincidental design overlap - host \workspace is directly mounted onto \workspace in the step-container. As soon as this symmetry breaks we have issues.
The reason is that the "sibling-container" is talking to the docker daemon on the host and as such resolves directory based docker volumes from the host.
To see where this reliance already causes problem, let's have a look at the same directories in the container-builder-local case:

host: /home/balopat/dev/proj/openjdk-runtime contains the project directory (passed in)
step-container: /workspace is a cloned volume mounted from the /home/balopat/dev/proj/openjdk-runtime directory (NOTE: this is intentionally designed like this and it might be the future on GCE too!)
sibling-container:

/cfg - that is mounted with -v /workspace/openjdk8/target/classes/.cfg:/cfg in the case of openjdk8 ==> ERROR, the directory is empty
/workspace - that is coming from the --workspace argument of ext_run.sh: --workspace /workspace/openjdk8/target/test-classes/openjdk-test-common-out/workspace for example ==> ERROR, the directory is empty

Structure tests fail with this setup.
The problem:

our current setup doesn't work directly with container-builder-local
in the future, if/when GCCB changes the way /workspace is mounted on steps (e.g. an isolated, cloned volume), then we'll fail on GCCB as well.

Not exactly sure about the best way to go. Couple of options:

we can modify ext_run.sh to prepare it for running from within a container and pass in explicitly the right volumes
we can potentially completely rewire the execution flow and rely more on GCCB/GCCB-local for each step instead of wrapping the whole flow into maven - this way we could use the runtimes-common structure tests as they were designed to be used - as a step in GCCB

@aslo @nkubala FYI, let me know what you guys think.

Haha, good timing on this one: I'm in the middle of a major redesign of the structure tests as we speak, which will pull the test execution outside of a container. Check out https://github.com/GoogleCloudPlatform/runtimes-common/pull/332 for progress

awesome @nkubala, let's see how that shakes out, it looks promising!
Also it seems that based on our conversation the container-builder-local might have support in the future to define workspace as a directory vs a the sandbox volume only  - that would help as well in our case (b/65417396)

Great work on this analysis! I @nkubala 's change looks promising.


Update bower.json to whitelist for Rails Assets

Whitelisting compiled css and js assets for inclusion when indexed by bower, and thus Rails Assets.
See rails-assets.org (at the bottom under "Asset Pipeline") for reference.

Thanks @danieljacobarcher

:+1:

All set: https://github.com/HubSpot/vex/releases/tag/v2.3.2


MRE Unity Client lib doesn't compile against Unity 2018.3 DLLs

If a developer has Unity 2018.3 installed instead of 2018.1, the DLL compiling fails on some Vector2 classes not being found. Downgrading to 2018.1 solved the problem

@sorenhan How soon do we wish to be supporting the future versions of Unity?  We also should decide how we handle when to drop support for versions of Unity as we move forward.  At some point the API's will diverge such that it would make sense to bump up the minimum version of Unity that we support.

I just built and ran the tests with 2019.2.12f1 and had no problems. Maybe something special with 2018.3?


Publishing on Plugin Portal or Maven Central

Hi team, hope you are doing great!
Do you folks have plans to publish this plugin on Gradle's Plugin Portal or Maven Central?
I bet other Engineers out there would love to see this published too ❤
Meanwhile, thanks for the great job! 💯

The plugin has been published to the portal: https://plugins.gradle.org/plugin/org.gradle.github-dependency-graph-gradle-plugin. So I guess this can be closed.

Awesome news! 💯💯💯


pam_u2f: 1.0.6 -> 1.0.7

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/pam_u2f/versions.
These checks were done:

built on NixOS
/nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7/bin/pamu2fcfg passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 1.0.7 with grep in /nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7
directory tree listing: https://gist.github.com/7da727fb06490bc549a719fda2ada9ab
du listing: https://gist.github.com/a984153d959e953899879d365ffc7852

meta.description for pam_u2f is: '"A PAM module for allowing authentication with a U2F device"'.
cc @philandstuff for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: pam_u2f
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: pam_u2f
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7
shrinking /nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7/bin/pamu2fcfg
shrinking /nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7/lib/security/pam_u2f.so
gzipping man pages under /nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7/lib  /nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7/bin
patching script interpreter paths in /nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7
checking for references to /build in /nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7...
/nix/store/ny1mv10yj3az2yjn25sla3aybl550rwi-pam_u2f-1.0.7

Success on aarch64-linux (full log)
Attempted: pam_u2f
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/a0chwxrcl8dw6r82g3m4m9z6mks40z5c-pam_u2f-1.0.7
shrinking /nix/store/a0chwxrcl8dw6r82g3m4m9z6mks40z5c-pam_u2f-1.0.7/bin/pamu2fcfg
shrinking /nix/store/a0chwxrcl8dw6r82g3m4m9z6mks40z5c-pam_u2f-1.0.7/lib/security/pam_u2f.so
gzipping man pages under /nix/store/a0chwxrcl8dw6r82g3m4m9z6mks40z5c-pam_u2f-1.0.7/share/man/
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/a0chwxrcl8dw6r82g3m4m9z6mks40z5c-pam_u2f-1.0.7/lib  /nix/store/a0chwxrcl8dw6r82g3m4m9z6mks40z5c-pam_u2f-1.0.7/bin
patching script interpreter paths in /nix/store/a0chwxrcl8dw6r82g3m4m9z6mks40z5c-pam_u2f-1.0.7
checking for references to /build in /nix/store/a0chwxrcl8dw6r82g3m4m9z6mks40z5c-pam_u2f-1.0.7...
/nix/store/a0chwxrcl8dw6r82g3m4m9z6mks40z5c-pam_u2f-1.0.7


Prepare for release 22.8.1

Two releases in one day feels a little OTT, but compatibility with flake8 >=5.0.0 feels quite important

And it worked: https://pypi.org/project/flake8-pyi/


After creating (cloning) a resource, switch to that resource

Author Name: Jaime Melis (@jmelis)
Original Redmine Issue: 4439, https://dev.opennebula.org/issues/4439
Original Date: 2016-04-29

None

We include a link for the new resource to easy follow


Is it possible to make a changelog?

I've noticed you've updated the version of this. Is it possible to get a changelog summarizing the major details as they happen?

Hmm, this was a minor version update, not a major version update.
I'm not sure if this project is big enough that we need a changelog. The Git log might be good enough. You can see what's changed by looking at the output of git log v0.1.0..v0.2.0:
(with the --oneline option added)
1cbcec6 Release 0.2.0
666c083 Add progress indicators for pushing and fetching
9b936e6 Merge branch 'grawity/xdg'
71632c6 Update README.md for new configuration path
53f2871 Read configuration file from XDG location

Thanks, I ended up using those git log commands as well as git log v0.1.0 -1 --date=iso to quickly make a markdown changelog #39.
The steps used to make it:

Use git log v0.1.0..v0.2.0 to find list of commits between versions.
Use git log v0.1.0 -1 --date=iso to find the relevant date.
Use a simple regex s/^/* / to add bullets to the start of the commits.

Closing this now, see #39 for more info.


How yaw control in fixed-wing mode works

Hello everyone,
I am investigating the yaw control in fixed-wing mode by using SITL with gazebo to simulate a standard VTOL vehicle:
make posix_sitl_default gazebo_standard_vtol
My question is, is the yaw control the same as roll and pitch in fixed-wing? I saw in the fw_att_control_main.cpp that yaw control has parameters Ki, Kp and Kff but when I printed control_input.yaw_rate_setpoint, this value is always 0. However, the inner loop control input, yaw_u, is not zero. Does this mean the yaw control only has a PI + FF body rate controller? Or maybe it's because the VTOL model does't have a rudder?
Thanks.

The yaw rate setpoint is calculated to maintain coordinated turns.

Some facts to add to @dagar ' comment:

The rudder is manly used for yaw damping
Heading control with the rudder is only used during landing approach (https://github.com/PX4/Firmware/blob/cf7140526a41ad7fd209189a0d9bd33cf4bd0319/src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp#L958)

Thanks for both comments. Really helps me understand the controls in FW mode.


Updating changelog.md

This pull request is now managed with CodeReviewHub. Refresh.

@brentschmaltz Can you take a look?

Fixes Issues: #132, #86, #76, #75, #72, #71 , #70, #69 , #68, #66


Improve tests

We want to:

[x] Test code with linter (eslint, first step of automated tests, before running real tests)
[ ] Test code with node (automated tests)
[ ] Test code in different browsers (automated tests)
[ ] Test code in different devices: desktop, tablets, phones etc (low priority, automated tests)
[ ] Run tests directly in browser and receive report (need for fixing UI issues, should be served by server.js)
[ ] Test coverage report
[ ] Run tests on CI servers (Chrome and FF are ok)

We have (had) most of these features, but want to improve it.

@oliver----
So, short report of what we have now in test-env.
Basically it's just a port without any significant improvements except that fact that now we are using tape. All taped tests and stuff placed inside tests dir.
Oh, yes!
We are still with karma. I did try tape-run, but it looks like they have some issues with opening/closing browsers on OS X and maybe not only there. In fact I didn't have a chance to find that browser closing issues as I didn't succeed with opening them ;) Probably it's related to browser-launcher package, anyway we don't need these platform/browser related problems. And karma works well with tape.
Good news that we have now less chaos inside tests dir. There is only UItest and spy. While UItest must be improved we have a lot redundant things in tests. Like isNullOrUndefined implemented in each module where it used and beforeEach/afterEach turns to setup and teardown functions along with other function which runs that setup then test and then teardown. I think we could generalise all that stuff and place in one module, which contains like our own taper helpers.
UItest currently skips tests if you are not in [specific] browser. Yeah, you can skip tests in tape!
Downside is that we don't have modules names now. Because there are no modules... While you can nest tests with tape, I don't think we need it: it's dangerous (i saw some issues) and you will not get nesting in console. So we could use console.log() either or own tap reporter... But do we need it? Maybe it's better to prettify a bit test names...
I didn't tackle opening of tests in browsers directly (for debugging)... Could you please describe shortly how are you doing it now?
Also I didn't see coverage reports in gulp now and I think that I saw it before... I could reintroduce it and we could try https://github.com/substack/coverify instead of istambul.
Let's try to define further directions!

Thx! I will need to take a closer look. Then I can say more :)

Take a look then ;) and I will continue!
On Wed, Jun 8, 2016, 04:00 Oliver Buchtala<EMAIL_ADDRESS>wrote:

Thx! I will need to take a closer look. Then I can say more :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/substance/substance/issues/625#issuecomment-224449970,
or mute the thread
https://github.com/notifications/unsubscribe/AALG-tWTTNSQNMv4Kzra3nF_4I5kZ9erks5qJgY1gaJpZM4IwYqo
.

Hey @Integral,
in QUnit we use nesting to filter tests / run tests for a certain module, which is useful when u are working on tests for a specific module.
The UI is really the most important thing for us. Here more details about it:

A summary is nice of course nice. More important, the possibility to select a group of tests:

On the one thing this is good to focus, but on the other it might be important, so you can set a breakpoint for the debugger and not get called by other tests.

More important running only tests for one module, is to run a single test. E.g. you see the failing test in the summary and can click on its run button to run it solely.

A very important thing for debugging is, that the test runner does not wrap everything into a try-catch block, or at least like QUnit must provide a way to disable. Otherwise it is not possible to stop on uncaught exceptions - which is for debugging one of the most useful things.

The current port is looking good. I will leave some comments in the commits.

I looked into the tape implementation, and think that getting such a UI needs a bit of crafting on our side.
I understand that tap-reporters are not enough for us, as we want to control the like-cycle of the test-harness.
The way it need to be done is to create a custom harness, not using the default harness which is triggered automatically on process exit (which is simulated in the browser).
Then we could have a custom UI and start the tests whenever we want.
I will patch this idea together, and then u could take-over again :)

@Integral I have prepared the basics to be able create a custom UI
https://github.com/substance/substance/commit/61653fd08092093f793f44a95ea0c26ffc925cd2
Look at https://github.com/substance/substance/blob/61653fd08092093f793f44a95ea0c26ffc925cd2/tests/test.js:
We now have something which wraps tape when running in the TestSuite app in the browser.
You could now go on and try to build a simple UI:
https://github.com/substance/substance/blob/61653fd08092093f793f44a95ea0c26ffc925cd2/tests/TestSuite.js
Try to achieve the following:

run all tests, displaying results
run a single test i.e. run only
maybe add a means to filter the set of tests

Happy coding :)
Thx!

@Integral and feel free to ask when u have problems ;)

Oh, my God, I didn't even fast enough to answer you
On Wed, Jun 8, 2016, 15:24 Oliver Buchtala<EMAIL_ADDRESS>wrote:

@Integral https://github.com/Integral and feel free to ask when u have
problems ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/substance/substance/issues/625#issuecomment-224561342,
or mute the thread
https://github.com/notifications/unsubscribe/AALG-l9Yo9JG-6qEJa3Os9vGqKogy5UVks5qJqZbgaJpZM4IwYqo
.

I have some more ideas:
We could add some more helpers on top of test which is return by tests/test.js.

test.UI(name, fn) replacing UITest
test.FF(...), etc.
test.module() returning something which has the same interface has test but adding the module name as prefix and maybe add the information to the Test instance. E.g.

var test = require('../test').module('ui/Component');

test.UI('Setting the model selection should update the DOM selection', function(t) {
  ...
});

@Integral are u working on this right now? I saw that your commits are based on a commit which is not in the devel branch anymore (because I had to rebase eslint branch before merging). I would like to fix this.
Let me know, will take just a second

Just for the records, we will need to port some newer changes in the QUnit tests.
> git diff --name-only devel -- test/ test-env | grep .test.js
test/ui/AnnotationCommand.test.js
test/ui/DOMSelection.test.js

Oli, I have connection troubles, i need to fix them first
On Wed, Jun 8, 2016 at 3:40 PM Oliver Buchtala<EMAIL_ADDRESS>wrote:

Just for the records, we will need to port some newer changes in the QUnit
tests.

git diff --name-only devel -- test/ test-env | grep .test.js
test/ui/AnnotationCommand.test.js
test/ui/DOMSelection.test.js

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/substance/substance/issues/625#issuecomment-224576503,
or mute the thread
https://github.com/notifications/unsubscribe/AALG-n5r4fn1H9N17UsN-y7zI1MjmQsXks5qJrg9gaJpZM4IwYqo
.

No worries. I am now AFK for a bit.. Will be online in the evening again...

Hey, I do like what you proposed. I thought about the same.
I think we should also attach generalised method for doing beforeEach and afterEach.
Btw, do we really need afterEach after tearing down all globals..?

@oliver---- did you fix a branch?

Did not dare, not knowing if you have an uncommitted changes.

Do it please!
Are you available somewhere else?

https://gitter.im/substance/substance ?

let's try

@oliver---- need help

This is WIP. The test-suite is already usable, very minimal but debugging can be done.
Continueing this in beta 5.

So the stuff in test-old is not run atm? Sorry I'm not up to date anymore when it comes to your test suite work ;)

It's only there so that Daniel can take a look how to rebuild.

@Integral Let us drop the old one. u might want to checkout an old version just to be able to look at the QUnit based UI.

Ok! Do you need PR?
On Mon, Jun 13, 2016 at 6:58 PM Oliver Buchtala<EMAIL_ADDRESS>wrote:

@Integral https://github.com/Integral Let us drop the old one. u might
want to checkout an old version just to be able to look at the QUnit based
UI.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/substance/substance/issues/625#issuecomment-225625681,
or mute the thread
https://github.com/notifications/unsubscribe/AALG-nU7zsUFIBhePHtUCT-SZ834_kUpks5qLX47gaJpZM4IwYqo
.

Always PR :)

And may I remove all dependencies? Like QUnit, Sinon etc?
On Mon, Jun 13, 2016 at 7:12 PM Oliver Buchtala<EMAIL_ADDRESS>wrote:

Always PR :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/substance/substance/issues/625#issuecomment-225629661,
or mute the thread
https://github.com/notifications/unsubscribe/AALG-mx3nFMFdtNwIt8xgkKryHS_QFUnks5qLYFigaJpZM4IwYqo
.

Great!

I think the only thing remaining is to improve the TestSuite UI itself.
We don't need to run tests for different devices, as we don't have implemented such yet.
And we might not even need it as we can simulate some things, such as creating mock events (like I do in Clipboard.test.js).
Closing this for now.


[5.10][Compile Time Constant Extraction] Extract from all macro expansions

Cherry-pick of https://github.com/apple/swift/pull/70104

Explanation: visit struct expanded from peer macro and declarations' all members for compile time constant extraction. Note that the change is much simpler comparing to the main branch PR as extraction in 5.10 doesn't support extracting from extensions to types not defined in the extraction scope.
Scope: compile time constant extraction where source file uses some macro
Main Branch PR: https://github.com/apple/swift/pull/70104
Resolves: rdar://118948638
Risk: Low, additive change to compile time constant extraction only
Reviewed By: @DougGregor, @artemcm
Testing: added test-cases to the test suite

@swift-ci please smoke test

@swift-ci please test


Move tsd to a regular dependency

Fixes #128

(note, I'm surprised that the preinstall script succeeded - I expected it to complain that tsd had not yet been installed. but Travis passes. any idea why?)

LGTM
Wouldn't the preinstall succeed because it explicitly installs tsd?

Yeah but preinstall before install right?
On Thu, Apr 16, 2015, 8:22 PM Martin Probst<EMAIL_ADDRESS>wrote:

LGTM
Wouldn't the preinstall succeed because it explicitly installs tsd?
—
Reply to this email directly or view it on GitHub
https://github.com/angular/ts2dart/pull/129#issuecomment-93885236.

Yeah but this just called "npm install" in the preinstall, so that's how that worked? At least that'd be my theory.

@IgorMinar : merged in 5af57c39cfaa46f2f89305310ce5c65628c139a6


Add EleAtRank

Do the checklist before submitting the PR:

[x] Have you read the guidelines mentioned in CONTRIBUTING.md?
[x] Have you squashed your commits?

Q: What version of Node.js you've used in the project? (e.g. Node v10.11.0)
A:v11.6.0
Q: Mention the Issue Number! (e.g. Fixed #8)
A:#115

Give additional information regarding the PR below:

Codecov Report

Merging #134 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #134   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          77     78    +1
  Lines        1245   1259   +14
=====================================
+ Hits         1245   1259   +14

Impacted Files
Coverage Δ

src/EleAtRank/index.js
100% <100%> (ø)

src/index.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #134 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #134   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          77     78    +1
  Lines        1245   1259   +14
=====================================
+ Hits         1245   1259   +14

Impacted Files
Coverage Δ

src/EleAtRank/index.js
100% <100%> (ø)

src/index.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

What exactly does rankify do?

Look into what currying means in JavaScript! @sateslayer


(WIP) Scribe Android handwriting text input

Enables the Scribe feature, or Android stylus handwriting text input.
I created an issue about stylus hovering while working on this: https://github.com/flutter/flutter/issues/148810
Depends on https://github.com/flutter/engine/pull/52943.
Fixes https://github.com/flutter/flutter/issues/115607

hi. @justinmc I have Samsung galaxy s9 ultra tab, I wanted to implement the above feature. I went through above PR and till it gets approved, can you please suggest a temporary solution that I can implement using native android?

@justinmc Recently I got a Lenovo tab. I tried to scribble on the text field and it worked. I typed hello and it was there in the text field. whereas I tried the same on the Samsung tab with S-pen it didn't work. Now I'm not sure where the issue is. Is it a flutter issue or is it device dependent?

@vistaar-mlopes Interesting! You tried this on master, not on this branch, right? I'm not sure how those other devices do handwriting. Maybe they have their own implementations since I believe Android hasn't supported this officially until recently.

@vistaar-mlopes If you could try this branch out with your Samsung and Lenovo tablets I'd be interested to see if it solves your problem! Now no engine change is needed, just this framework branch.

This PR is ready for re-review. Changes:

Gesture detection is now done in a normal GestureDetector, and has been moved to text_selection.dart.
The padding feature has been dropped from this PR, and will likely need https://github.com/flutter/flutter/issues/75747 in order to implement it.

A question for reviewers: The stylusHandwritingEnabled parameter is set on EditableText but currently just read by TextSelectionGestureDetector. Is there a cleaner way to do that? I don't want to split up iOS and Android handwriting into multiple flags or configurations.


Unhandled Exception: MissingPluginException(No implementation found for method addFlags on channel flutter_windowmanager)

Restarted application in 10,507ms.
E/flutter (15958): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: MissingPluginException(No implementation found for method addFlags on channel flutter_windowmanager)
E/flutter (15958): #0      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:165
E/flutter (15958):
E/flutter (15958): #1      FlutterWindowManager.addFlags (package:flutter_windowmanager/flutter_windowmanager.dart:111:12)
E/flutter (15958):
E/flutter (15958): #2      main
package:myproject/main.dart:22
E/flutter (15958):
E/flutter (15958):

how did you solve it ?


Add property to make the number of columns in GridContainer dynamic

This adds a new property to GridContainer called dynamic_column_width. Setting it to any value bigger than 0 will result in it changing the number of columns to how many times it fits in horizontally in the container:

Closes #30173.

I am not sure about that feature, as it does looks hacky in the way that one property overrides the behavior of another one while not being clear about it.
I believe this kind of behavior belongs to a dedicated FlowContainer node, not in the GridContainer node. But such new node needs to go to a proposal first, floating layouts are complex, mainly in the way that their minimum height depends on their width.

[...] as it does looks hacky in the way that one property overrides the behavior of another one while not being clear about it.

I think the behaviour is self-explanatory, and I made sure to document the property when I created this.

I believe this kind of behavior belongs to a dedicated FlowContainer node, not in the GridContainer node.

I don't think it's wise to create a new node for a single behaviour most people who use GridContainer implement themselves (as having a dynamic column count in a UI is generally expected).

To avoid confusing behavior of things overriding each other, perhaps:

Dynamic column width should only work if columns is set to a value such as zero.

Explicit amounts of columns should only work if dynamic column width if set to zero.

If both are zero or both are non-zero, throw an error or warning.

Sorry, I might have edited the comment too late. What you propose here is likely incompatible with the minsize system anyway. There is no way to compute a minsize with this system without specifying a preferred ratio, or a height for width system. I'm pretty sure this is going to cause problems when you put a GridContainer inside a container.

@groud Yep, this system will need to be a lot smarter to be fully functional. I still defend that this should be a feature of GridContainer instead of a new node, but my current implementation is far from optimal. Closing.

@groud Yep, this system will need to be a lot smarter to be fully functional. I still defend that this should be a feature of GridContainer instead of a new node, but my current implementation is far from optimal. Closing.

The thing is that, once we have a FlowContainer node, which is definitely a needed feature, I am not sure about how useful that would be. The FlowContainer node should be simple enough to get the exact same behavior, only by specifying a custom minsize on children. So I would avoid feature duplication there.


Redirects for 2021 sign-up forms

That time of year again. Using Netlify redirects like last year for best performance :)

LGTM!


Add zebra_state::init_test helper function for tests

Motivation

As part of the work for #1334, the construction of a state service instance will change a bit, because it will return a view to the current best chain tip block height. This will require changes to all tests that create a state service. To streamline these changes and to simplify the test code, this PR introduces an alternative constructor for tests to use.
Solution

The zebra_state::init_test function is available to other crates when the proptest-impl feature is enabled. The function creates a state service with an ephemeral Config and automatically wraps the service in a Buffer with one slot. These are the most common defaults for the tests, so it reduces a little the amount of repeated code.
Review

@teor2345 is reviewing the set of changes that are part of #1334.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

Follow Up Work

A follow-up PR will actually change the zebra_state::init method, but after this PR most tests will not need any extra changes.

This change is

It seems like there are some changes missing from the commits in this PR?


Pantag issues with API key expiry is enabled

Describe the bug
Pantag issues with API key expiry is enabled.

Expected behavior
Invalid/expired api key should be discarded and a new one requested.

Current behavior
pantag command fails with an error:
External search command 'pantag' returned error code 2. Script output = "ERROR URLError: code: 400 reason: Key Expired: XXXX....XXXX has expired. "

Possible solution
Invalidate API key when getting the 400 key expired response from the firewall.

Steps to reproduce

Enable expiry on api keys.
Run a pantag command.
Wait until expiry has passed.
Try running pantag again.

Screenshots

Context

Your Environment

Version used:
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
Operating System and version (desktop or mobile):
Link to your project:

Has there been any investigation on this one?
I noticed I had missing filling out the environment info and other misc stuff, but I think there is enough info in the report to resolve.
I had a quick look through the code and there didnt appear to be any logic to handle an expired API token.

Thanks for reporting this. We currently cache the API key to reduce the number of API calls to the device, but it causes this issue when the API key expires, we don't currently generate a new key and refresh the cache. We can put in an exception check that detects this expired key message and regenerates the API key. Unfortunately this isn't a trivial change and will require a modification to the underlying pan-os-python library.
I think this is an important enhancement for security reasons and we will work on it, but I want to set expectations that we have limited resources during covid and a lot of Splunk App enhancements in the pipeline. We appreciate your understanding.


Getting started documentation

I would like to request to extend readme for essential information on how to get started, especially for devs who don't have much experience with alternative computer architectures.

how to setup development environment on fresh debian / fedora
reproducible example on how to code and compile to pvm binary
reproducible example on how to use compiled binary via pvm

I believe that would unlock access to this interesting project for many new developers.

onboarding inexperienced devs come with support burden as well. its really not that hard to read .github/workflows file and execute scripts to install environment and then just play around with the repositories host /guest examples and polkatool.
best getting started readme is probably initial post at polkadot forums: https://forum.polkadot.network/t/announcing-polkavm-a-new-risc-v-based-vm-for-smart-contracts-and-possibly-more/3811
I wrote a game of life example some time ago and
https://github.com/hitchhooker/polkavm/tree/master/guest-programs/example-game-of-life
https://github.com/hitchhooker/polkavm/tree/master/examples

As of right now this is also simply not a priority as this is not a user facing component in our software stack.

@hitchhooker Thanks for links, always good to have more examples.
Regarding support burden, it is not really good excuse to not improve documentation. Already having "issues" in a public project on github comes with support burden. If you give one hand, it doesn't mean you are obliged to give another. So having getting started section does not imply you need to guide inexperienced devs any further.
@athei polkavm probably will never be really user facing component. Your talk I seen youtube on topic of PVM was very well made, thanks.
As I figured out minimal "getting started" process I will proceed with PR to resolve my request.


auto run a code when needed to

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

Closing as incomplete. Please feel free to add more information if you have any and we can re-open the issue.


websocket添加代理服务器

Since in production, api-gateway container will not expose ip,
so in browser we can't connect websocket server directly.
But dashboard container is linked with api-gateway container,
we can use dashboard server as proxy node.


adding cellranger-atac count cwl

this pr adds a cwl that can be used to run cellranger-atac count. I'll end up using this to create a processing_profile to handle single cell atac samples in the GMS.

Seems straightfoward and looks good!  +1


Colour the snow icons white instead of blue

Excellent app, I love the simplicity of being able to see important info (for me: feels like, rain and snow accumulation) very quickly.
Would it be possible to change the snow flake colour in each of the cloud symbols to white instead of blue? Snow is white afterall (generally speaking) and the rain symbols being blue lines would make snow easier to spot when looking at the various cloud icons, especially the ones where it's a mix of rain and snow under the same cloud.
Thank you

Hello, I'm really glad you like the app! Thank you.
Yes, I see what you mean. Snowflakes are hard to differentiate from rain drops because they're currently the same color. The problem with making them white is that they would not be legible in light mode :/
Any suggestions? Thing that comes to mind is making them different shades of blue, perhaps.

Ah, yes.. light mode.. :)
I do see in light mode the rain is a darker blue compared to snow, I'm not sure if that same blue would be too dark to see in dark mode but having it two different shades would definitely help.

That said, are there two different sets of icons, one for light and one for dark (since light mode currently has two shades of blue)?

Ah, yes.. light mode.. :)

I know right, who the hell uses light mode anyway? ;)

are there two different sets of icons, one for light and one for dark

Yep. Light mode icons are provided as SVGs by MET Norway. But in dark mode, their rain drops, moon and lightning bolt are too dark to be legible, so I changed their colors to make the dark icons. I'll play around with different shades of blue and see what I come up with

Somewhere along the line I realized that I can just make the snowflakes white in dark mode and leave them as they are in light mode. Version 3.1.0 has this change, I just pushed it. Please let me know if this fixes your issue :)

That makes sense, downloaded 3.1.0 and the new colours look great in dark mode, it's much easier to distinguish the snow from rain especially in the mixed precipitation clouds. Thanks :)


useCustomCompareMemo assigns unknown type to its return value

Prior Issues
I discovered this issue while implementing #871. I am finished with it, but I think this issue should be solved before opening a PR.
What is the current behavior?
The type of the value returned by useCustomCompareMemo is unknown regardless of what the return type of its factory function actually is. This is problematic, because unknown is pretty unusable and requires casting to the actual type to be usable.
In the docs, the type reference of useCustomCompareMemo says that the return type should be ReturnType<Factory>, ie. the return type of the given factory function, but it is not.
Steps to Reproduce
Open this CodeSandbox and hover your mouse on top of the value variable and see its type.
What is the expected behavior?
The return type of useCustomCompareMemo should match the return type of its factory function, just like it does when using useMemo.
Environment Details

@react-hookz/web version: latest

:tada: This issue has been resolved in version 16.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Simple ComNetsEmu IoT-based app

Hi, Abin. Thanks for your pull request. Could you please replace the png pictures with plain text (copied from the terminal)? So less images (and in general, any binary) will make the repository smaller in the long run. Currently there are some images in the repo since the code was merged in a hurry for an event :wink:. Thanks so much for your understanding and sorry for the inconvenience.

Hi, Zuo. Not a problem at all.  I have replaced the images with text.

Hi, Abin. I have merged your branch already. Just I squash some commits in your branch :wink: . I'll close this pull request now (somehow github can not detect that I have merged your branch with a little bit tweaks, and automatically close it.)


Uploading 10,000 assetsForSale in buyer-mints-nft branch

Hi,
So I forked this branch for working on an NFT project using this contract.
https://github.com/austintgriffith/scaffold-eth/blob/buyer-mints-nft/packages/hardhat/contracts/YourCollectible.sol
And I was using the feature of allowing the buyer to mint the token, so I was trying to deploy the contract with the assetsForSale[]
https://github.com/austintgriffith/scaffold-eth/blob/b810f9054a22517b305494e405d1de7a1ea3bc2e/packages/hardhat/contracts/YourCollectible.sol#L17
But with 10,000 IPFS Hash, so the result was a crazy amount of gas has been used as more than 222,000,000
So this contract template not optimized for a big (n) of items.
My question here,
What would be the best-optimized way for adding those hashes (10000) into the contract?
The main issue here is we want a way to allow the contract to verify the hash to be minted but without having these crazy gas units used.
Thanks so much!
cc: (@blockboard-co)

Hey! Try out the merkle root branch by @viraj124 @ironsoul0 and @sadda11asm which supports exactly that use case https://github.com/austintgriffith/scaffold-eth/tree/merkle-root-buyer-mints

yeah @iskanderandrews if you follow the readme so basically instead of storing the iphs hashes on chain you can just store the Merkel root and do minting by that's what this branch does so you can edit this file and add the hashes o the artwork you wanna mint on-chain so this branches saves gas in terms of not storing the hashes on chain


Customize the command used to install CocoaPods

Because some CocoaPods can be finicky at best to get working with {N} plugins, it would probably help to be able to customize or specify a command to run a pod install.
For example, please see this issue:
https://github.com/segment-integrations/analytics-ios-integration-google-analytics/issues/3#issuecomment-164874798
The issue arises from the Segment-GoogleAnalytics pod and the solution posted above involves a custom install of CocoaPods and the usage of bundle exec pod install along with a Gemfile to circumvent the issues.
It would be nice that when running tns emulate ios with CocoaPods involved, a command line argument could be passed to provide a custom pod install command to be able to use this solution.
Working on this {N} plugin for Segment:
https://github.com/NathanWalker/nativescript-segment
Blocked by this at moment.

This issue was moved to NativeScript/nativescript-cli#1628


Line 18 Terminates at Bachet so you should remove the depot

https://github.com/tpgwidget/tpgwidget/blob/b579c6c767e6f47acc5e09c77934851fd447a56a/tpgdata/stops.php#L30

Already reported in #23, thanks ! 😀


Simplifies build by bundling Scribe (still disabled by default)

We used to bundle scribe, but due to library conflicts, moved it
optional. As Armeria natively supports thrift (incidentally armeria
means sea thrift), we no longer have this problem.
Bundling removes one of the most complex things from our project for
sites that still use Scribe (most folks who use Finagle will).
This adds 1MiB to the server jar, which could be reduced further if
needed by:

inlining scribe types instead of using the large generated files
somehow removing the libthrift dep

I don't think this is worthwhile yet.

heh cool :)


fixed bug https://github.com/andrewtelnov/surveyjs/issues/183

Solution that uses onMouseOut event could not be used :-(