replacing wclip with powershell get/set-clipboard

Not sure if this is a place that would be good to replace or be separate as some people might prefer powershell others might prefer wclip binary

The main reason for using wclip was it's --secret flag to set the CF_CLIPBOARD_VIEWER_IGNORE flag in the clipboard.
This flag makes clipboard history managers not record clips.
If there is a way to set this flag using set-clipboard with powershell, please go ahead and update the PR.
Otherwise you are welcome to fork and make your own extension.


Support Wallmart to A12

can you update add https://github.com/shinvou/Wallmart to support A12
this tweaks works fine in iOS 12 on iPX and iOS 11 iP7

Not my tweak nor is this a place for requests.


[Epic] Add fully-blown support for Genycloud emulators

A follow-up on the work on Genymotion-cloud integration done in the context of a grand PoC in #2429.
While #2429 sums up the work required in order to start rolling out Genymotion cloud support internally at Wix, there is more to be done in case the integration proves scalable and robust - so as to make it a polished, generally used solution provided via Detox. Here is the list:

[x] Better tweaking of Detox' CI script, so as to support exec on both local and cloud emulators in each build. (#2688)
[x] USER_AGENT=detox for any usage of detox out there (as an overridable default) (#2691)
[x] Fix: Avoid retries for instance creation, as retries can yield an "instance name already exist"-style errors, and ultimately shadow the real, primal error. (#2763)
[x] Fix bug: ios runs after genymotion -> teardown is called for all instances, and fails. Need to delete clearing db file in each run.
[x] Reduce instance readiness polling: delay retries for ~50 sec (i.e. reduce load on Genycloud's servers and log clutterring)
[x] Documentation + scaffolding script revisit. Important: must cover the global Detox init and teardown. Important 2: Must cover mocha.js.
[x] [wip] Revisit some technical debts (PR feedback notes, possible filenames change, internal TODO) [#2573, #2575, #2577]
[ ] ~Dependency Injection - InversifyJS / di4js~
[x] [tbd] Allow for running debug mode w/ or w/o some sort of instance reuse
[ ] [tbd] Add support for running on a specific cloud instance (mostly for local dev usage / debugging)
[ ] https://github.com/wix/Detox/issues/3655
[ ] https://github.com/wix/Detox/issues/3573
[x] Blogpost? :)

Would be great to support a way of hooking into geny motion device naming too, we want to create a fallback device cleanup process to cleanup devices whose CI job has completed, but the Detox-<timestamp>-<jest index> can't be related back to a CI job, so there is no way of knowing which device is for which job.
As we cant guarantee that the detox device cleanup process will always fire a fallback is required.

Hi. Happy to see support for this, as we're struggling with stability running Android in CircleCI (weird out-of-memory issues, even tho there should be enough)
Just tested Genycloud and to my surprise it works incredibly well! 5/5 re-runs passed, and a bit faster than our current runs.
Though I tested with the cli locally, and not in CI, but it looks like it would work the same.
PS: I've tested both with --workers 1 and 2. Both working 👌

My only question is, since the issue is still [Open], and my testing was successful, what is left to do here? Could we expect some stuff not working? 🤔

Hi @kg-currenxie, thanks for the cheering feedback. As for your question:

First of all, we will release the official Genymotion SaaS support as a part of Detox 20 in the upcoming days.
There are minor issues in some advanced scenarios, e.g., #3573, and #3655. These are rather minor inconveniences, but we're not satisfied with their existence, of course, and we are committed to fixing them within a month or two at most.
Last but not least, we want to improve init performance dramatically for projects with numerous test suites by dropping unnecessary app re-installation where possible (this is not Genymotion SaaS-specific, but this is exactly an entry point to fix the aforementioned minor issues).

@noomorph sounds awesome :D Then we're happy to make the switch <3

The next (20) version and its docs are basically ready, so you can try to install<EMAIL_ADDRESS>and follow the Migration Guide and Genymotion SaaS guide, to prepare your project in a Git branch towards the upcoming release.

Just to confirm; does it still support recording videos? :) Didn't see any mention of it in the caveats section of the migration guide :)

Just to confirm; does it still support recording videos? :) Didn't see any mention of it in the caveats section of the migration guide :)

Is there any specific issue you have spotted?
Well, there are no video-specific changes in Detox 20. The support remains basic - 1 video per test - like it always has been since Detox 8. Advanced video cutting is planned but without an ETA at the moment.

No, no issues, just didn't have time to test video recording until my free Genycloud minutes ran out 😅 Thanks

I'll report back when we have done the v20 prerelease migration (next week)

So far, fairly good! After the upgrades (now v20.0.1), I've tried running it 5 times in a row so far.
Same specs, same config, same command, right after each other. (2 workers)
Results in seconds:

✅ 432s
✅ 439s
✅ 479s
✅ 516s (17% slower than fastest run, but still fast imo)
❌ One failed run

It's not quite clear what the failure is. Some kind of network timeout I think. I'll report here, but it might be more on Geny's side. I'll give their support this issue.
Log (trace level, 65k lines):
https://gist.githubusercontent.com/kg-currenxie/8e1f428138920489c7afcb5c1096c820/raw/5dfdcfa1d0fb3ab0236c4af2e43cbe61ef4ebacc/gistfile1.txt
Please cmd+f for failed in it :)

@kg-currenxie thanks, but it's hard to tell from the log. Would be great if you could share your detox.trace.json artifact (https://wix.github.io/Detox/docs/api/logger/#detoxtracejson)

@d4vidi i'll provide the json trace next time it fails :) i didnt have --record-logs on :/
For now, i'll give you guys the ones that have big time differences:
399 seconds:
detox.trace.json.zip
513 seconds:
detox.trace.json.zip
28% time difference, altho, still fast enough for our liking :) would just be interesting to gain any insights on why

Hey @kg-currenxie! This specific problem doesn't seem to be related to Genymotion, so let's follow up on it in #3722 in order to keep things clean over there 🙏🏻


Can I make redis strong consistency in active active HA environment

Hi
can I make redis strong consistency in active-active HA environment through Redisson config? We need a synchronous replication between redis nodes.

Use RBatch object with syncSlaves option.
RBatch batch = redisson.createBatch(BatchOptions.defaults().syncSlaves(2, 1, TimeUnit.SECONDS));

Use RBatch object with syncSlaves option.
RBatch batch = redisson.createBatch(BatchOptions.defaults().syncSlaves(2, 1, TimeUnit.SECONDS));

I would like to make this in card authorisation system for card credit limit control which require low latency and high throughput. While I read that Redis is eventual consistent cache system that use asynchronous replication, the approach u show below does it means that all redis instances are strong consistent?
Do you have any details working example beside code snippet below?
Sent from Yahoo Mail for iPad
On Wednesday, January 27, 2021, 8:47 PM, Nikita Koksharov<EMAIL_ADDRESS>wrote:
Use RBatch object with syncSlaves option.
RBatch batch = redisson.createBatch(BatchOptions.defaults().syncSlaves(2, 1, TimeUnit.SECONDS));
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I would like to make this in card authorisation system for card credit limit control which require low latency and high throughput. While I read that Redis is eventual consistent cache system that use asynchronous replication, the approach u show below does it means that all redis instances are strong consistent?
Do you have any details working example beside code snippet below?
Sent from Yahoo Mail for iPad
On Wednesday, January 27, 2021, 8:47 PM, Nikita Koksharov<EMAIL_ADDRESS>wrote:
Use RBatch object with syncSlaves option.
RBatch batch = redisson.createBatch(BatchOptions.defaults().syncSlaves(2, 1, TimeUnit.SECONDS));
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

solution uses wait command. More details here https://redis.io/commands/wait

solution uses wait command. More details here https://redis.io/commands/wait


PDF.js on IE9 with Win 7 Fails to do Subpixel Anti-Aliasing

Continued from #4252 (see also #5196 for Chrome issue).
Subpixel font rendering does not work in IE 9 for the tracemonkey document example. In the image below, pdf.js in IE9 renders the document with no subpixel antialiasing. If there were sub-pixel anti-aliasing, you would see pixels rendered in blue and red around the edges of the font.

IE9 is not supported anymore in PDF.js 2.0, so I'm closing this issue as won't fix.


to keep  multi-repo consistent with single-repo for helm values confi…

…guration
Description

Motivation and Context

Resolves #

How was this change tested?

[ ] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] Yes, I have updated the docs for this feature
[ ] Yes, I ran pre-commit run -a with this PR

Additional Notes

could we add details on what the motivation is for this change, does this fix or improve something, etc. When I first read the title I had assumed the multiple sub-directories would have been flattened to a single directory but this appears to be just helm value changes

This is a fix. Currently, the

This is a fix.  currently, the helm values from main.tf in eks_cluster module are not passed to the Application. These changes are to fix it similar to how the helm values are passed to single_repo example application

Hi @ajpaws!
Can you open an Issue, regarding this scenario and explain the actual vs expected behavior. Then update the comment in the Motivation and Content section.
Best,

Hi @ajpaws!
Can you open an Issue, regarding this scenario and explain the actual vs expected behavior. Then update the comment in the Motivation and Content section.
Best,

@bryantbiggs I created the Issue https://github.com/aws-ia/terraform-aws-eks-blueprints/issues/1722


Optimize the navigation style

Hi Sarah,
Thanks for this repo, it's a great example.

I optimize the navigation style, thank you!

thanks!


Add MicrosoftFSLogixApps

Please add MicrosoftFSLogixApps
https://github.com/aaronparker/Evergreen/blob/main/Evergreen/Manifests/MicrosoftFSLogixApps.json

.zip files are currently not supported by the client yet.

@denelon - Does the FSLogix team want to handle this one? I looked at the zip file and it's a suite of installers (which I'm not sure is supported anyways? I think cli only supports suites of portable apps?)

We're going to work with the FSLogix team to automate publishing manifests.

🥳

FSLogix is still not available with Winget. Any update?

[Policy] Package Request

@denelon Has there been any updates on this?


Update Documentation related to Customise Feature for v1.3

Fix customise order feature diagram
Update user guide - make it more clear
Update developer guide

Codecov Report
Base: 55.72% // Head: 55.48% // Decreases project coverage by -0.24% :warning:

Coverage data is based on head (08673a5) compared to base (8465c2a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #135      +/-   ##
============================================
- Coverage     55.72%   55.48%   -0.25%
  Complexity      661      661
============================================
  Files           126      126
  Lines          2688     2698      +10
  Branches        321      324       +3
============================================
- Hits           1498     1497       -1
- Misses         1072     1083      +11
  Partials        118      118

Impacted Files
Coverage Δ

src/main/java/soconnect/model/SoConnect.java
84.21% <0.00%> (-3.07%)
:arrow_down:

...c/main/java/soconnect/model/tag/UniqueTagList.java
62.85% <0.00%> (-1.85%)
:arrow_down:

...main/java/soconnect/model/util/SampleDataUtil.java
11.53% <0.00%> (-1.51%)
:arrow_down:

src/main/java/soconnect/model/ModelManager.java
70.29% <0.00%> (-0.30%)
:arrow_down:

src/main/java/soconnect/MainApp.java
0.00% <0.00%> (ø)

...rc/main/java/soconnect/storage/StorageManager.java
82.14% <0.00%> (ø)

...in/java/soconnect/storage/JsonTodoListStorage.java
45.00% <0.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix MongoDatabase>>collections

MongoDB 3.0 changed the way to get the list of a database's collections, as explained by Udo Schneider (@krodelin) in #12 .
Changes in MongoDatabase:
collections
	"Answer the collections in this database"

	| collectionNames |
	collectionNames := root majorVersion < 3
		ifTrue: [ self mongo2CollectionNames ]
		ifFalse: [ self mongo3CollectionNames ].
	^ collectionNames
		collect: [:each | MongoCollection database: self name: each ]

The old implementation of #collections is now named like this:
mongo2CollectionNames
	"Answer the names of the collections in this database (for MongoDB < 3.0).
	Before 3.0, it is possible to obtain this information via a query to <database>.system.namespaces.
	This has been deprecated since MongoDB 3.0, then such query returns an empty collection. See more at: https://docs.mongodb.com/manual/reference/system-collections/#%3Cdatabase%3E.system.namespaces"

	| query reply names real |
	query := MongoQuery new collection: (MongoMetaCollection name: 'system.namespaces').
	reply := self query: query.
	"Drop options on the floor for now"
	names := reply collect: [ :each | each at: 'name' ].
	real := names select: [ :each | (each occurrencesOf: $.) = 1 ].
	^real collect: [:each | each readStream upTo: $.; upToEnd ]

and the new implementation to get collection names is:
mongo3CollectionNames
	"Answer the names of the collections in this database (for MongoDB >= 3.0).
	See more at https://docs.mongodb.com/manual/reference/command/listCollections/"

	| reply |
	reply := self command: {(#listCollections -> 1)} asDictionary.
	^ ((reply at: 'cursor') at: 'firstBatch') collect: [ :each | each at: 'name' ]

In fact, this implementation for 3.0 is buggy because it answers only a "first batch" of collections. However, I propose this fix as a workaround to have green tests, and after we can provide a better fix in another PR.

It's failing in pharo 4:
Got startup errors:
    FileDoesNotExist: File @ /home/travis/build/tinchodias/mongotalk/mc/Mongo-BSON.package/monticello.meta/version

It's true, in this recently merged commit this file and many other .json were deleted:
https://github.com/pharo-nosql/mongotalk/commit/74a6255292bd2ace6f539ad50eb1204d074b659b#diff-3a0cef526df4e252a4daa4f6ec449778
Don't know why... Maybe I worked in a version of Pharo that created the commit metadata-less.
In summary, the CI error is independent from this PR. But I would like to know what to do with the error...
revert the deletions?

Aha, I see Norbert already had to fix a similar issue with metadata in<PHONE_NUMBER>5175f8081b3040588e5ff240353c6a

@noha how did you re-create the metadata in ?
I've just did commit (locally) with Iceberg from Pharo 6.1 (60540) and it doesn't create any metadata files.
However, it'd be great to work without all that metadata to simplify reviews and merges. Do we need to stop Pharo 4 support to achieve that? Is it viable?

I've found "[Pharo-users] Latest Voyage for Pharo4" thread from last year (17/02/2017), so it seems users could appreciate keeping support for Pharo 4.

well, I will merge it

For the record:
IMHO Mongo class shouldn't implement mongodb 2.6 and 3.0. Not sure what's the solution...
Maybe it could implement Mongo as an abstract class and Mongo26, Mongo30, etc. as subclasses with the particular stuff.
Maybe it's better to ensure master branch is a driver for latest mongodb version, and support for older mongodb versions are other branches.

I've just learnt something: there is a official specification for mongodb drivers, and this "#collections" stuff is defined:
https://github.com/mongodb/specifications/blob/55b2c2e08b22a1b43c02d0e18d1a44188f0b126c/source/enumerate-collections.rst#getting-collection-names
"Drivers MAY implement a method to enumerate all collections, and return only the collection names."
So I understand this fix is right.


[ENH] Conformal intervals additions

Reference Issues/PRs
Building on #2542.
What does this implement/fix? Explain your changes.

Move _compute_sliding_residuals to it's own function like in NaiveVariance
Add early computation of residuals matrix like in NaiveVariance
Add option to pass a sample_frac argument at initialisation to speed up computing the residuals matrix
Found an issue where forecaster.predict_residuals doesn't always return a series, so assigning it to the residuals matrix can fail here:

residuals_matrix.loc[id] = forecaster.predict_residuals(y_test, X_test)

Fixed with:
residuals_matrix.loc[id] = forecaster.predict_residuals(y_test, X_test).iloc[:,0]

but this is up for discussion.
Does your contribution introduce a new dependency? If yes, which one?
No
What should a reviewer concentrate their feedback on?
Numbers 3. and 4. are new and not yet implemented elsewhere.
PR checklist
For all contributions

[x] I've added myself to the list of contributors.
[ ] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[x] I've added unit tests and made sure they pass locally.
[x] The PR title starts with either [ENH], [DOC] or [BUG] indicating whether the PR topic is related to enhancement, documentation or bug

For new estimators

[ ] I've added the estimator to the online documentation.
[ ] I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

Will wait for review to complete the documentation on usage.

and, it apparently automatically closes because the branch got automatically deleted.
Sorry, @bethrice44, my fault.
Could you kindly re-open this, with main being the target branch?


How can I use dfget in the physical machine when I install dfget by docker?

Question

I install dfget and supernode by docker. If I use dfget directly in docker, in this case , the dfclient' register ip is the ip in docker, so it cannot connect to other peers(which are launched by docker too ) on the different machine. How can I solve this problem? I think using dfget in the physical machine not in the docker may solve this problem, but how can I do that?

And will supernodes in the cluster automatically synchronize files?

@YCait you can try --net=host https://docs.docker.com/engine/reference/commandline/run/#connect-a-container-to-a-network---network

And will supernodes in the cluster automatically synchronize files?

What's that mean? If you are talking about multi supernodes which specified by the dfget, and then that may will disappointed you. There is no relationship between supernodes.
However, we are doing the HA of supernode. FYI> https://github.com/dragonflyoss/Dragonfly/pulls?utf8=✓&q=is%3Apr+is%3Aopen+HA


FakeIOModule.open argument renaming: file_name to file

Changed argument name in FakeIOModule.open from file_name to file.
It makes pyfakefs compatible with the library atomicwrites that uses kwargs to pass arguments to io.open function.
See https://github.com/untitaker/python-atomicwrites/blob/890e7aed4a1fd3b3724dc64503757617996c3978/atomicwrites/init.py#L180
In python documentation argument is also named file:
py3: https://docs.python.org/3/library/functions.html#open
py2: https://docs.python.org/2.7/library/io.html#io.open

Thanks - this makes sense!


[FEATURE]

Write a silent switch bypass bro
that will be funny 🛌

Write a fly bypass bro
that will be funny

Write a fly bypass bro
that will be funny

stfu and stop being annoying asf

Write a silent switch bypass bro
that will be funny 🛌

cooldown bypass already exists

Write a silent switch bypass bro
that will be funny 🛌

cooldown bypass already exists

and it doesnt work as bypass just randomly switches items in my hotbar

For Mode Pick you need Sorter - VirtualHotbar.

For Mode Pick you need Sorter - VirtualHotbar.

why do i need that if it doesnt work

Works for me.

btw can u teatch me how to use sorter? i made inventory layout, did +sorter save bingo and turned on hotbar and inventory
and then +sorter load bingo, but it barearly works and when i open and close server it doesnt work
is this module supposed to sort inventory or what

btw can u teatch me how to use sorter? i made inventory layout, did +sorter save bingo and turned on hotbar and inventory
and then +sorter load bingo, but it barearly works and when i open and close server it doesnt work
is this module supposed to sort inventory or what

it is, set delay to 50-150


Integrations

Bash integration which lets you us voice , visual , Bash and other shell terminal commands , Cloud integration with closed or open source search engines which lets you directly search something on internet via terminal or GUI and also communication channels such as Skype , Telegram , Hike , IRC etc
This is my first question about this project
Edit :  When i say Cloud integration i mean using Datacenter services

This question is completely unclear, incomplete, overly-broad, primarily opinion-based or is not about programming, and it is unlikely to be fixed via editing. Because of these reasons I'm closing this issue.


Remove extra lines when displaying helper or error text for custom params and hide the copy option from custom params modal when no params are available

Current behavior

When displaying helperText or errorText for custom parameters, a separate line gets displayed for the helper/error text.
If there are no custom params available then the copy button on the custom params modal should not be displayed as only an {} object is copied and there is no use case for having the button when there is no data inside the modal.

Expected behavior

Only display a single line for custom params and remove the duplicate line
Remove the copy icon from the modal when there is no data to copy inside the custom params modal

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

[x] YES
[ ] NO

Environment details

Browser:
OS:
Code Version:

Additional information

Check for the multiple lines case on all the places where we have used helper/error text.

Issue verified in release v2.23.0 and found that issue is still there as no line is visible in between the optional custom parameters as seperator.
https://jam.dev/c/f962d025-73f8-4ea8-a4b5-610b86da47ab

Fixed the above issue in following PR: https://github.com/hotwax/job-manager/pull/708

Verified and working fine in release v2.23.1. Hence, closing it.


Add section "Podcast #ASKradio" to website

This is the project that @romeoplat is coordinating, connected to this
https://anchor.fm/refutories/episodes/R-and-R-ASKvox-podcast-euegfr/a-a560p8s

For new sections new HTML templates must be created in "/_includes". It would be good if it could be described in more detail how such a podcast section should look like. It is also enough to say: "similar to section XY". Of course it would be better to create an example image ;) Then I can create them. This also applies to the issue #1

I would not create a full section for now but just as one of many resource raster blocks/tiles in a sections

should be a resource for now @MartinSchott  #50 #48

I am planning on doing a vast #ASKradio podcast and I think it would be nice to include that content as part of the website.


[stable/wordpress]add app description   which provide app abstract for project dashboard

add app description which provide app abstract for project dashboard,releatedapp description

@viglesiasce why close it?


How to send audio from asterisk to dana audio server

By using ARI and this bridge
https://github.com/nimbleape/dana-tsg-ari-bridge


Is there a way to add a link to Raindrop when I have added it to Instapaper?

I didn't find any discussion board (my bad if I overlooked it), so I post it here:
Can I tell Raindrop to add a link to Raindrop when I have added it to Instapaper? Pinboard (where I'm coming from) was for a long time able to do this, but it has stopped doing so without notice.

Hello! Yes:
https://ifttt.com/connect/instapaper/raindrop


Catching attempt to reference property on a function vs executing function

I understand that it's technically valid Javascript to have a function which has a property.  But it seems like it's not a best practice.  Is it within Flow's domain to warn against that sort of thing:
type Quux = {
  count: number
}

const foo = (): Quux => {
  foo.executionCount++;
  return { count: foo.executionCount };
}

foo.executionCount = 42;

function bar(): number {
	return foo().count + foo.count
}

At least in flow 0.36, this produces no warnings.  I'd like flow to alert me to the fact that I'm attempting to reference a property count (in this case, a non-existant property) on function foo.
Thanks for any feedback.

This is a known limitation of Flow at this point. Banning static properties on functions is probably out of scope, but I agree we should be able to error on foo.count.

@avikchaudhuri Is the issue that Function.prototype could have these static props added on at some point in runtime, and therefore it's not invalid?
It'd be nice to have a way to consume these types, and be able to express that it's safe to assume they're free from mutation, or that they're an exactly version of Function as declared here.

I did a deep dive on this in a related issue
Long story short, if you want a type that insists on just a plain function with no properties, and errors if you try to fetch a property, you can change from signatures like this:
let plus: (n: number) => number = (x) => x+1;
plus.doesntExist // no error

To instead look like this:
let plus: { (n: number): number } = (x) => x+1;
plus.doesntExist // type error


Specification & ValiationResult Messages

Enable ValidationResult Messages With Specification Validation

Thx for pr and tests.
At next time please provide more info about your intentions by creating a issue


Power Rename - Add Headers & Trailers

Description of the new feature / enhancement
A feature that would be extremely helpful is the option to use Power Rename to add a header to multiple file names at once. Currently, I can replace text but not simply add text. This would be helpful for both document name headers and pre-extension trailers.
Scenario when this would be used?
For example, where I work, we use certain headers (comm_documentname.pdf, qr_graphic.png) for batches of documents. We also sometimes date documents at the end or beginning of the file name for organizational purposes.
Supporting information
No response

You can already do that.  here is pre, post and insert from the docs.
https://learn.microsoft.com/en-us/windows/powertoys/powerrename#examples-of-regular-expressions

Search for
Replace with
Description

(.*).png
foo_$1.png
Prepends "foo_" to the existing file name for PNG files

(.*).png
$1_foo.png
Appends "_foo" to the existing file name for PNG files

^(.{n})(.) or (.)(.{n})$
$1foo$2
Insert "foo" n characters from the beginning or the end, respectively


can't build on OS X 10.5

On Leopard, I'm seeing this error

npm info it worked if it ends with ok
npm info version 0.2.0
npm info fetch http://registry.npmjs.org/pcap/-/pcap-0.2.1.tgz
npm info install<EMAIL_ADDRESS>npm WARN bins installing to /usr/local/share/npm/bin, outside PATH
npm info install<EMAIL_ADDRESS>Checking for program g++ or c++          : /usr/bin/g++
Checking for program cpp                 : /usr/bin/cpp
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for g++                         : ok
Checking for node path                   : not found
Checking for node prefix                 : ok /usr/local/Cellar/node/0.2.1
'configure' finished successfully (0.806s)
Waf: Entering directory `/usr/local/lib/node/.npm/pcap/0.2.1/package/build'
[1/2] cxx: pcap_binding.cc -> build/default/pcap_binding_1.o
../pcap_binding.cc:5:23: error: pcap/pcap.h: No such file or directory
../pcap_binding.cc:22: error: aggregate ‘bpf_program fp’ has incomplete type and cannot be defined
../pcap_binding.cc:23: error: ‘bpf_u_int32’ does not name a type
../pcap_binding.cc:24: error: ‘bpf_u_int32’ does not name a type
../pcap_binding.cc:25: error: expected constructor, destructor, or type conversion before ‘*’ token
../pcap_binding.cc: In function ‘void PacketReady(u_char*, const pcap_pkthdr*, const u_char*)’:
../pcap_binding.cc:46: error: invalid use of undefined type ‘const struct pcap_pkthdr’
../pcap_binding.cc:40: error: forward declaration of ‘const struct pcap_pkthdr’
../pcap_binding.cc:52: error: invalid use of undefined type ‘const struct pcap_pkthdr’
../pcap_binding.cc:40: error: forward declaration of ‘const struct pcap_pkthdr’
../pcap_binding.cc:53: error: invalid use of undefined type ‘const struct pcap_pkthdr’
../pcap_binding.cc:40: error: forward declaration of ‘const struct pcap_pkthdr’
../pcap_binding.cc:54: error: invalid use of undefined type ‘const struct pcap_pkthdr’
../pcap_binding.cc:40: error: forward declaration of ‘const struct pcap_pkthdr’
../pcap_binding.cc:55: error: invalid use of undefined type ‘const struct pcap_pkthdr’
../pcap_binding.cc:40: error: forward declaration of ‘const struct pcap_pkthdr’
../pcap_binding.cc: In function ‘v8::Handle Dispatch(const v8::Arguments&)’:
../pcap_binding.cc:89: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:89: error: ‘pcap_dispatch’ was not declared in this scope
../pcap_binding.cc: In function ‘v8::Handle Open(bool, const v8::Arguments&)’:
../pcap_binding.cc:100: error: ‘PCAP_ERRBUF_SIZE’ was not declared in this scope
../pcap_binding.cc:120: error: ‘net’ was not declared in this scope
../pcap_binding.cc:120: error: ‘mask’ was not declared in this scope
../pcap_binding.cc:120: error: ‘errbuf’ was not declared in this scope
../pcap_binding.cc:120: error: ‘pcap_lookupnet’ was not declared in this scope
../pcap_binding.cc:126: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:126: error: ‘errbuf’ was not declared in this scope
../pcap_binding.cc:126: error: ‘pcap_create’ was not declared in this scope
../pcap_binding.cc:128: error: no matching function for call to ‘v8::String::New()’
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1147: note: candidates are: static v8::Local v8::String::New(const char*, int)
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1150: note:                 static v8::Local v8::String::New(const uint16_t*, int)
../pcap_binding.cc:132: error: ‘pcap_set_snaplen’ was not declared in this scope
../pcap_binding.cc:137: error: ‘pcap_set_promisc’ was not declared in this scope
../pcap_binding.cc:142: error: ‘pcap_set_buffer_size’ was not declared in this scope
../pcap_binding.cc:147: error: ‘pcap_set_timeout’ was not declared in this scope
../pcap_binding.cc:157: error: ‘pcap_activate’ was not declared in this scope
../pcap_binding.cc:158: error: ‘pcap_geterr’ was not declared in this scope
../pcap_binding.cc:162: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:162: error: ‘errbuf’ was not declared in this scope
../pcap_binding.cc:162: error: ‘pcap_open_offline’ was not declared in this scope
../pcap_binding.cc:164: error: no matching function for call to ‘v8::String::New()’
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1147: note: candidates are: static v8::Local v8::String::New(const char*, int)
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1150: note:                 static v8::Local v8::String::New(const uint16_t*, int)
../pcap_binding.cc:168: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:168: error: ‘errbuf’ was not declared in this scope
../pcap_binding.cc:168: error: ‘pcap_setnonblock’ was not declared in this scope
../pcap_binding.cc:169: error: no matching function for call to ‘v8::String::New()’
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1147: note: candidates are: static v8::Local v8::String::New(const char*, int)
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1150: note:                 static v8::Local v8::String::New(const uint16_t*, int)
../pcap_binding.cc:173: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:173: error: ‘net’ was not declared in this scope
../pcap_binding.cc:173: error: ‘pcap_compile’ was not declared in this scope
../pcap_binding.cc:174: error: ‘pcap_geterr’ was not declared in this scope
../pcap_binding.cc:177: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:177: error: ‘pcap_setfilter’ was not declared in this scope
../pcap_binding.cc:178: error: ‘pcap_geterr’ was not declared in this scope
../pcap_binding.cc:186: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:186: error: ‘pcap_get_selectable_fd’ was not declared in this scope
../pcap_binding.cc:192: error: ‘pcap_datalink’ was not declared in this scope
../pcap_binding.cc:202: error: ‘DLT_IEEE802_11_RADIO’ was not declared in this scope
../pcap_binding.cc:209: error: ‘errbuf’ was not declared in this scope
../pcap_binding.cc:210: error: no matching function for call to ‘v8::String::New()’
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1147: note: candidates are: static v8::Local v8::String::New(const char*, int)
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1150: note:                 static v8::Local v8::String::New(const uint16_t*, int)
../pcap_binding.cc: In function ‘v8::Handle FindAllDevs(const v8::Arguments&)’:
../pcap_binding.cc:232: error: ‘PCAP_ERRBUF_SIZE’ was not declared in this scope
../pcap_binding.cc:233: error: ‘pcap_if_t’ was not declared in this scope
../pcap_binding.cc:233: error: ‘alldevs’ was not declared in this scope
../pcap_binding.cc:233: error: ‘cur_dev’ was not declared in this scope
../pcap_binding.cc:235: error: ‘errbuf’ was not declared in this scope
../pcap_binding.cc:235: error: ‘pcap_findalldevs’ was not declared in this scope
../pcap_binding.cc:236: error: no matching function for call to ‘v8::String::New()’
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1147: note: candidates are: static v8::Local v8::String::New(const char*, int)
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1150: note:                 static v8::Local v8::String::New(const uint16_t*, int)
../pcap_binding.cc:251: error: ‘pcap_addr_t’ was not declared in this scope
../pcap_binding.cc:251: error: ‘cur_addr’ was not declared in this scope
../pcap_binding.cc:277: error: ‘PCAP_IF_LOOPBACK’ was not declared in this scope
../pcap_binding.cc:284: error: ‘pcap_freealldevs’ was not declared in this scope
../pcap_binding.cc: In function ‘v8::Handle Close(const v8::Arguments&)’:
../pcap_binding.cc:293: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:293: error: ‘pcap_close’ was not declared in this scope
../pcap_binding.cc: In function ‘v8::Handle Fileno(const v8::Arguments&)’:
../pcap_binding.cc:303: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:303: error: ‘pcap_get_selectable_fd’ was not declared in this scope
../pcap_binding.cc: In function ‘v8::Handle Stats(const v8::Arguments&)’:
../pcap_binding.cc:313: error: aggregate ‘pcap_stat ps’ has incomplete type and cannot be defined
../pcap_binding.cc:315: error: ‘pcap_handle’ was not declared in this scope
../pcap_binding.cc:315: error: ‘pcap_stats’ was not declared in this scope
../pcap_binding.cc: In function ‘v8::Handle DefaultDevice(const v8::Arguments&)’:
../pcap_binding.cc:334: error: ‘PCAP_ERRBUF_SIZE’ was not declared in this scope
../pcap_binding.cc:339: error: ‘pcap_if_t’ was not declared in this scope
../pcap_binding.cc:339: error: ‘alldevs’ was not declared in this scope
../pcap_binding.cc:339: error: ‘dev’ was not declared in this scope
../pcap_binding.cc:340: error: ‘pcap_addr_t’ was not declared in this scope
../pcap_binding.cc:340: error: ‘addr’ was not declared in this scope
../pcap_binding.cc:343: error: ‘errbuf’ was not declared in this scope
../pcap_binding.cc:343: error: ‘pcap_findalldevs’ was not declared in this scope
../pcap_binding.cc:344: error: no matching function for call to ‘v8::String::New()’
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1147: note: candidates are: static v8::Local v8::String::New(const char*, int)
/usr/local/Cellar/node/0.2.1/include/node/v8.h:1150: note:                 static v8::Local v8::String::New(const uint16_t*, int)
../pcap_binding.cc:348: error: ‘PCAP_IF_LOOPBACK’ was not declared in this scope
../pcap_binding.cc:363: error: ‘pcap_freealldevs’ was not declared in this scope
../pcap_binding.cc: In function ‘v8::Handle LibVersion(const v8::Arguments&)’:
../pcap_binding.cc:372: error: ‘pcap_lib_version’ was not declared in this scope
../pcap_binding.cc: At global scope:
../pcap_binding.cc:22: error: storage size of ‘fp’ isn’t known
Waf: Leaving directory `/usr/local/lib/node/.npm/pcap/0.2.1/package/build'
Build failed:  -> task failed (err #1):
	{task: cxx pcap_binding.cc -> pcap_binding_1.o}
npm info<EMAIL_ADDRESS>Failed to exec install script
npm ERR! install failed Error<EMAIL_ADDRESS>install: `node-waf configure build`
npm ERR! install failed `sh` failed with 1
npm ERR! install failed     at ChildProcess. (/usr/local/Cellar/npm/0.2.0/libexec/lib/utils/exec.js:24:18)
npm ERR! install failed     at ChildProcess.emit (events:33:26)
npm ERR! install failed     at ChildProcess.onexit (child_process:151:12)
npm ERR! install failed     at node.js:769:9
npm info install failed rollback
npm info not installed pcap,0.2.1
npm info install failed rolled back
npm ERR! Error<EMAIL_ADDRESS>install: `node-waf configure build`
npm ERR! `sh` failed with 1
npm ERR!     at ChildProcess. (/usr/local/Cellar/npm/0.2.0/libexec/lib/utils/exec.js:24:18)
npm ERR!     at ChildProcess.emit (events:33:26)
npm ERR!     at ChildProcess.onexit (child_process:151:12)
npm ERR!     at node.js:769:9
npm ERR! try running: 'npm help install'
npm ERR! Report this *entire* log at
npm ERR! or email it to
npm not ok

Looks like it expects to find pcap/pcap.h, but I only have /usr/include/pcap.h.
Any ideas?

4 years later....closing as doubt anyone is still experiencing this issue with OSX 10.6 . Reopen if anyone has issues.
Apple no longer supports 10.6


sys-kernel-config.mount fails to load in unprivileged container

Required information

Distribution: Ubuntu
Distribution version: Ubuntu 18.04 LTS
The output of "lxc info" or if that fails:

$ lxc info # via snap
config:
  images.auto_update_cached: "false"
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- candid_authentication
- candid_config
- candid_config_key
- usb_optional_vendorid
- id_map_current
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    ...
  certificate_fingerprint: ...
  driver: lxc
  driver_version: 3.0.4
  kernel: Linux
  kernel_architecture: x86_64
  kernel_features: {}
  kernel_version: 4.15.0-72-generic
  lxc_features: {}
  project: ""
  server: lxd
  server_clustered: false
  server_name: ...
  server_pid: 1256
  server_version: 3.0.4
  storage: dir
  storage_version: "1"

Issue description
I saw https://github.com/lxc/lxc/issues/436 but it was quite old. I apologize if this is a duplicate or known issue.
On a bionic host, in a bionic unprivileged container, the container almost, but not quite, comes up clean. The only issue is:
$ sudo systemctl --failed --all
  UNIT                    LOAD   ACTIVE SUB    DESCRIPTION
● sys-kernel-config.mount loaded failed failed Kernel Configuration File System

$ sudo systemctl status sys-kernel-config.mount
● sys-kernel-config.mount - Kernel Configuration File System
   Loaded: loaded (/lib/systemd/system/sys-kernel-config.mount; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-01-07 09:40:22 CST; 24min ago
    Where: /sys/kernel/config
     What: configfs
     Docs: https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt
           https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
  Process: 61 ExecMount=/bin/mount configfs /sys/kernel/config -t configfs (code=exited, status=32)

Jan 07 09:40:23 test mount[61]: mount: /sys/kernel/config: permission denied.

It is my understanding that this is desirable behavior and that /sys/kernel/config is intentionally not loaded in the container and services in the container seem to run fine so I just assume not add the access.
I'm currently using sudo systemctl mask sys-kernel-config.mount which 'works', but I'm not sure it is the right approach. Are unprivileged containers expected to come up clean by default? If not, what is the recommended way of handling this?

Unprivileged containers will have some services failing. configfs failing is fine imho. Usually services that fail but are not detrimental can just be ignored. One option to not have them fail is to mask them via systemctl mask.

I don't believe it is safe to have this mounted in unprivileged containers which is why the kernel refuses the mount (even outside of apparmor rules).
I suspect the right fix for this would be a change to the systemd unit to not mount when inside a container.

Closing as not a LXD bug and not something we'd actually ever want to allow.
I'd strongly recommend opening a bug against systemd and/or sending a PR which adds a container restriction on this unit so that it doesn't show up as failed on startup.

Ran into this on Proxmox and I resolved it by adding lxc.cap.drop: sys_rawio to my config and this is the result, no more error. What may I be missing by dropping that cap in an unprivileged container?
root@erling:~# systemctl status sys-kernel-config.mount
* sys-kernel-config.mount - Kernel Configuration File System
     Loaded: loaded (/lib/systemd/system/sys-kernel-config.mount; static)
     Active: inactive (dead)
  Condition: start condition failed at Tue 2021-11-09 11:21:58 UTC; 3min 47s ago
             `- ConditionCapability=CAP_SYS_RAWIO was not met
      Where: /sys/kernel/config
       What: configfs
       Docs: https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt
             https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems

This was also an interesting read, don't know if it's relevant: https://systemd.io/CONTAINER_INTERFACE/

I don't think you're likely to miss anything by dropping sys_rawio inside of an unprivileged container as I'd expect just about every kernel codepath requiring this capability to check it against the host namespace. We in theory could add mediated raw PCI access or something down the line through syscall interception which would then make use of that capability in the container, but it's not something we've seen any need for yet.

how i can fix this, help plaese! its a nextcloud server 25.0.1 in debian 11


Bare metal loadblancers

Because fun.  @thockin

This is already getting handed out on irc, so bump

Move balancer for great justice.  @pweil- can you offer feedback here?
I'll take a todo once we simplify some of the router config generation to add a service mode

cc @kelseyhightower @smarterclayton

Small stuff.  Please clone in the Makefile, and integrate the more advanced kubectl based client auth from #12111

cc @jayunit100 - should make you happy ;-)

General cleanup, incorporated feedback and added unittests. Still lacks integration tests but I'll do that in a follow up.

We are currently doing something very similar to this with OpenShift Routes.
For reference, our haproxy config is https://github.com/openshift/origin/blob/master/images/router/haproxy/conf/haproxy-config.template
Some items of interest:

Factoring this into a template based router plugin that takes a template to process and a reload script allows it to support implementations other than HAProxy.  Ref: https://github.com/openshift/origin/tree/master/plugins/router/template
Most traffic (http/https based) can be handled with dynamic frontend implementations that can look to configuration files for mapping based on headers, urls, or SNI information.  Custom frontends could be requested to support unique scenarios.  HAProxy provides handy map based look ups to support this which keep the HAProxy config clean.
SSL termination requests can be handled in a variety of ways - edge termination, edge termination and reencryption to the pods, and a straight tcp passthrough.
When providing SSL termination you must manage the certificates which gets a little more tricky because an invalid certificate can cause the router restart to fail
If using directory based SSL Cert lookup and a cert is not found HAProxy will default back to the first loaded certificate which allows you to provide a "default" certificate for your cluster
When thinking about namespace collisions and naming backends uniquely in HAProxy we have the following scenario (assuming backends are named with a separator HAProxy accepts, not /).

ns: foo, service: bar-baz, backend: foo-bar-baz
ns: foo-bar, service: baz, backend: foo-bar-baz

Two other things that we played with that I forgot to mention:

Session affinity - stick on source is not as useful due to the NAT of the sdn but cookie based affinity is easily achieved for most use cases.  Using stick tables is a bit more difficult when you consider having multiple HAProxy pods that the stick tables must synchronize against
HA - creating a HA setup is possible by using a service to identify the peer set.  The plugins can be aware of the service name and use the endpoints just like they do for creating backends.  They can then use the HAProxy peer directives to synchronize between themselves if using stick tables.

@pweil thanks! I'm going to fork off an issue to discuss your comments. I think the plan for now is to get something into contrib, and then chip away at it till it is production ready. So for those customers that want the power of a full fledged l7, this is a working proof of concept.
Your thougts on contributing to this, with the intent of eventually moving it to something like pkg/loadbalancer/plugin (I like your plugins idea)?
I had a look at routes and this is my tl;dr:
We can't get a routes object till we've settled on a loadbalancer/ingress api and we need a basic bare-metal controller loop that uses what we have, to give to people who need l7s.  We're probably going to end up with something that looks like routes, but not exactly, since it needs to accomodate the gce/elb/cloudprovider=metal api on one side, and kubernetes on the other. Haproxy is a special case because it's got a full and mostly stable feature set, which is more than I can say for some of the cloud providers (gce is still in beta - no sticky sessions, sni etc).

An nginx example using NodePort: https://github.com/kelseyhightower/nginx-summit-portland
L7 issue: #561
Upstreaming Openshift features: #10408

Your thougts on contributing to this, with the intent of eventually moving it to something like pkg/loadbalancer/plugin (I like your plugins idea)?

most definitely

LGTM.  Let's move the container to gcr.io/google_containers/... but that can be a separate PR.

@k8s-bot test this [contrib/submit-queue: candidate for merging]

Automatic merge from SubmitQueue


Suggestion: Better notification message for plinder_download when PLINDER_OFFLINE is set

Hi,
Thank you so much for developing this incredible resource! I'll be using it extensively for some of my future work.
This is admittedly just me mostly having overlooked my own configuration, so feel free to disregard this suggestion.
I downloaded PLINDER to use it offline by using the plinder_download command-line option, but it seems the download only partially completed (unknown to me). Proceeding under the assumption that the download had finished, I set PLINDER_OFFLINE and tried to use a few of the imports in my Python code, eventually hitting an error when only partially-downloaded files were found or missing.
I tried running plinder_download again and saw that it was failing to sync (just seemingly skipping all the steps by saying that everything succeeded in 0.00s). This occurred even after I set PLINDER_OFFLINE to false (not realizing that the check is just if the variable is set at all).
Maybe check at the beginning of plinder_download if PLINDER_OFFLINE is set to any value, and if so, possibly warn the user that they may want to unset the variable if they want to download files? Or maybe add an option to ignore the variable and redownload anyways?

Thank you, @rachitk , we explain this detail for the users here and in our tutorial:
https://plinder-org.github.io/plinder/examples/1_download.html#
If a user would like to avoid this issue - it is possible to make the check for environment variables and unset them if they are not set to "true" or other preferred label.
This issue seems to be good to be closed :)
For further discussions or suggestions - feel free to join the user discord server: https://discord.gg/KgUdMn7TuS


Recommendations for face group/list sizes & resources

There is no recommendations for disk size or other resource usage vs the number of stored faces or stored people. Has this been tried and tested enough to get those sorts of recommendations?

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

ID: 889b34f3-060f-4507-32db-63d5a33cfd4c
Version Independent ID: 74032f30-05bd-ea1f-4504-3444ba065c8b
Content: Install, run containers
Content Source: articles/cognitive-services/Face/face-how-to-install-containers.md
Service: cognitive-services
GitHub Login: @diberry
Microsoft Alias: diberry

@secbug Thank you for the valuable feedback,we are investigating the issue.

@secbug
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@diberry
Hi Dina, I tried to find some clues about the size but can not find anything. Could you please help with this issue? If you think it's necessary, we can add more details to this document.

#in-progress

@secbug There are no size requirements or recommendations. What issues have you run into with this?

Not a thing, however we are looking at scaling this and are wondering if there are any relevant guidelines, expected CPU/RAM requirements for systems, or any testing done of resources per faces or resources per persons/personlists.

@secbug - The CPU/RAM requirements shouldn't be related to # of faces or persons, correct? Or if not, how do you see that? The faces or persons/personlists is a matter of space or memory on the container. So the real question - IMO - is the CPU/RAM. The recommendations in the installation doc are the only recommendations I know of.
@IEvangelist FYI - continue or close - your call.
@YutongTie-MSFT Please assign this issue to @IEvangelist.

#assign:IEvangelist

#reassign:IEvangelist

Hi @secbug,
These are the only formal recommendations that exist for host computer resources. If you're experiencing issues that imply these should be adjusted, please let us know.
Feel free to re-open this issue if you are able to provide details about recommendations that might be better based on your findings.
Thank you,
#please-close


raidemulator: Fix loading encounters with a different base language, issue with getCombatants

As discussed in #2942, set Options.ParserLanguage to the auto-detected language when analyzing and loading encounters for playback.
This can be done via a single set in RaidEmulator.setCurrent.
This PR also fixes an issue with the getCombatants call which was caused by writing the additional non-tracked field code against the old version of LineEvent whereas the new version doesn't store the parts array because all relevant parts are extracted to proper fields now.

Do you think it's worth parsing the 249 line as well?
Reading through Encounter.js, re: language, I also have some questions:

petNames appears to only use English?
if (res && res.groups && res.groups.language) doesn't seem like it would ever be true?
where does Encounter.language get set?

Sorry, on mobile so hopefully this makes sense.
petNames only in English - this is a minor issue, but I can resolve this
evening if needed.
The res check - this can definitely be true, but it's hard to line up due
to the massive indenting of the blocks above. Basically it'll be true if
the current line is a seal/unseal/countdown/engage line.
Encounter.language gets set on parsing in the NetworkLogConverter code
tree, where it figures out where encounters start/end.
On Mon, May 31, 2021, 12:27 Adrienne Walker @.***>
wrote:

Do you think it's worth parsing the 249 line as well?
Reading through Encounter.js, re: language, I also have some questions:

petNames appears to only use English?
if (res && res.groups && res.groups.language) doesn't seem like it
would ever be true?
where does Encounter.language get set?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/quisquous/cactbot/pull/2970#issuecomment-851586861,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOWBLX3EYUBCVAWJJMD36LTQO2GDANCNFSM453FACLA
.

Ah, I see.  language here is one of the extra fields that gets set outside of the regex somewhere else.  Ok, thanks!
So if somebody is in a raid with no seal and they don't use a countdown, then there's no language detected?
I'll go ahead and merge this so we can have this fix in, and the pet issue can get fixed after.


Add some changes to footer section

want to add a more responsive footer section

@ tarunsinghofficial can you assign this to me?


About training part

Hi, when will the training code be open source?

Hi @chenaoxuan, unfortunately, we are still updating the code in order to re-exam / formalize the model / the training / in order to reach improved performance. We will also need to have an internal discussion with our professor for training code release, but we are working toward that direction.

Same as https://github.com/SHI-Labs/Versatile-Diffusion/issues/15


docs don't specify how to POST an unnamed value (like a SOAP request)

i needed to replicate curl's option for a soap request:
     --data-binary <data> HTTP POST binary data

the server won't accept multipart as with CurlHttpPost.  the docs for CurlPostFields (at top of https://hackage.haskell.org/package/curl-1.3.8/docs/Network-Curl-Post.html and https://hackage.haskell.org/package/curl-1.3.8/docs/Network-Curl.html#v:curlPost) indicate it should be a list of name=value Strings, so i was stuck for a long time looking for some other option that didn't involve naming the value.  eventually it occurred to me to just try it without a name, which worked.
i also had to use CurlHttpHeaders to set content-type: text/xml;charset='utf-8', why isn't there an explicit constructor for this as in HttpPost or CurlReferer, CurlUserAgent, CurlCookie, etc?

I was briefly stuck on that too; the libcurl naming of that option is somewhat confusing, but the CURLOPT_POSTFIELDS documentation mentions that it's neither converted nor encoded, while that in the bindings sounds rather like it has to be in the "name=value" format.


The authentication middleware deletes the data that were inside the session before authentication,  verssion 0.6.0

The authentication middleware deletes the data that were inside the session before authentication in version 0.6.0
use case .
When a user tries to access a route that is only accessible by authenticated users, I save the link of the page the user was trying to access in the session. Then, I redirect the user to the login page. After the user submits their credentials, I authenticate the user and redirect them to the URL they were trying to access before they got redirected to the login page, which is normally saved in the session. However, in version 0.6.0 of Passport, the URL saved in the session is being deleted after the user is authenticated.
Expected behavior
The data saved in the session should be present after the authentication process.
Actual behavior
The data contained in the session gets deleted after authentication.
Steps to reproduce

create a route that add some data to the session .

router.post("/addDataToSession" , (req,res)=>{
req.session.someData ="some data" ;
res.send("some data added to the session") ;
});

add the following route

router.post("/login",
(req,res, next)=>{ console.log(req.session); next();} ,
 passport.authenticate("local", { failureFlash: true, failureRedirect: "/login" }), (req, res) => {
    const redirectUrl = req.session.returnTo || "/home";
    delete req.session.returnTo ;
    res.redirect(redirectUrl);
});

visit the /addDataToSession then , visit then make a post request with the username and password in the body .

Environment

Operating System: windows
Node version: v18.9.0

Same problem- was able to workaround it with the following
router.get('/auth/google/callback',
  async (req, res, next) => {
    const redirectUrl: string = (req.session as any).afterLogin;
    await passport.authenticate('google', {})(req, res, next);
    res.redirect(redirectUrl);
    next();
  });

The solution is to pass the option keepSessionInfo: true to the authenticate method.


Fixes nil pointer errors in ingress template

Fixed bug looking for Values and include in local scope rather than global scope inside with

Ahhhhh that explains it. Awesome thanks for this.


The argument type Poiner<Pointer> can't be assigned to the parameter type Pointer<Pointer>

After updating win32 package from ^2.2.10 to ^2.3.1 i can not build the project due to this issue in filepicker_windows package

Ooh -- good catch. I'll fix; thank you for noting this.

Hi All,
I got the errors too, Is there any method to solve it quickly like downgrade the dependency?
Now the whole project can't build and can't run any more.
Thank you.

Hi All, I got the errors too, Is there any method to solve it quickly like downgrade the dependency? Now the whole project can't build and can't run any more.
Thank you.

Just use win32 2.2.10 version without an ^symbol
win32: 2.2.10

Hi All, I got the errors too, Is there any method to solve it quickly like downgrade the dependency? Now the whole project can't build and can't run any more.
Thank you.

Just use win32 2.2.10 version without an ^symbol win32: 2.2.10

Thank you very much! It works now.

Fixed in https://github.com/timsneath/filepicker_windows/commit/f5d33da8290ff8c1679e2c4ec830b1c5a72ecceb. Thanks for the report.


components/*: Forbid write access to root filesystem

Description
This is part of the initiative to tighten security in kube-prometheus - prometheus-operator/kube-prometheus#1595.
An attacker who has access to a container, can create files and download scripts as he wishes, and modify the underlying application running on the container. If a container needs to write to the filesystem, a strict volume mount should be used.
Following remediation docs from https://hub.armo.cloud/docs/c-0017
Fixes #1595
Type of change
What type of changes does your code introduce to the kube-prometheus? Put an x in the box that apply.

[ ] CHANGE (fix or feature that would cause existing functionality to not work as expected)
[ ] FEATURE (non-breaking change which adds functionality)
[ ] BUGFIX (non-breaking change which fixes an issue)
[X] ENHANCEMENT (non-breaking change which improves existing functionality)
[ ] NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry
Please put a one-line changelog entry below. Later this will be copied to the changelog file.

Forbid write access to root filesystem for all components

Failing test seems to be unrelated 🤔

@ArthurSens do we want to lower the threshold for make kubescape as a result of this and include it here?

Ah yes, thanks for the reminder

Ps: I haven't addressed the FIXME comments yet because, although they are getting merged upstream, we still haven't updated the dependencies to get them into this repository 🙂

@ArthurSens sorry for commenting on a closed PR, but I've traced an issue with our Grafana deployment crashlooping to this change. We're using the jssonet libraries, and the Grafana pod kept crashlooping with this being the only log entry:
Error: ✗ failed to create temporary file: open /tmp/2943756055.zip: read-only file system

Is there something wrong with our configuration?
local kp =
  (import 'kube-prometheus/main.libsonnet') +
  // Monitor all namespaces
  (import 'kube-prometheus/addons/all-namespaces.libsonnet') +
  // Soft anti-affinity to prevent Prometheus and Alertmanager from running on the same node (if possible)
  (import 'kube-prometheus/addons/anti-affinity.libsonnet') +
  // Custom metrics API allows the HPA v2 to scale based on arbirary metrics
  (import 'kube-prometheus/addons/custom-metrics.libsonnet') +
  // Remove some monitoring rules for inaccessible control plane components
  (import 'kube-prometheus/addons/managed-cluster.libsonnet') {
    values+:: {
      // [...]
      grafana+: {
        // TODO: externalize grafana setup into own file so both kube-prometheus and kube-thanos can be cleanly referenced
        datasources: [
          {
            name: 'thanos',
            type: 'prometheus',
            access: 'proxy',
            // TODO: un-hardcode
            url: 'http://thanos-query.' + common.namespace + '.svc:9090',
            orgId: 1,
            version: 1,
            editable: false,
          },
        ],
        plugins+: [
          'camptocamp-prometheus-alertmanager-datasource',
        ],
        dashboards+:
          thanosMixin.grafanaDashboards +
          certManagerMixin.grafanaDashboards,
        config+: {
          sections+: {
            server+: {
              root_url: 'https://grafana.' + common.ingress.domain,
            },
          },
        },
      },

Everything starts up fine once I set readOnlyFilesystem: false in the generated yaml manifest for the Grafana Deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app.kubernetes.io/component: grafana
    app.kubernetes.io/name: grafana
    app.kubernetes.io/part-of: kube-prometheus
    app.kubernetes.io/version: 8.3.4
  name: grafana
  namespace: monitoring
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/component: grafana
      app.kubernetes.io/name: grafana
      app.kubernetes.io/part-of: kube-prometheus
  template:
    metadata:
      annotations:
        checksum/grafana-config: 1565e43c513d51f2bc2913fa57de62ae
        checksum/grafana-dashboardproviders: bc79f12017c019002ed650d44571a465
        checksum/grafana-datasources: c5eca10c070124efca8530cff8e56ac9
      labels:
        app.kubernetes.io/component: grafana
        app.kubernetes.io/name: grafana
        app.kubernetes.io/part-of: kube-prometheus
        app.kubernetes.io/version: 8.3.4
    spec:
      automountServiceAccountToken: false
      containers:
        - env:
            - name: GF_INSTALL_PLUGINS
              value: camptocamp-prometheus-alertmanager-datasource,camptocamp-prometheus-alertmanager-datasource
          image: grafana/grafana:8.3.4
          name: grafana
          ports:
            - containerPort: 3000
              name: http
          readinessProbe:
            httpGet:
              path: /api/health
              port: http
          resources:
            limits:
              cpu: 200m
              memory: 200Mi
            requests:
              cpu: 100m
              memory: 100Mi
          securityContext:
            allowPrivilegeEscalation: false
            capabilities:
              drop:
                - ALL
            # Line below is changed, everything else is "as-is" output from jsonnet-bundler
            readOnlyRootFilesystem: false
          volumeMounts:
            - mountPath: /var/lib/grafana
              name: grafana-storage
              readOnly: false
            - mountPath: /etc/grafana/provisioning/datasources
              name: grafana-datasources
              readOnly: false
            - mountPath: /etc/grafana/provisioning/dashboards
              name: grafana-dashboards
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/alertmanager-overview
              name: grafana-dashboard-alertmanager-overview
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/apiserver
              name: grafana-dashboard-apiserver
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/bucket-replicate
              name: grafana-dashboard-bucket-replicate
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/cert-manager
              name: grafana-dashboard-cert-manager
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/cluster-total
              name: grafana-dashboard-cluster-total
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/compact
              name: grafana-dashboard-compact
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/controller-manager
              name: grafana-dashboard-controller-manager
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/grafana-overview
              name: grafana-dashboard-grafana-overview
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/k8s-resources-cluster
              name: grafana-dashboard-k8s-resources-cluster
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/k8s-resources-namespace
              name: grafana-dashboard-k8s-resources-namespace
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/k8s-resources-node
              name: grafana-dashboard-k8s-resources-node
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/k8s-resources-pod
              name: grafana-dashboard-k8s-resources-pod
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/k8s-resources-workload
              name: grafana-dashboard-k8s-resources-workload
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/k8s-resources-workloads-namespace
              name: grafana-dashboard-k8s-resources-workloads-namespace
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/kubelet
              name: grafana-dashboard-kubelet
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/namespace-by-pod
              name: grafana-dashboard-namespace-by-pod
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/namespace-by-workload
              name: grafana-dashboard-namespace-by-workload
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/node-cluster-rsrc-use
              name: grafana-dashboard-node-cluster-rsrc-use
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/node-rsrc-use
              name: grafana-dashboard-node-rsrc-use
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/nodes
              name: grafana-dashboard-nodes
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/overview
              name: grafana-dashboard-overview
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/persistentvolumesusage
              name: grafana-dashboard-persistentvolumesusage
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/pod-total
              name: grafana-dashboard-pod-total
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/prometheus-remote-write
              name: grafana-dashboard-prometheus-remote-write
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/prometheus
              name: grafana-dashboard-prometheus
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/proxy
              name: grafana-dashboard-proxy
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/query-frontend
              name: grafana-dashboard-query-frontend
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/query
              name: grafana-dashboard-query
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/receive
              name: grafana-dashboard-receive
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/rule
              name: grafana-dashboard-rule
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/scheduler
              name: grafana-dashboard-scheduler
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/sidecar
              name: grafana-dashboard-sidecar
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/store
              name: grafana-dashboard-store
              readOnly: false
            - mountPath: /grafana-dashboard-definitions/0/workload-total
              name: grafana-dashboard-workload-total
              readOnly: false
            - mountPath: /etc/grafana
              name: grafana-config
              readOnly: false
      nodeSelector:
        kubernetes.io/os: linux
      securityContext:
        fsGroup: 65534
        runAsNonRoot: true
        runAsUser: 65534
      serviceAccountName: grafana
      volumes:
        - emptyDir: {}
          name: grafana-storage
        - name: grafana-datasources
          secret:
            secretName: grafana-datasources
        - configMap:
            name: grafana-dashboards
          name: grafana-dashboards
        - configMap:
            name: grafana-dashboard-alertmanager-overview
          name: grafana-dashboard-alertmanager-overview
        - configMap:
            name: grafana-dashboard-apiserver
          name: grafana-dashboard-apiserver
        - configMap:
            name: grafana-dashboard-bucket-replicate
          name: grafana-dashboard-bucket-replicate
        - configMap:
            name: grafana-dashboard-cert-manager
          name: grafana-dashboard-cert-manager
        - configMap:
            name: grafana-dashboard-cluster-total
          name: grafana-dashboard-cluster-total
        - configMap:
            name: grafana-dashboard-compact
          name: grafana-dashboard-compact
        - configMap:
            name: grafana-dashboard-controller-manager
          name: grafana-dashboard-controller-manager
        - configMap:
            name: grafana-dashboard-grafana-overview
          name: grafana-dashboard-grafana-overview
        - configMap:
            name: grafana-dashboard-k8s-resources-cluster
          name: grafana-dashboard-k8s-resources-cluster
        - configMap:
            name: grafana-dashboard-k8s-resources-namespace
          name: grafana-dashboard-k8s-resources-namespace
        - configMap:
            name: grafana-dashboard-k8s-resources-node
          name: grafana-dashboard-k8s-resources-node
        - configMap:
            name: grafana-dashboard-k8s-resources-pod
          name: grafana-dashboard-k8s-resources-pod
        - configMap:
            name: grafana-dashboard-k8s-resources-workload
          name: grafana-dashboard-k8s-resources-workload
        - configMap:
            name: grafana-dashboard-k8s-resources-workloads-namespace
          name: grafana-dashboard-k8s-resources-workloads-namespace
        - configMap:
            name: grafana-dashboard-kubelet
          name: grafana-dashboard-kubelet
        - configMap:
            name: grafana-dashboard-namespace-by-pod
          name: grafana-dashboard-namespace-by-pod
        - configMap:
            name: grafana-dashboard-namespace-by-workload
          name: grafana-dashboard-namespace-by-workload
        - configMap:
            name: grafana-dashboard-node-cluster-rsrc-use
          name: grafana-dashboard-node-cluster-rsrc-use
        - configMap:
            name: grafana-dashboard-node-rsrc-use
          name: grafana-dashboard-node-rsrc-use
        - configMap:
            name: grafana-dashboard-nodes
          name: grafana-dashboard-nodes
        - configMap:
            name: grafana-dashboard-overview
          name: grafana-dashboard-overview
        - configMap:
            name: grafana-dashboard-persistentvolumesusage
          name: grafana-dashboard-persistentvolumesusage
        - configMap:
            name: grafana-dashboard-pod-total
          name: grafana-dashboard-pod-total
        - configMap:
            name: grafana-dashboard-prometheus-remote-write
          name: grafana-dashboard-prometheus-remote-write
        - configMap:
            name: grafana-dashboard-prometheus
          name: grafana-dashboard-prometheus
        - configMap:
            name: grafana-dashboard-proxy
          name: grafana-dashboard-proxy
        - configMap:
            name: grafana-dashboard-query-frontend
          name: grafana-dashboard-query-frontend
        - configMap:
            name: grafana-dashboard-query
          name: grafana-dashboard-query
        - configMap:
            name: grafana-dashboard-receive
          name: grafana-dashboard-receive
        - configMap:
            name: grafana-dashboard-rule
          name: grafana-dashboard-rule
        - configMap:
            name: grafana-dashboard-scheduler
          name: grafana-dashboard-scheduler
        - configMap:
            name: grafana-dashboard-sidecar
          name: grafana-dashboard-sidecar
        - configMap:
            name: grafana-dashboard-store
          name: grafana-dashboard-store
        - configMap:
            name: grafana-dashboard-workload-total
          name: grafana-dashboard-workload-total
        - name: grafana-config
          secret:
            secretName: grafana-config

Are we expected to declare an explicit mount for /tmp, e.g. an EmptyDir? If yes, I feel like this should be part of the generated yaml, shouldn't it? If this is actually a bug, let me know and I'll open an issue.

@itspngu - this is indeed a bug - it would be great if you can open the issue. Thanks


Timeline is not always refreshed to show new messages, downloaded in a background

As @keverets noticed in https://github.com/andstatus/andstatus/issues/295#issuecomment-278391741 for a Combined timeline, sometimes AndStatus doesn't "refresh" a Timeline, when new messages have been downloaded to the local cache in the background.
The simplest way to make sure that you see the latest data is to select "Refresh from cache" item in the Navigation Drawer.
Usually AndStatus does update a Timeline on loading new messages, but sometimes it intentionally ignores such events: this is done deliberately in order to avoid endless refresh and low responsiveness of the application, when active background updates occur. Obviously I need to improve this Timeline refreshing logic.

Um no it doesn't refresh however many times you refresh from cache..

@skoria If after "refresh" some information is not shown, this means that some data is not loaded from the Internet and you actually need to "Sync with Internet".

I don't know if this is related but combined timelines usually don't update other accounts besides the one selected. Specifically, sometimes it won't update new tweets.

@stormwatch This ticket is about redrawing of currently shown timeline after background syncing / downloads of new messages (tweets/toots...) and images (avatars and attachments).
Background syncing is not necessary syncing this timeline - it can do any work, including syncing of not related timelines...
As I understand, you are telling not about redrawing but about that background syncing?!


Add configurable --cloud provider support for kubectl

This should come when we tackle gce/aws but needs to be configurable on/off in the template

Closing - this got in with the AWS PR.


Remove deprecations

This removes deprecated code as preparation for a major version release.
TODO

[x] Remove synch store support code
[x] Update README

@sdebarros we should remove the old testing style as well - I'll create a PR deprecating that.

@marcoow I think this is ready for a second review, especially from https://github.com/simplabs/ember-simple-auth/pull/1933/commits/f04d66d50bab1ce06cc7a3f4e1664bb6cf36258f onward.


CFEE-1631:As a customer I want establish container-to-container functionality in the plugin (Git-338)

LGTM


feat: colors module provide function instead of value

With this change my colorscheme is not respected anymore. Searching for some hints in docs did not provide any help yet. Reverting back to commit c48af54a397bdae0f86e7000d35455bafcfa4a45 fixes the problem for me. Is there some way available to make this plugin (which I really love) follow my colorscheme?

@ehrand Oh, I'm sorry for that. I change the default colors because some color schemes do not set a good highlight group for TabLine, TabLineSel, and TabLineFill. So I use color from terminal colors instead.
Yes, it can be changed by config, but first, can you tell me the repo of the color scheme you use and the screenshot of the two versions? It will help me think more about this question and provider a option to solve this breaking change.

After some thinking, Because the new version of tabby is developing, It's better to not provide a breaking update in the current version, I revert it. Welcome the following feedback.

@nanozuki thank you, now it looks beautiful again :). Colorschem I'm using is this: https://github.com/sainnhe/gruvbox-material


Update ReadMe

Update readme to include new code structure, and remove old stuff

Please assign this to me

Sure go ahead. Be sure to check new stuff in the respective files and there is new way for config, be sure to include it.

Created the PR https://github.com/IamMU/Fancy-Print/pull/13


Hello Sdl app automatically backs out of FULL_HMI screen

Bug Report
When Hello Sdl app is in the foreground, it automatically backs out of it
Reproduction Steps

Install Hello Sdl app using 4.7.0-rc
Turn BT off on device
Turn on head unit, connect USB cable
Tap "Apps", Hello Sdl app detected on head unit
Tap on Hello Sdl icon, icon is highlighted but app does not come to the foreground on head unit
Tap on Hello Sdl icon again while it's still highlighted, observe app comes to the foreground
Wait for a few seconds

Expected Behavior
App stays on the foreground (HMI FULL)
Observed Behavior
App automatically backs out, radio screen takes over
OS & Version Information

Android Version: 8.1.0, Pixel XL
SDL Android Version: 4.7.0-rc1, multi_high_bandwidthDebug build

@Tnnnguyen are you using the repo that we are going to remove or the hello sdl that is now packaged in that branch?

@BrettyWhite it's the hello sdl version that is packaged in the branch.

This has been observed behavior of the Sync Gen 3 head units for apps that are not navigation and connect through the AOA transport. It is most likely a gen 3 issue. It does not do this on other SDL devices or vm's we've tested. If the app is a navigation app this will not happen as the video will start streaming.
You did not define which head unit you tested with in your initial report. Please check against what I just described and either close or update the issue.
Thanks


Fix backward compatibility of killAllOnCompletedTaskNumber

Coverage increased (+13.09%) to 64.928% when pulling 2a3316e4e178a182b44541c3172c277ce68191c5 on qixcheng/rest-server/fix-killAllOnCompletedTaskNumber-backward-compatibility into 85686d9effdb78c920b2294c0ba28d6d607afdf2 on pai-0.7.y.


Call unSigT on outermost applications in instanceMatches

Fixes #9.

Thanks for the fix!!  Sorry about the delay in merging + releasing


Add Apache License

BEGINRELEASENOTES

Move License to ApacheV2

ENDRELEASENOTES
TODO:

[ ] Wait for approval from collaborators

We have approval from everyone still active that contributed.
There are some contributors (https://github.com/key4hep/k4FWCore/graphs/contributors), where I am fairly certain they worked at CERN (or are still working there) when they contributed: @jlingema @fdplacido @zaborowska @JavierCVilla @clementhelsens @astano94
and one who probably didn't work at CERN at the time: @gartrog
Any objection from the thus pinged to changing the license for this repository?
Thanks!
Andre

No objection


Updated to Oculus SDK 42

Updated the Oculus SDK to v42.

OpenXR 1.0.25 was just released, once Oculus adopts it I'll update this PR to reflect the latest APIs


Time in 12 hour format it seems.

Hi Gavin,
I've been fighting with this and started writing code to change the timezone of the timestamp fields, however, I've just found out that I'm not going crazy.. or no more so...
What happens is the the times in the payload are correct up to 12:59.  They then roll over to 1:00 instead of 13:00.
Its currently 5:10 and the current data is
{"settlementdate":"2021-03-03 05:20:00","runno":1,""lastchanged":"2021-03-03 05:15:10"} which would be totally correct if it had a pm on it???
Any idea where the heck this is happening?
Peter.

Not an issue with pgsql-listen-exchange.. for those playing along at home... format HH:MI:SS in the trigger function will only give you from 0-12 you need HH24 to make it 24 hour time... all working now.. YAY


404 for haddock link in rainbox package

https://www.stackage.org/package/rainbox > https://www.stackage.org/package/lib/Rainbox/Tutorial.lhs
https://www.stackage.org/package/lib/Rainbox/Tutorial.lhs returns a 404
On hackage the URL is: https://hackage.haskell.org/package/rainbox-<IP_ADDRESS>/docs/Rainbox-Tutorial.html

The problem is the link provided in the README.md, which is also broken on Hackage. The correct URL is https://www.stackage.org/haddock/lts-9.14/rainbox-<IP_ADDRESS>/Rainbox-Tutorial.html.

Sorry, I should have double checked this!


Apply fix in bulk (to the whole file/project/solution)

It would be amazing if the fix could be applied to the whole file/project/solution:

Currently, it's sadly not possible:

For context, I'd love to migrate our whole solution from native NUnit assertions to Fluent Assertions, but doing it one by one is not an option, as we have a gazillion of usages.
I wonder if that's hard, then maybe just a standalone console app for a one-go migration could be an option? Happy to give it a try myself if you think that would be easier.
Btw, I'm a big fan of your work. Big fan! ;) :)

Well, it works fine in VS, so it's probably a problem with Rider rather than this package. Closing.


[CPP-435] Calls to memset and ZeroMemory may be deleted by the compiler

Overall, I don't think this query should use data flow or taint tracking as it will give results that are hard to explain. It should instead mimic what a reasonable compiler does.

Overall, I don't think this query should use data flow or taint tracking as it will give results that are hard to explain. It should instead mimic what a reasonable compiler does.

Let's discuss it during our next meeting.  I'm not sure how to make QL act as a "reasonable compiler", nor do I understand why taint tracking is not a proper solution.

So I've played with TaintTracking::localTaint tracking some more, and discovered some inconsistencies.  For example, in
	__builtin_memset(&pw1a[3], 0, PW_SIZE); // GOOD
	return pw1a[4];

the taint from the memset is correctly propagated to the return, whereas in
	__builtin_memset(pw1a + 3, 0, PW_SIZE); // GOOD [FALSE POSITIVE]
	return pw1a[4];

the taint is not propagated, leading to a spurious "memset may be deleted" alert.

Results on 75 projects here: https://lgtm.com/query/2089939943018653184/
I think we're seeing a lot of false positives on this [early] version of the query:

Indeed, we still are, even after the version bump.

I've put this on the agenda for today's team meeting so we can discuss the big picture before diving further into any of these details.

I have committed an initial version of the Memset.qll model.  (I've also committed some other changes but they are not exciting.)  I based my work on the existing Memcpy.qll model, but obviously could have gone wrong somewhere.  For the time being, I did not add Memset.qll to the import list in Models.qll, since I don't know what that would entail.

To continue working on this, I would like the following to be merged in first:
https://github.com/Semmle/ql/pull/2027.

I've committed my first stab at an IR-based query.  Presently it is quite simple, checking for the presence of a LoadInstruction dominated by the MemsetCallInstruction.  This is quite primitive, but amazingly the test results are not that bad.
I've tried tightening the restrictions on the LoadInstruction, e.g., by attempting to match a call argument to the MemsetCallFunction with the address operand of the LoadInstruction, but that proved to be overly restrictive -- (presumably) no LoadInstruction satisfying these criteria could be found, and so the query would flag every single memset call.

Thanks for the new test cases, @geoffw0 !  They will be extremely helpful.

So it looks as if this PR now carries two Jira tickets: memset may be deleted and pointer overflow check :-(.  I'd sort out what is what but unfortunately I no longer have access to Jira.  (I name my branches after their corresponding Jira tickets.)  So, if someone can provide the two correct correct #s tomorrow morning, I'll clean things up.  Otherwise, you can probably discard all the memset-related stuff since Dave's version most certainly supercedes it.

@zlaski-semmle I think the Jira ticket you're looking for is CPP-438: Query for pointer address wrapping.

@zlaski-semmle I think the Jira ticket you're looking for is CPP-438: Query for pointer address wrapping.

Yes, indeed.  At any rate, I moved the bits to zlaski/pointer-overflow-check.

@dbartol This PR may contain bits suitable for yours (https://github.com/Semmle/ql/pull/2207).


[AIRFLOW-2169] Encode binary data with base64 before importing to BigQuery

According to BigQuery SQL Data Type, imported BYTES data must be base64-encoded. Therefore, I added a helper function(support both PY2 & PY3) to encode binary type field in row with base64. Documentation could be seen: https://cloud.google.com/bigquery/data-types
Also updated related united test

@kaxil @fenglu-g Thoughts?

To provide a bit of a background on this ticket:
MySqlToGCS operator has a default mapping of mysql field_type to BigQuery type, specified in the type_map classmethod in this operator.
Unfortunately, with mysqldb client in PY2, it turns out to be very difficult to discern between VARBINARY and VARCHAR, they will both return as FIELD_TYPE.VARCHAR in mysqldb client (similarly, between CHAR/BINARY, BLOB/TEXT), so in the past, all binary fields in mysql were mapped to String. There is a binary flag returned by the cursor,  which we originally attempted to use to discern the types. However if binary collation is on, then the binary flag will be set to true regardless of the field type.
The work-around is to allow user to provide custom schema as an operator argument, so that it can override the default mapping. And if it's specified as a binary field, it will be base64 encoded, since binary types in BQ is always base64 encoded.

Rerunning CI: https://travis-ci.org/Fokko/incubator-airflow/builds/377396024


some mutating tensor operations are not @differentiable

+=, -=, *= in https://github.com/tensorflow/swift-apis/blob/master/Sources/TensorFlow/Operators/Math.swift are not differentiable, but it should be pretty straightforward to make them differentiable.

Just starting out with swift for tensorflow. So do we only need to add @differentiable(where Scalar: TensorFlowFloatingPoint) or am I missing something?

Oh yes, I think that is all that you need to do. (If the mutating operations were implemented in terms of other functions that were not differentiable, then you would need to actually specify what the derivative is, but it looks like the mutating operations are defined in terms of functions that are differentiable.)
Also some tests that the derivatives work are important.

Is there any way to test the changes without compiling the entire swift for tensorflow toolchain?

Yes, you can use the the toolchain binaries at https://github.com/tensorflow/swift/blob/master/Installation.md if you have one of the supported operating systems.

I meant if I customize the above mentioned file won't I need to recompile the entire thing?

Ah, I see what you mean. The quickest way to test the change is to add a test somewhere in Tests/... and then run swift test in the root directory of this repo. This will compile the repo and run the tests, which should only take a few minutes.

I would like to take this work on this. Please let me know if I can pick it.


Title problems when using doctype book

When I use the doctype book attribute in a document, book parts (level 0 title) render on the same page as lower attributes (ie: immediately after). But level 1 titles have page breaks before them.
The problem causes book parts (level 0 sections) to be rendered on the same page as text from previous parts, but any following  lower level titles are rendered on following pages. Also, chapter numbering completely ignores book parts, not resetting after them
But when the doctype is not set everything renders continuously and correctly, chapter numbers are reset after book parts and no weird page breaks are added, the only problem is that the "chapter" prefix is removed and the command prompt outputs an error reading "only book doctypes can contain level 0 sections", even though the PDF renders them correctly and correctly adds them to the TOC.

The page-break behavior you are observing is because the doctype book setting is literally attempting to layout the content as a book (where chapters start on a new page). This was done to fill a requirement of Asciidoctor PDF when it was created. There is an open issue to make this behavior configurable via the theme. See #74.
Just so you are aware, it is possible to override the layout_chapter method if you are using the Asciidoctor PDF API. But that's a fairly advanced usage.

chapter numbering completely ignores book parts, not resetting after them

This is just how AsciiDoc / Asciidoctor works. This is a change that would need to happen in core and is being discussed there. See https://github.com/asciidoctor/asciidoctor/issues/979.

As a workaround for the page break issue, I recommend using the article doctype and ignoring the warning. The warning is actually harmless.

Well, the issue is not really that chapters have pagebreaks, but the fact that parts do not, resulting in the following:

Ah, I see. Thanks for the clarification.
Parts were not in the original requirements for Asciidoctor PDF, so they didn't get implemented properly. But this still traces back to #74 that we need the correct page breaks and they need to be configurable. These issues are now linked, so it should be clear that we need to check all the levels.

Just ran into this issue today when generating a PDF with :doctype: book (rather than individual chapters).
I wouldn't need it to be configurable (#74) if it just does what's expected for a given doctype.

I'm currently putting in manually <<< but it would be nice if "=" puts in automatically a page break.

I'm going to move this issue up to 1.5.0.alpha.13 and just add the page break for parts when the doctype is book. That way, we get sane behavior right away, and pursue configurability via the theme in #74.

Let me know what you think of the implementation. See #527.

From what I can understand from reading the implementation: +2

@nathany Is this the behavior you were hoping to have?

I can't tell by looking at the code -- and I'm not totally sure how to test it.

@nathany I'm asking more about what your expectations are. As described above, I'm simply starting a new page at the beginning of a part (in addition to starting a new page at the beginning of a chapter). Does that match your expectations?
Btw, if you wanted to test the gem, you'd need to follow the steps described in: https://github.com/asciidoctor/asciidoctor-pdf#development. You can download the zip of the PR from https://github.com/mojavelinux/asciidoctor-pdf/tree/issue-329.

Yes, that's what I'm looking for.
I also changed my Gemfile and tested it out. Works great! Thanks.
- gem 'asciidoctor-pdf', '~> 1.5.0.alpha.12'
+ gem 'asciidoctor-pdf', github: 'mojavelinux/asciidoctor-pdf', branch: 'issue-329'

Yes, that's what I'm looking for.

:+1: Then I'll proceed with merging.

I also changed my Gemfile and tested it out.

Ah yes, that works too. I've noted down to document these steps more clearly in the README.

Thank you Dan.


Empty Epoch Detected Crash

log

2020-09-22 03:32:44 UTC [Info] Determining next slot to produce block
2020-09-22 03:32:44 UTC [Fatal] An empty epoch is detected! This could be caused by the following reasons: system time is out of sync with protocol state time; or internet connection is down or unstable; or the testnet has crashed. If it is the first case, please setup NTP. If it is the second case, please check the internet connection. If it is the last case, in our current version of testnet this is unrecoverable, but we will fix it in future versions once the planned change to consensus is finished.

Closing this issue as it is stale for a long time.

I also encountered the same issue. It due to a mismatching genesis_state_timestamp in genesis-ledger.json.
genesis_state_timestamp should match the operating system one


[Issue-615] Removed molecule-testing artifact

Hello/bonjour, this PR updates the dependency notations for CashApp/Molecule.
What?
Resolves #615
Removes a dependency notation for an artifact that has been removed.
Why?
To stay in line with current artifacts in CashApp/Molecule
How?
Removed the dependency notation.
Testing?

Ran ./gradlew check
Published to maven local, and consumed in a project locally

Whoops, looks like  missed something before pushing. I'll investigate.

It's the [WIP] thing, because we try to group the removals. Remove it and that'll fix it.

@LouisCAD fixed and updated. Thanks for the help!


Allow if TYPE_CHECKING import section in FileImport

I would add a last parameter in add_from_import and add_import called like typing=True/False (false by default), and update the serializer accordingly:
print typing==false
if TYPE_CHECKING:
    print typing=true


[Contribution Request] bump2version Setup

According to the contribution guidelines for contributions of type three (changes to the code base), I would like to discuss an enhancement I would like to introduce as a Pull Request.
bump2version is a free and open source Python 3-CLI licensed MIT in order to update hard coded version numbers in a code base.  The CFF main repository already employs this CLI in order to update its version numbers.  I would like to submit a working configuration file in order to set it up for this repository, as well.
The main repository has fewer occurrences of hard coded version numbers than this repository.  According to git grep '2\.0\.0', here, there are ten files to update for each new version.  Hence, an automation would enhance and simplify the maintenance workflow.
Furthermore, the automated version increment can be combined with an automatic CHANGELOG compilation by Scriv, as in this example.  I am going to raise a separate issue related to Scriv.
References

Druskat, S., Spaaks, J. H., Chue Hong, N., Haines, R., Baker, J., Bliven, S., Willighagen, E., Pérez-Suárez, D., & Konovalov, A. (2021). Citation File Format (Version 1.2.0) [Computer software]. https://doi.org/10.5281/zenodo.5171937
Matthes, K. (2022). git-aliases-f18 (Version 0.1.1) [Computer software]. https://github.com/kevinmatthes/git-aliases-f18
Verkerk, C., & The bump2version Community. (2020). bump2version (Version 1.0.2-dev) [Computer software]. https://github.com/c4urself/bump2version

As bump2version is unmaintained, this issue has become obsolete; c4urself/bump2version#268.


Add endpoints for Action History API

Small PR to extend Alerts Actions endpoint to query history.

Merged #52