Copy Module is strange

When I shell tower-cli, copy module config src=/tmp/hello.txt  (it's mode=0777, and onwer=awx) ,  tower-cli return
FAILED! => {"changed": false, "failed": true, "msg": "Unable to find '/tmp/hello.txt' in expected paths."}
And synchronize module has the similar problem (No such file or directory)
However, when I shell ansible-playbook by myself, it works perfectly.
The playbook just like:

hosts: all
tasks:

name: copy code to machine
copy: src=/tmp/hello.txt  dest=/web/hello.txt

Environment:
centos 7
ansible <IP_ADDRESS>
tower-cli 3.1.3
Ansible Tower 3.1.3
It confuse me the whole day.
Can you help me? Thank you.

Hi, I believe you're in the wrong repo; this is for tower-cli, a python interface to Ansible Tower's REST API.
I think you want the Ansible repo, that would cover the ansible-playbook command, the copy module, and more.
That repo is at https://github.com/ansible/ansible.


Add beta to the version in setting screen

Related Issue:

#199

🚀 Deployed on https://pr-224--papaya-melba-f5c160.netlify.app


ippserver crashes during Print-Job

Code: conf.c
server_printer_t *			/* O - Printer or NULL */
serverFindPrinter(const char *resource)
...........................................
/*
* Just use the first printer...
*/
match = cupsArrayFirst(Printers); <=== For printer-less configuration  match == NULL
if (strcmp(match->resource!!!EXCEPTION!!!, resource) && strcmp(resource, "/ipp/print"))
  match = NULL;

I understand that it's not a bug: it is not production code and as far as I understand dynamic configuration
(CUPS-Add-Modify-Printer/CUPS-Delete-Printer) is not supported - at least one printer should be configured.
In our system, user allowed to create "virtual" printers with different capabilities, these printers created and deleted on the fly.
Theoretically there is situation (QA style) that all printers were deleted. Also it happens during start of the print server - because delay in registration of virtual printers.
seems that function should not fail and should return NULL - rest of ippserver code works fine  for this case
if (match && strcmp(match->resource, resource) && strcmp(resource, "/ipp/print"))........
Thanks

@g41797 The ippserver program supports the System Service operations Create-Printer, Register-Output-Device, and Delete-Printer to create and delete print services instead of the CUPS extensions.
That said, it shouldn't crash when you have no printers configured.

[master 49995f8] Fix crash when there are no printers (Issue #232)


Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.

After upgrading to 1.4.0 I got this error
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check your code at FlipView.js:427.

And FlipView.js:427 is CachedImage. My component is like below
<TouchableOpacity key={image.path} onPress={this.handlePressCardImage}>
  <CachedImage
    style={styles.cardSwiperImage}
    source={{ uri: image.path }}
    resizeMethod="resize"
    resizeMode="cover"
  />
</TouchableOpacity>

Change your import line to this:
import { CachedImage } from 'react-native-cached-image';

@ptelad That works. Thank you.


Recursively list files in assets directory

Motivation
Users may choose to organize their assets in subdirectories within the assets directory. In that case, the current implementation of the GET .../asset endpoint would only return the top level entries.
Changes

Replace file listing logic in get_asset_filenames() with custom directory traversal implementation
Move traversal into a new util mod in fs
Change response model to a nested list of { name, children? } objects
Adapt e2e test scenario and Swagger docs

New Response Model
[
   {
       "name": "anchor.png"
   },
   {
       "name": "images",
       "children": [
           {
               "name": "something.png"
           },
           {
               "name": "somethingElse.jpg"
           }
       ]
   },
   {
       "name": "animations.css"
   }
]

I added a Swagger response schema. apart from that, everything looks great. Thanks! :)

Perfect :)


Focus into editor after reconciliation is done

Very nice!

Couldn't triggerMutationListeners be moved afterall?

Couldn't triggerMutationListeners be moved afterall?

Removed that for now, as not yet finished with focus command adjustments:
Moving rootElement.focus() to run somewhere after reconciliation does not solve the issue, since domSelection.setBaseAndExtent that is called within reconcileSelection also triggering focus event. Moving setBaseAndExtent outside of reconciler (to be called after it similar to .focus()) does not sound right
Thought to add a flag to defer focus command handlers to run after reconciler, but then it will break usage of .preventDefault (in case it's used)

Thought to add a flag to defer focus command handlers to run after reconciler, but then it will break usage of .preventDefault (in case it's used)

I was thinking about doing this too, with a capture listener on the window. You can't preventDefault on focus/blur anyway, it doesn't do anything. You can just re-dispatch the event on the content editable after reconciliation.

However, maybe we're missing a trick here? Should we just reconcileSelection after we reconcile the root, and after we do the other work?

Not sure I follow here, as selection is already reconciled right after root (only mutation observer is restarted in between). Did you mean moving focus/setBaseAndExtent to run after reconciler or was it something else?

Not sure I follow here, as selection is already reconciled right after root (only mutation observer is restarted in between). Did you mean moving focus/setBaseAndExtent to run after reconciler or was it something else?

After we clear the maps/sets/freeze everything. Right now we do updateEditorState, but maybe that should just be a direct call to reconcileRoot and below, we do reconcileSelection and remove updateEditorState entirely.

After we clear the maps/sets/freeze everything. Right now we do updateEditorState, but maybe that should just be a direct call to reconcileRoot and below, we do reconcileSelection and remove updateEditorState entirely.

Yea, it might make code easier to adjust. I wonder how much selection.setBaseAndExtent is a part of reconciler, because  it could be something like this:
function commitPendingUpdates() {
  ...
  try {
    reconcileRoot();
    reconcileSelection();
  } catch(e) {
    recoverIfFailed()
  } finally {
    syncSelectionWithDomAndFocusIfNeeded() // <- deferred .focus(), .setBaseAndExtent() and scrollIntoView() calls
    ...
  }
  ...
}

Sorry to jump in here randomly, but what problem is this solving?

Sorry to jump in here randomly, but what problem is this solving?

Preventing .focus from being called while reconciling selection. It dispatches synchronous FOCUS_COMMAND which means code will be executed in the middle of reconciliation. While we want reconciliation to be isolated from any outside changes

@fantactuka You don't want to put it in finally, as that will always trigger even in the exception case?

@fantactuka You don't want to put it in finally, as that will always trigger even in the exception case?

Agh, right, recovering from error will run its own commitPendingUpdates and will do own selection sync


how to install in linux ?

how to install in linux ?  Shoud i install go envirnment first ?

goproxy is not a pre-built software like nginx. It's a Go package that you can use for your own purposes as described in the README. So, yes. You have to install go environment first, then create your Go program that uses goproxy as described here.


chore: rename header commands

Improves names of the header subcommands.
BREAKING CHANGES:
This patch changes the behavior of existing CLI commands that are used internally.
Please replace "ory dev headers license" with "ory dev headers add"
when updating to the next version of Ory CLI.

Checklist

[x] I have read the contributing guidelines
and signed the CLA.
[x] I have referenced an issue containing the design document if my change
introduces a new feature.
[x] I have read the security policy.
[x] I confirm that this pull request does not address a security
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got approval (please contact
<EMAIL_ADDRESS>from the maintainers to push
the changes.
[x] I have added tests that prove my fix is effective or that my feature
works.
[x] I have added the necessary documentation within the code base (if
appropriate).

@jonas-jonas @alnr FYI I'm cleaning up some technical drift that occurred while I developed this feature, so that the naming makes sense when you take this over. I'll alo update the usage of this command across all repos.


[TB] Add scope to FINOS TB packages

Problem/Concern
We need to add scope to the Theme Builder and Theme Builder SDK packages for FINOS.  FINOS requested that "@finos/" be prepended to package names.
This probably needs to wait until the SDK can be updated on npm in the FINOS org
Proposed Solution

Depends on #640

Code has been committed to dev and tested.  PR for updating main from dev was failing a CVE check, so will fix that (https://github.com/finos/a11y-theme-builder/issues/710) prior to moving dev to main.

Closed at project call


700 send user changes to Computacenters ServiceNow API

Context
Trello card 700
Changes proposed in this pull request

Add a class to encapsulate sending a ServiceNow Import API request for a given UserChange
Add a job class to instantiate an API request with the latest UserChange for a given user, send it, and record the transaction against the UserChange
Add a call to enqueue one of those jobs whenever a UserChange is generated, so long as the relevant endpoint is defined in Settings

Guidance to review
The three additions above are done in order with the three commits in this PR - I suggest reviewing it commit-by-commit.
I've tested this against CC's test server, we don't have credentials for any other server yet, so no jobs will run on prod even if this merged and deployed.

Looks fine at first glance but @tonyheadford and @asmega definitely should take a look.


Start "greening" all the tests

Wanted to get tests green before handling https://github.com/middleman/middleman/issues/1801
Most of these changes are updating asset hashes or some output changes (looks like url(... in css doesn't get quotes anymore). Had a question on a couple though:

to get the sass glob test running, I included the sass-globbing gem. I didn't find a mention of this in the sass changelog, and personally don't use this -- so I'm not sure when that was changed or if this is actually the proper "fix" for that.
I'm not sure what to do about the sass_partials test, it's inconsistent locally and looks like it always fails on travis.
For the last failing test it looks to be testing the previous behavior of import file-ing all images in the sprockets path (which personally I didn't really like). One minimal change I could think of would be to expose a config setting (sprockets_imported_assets or similar) and append those paths to the inline_asset_references so they're built. This would change the output path though since there isn't type detection like there was in 3.x. See this diff for the example

As always, open to thoughts on any of this.

The importing stuff should all be using import_path and import_asset from core now. So those tests can go.

I've just given you commit access to this repo. Go forth and be awesome.

:+1: cool, we've been discussing offering maintainership at work actually since we've pretty much decided to stick w/ sprockets for the time being.

Awesome, anything you all can do will be great.


changes to run examples when CDPATH environment variable is set where cd command returns current dir…

Description
fixes issue https://github.com/apache/druid/issues/12878
when CDPATH environment variable is set the example scripts like /bin/start-micro-quickstart do not run because  the below lines in run-druid and run-zk script
CONFDIR="$(cd "$CONFDIR" && pwd)"
WHEREAMI="$(cd "$WHEREAMI" && pwd)"

expects  cd command to return no output. however
when CDPATH environment variable is set the cd command returns the current directory path as output. This causes the CONFDIR and WHEREAMI variables to have the directory path twice  ( the output from cd command gets concatenated to the output from pwd command)
This PR has:

[x] been self-reviewed.

Thanks for your first contribution.

No problem, looking forward to seeing the PR merged. 👍


Compiler panic when you make a recursive call after a return call

Aim
We (https://github.com/FuzzingLabs) found that the compiler panics when you make a recursive call without condition, even if a return call makes you go out of the loop.a
Expected Behavior
No panic should occur.
Bug
When a function makes a recursive call after a return statement, the compiler considers the recursive call, which can lead to a panic crash as it treats it as an infinite loop. As you can see in the code example, the rec1 function has a return statement before the recursive call, preventing any potential looping. However, the compiler still perceives it as an infinite recursive function.
rec2 is another function that might exhibit the same behavior, but in this case, the compiler doesn’t panic. This seems to be because the compiler never enters the else block. The same phenomenon occurs with rec3.
The issue occurs with the latest compiler version on the master branch. The error message is as follows:
The application panicked (crashed).
Message:  Attempted to recur more than 1000 times during function inlining.
Location: compiler/noirc_evaluator/src/ssa/opt/inlining.rs:167

To Reproduce
/* Function with a recursive call which should end by returning 1, but the compiler treats it as an infinite loop. */
fn rec1() -> u8 {
    if true {
        1
    }
    rec1()
}

/* Function with a recursive call under a condition, so the compiler handles it correctly even though the result should be the same as rec1. */
fn rec2() -> u8 {
    if true {
        1
    } else {
        rec2()
    }
}

/* Another function with the same behavior that doesn't cause the compiler to panic. */
fn rec3() -> u8 {
    if false {
        rec3()
    }
    1
}

fn main() {
    rec1();
    rec2();
    rec3();
}

Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
None
Nargo Version
No response
NoirJS Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response

/* Function with a recursive call which should end by returning 1, but the compiler treats it as an infinite loop. */
fn rec1() -> u8 {
    if true {
        1
    }
    rec1()
}

This function isn't doing what the comment is suggesting. The if statement doesn't cause the function rec1 to return so the compiler is correct to treat this as an infinite loop.
We should have a nicer error for this than a panic however.

I had omitted the fact that functions only return the last instruction. I assumed it worked like in Rust, where an instruction not followed by a semicolon is treated as a return. Sorry for the misunderstanding.

I had omitted the fact that functions only return the last instruction. I assumed it worked like in Rust, where an instruction not followed by a semicolon is treated as a return. Sorry for the misunderstanding.

It does work the same as in Rust. In Rust and Noir an instruction not followed by a semicolon is not a return from the function, it just yields the value of that expression. The same code in Rust does issue an error that the result of an if with no else is expected to be a unit value though and suggests maybe a return should be added. We have a similar warning (without the helpful extra bit about adding return) in some cases, but not in an if with no else.


Create Template for obsidian-live-sync on Unraid GitHub**

I propose the development of a comprehensive template for obsidian-live-sync on Unraid, providing an all-in-one solution, including database integration. This enhancement aims to make it more accessible for a broader user base, simplifying the implementation process.
Steps to Reproduce:

Develop a generic template for obsidian-live-sync.
Incorporate necessary components tailored for Unraid.
Ensure the template includes database integration.

Additional Information:
This update is intended to enhance user-friendliness and optimize the application for Unraid platforms, facilitating widespread adoption.

Sorry for being late to respond!
I did not know about Unraid so much. However, every contribution is welcome! If you can make a tapping platform for our repository, I will be happy to review it.

@e-p-s Looking through the setup guide, it seems OLS really just needs to talk to a CouchDB database. There are already Community App templates for running a CouchDB database on Unraid.

There are indeed CouchDB templates available for Unraid, the only thing users need to change is the username and password and then they can setup this plugin which configures the database.
speaking from experience because this is the way my install is setup:

@nwithan8 Did this ever come to fruition? While I appreciate the possibility to use CouchDB, it seems like a one template solution that would allow our desktop obsidian to connect to it and have a "cloud solution" in unRAID would be greatly appreciated.
Thanks :-)


Implement Index trait restructuring and update according struct and function (#757)

This should close #757.

We won't merge this (see main issue).


Genome Nexus changes the Reference Allele and Tumor_Seq_Allele2

Pre process
Tumor_Sample_Barcode	Chromosome	Start_Position	Reference_Allele	Tumor_Seq_Allele2
SAGE-1	5	170837513	CTTTTTTTTTTTTT	CTTTTTTTTTTTTC
SAGE-1	5	170837513	CTTTTTTTTTTTTT	CTTTTTTTTTTTTTC
SAGE-1	5	170837513	CTTTTTTTTTTTTT	CTTTTTTTTTTTTTT
SAGE-1	10	89711833	A	AT
SAGE-1	10	89711833	A	ATT
SAGE-1	13	28608200	T	TGAGATCATATTCAC
SAGE-1	13	28608200	T	TGGCACATTCCATTCTTACCAAACTCTAAATTTTCTCTTGGAAACTCCCATTTGAGATCATATTCAC
SAGE-1	X	123195618	T	A
SAGE-1	X	123195618	T	TA
SAGE-1	X	123195618	T	TTA

Post process
Tumor_Sample_Barcode	Chromosome	Start_Position	End_Position	Reference_Allele	Tumor_Seq_Allele2
SAGE-1	5	170837513	170837514	-	CTTTTTTTTTTTTT
SAGE-1	5	170837513	170837514	-	CTTTTTTTTTTTTT
SAGE-1	10	89711833	89711834	-	A
SAGE-1	10	89711833	89711834	-	A
SAGE-1	13	28608200	28608201	-	T
SAGE-1	13	28608200	28608201	-	T
SAGE-1	X	123195618	123195619	-	T
SAGE-1	X	123195618	123195619	-	T

Maybe not related but looks likeI end_position column is missing in the input? Not sure if that's the reason things go haywire tho

Maybe not related but looks likeI end_position column is missing in the input? Not sure if that's the reason things go haywire tho

Interesting. The input file doesn't have End_Position because we don't require centers to do it, but I made an edit to the original post to include End_Position

Interesting. The input file doesn't have End_Position because we don't require centers to do it, but I made an edit to the original post to include End_Position

pre process
Tumor_Sample_Barcode	Chromosome	Start_Position	Reference_Allele	Tumor_Seq_Allele2
SAGE-1	10	89711833	A	AT
SAGE-1	10	89711833	A	ATT

post process
Tumor_Sample_Barcode	Chromosome	Start_Position	End_Position	Reference_Allele	Tumor_Seq_Allele2
SAGE-1	10	89711833	89711834	-	A
SAGE-1	10	89711833	89711834	-	A

pre process
Tumor_Sample_Barcode	Chromosome	Start_Position	Reference_Allele	Tumor_Seq_Allele2
SAGE-1	10	89711833	A	AT
SAGE-1	10	89711833	A	ATT

post process
Tumor_Sample_Barcode	Chromosome	Start_Position	End_Position	Reference_Allele	Tumor_Seq_Allele2
SAGE-1	10	89711833	89711834	-	A
SAGE-1	10	89711833	89711834	-	A

This appears (on first glance) to be related to the issue of a shared common prefix in the alleles. A replacement of "A" with "AT" is (I think) semantically equivalent to an insertion of a "T" after the referenced "A". But the output above seems to be a bug of some sort. If a removal of a shared prefix had occurred, the offsets should have been adjusted. The first line has a shared prefix of CTTTTTTTTTTTT followed by either a T [reference] or a C [tumor]. Isn't this semantically equivalent to a SNP at the final position? So in that case , it should be a T->C SNP at position (170837513+13). I also notice that there are three input records here, but only 2 output records (post processing) I wonder what happened there.  @ao508 may know these rules off the top of her head.

This appears (on first glance) to be related to the issue of a shared common prefix in the alleles. A replacement of "A" with "AT" is (I think) semantically equivalent to an insertion of a "T" after the referenced "A". But the output above seems to be a bug of some sort. If a removal of a shared prefix had occurred, the offsets should have been adjusted. The first line has a shared prefix of CTTTTTTTTTTTT followed by either a T [reference] or a C [tumor]. Isn't this semantically equivalent to a SNP at the final position? So in that case , it should be a T->C SNP at position (170837513+13). I also notice that there are three input records here, but only 2 output records (post processing) I wonder what happened there.  @ao508 may know these rules off the top of her head.

Thanks @sheridancbio and @inodb .  I made edits to my initial post. That is the complete list.

Thanks @sheridancbio and @inodb .  I made edits to my initial post. That is the complete list.

@thomasyu888 Would you mind slacking me the input MAFs with all of the fields? That would make it easier for me to troubleshoot the issue with the MAF standardization script we provided.

@thomasyu888 Would you mind slacking me the input MAFs with all of the fields? That would make it easier for me to troubleshoot the issue with the MAF standardization script we provided.

@inodb @ao508 , This is ready to look at

@inodb @ao508 , This is ready to look at

Fixed in #39


Make chardet an optional dependency

It has a serious performance hit and it'd be nice if it was easier to disable than:
if not response.encoding:
    response.encoding = 'utf-8'

I can't stress "serious" enough in the performance hit here. It was enough to cripple the entirety of Sentry's worker cluster which is way under utilization most of the time.

The easiest way to disable it would be to disable the package entirely in your infrastructure. This could be done by monkeying about with sys.modules, monkeypatching directly, or by providing another package called chardet that is just a no-op.
The best we're likely to get to an 'official' API for this is to adjust the Response factory in the HTTPAdapter to allow the user to specify a Response subclass. We're not going to want to have chardet need to be explicitly enabled, because that feature is optimised for the unaware user, not the aware one.
I take it you do want to take advantage of our parsing of the headers to determine a text encoding, which is why you aren't unconditional here.
I think what I'm interested in knowing is whether you have a proposal API for allowing chardet to stay enabled in the default use case, but give you a nice hook to disable it.

Definitely having a simply way to override the Response would be helpful. I dont know about others, but as our use cases are generally more optimized and less care-free, we're generally willing to go a little bit farther in implementation.
Feel free to close this if it makes sense.
That said, it might still be worth noting the performance implications of chardet:
https://www.dropbox.com/s/mwb4z795a50ugfz/Screenshot 2015-04-22 12.51.20.png?dl=0

So we should be clear about what requests' priorities are. Speed is great, but we will always put in more helpful features at the cost of speed. Always.
I am totally up for having a way to disabling chardet, but the API really does need to be clean. Otherwise, I feel like the patch above is really the nicest way to do it. Two lines isn't so costly!

No one should ever be patching sys.modules like you're suggesting. That's the reason most Ruby code is so unmaintainable. It also would completely prevent using chardet in any other library that may actually 100% require it. It'd be much safer to monkey patch Requests, which is also something you wouldn't want people doing.
Anyways, if this were something like "its 20% slower with chardet" I wouldn't care. This is more like "its 1000%+ slower with chardet" and that has some pretty legitimate consequences for the unaware.

To be clear, I didn't mean the monkeypatch, I meant these two lines:
if not response.encoding:
    response.encoding = 'utf-8'

There's another way to avoid this cost: don't use Response.text.
I don't deny that the use of chardet can, in some cases, be much slower than not using chardet. If it was hard to disable chardet I'd be more worried. However, it's not a difficult feature to disable, and you've clearly discovered how to do exactly that.
Like I said: if there's an obvious easier API I'm open to having it enabled. I'd also be open to extending the API documentation around Response.text to include an admonition that chardet can be very slow. However, I continue to believe that there's more value in leaving chardet in place than there would be removing it by default.

So if you're using a session, then you can use that two line fix with a session hook that will get registered for each response, e.g.,
def force_utf8(response, *args, **kwargs):
    if not response.encoding:
        response.encoding = 'utf-8'

s = requests.Session()
s.hooks['response'].append(force_utf8)

Also, chardet is working on fixing these issues. If you'd like to see them fixed faster you too can help @dcramer


Editor tries to import MSVC compiled object files (.obj extension) as OBJ meshes

Godot version
4.0.beta
System information
Windows 10
Issue description
As revealed by the video of "Gamefromscratch" about using Haxe in godot 4, the import of an invalid "wavefront" obj file may drain the system memory.
Godot 4.0 reports an error for every line of the imported file, and when you switch between 2 apps (e.g. Godot & Program manager), the import process is run again, making Godot taking more memory every time.
I also noticed that after cleaning the output panel, the memory is still a little bit higher than before the import (this may be a problem with the output panel).

As "wavefront" files are text-formatted ones, it may be possible to have some kind of check while importing and avoid all these errors.
"3.5.1-stable" doesn't really have this problem and I think it's because the import isn't run every time Godot gets the focus

Steps to reproduce
Import the MRP and switch between Godot and another app
Minimal reproduction project
TestOBJImport.zip

Importer file recognition is done using the file extension, not MIME type or file magic. The easiest fix is likely to detect early in the OBJ importer if the file is actually a text-based file. If it's binary (like MSVC object files), abort early and print an error.


Create Links “tiktok-27”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-hoover-7b89cc processing.
🔨 Explore the source changes: 789d2bd91cbbdc1a0a965c8ffa36ee721779aec4
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-hoover-7b89cc/deploys/610dcf2f3cbf700007734671


Resolve redundant bazel binary+benchmark target names

Commit Message:
Resolve redundant bazel binary+benchmark target names

Solves some path-too-long problems on x64-windows-fastbuild targets
(shorter ...-opt and ...-dbg path names had just squeeked by till now)

benchmark_test already implies speed_test

speed_test describes the measurement tool

benchmark_test describes the observation/evaluation

Additional Description:
Risk Level: low
Testing: local
Docs Changes: n/a
Release Notes: n/a

Note two specific _speed_test(s) which never appear to be used as _benchmark_tests?
//test/common/stats:recent_lookups_speed_test
//test/common/stats:symbol_table_speed_test
@jmarantz these seem to be yours?
@antoniovicente were these missed by your 4ab8abdd72 refactoring?

This normalizes the existing most-prevalent pattern, where is best that we might document it @htuch or is that not really necessary (using the existing BUILD as living template for new components?)

Checking back on this now I'm back from vacation, could you take a look at open comment threads?

Note two specific _speed_test(s) which never appear to be used as _benchmark_tests?
//test/common/stats:recent_lookups_speed_test
//test/common/stats:symbol_table_speed_test
@jmarantz these seem to be yours?
@antoniovicente were these missed by your 4ab8abd refactoring?

Sent out https://github.com/envoyproxy/envoy/pull/14331

I need to close this PR, as we are losing our shared dev org and reconsolidating, and github doesn't let me rebase to a different remote. At this time, can I hand off any remaining normalization tasks to you, @antoniovicente, we don't seem to have any lingering long-path issues, but I'll reconfirm as we get clang-cl building for the new CI pipeline.

Just FYI this PR branch won't disappear until just after year-end, if there is anything you wish to scrape.


Replace countryflags.io with flagcdn.com in the Style Renderer example

https://flagcdn.com/ has much better quality images than https://www.countryflags.io/ (up to 2560px wide, although that would affect performance and 320px is a good compromise), and they will fit correctly without cropping.

Looks nice.  Thanks, @mike-000.


[New] Orbit camera around object

Description
This PR implements Orbit camera around object in Scenes category.
URL to README: README
Linked Issue(s)

swift/issues/4885

How To Test

Tap "Cockpit" to move the camera view to the cockpit. Tap "Center" to have the camera center the plane.
Use the "Camera Heading" slider to adjust the camera heading offset and use the "Plane Pitch" slider to adjust the plane pitch.

Screenshots

Removed Zach as a reviewer at his request.

Thank you guys!


feat: add nightly Astro updates

Changes

What does this change?
Be short and concise. Bullet points can help!
Before/after screenshots can help as well.

Docs

Current dependencies on/for this PR:

main

PR #52   👈

This stack of pull requests is managed by Graphite.


Methylation calling not utilising many threads

Running call_methylation on an HPC with 24 threads allocated only shows nanopolish utilising CPU time roughly 3.5 times the walltime. This suggests to me that it's not really utilising multithreading very intensively. Any ideas what the limiting factors are which contribute to this?

If you are using the latest Nanopolish version I have an ultra high suspicion that this is due to the limitation of the HDF5 library which serialises any attempted concurrent accesses to fast5 files. (If you are using an older version before v0.10.2 it can be a few other reasons which are no longer present).
While porting methylation calling for CUDA (f5c) I had a similar issue where calling methylation for a 60 Gbase Promethion dataset on a 72 thread server with HD RAID took ~70h wall clock time vs 216h CPU time (around 3X as you observed). I developed a prototype file format (tsv that supports asynchronous I/O, which we call slow5) which brought the wall clock time to ~6h  with a CPU time 215h (~36X).

Yes, I think the file locking introduced in 1.10 is problematic (see discussion here. I intend to downgrade to hdf5-1.8, it would be interesting to see if it helps.

@jts I guess this locking in 1.10 that uses flock is not the cause for the problem (locking in 1.10 affects only if a single file is opened for read/write simultaneously as I understand).
The performance issue in HDF is more likely to be due to the  limitation in the  thread safe version which they mention at  https://portal.hdfgroup.org/display/knowledge/Questions+about+thread-safety+and+concurrent+access
Users are often surprised to learn that (1) concurrent access to different datasets in a single HDF5 file and (2) concurrent access to different HDF5 files both require a thread-safe version of the HDF5 library. Although each thread in these examples is accessing different data, the HDF5 library modifies global data structures that are independent of a particular HDF5 dataset or HDF5 file. HDF5 relies on a semaphore around the library API calls in the thread-safe version of the library to protect the data structure from corruption by simultaneous manipulation from different threads. Examples of HDF5 library global data structures that must be protected are the freespace manager and open file lists.

Further, they also hint that a thread efficient version is not likely in the near future.
The HDF Group has a design plan for a more efficient implementation of thread-safety, but currently does not have the resources to implement the plan. If you are interested in supporting this effort, please contact the HDF Helpdesk.

Yes, I agree @hasindu2008. After a quick benchmark, 1.10 does not seem much slower than 1.8, if any. Btw, sorry for not replying to your email yet, I will try soon.

Thanks for the insight @jts and @hasindu2008. I think that HDF5 should be sufficiently performant based on the fact that Guppy seems to be able to churn through the data with all cores working. Perhaps there is some strategy around access patterns that can improve the situation?
I do think the fast5 files need work in general though. The multi-fast5 format seems like a slight improvement, but there are still little oddities like the read number being baked into the access path of the Events rather than being an attribute.
If you want to experiment with tsv then I'd recommend having a look at Apache Arrow which is meant to be a table-oriented on-disk storage format with cross-language support.

@Shians
I have not run guppy myself. I guess that it uses multiprocessing instead of multithreading (I think guppy is not open source, so no way to verify by looking at the code). But I think you can check if it the case by observing the output of 'top' command (not htop).  Even Nanopolish, run with multiprocessing, i.e. call a number of nanopolish instances in parallel with 1 thread per each instance, you will see that all cores are effectively used. I did this observation for nanopolish some time back. That limitation of HDF5 does not apply to multiple processes as stated in their documentation.
BTW Thanks for the recommendation.

It appears to be multithreading, but when I look at top it maxes out at around 280% utilisation. The cputime reported when I submit batch jobs is exactly the number of threads x walltime though, so I'm misunderstanding something here.

HDF5's multithreaded implementation uses global locks, so the CPU utilization is poor. If you use multiple processes instead (which do not share state, so don't lock each other out) then the utilization will be higher. We think guppy uses multiple reading processes, instead of multi-threaded HDF5.


⚠ Bofrost.be has degraded performance

In ef20af8, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1322 ms

Resolved: Bofrost.be performance has improved in cd05e59.


BigFloat matrix in partialschur() does not work

MWE:
using ArnoldiMethod, LinearAlgebra, SparseArrays
function mwe()
A = spdiagm(
           -1 => -1.0*ones(9),
            0 =>  2.0*ones(10),
            1 => -1.0*ones(9)
       );
B = spdiagm(
           -1 => -big(1.0)*ones(9),
            0 => big(2.0)*ones(10),
            1 => -big(1.0)*ones(9)
       );
display(A)
decomp, history = partialschur(A, nev=10, tol=1e-6, which=SR());
display(decomp)

display(B)
decomp, history = partialschur(B, nev=10, tol=1e-6, which=SR());
display(decomp)
end

Output:

julia> mwe()
10×10 SparseMatrixCSC{Float64,Int64} with 28 stored entries:
  [1 ,  1]  =  2.0
  [2 ,  1]  =  -1.0
  [1 ,  2]  =  -1.0
  [2 ,  2]  =  2.0
  [3 ,  2]  =  -1.0
  [2 ,  3]  =  -1.0
  [3 ,  3]  =  2.0
  [4 ,  3]  =  -1.0
  [3 ,  4]  =  -1.0
  ⋮
  [8 ,  7]  =  -1.0
  [7 ,  8]  =  -1.0
  [8 ,  8]  =  2.0
  [9 ,  8]  =  -1.0
  [8 ,  9]  =  -1.0
  [9 ,  9]  =  2.0
  [10,  9]  =  -1.0
  [9 , 10]  =  -1.0
  [10, 10]  =  2.0
10×10 SparseMatrixCSC{BigFloat,Int64} with 28 stored entries:
  [1 ,  1]  =  2.0
  [2 ,  1]  =  -1.0
  [1 ,  2]  =  -1.0
  [2 ,  2]  =  2.0
  [3 ,  2]  =  -1.0
  [2 ,  3]  =  -1.0
  [3 ,  3]  =  2.0
  [4 ,  3]  =  -1.0
  [3 ,  4]  =  -1.0
  ⋮
  [8 ,  7]  =  -1.0
  [7 ,  8]  =  -1.0
  [8 ,  8]  =  2.0
  [9 ,  8]  =  -1.0
  [8 ,  9]  =  -1.0
  [9 ,  9]  =  2.0
  [10,  9]  =  -1.0
  [9 , 10]  =  -1.0
  [10, 10]  =  2.0
PartialSchur decomposition (Float64) of dimension 10
eigenvalues:
10-element Array{Complex{Float64},1}:
 0.08101405277100668 + 0.0im
 0.31749293433763753 + 0.0im
  0.6902785321094296 + 0.0im
   1.169169973996227 + 0.0im
   1.715370323453429 + 0.0im
   2.284629676546568 + 0.0im
   2.830830026003772 + 0.0im
  3.3097214678905678 + 0.0im
   3.682507065662358 + 0.0im
  3.9189859472289927 + 0.0im
ERROR: MethodError: no method matching gemv!(::Char, ::BigFloat, ::SubArray{BigFloat,2,Array{BigFloat,2},Tuple{Base.Slice{Base.OneTo{Int64}},UnitRange{Int64}},true}, ::SubArray{BigFloat,1,Array{BigFloat,2},Tuple{UnitRange{Int64},Int64},true}, ::BigFloat, ::SubArray{BigFloat,1,Array{BigFloat,2},Tuple{Base.Slice{Base.OneTo{Int64}},Int64},true})
Closest candidates are:
  gemv!(::AbstractChar, ::Float64, ::Union{AbstractArray{Float64,1}, AbstractArray{Float64,2}}, ::AbstractArray{Float64,1}, ::Float64, ::AbstractArray{Float64,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LinearAlgebra/src/blas.jl:565
  gemv!(::AbstractChar, ::Float32, ::Union{AbstractArray{Float32,1}, AbstractArray{Float32,2}}, ::AbstractArray{Float32,1}, ::Float32, ::AbstractArray{Float32,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LinearAlgebra/src/blas.jl:565
  gemv!(::AbstractChar, ::Complex{Float64}, ::Union{AbstractArray{Complex{Float64},1}, AbstractArray{Complex{Float64},2}}, ::AbstractArray{Complex{Float64},1}, ::Complex{Float64}, ::AbstractArray{Complex{Float64},1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LinearAlgebra/src/blas.jl:565

What needs to be done to get this running for arbitrary number types? I'm very interested to have this working (I don't dare try to compile PETSc and SLEPc in 128 bit versions and somehow interface to it...).

https://github.com/JuliaLang/julia/pull/29634 landed in Julia in the meantime, so what has to be changed is
Remove
https://github.com/haampie/ArnoldiMethod.jl/blob/da85958072ec54c64c7dca8362eb42e572252f62/src/expansion.jl#L3
And replace https://github.com/haampie/ArnoldiMethod.jl/blob/da85958072ec54c64c7dca8362eb42e572252f62/src/expansion.jl#L35 by the corresponding mul! function

Is the mul! change going to be in 1.3 when it is released? Anyways, for the moment I have just defined the gemv! for generic number types, as suggested by @jarlebring . There is also a problem in the lu function in schursort.jl related to StaticArrays of non-isbitstype numbers:
using ArnoldiMethod, LinearAlgebra
import LinearAlgebra.BLAS.gemv!
function gemv!(C,alpha,A,X,beta,Y)
    if (C=='N')
       Y.=alpha*A*X+beta*Y
    elseif (C=='T')
       Y.=alpha*transpose(A)*X+beta*Y
    elseif (C=='C')
       Y.=alpha*A'*X+beta*Y
    else
       error("Unknown transpose character")
    end
end

a=big.(randn(10,10))
partialschur(a)

leads to:
ERROR: setindex!() with non-isbitstype eltype is not supported by StaticArrays. Consider using SizedArray.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] setindex! at /Users/gerickf/.julia/packages/StaticArrays/DBECI/src/MArray.jl:109 [inlined]
 [3] macro expansion at /Users/gerickf/.julia/packages/StaticArrays/DBECI/src/indexing.jl:65 [inlined]
 [4] _setindex!_scalar at /Users/gerickf/.julia/packages/StaticArrays/DBECI/src/indexing.jl:46 [inlined]
 [5] setindex! at /Users/gerickf/.julia/packages/StaticArrays/DBECI/src/indexing.jl:42 [inlined]
 [6] lu(::StaticArrays.SArray{Tuple{2,2},BigFloat,2,4}, ::Type{ArnoldiMethod.CompletePivoting}) at /Users/gerickf/.julia/packages/ArnoldiMethod/5fDBS/src/schursort.jl:98
 [7] sylv at /Users/gerickf/.julia/packages/ArnoldiMethod/5fDBS/src/schursort.jl:184 [inlined]
 [8] swap12!(::Array{BigFloat,2}, ::Int64, ::Array{BigFloat,2}) at /Users/gerickf/.julia/packages/ArnoldiMethod/5fDBS/src/schursort.jl:408
 [9] swap! at /Users/gerickf/.julia/packages/ArnoldiMethod/5fDBS/src/schursort.jl:479 [inlined]
 [10] rotate_right!(::Array{BigFloat,2}, ::Int64, ::Int64, ::Array{BigFloat,2}) at /Users/gerickf/.julia/packages/ArnoldiMethod/5fDBS/src/schursort.jl:27
 [11] partition_schur_three_way!(::Array{BigFloat,2}, ::Array{BigFloat,2}, ::Array{Int64,1}) at /Users/gerickf/.julia/packages/ArnoldiMethod/5fDBS/src/run.jl:348
 [12] _partialschur(::Array{BigFloat,2}, ::Type{BigFloat}, ::Int64, ::Int64, ::Int64, ::BigFloat, ::Int64, ::LM) at /Users/gerickf/.julia/packages/ArnoldiMethod/5fDBS/src/run.jl:254
 [13] #partialschur#1 at /Users/gerickf/.julia/packages/ArnoldiMethod/5fDBS/src/run.jl:103 [inlined]
 [14] partialschur(::Array{BigFloat,2}) at /Users/gerickf/.julia/packages/ArnoldiMethod/5fDBS/src/run.jl:101
 [15] top-level scope at none:0

Does changing to SizedArray come with a big caveat?


libvips.so.42: undefined symbol

Describe the bug
Deckxstream will no longer load with the error:
deckxstream/node_modules/sharp/lib/sharp.js:34
  throw new Error(help.join('\n'));
  ^

Error:
Something went wrong installing the "sharp" module

/usr/lib/libvips.so.42: undefined symbol: rsvg_handle_get_intrinsic_size_in_pixels

Possible solutions:
- Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
- Install for the current linux-x64 runtime: "npm install --platform=linux --arch=x64 sharp"
- Consult the installation documentation: https://sharp.pixelplumbing.com/install
    at Object.<anonymous> (/home/user/.asdf/installs/nodejs/18.14.2/lib/node_modules/deckxstream/node_modules/sharp/lib/sharp.js:34:9)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/home/user/.asdf/installs/nodejs/18.14.2/lib/node_modules/deckxstream/node_modules/sharp/lib/constructor.js:8:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)

Node.js v18.14.2

Specify your environment

OS: Arch Linux
NodeJS Version: v18.14.2
NPM Version: [...]
Stream Deck Model: Standard
Configuration File: N/A

To Reproduce
Steps to reproduce the behavior:

Install deckxstream on an updated Arch Linux system
Try to launch deckxstream
See error

--
I have tried to reinstall the sharp package as suggested by the error. It seems to install just fine but the error persists. libvips was recently updated to 8.14.1-1 and I wonder if that's part of the problem.

This appears to have been due to a conflicting version of libvips on my machine. For anyone facing the same issue, fully remove libvips from your system, reinstall it (if required), and make sure the deckxstream is using the built in libvips library and not your systems.


feat: new options

Includes new options for the following:
lowerBound: number;
applyMutations: (node: Node) => void

Options are documented in README
applyMutations could be used to modify node colors. Therefore this PR solves part of #5 . I believe it could also be used to solve #28 , either with javascript or by setting the title attribute on the node DOM element.
Added in useful gitignore targets aswell.

This is great, thanks for writing it!
I think it would be good document what all these new options do, either here or in the README.

Thank you for the very useful library 👊
I added one more option for font coloring and added documentation for all existing options to the readme. Should be good to go whenever you're ready to review @evmar

Thank you, the docs look great. Also sorry for my slow response.

No worries, I'll get to work on the changes as soon as I get the chance.

Changes made. Let me know what you think :) @evmar

Hey @evmar any updates on this?

Thank you!  (Also thank you for pinging me again, I am so easily distracted.)


Store function (logging)

We need a robust function that can log the hasched pickle values to a file that can be used in other OS and python versions.
Make sure to also make folders for the different protocol types

This is addreses in issue #21 and pullrequest #20.


currencyFilter should support formatting with currencySymbol=null

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
What is the current behavior?
It seems to be a bug that by default, if currencySymbol is undefined, angular uses current browser locale. However, this might be OK, if the filter at least accepted null as a valid parameter that would return formatted string without any currency symbols. Currently, however, suplying null as currencySymbol returns a string similar to null12,347,897,983,745,668.00.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
Plnkr: http://plnkr.co/edit/vd3g7cWAqsBbbccS6Fkb?p=preview
What is the expected behavior?
Filter should return  12,347,897,983,745,668.00 instead of  null12,347,897,983,745,668.00.
What is the motivation / use case for changing the behavior?
Sometimes it is needed to format the number as a currency, but ommiting the currency symbol.
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Other information (e.g. stacktraces, related issues, suggestions how to fix)

A possible workaroung is to pass empty string ('') instead of null.


PanResponder.create() API either loses state or has stale state

Description
PanResponder has a bunch of private state. This means it's not safe to re-create during a gesture: that state would be lost. This means that it's important to keep a ref to PanResponder which is what the docs seem to suggest.
However, holding a ref to it is bad because all the props and state captured by handlers will be stale. To fix this, you have to either update parts of that ref manually, or to recreate the PanResponder instance (which, as mentioned earlier, will reset its state — which seems bad).
I think this says that PanResponder.create API is not a good API for Hooks and need to be revisited. E.g. maybe it should be a Hook like usePanResponder(config) which takes care of updating the appropriate event handlers as needed — or maybe implemented with useRef inside. The important part is that the handlers should always be fresh (and capture fresh values), while the internal state of the gesture recognizer should never be destroyed.
React Native Version
any version
Output of npx react-native info
irrelevant
Steps to reproduce
irrelevant
Snack, screenshot, or link to a repository
irrelevant

Thanks for opening this issue.
You're right, and PanResponder is due for an upgrade so that it can be composed by a new usePanResponder hook.
This would be similar to what we did with usePressability (and to a less directly translatable extent, useAnimatedProps).


Change JsonExceptionMappers to log JSON processing errors at WARN instead of DEBUG level

JsonExceptionMappers#toResponse logs the default "Unable to process JSON" message for JsonProcessingException at DEBUG level. This should probably be WARN by default, so that it is easier to find in logs.
The background on this issue is that we had a web application making an HTTP POST to a back-end service with invalid JSON. The back-end service was (correctly) returning a 400 Bad Request  response, but the web application (for whatever reason) was ignoring the response code (obviously not good behavior). So, the only reason we found the problem was by accident, because we had the logging on the back-end service set to DEBUG level while diagnosing another problem. Changing the default log level to WARN would have made things obvious a long time ago.

I guess  this should probably cause a minor version bump instead of a patch bump.


Blocked users patch

This branch adds functionality to the Blocked Users tab in Settings to add in real-time a blocked user.
to test:
1.) type a message to a user so that they appear in the chat app
2.) navigate to the Blocked User tab of your Settings
3.) from the chat app, block the user
4.) the user should immediately appear on the Blocked User tab***
*** An exception to that is if, on the off chance, you have more than 25 users
and you haven't scrolled down to lazy load them all. In that case, the user will
not appear instantly, but will be at the bottom of the list once you scroll to the
end.

I merged this is, but I did notice one issue.
If you chat with someone, then block them, then reload the client, then unblock them, the chat will not reappear in the chat bar until you reload the client again.


update master branch latest snapshot version

Summary

Update master branch snapshot version
Manage json version in parent pom

Issue Type

Bug fix

Starter Names

active directory spring boot starter
documentdb spring boot starter
key vault spring boot starter
media services spring boot starter
service bus spring boot starter
storage spring boot starter

Additional Information

@snicoll


Send and receive message via Bluetooth

Hi Guys,
I want to access android bluetooth and send,receive messages. What can I use for this job? Is there simple way?

issues are not for support,  please use kivy-users google group for that


CI versions are not up to date

Update GitHub CI/CD to use juju=2.9.38 + py-libjuju=<IP_ADDRESS> + ops=2.1.1

Out of Date


todo: add Settings, slider for out size, use custom outpath

Assigning to me. to avoid races or concurrent implementations

Hello @GeorgLegato, I'm interested in learning more about the features you're looking to add to the project. I have a list of potential features and would welcome your input. If you're interested in contributing, I can add you to the project.
In order to communicate more directly, could you please let me know how I can reach you? Thank you!

nothing special. just to extend stuff, like
ratio support, not only squared
I havent yet understood completely how the process is, so i need a bit to investigate
put me to your project, communication here is fine

One feature for 360 panorama movies is to end the video on the last frame, forevery. So tha zoom in/out of the movie can be still viewed interactively in the 360 sphere.

@v8hid I would like to create such videos:
https://photo-sphere-viewer.js.org/guide/adapters/equirectangular-video.html#example

There are a few issues that we should consider:

The program is currently designed to process images with aspect ratios of 1:1. We should verify if the program should be updated to handle other aspect ratios as well.

If you want to change the resolution, you will need to modify the mask_with variable accordingly.

If we want to add a button for sending images to another extension, we should check if the user has that extension installed before showing the button.

yes, thats why first the slider tweaks both x and y
i ll check
3 the sendto button is already in my extension. so my extension is installed and adds this button.

howto calculate mask_width? just output_size/2?

howto calculate mask_width? just output_size/2?

it should be less than image_width / 2, the optimal result might be image_width / 4

video size is always 512, because the size of frames is not used for writing, see video.py line 17 "w,h" unsused

video size is always 512, because the size of frames is not used for writing, see video.py line 17 "w,h" unsused

Right thank you, I need to refactor the code soon :))

video size is always 512, because the size of frames is not used for writing, see video.py line 17 "w,h" unsused

Right thank you, I need to refactor the code soon :))

I have disabled the w,h variables. the writer is not to be set explicetely, driven by input frame size and that block size


how to Attaining object moving trajectories with ParticleSfM

is there any scripts or tutorial about that

hello, I am recovering the motionctrl+animatediff ,can I chat with you and ask you some question? I can add you WeChat,Thanks!


Make it easy to always use SHA256 checksums

Cloud Controller team wants to follow best practices by always adding blobs with sha2, but it doesn't look like there's an environment variable we can set, and it's very easy to forget the --sha2 option on bosh add-blob.
Feature request: we want sha2 to be the default, or else we would like an environment variable to always use it, such as BOSH_USE_SHA2. This would affect bosh add-blob, bosh create-release, and any other commands that accept the --sha2 option.

Closing - v2.0.44 supports the BOSH_SHA2 environment variable.


Cleanup SpotBugs warnings in the codebase

Addressing #374 partially, the following are the changes

[x] Updating exit mechanism

[x] normalize File paths from using String directly

@oleg-nenashev any thoughts on the failing test cases, or why the build is failing?

AFAICT FilenameUtils.getName does not handle files without extension well (e.g. Jenkinsfile). I also do not understand what was the need to apply it everywhere, including logic where folders are legitimately present in the path.
I do not think that PATH_TRAVERSAL_IN is actually an issue anywhere in the codebase, because Jenkinsfile Runner deliberately operates on low level with the host filesystem. If a user wants to exploit the filesystem access, it can be done from Pipeline steps.

Let me work on this a little more. Think I stretched it unnecessarily.

6 Static Analysis Issues has been addressed.

Will try to re-review this week

Great then!

@ohbus are you still interested in this change? If not, I will close this PR

@ohbus are you still interested in this change? If not, I will close this PR

I will create a new PR for fixing these changes as there are unnecessary commits to this PR.
Thanks for the reminder @oleg-nenashev


Potential issue with RandomEvent

Hi ASharpPen,
I'm not entirely sure what is happening, but it looks like events have not been triggering over the last week or two on our dedicated server.  I just tested with all mods disabled, and on a local world, but seem to be getting the same issue.  The events worked fine in the past too, so I'm thinking it may not be due to a config error.  I've also updated to BepInEx <IP_ADDRESS>, which might matter?
This is what I've tested:
Uninstalled all mods, went near a settlement, and confirmed that "randomevent" console command triggers a vanilla raid
Installed only CustomRaids, went to same spot, and "randomevent" no longer triggers a raid, not even vanilla raids.
Triggering a custom raid manually using "event X" works fine though, and runs as expected.
I see this in the debug log:
[Debug  :Custom Raids] Checking 0 raids for conditionals
[Info   : Unity Log] 05/13/2021 17:18:45: Possible events:0
Hope that gives you enough information to troubleshoot -- let me know if you need any further information!
Quick Edit: I meant I am using BepInEx <IP_ADDRESS> released 12 May

Confirmed this during testing of the next version today.
Identified issue. Current workaround is to use Individual Raid Frequency overhaul.
Fix will be included in next version.

That makes sense -- now that you mention it, I did turn individual frequencies off a little while ago.  Thanks for working on the issue!


Update rings = Feature rings too?

The documentation says:
_Microsoft Intune settings
The following are the Microsoft Intune settings:
Check	Description
Update rings for Windows 10 or later	Verifies that Intune's Update rings for Windows 10 or later policy doesn't target all users or all devices. Policies of this type shouldn't target any Windows Autopatch devices. For more information, see Configure update rings for Windows 10 and later in Intune._
What is an "Update rings" here? It's both a setting called Devices | Update rings for Windows 10 and later but one could argue that
Devices | Feature updates for Windows 10 and later (preview) is also an update ring. So it's hard to know if it's "update rings" the one specific blade or "update rings" the grouping one talks about in the doc. I assume the latter as I see Feature update policies created too. It should perhaps be mentioned in a paranthesis (Update ring and Feature ring)

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

ID: bb06854c-04d2-3512-6406-febec13c2e72
Version Independent ID: bb06854c-04d2-3512-6406-febec13c2e72
Content: Enroll your tenant - Windows Deployment
Content Source: windows/deployment/windows-autopatch/prepare/windows-autopatch-enroll-tenant.md
Product: w11
Technology: windows
GitHub Login: @tiaraquan
Microsoft Alias: tiaraquan

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


built/artoo.chrome.js can't found

Hello
I'm traing to use your google chrome extention and if I want to try it on some web then console log wrote me this:
chrome-extension://jbdlbhgaclblcbjidlmddacfpobieodi/build/artoo.chrome.js Failed to load resource: net::ERR_FILE_NOT_FOUND
Do you know what is going on ?

Hello @lukelee36. Did you build the project's file before loading the extension?

I followed the steps in the manual here: http://medialab.github.io/artoo/chrome/ . Whitch file I have to build befor loading extention ?

If you followed these instructions:
// Clone artoo's repo
git clone https://github.com/medialab/artoo
cd artoo
npm install
gulp

Then the file should have been built. Did any error occur during this process?

I thnig that I had problem with gulp. After I arriwed home. I make it again.

I tried it again. I have trouble with install phantom.js during instalation npm install and terminal wasnt reacted with gulp at all.

Ok. Can you give me your node & npm version please?


How to wait until SSL_stream_conclude() is done

The manpage of SSL_stream_conclude() says that all data will be written in a reliable manner. Is there some way to know that this happened? When can SSL_free() be called on the QUIC stream SSL object?
It seems you can call this on an QUIC connection SSL object. Is that just for the default stream mode?

It seems you can call this on an QUIC connection SSL object. Is that just for the default stream mode?

Yes, that should be kind of obvious but perhaps the documentation should be cleared - currently it says If called on a QUIC connection SSL object, it signals the end of the single stream to the peer. which is confusing.

The manpage of SSL_stream_conclude() says that all data will be written in a reliable manner. Is there some way to know that this happened? When can SSL_free() be called on the QUIC stream SSL object?

To enforce reliable delivery SSL_shutdown() without SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH must be called and checked for 1 being returned before the SSL_free() can be called. Or of course application protocol signalling can be used.

The manpage of SSL_stream_conclude() says that all data will be written in a reliable manner. Is there some way to know that this happened? When can SSL_free() be called on the QUIC stream SSL object?

To enforce reliable delivery SSL_shutdown() without SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH must be called and checked for 1 being returned before the SSL_free() can be called. Or of course application protocol signalling can be used.

The question was about calling SSL_free() on the stream SSL object. You should be able to do that immediately after SSL_stream_conclude(). Any unsent/unacked data will continue to be sent while the connection is still active.
The above answer is of course correct when we are talking about the QUIC connection SSL object.

The question was about calling SSL_free() on the stream SSL object.

Ah yeah, I've somehow overlooked that.

I think that in the end resolving that in the application protocol is the right fix. Because checking that data was delivered to the peer is not equal to the peer actually confirming that it accepted that data. It could be just sitting in the receive buffers of the peer and not being really used by the peer's application.

So there is no API to check the reliable delivery per stream? I'm wondering if this is a problem for some applications or not, where the connection stays open for a long time, but you create streams from time to time. I guess this can either be handled in the application protocol or you could use SSL_read() and check for SSL_ERROR_ZERO_RETURN to check that the other side also did a stream conclude.

It's not really any different to TCP. Even if TCP data is acked by a peer, this just means the peer's kernel received it, not that it made it to the application. While we could have some kind of "is stream totally acked" API even this doesn't mean the data acked by the peer has been actually read and processed by an application. Fundamentally if you want to handle application-level messages reliably the processing of those messages needs to be acknowledged at an application level.

This of course makes me wonder how the application knows on which SSL object SSL_read() should be called.

In the future we will need to have some select() like call. Admittedly this is a fairly major capability like gap at the moment.

It's not really any different to TCP.

But you can get that behaviour with TLS, if you rely on the other side to call SSL_shutdown() after it has received and processed all the data.
I do agree that it would be better to handle this at the application level.

It's not really any different to TCP.

But you can get that behaviour with TLS, if you rely on the other side to call SSL_shutdown() after it has received and processed all the data.
At the connection level you can do this with SSL_shutdown, of course. At the stream level QUIC doesn't really provide any protocol semantics to allow an application to communicate "I have processed everything".

If you are using an RPC-style application-layer protocol which has a strict request-response pattern on each bidirectional stream, you could of course take a FIN sent by the peer after its response as indication that application processing has been completed.
We could provide an API along the lines of SSL_is_all_stream_data_acked (better name needed), and I'm not massively against providing this, but my feeling is it is going to lull applications into a false sense of security and encourage poor application protocol design. Just because a QUIC engine has acked something doesn't mean the peer application has called SSL_read, so it's not that useful.

We could provide an API along the lines of SSL_is_all_stream_data_acked (better name needed), and I'm not massively against providing this, but my feeling is it is going to lull applications into a false sense of security and encourage poor application protocol design. Just because a QUIC engine has acked something doesn't mean the peer application has called SSL_read, so it's not that useful.

Yeah, I do not think providing this would be a good idea.

Deferred until after 3.2.0

Not for 3.3. Not necessarily a good idea either.

@nhorman Not for 3.3. I am dubious whether this is a good idea. Definitely not earlier than 3.4.

Ok, lets consider this for 3.4 then

@hlandau any thoughts on this?  Should we still consider this?  If not, please close

Agreed, and thank you


ENOMEM on uv_spawn on Windows with env set

Code:
local uv = require('uv')

local command = 'cmd.exe'
local options = {
	env = {},
}

local handle, pid = uv.spawn(command, options, function(...)
	print('exit:', ...)
end)

print('spawn:', handle, pid)

Output:
spawn:  nil     ENOMEM: not enough memory

Removing the env field from the options table does not produce the issue. Tested with luv 1.27.0 via luvi 2.9.3 on Windows 10 Home 1903. Cannot reproduce on ubuntu 16.04 using an equivalent command. All 64-bit.
I don't know if this issue is in luv or in libuv or if it's fixed in a newer version. I ran into it while trying to build luvit on Windows and test-process and test-process-exec failed.

Related: this comments and the comments after it
This test case should help a lot in getting to the bottom of it.

This is a Libuv bug that was fixed in 1.31.0:
* win: fix uv_spawn() ENOMEM on empty env (Ben Noordhuis)

Good stuff.


Feature/504 project selected on dropdown

Description
Removes the select project button and changes behavior so that project dropdown will automatically load project when project is selected. Selects CMIP6 as default project and loads it with page.

[ ] Local Pre-commit Checks
[ ] CI/CD Build

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My changes generate no new warnings
[ ] If applicable - I have commented my code, particularly in hard-to-understand areas
[ ] If applicable - I have made corresponding changes to the documentation
[ ] If applicable - I have added tests that prove my fix is effective or that my feature works
[ ] If applicable - New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Thanks for opening, is the failed test a false positive?


WIP: Implemented consumer for grouping subselects

Codecov Report

Merging #5400 into grouping-subselects will decrease coverage by 0.09%.
The diff coverage is 98.91%.

@@                   Coverage Diff                    @@
##             grouping-subselects    #5400     +/-   ##
========================================================
- Coverage                  82.44%   82.35%   -0.1%
+ Complexity                 11294    11261     -33
========================================================
  Files                       1358     1357      -1
  Lines                      44282    44286      +4
  Branches                    5560     5572     +12
========================================================
- Hits                       36510    36472     -38
- Misses                      5176     5212     +36
- Partials                    2596     2602      +6

Impacted Files
Coverage Δ
Complexity Δ

...va/io/crate/planner/consumer/ConsumingPlanner.java
93.75% <100%> (+0.2%)
7 <0> (ø)
:arrow_down:

...e/planner/consumer/MultiSourceGroupByConsumer.java
100% <100%> (ø)
7 <0> (ø)
:arrow_down:

...te/planner/consumer/GroupingSubselectConsumer.java
98.87% <98.87%> (ø)
16 <16> (?)

...a/io/crate/exceptions/ContextMissingException.java
81.81% <0%> (-18.19%)
1% <0%> (-1%)

...ain/java/io/crate/analyze/symbol/SelectSymbol.java
75% <0%> (-15%)
6% <0%> (ø)

...crate/planner/projection/MergeCountProjection.java
63.63% <0%> (-9.1%)
5% <0%> (-1%)

...io/crate/protocols/postgres/types/VarCharType.java
91.66% <0%> (-8.34%)
10% <0%> (-1%)

...te/blob/pending_transfer/PutHeadChunkRunnable.java
76.71% <0%> (-6.85%)
12% <0%> (-3%)

...io/crate/planner/projection/ProjectionVisitor.java
35.29% <0%> (-5.89%)
6% <0%> (-1%)

...ecutor/transport/SnapshotRestoreDDLDispatcher.java
83.01% <0%> (-5.08%)
12% <0%> (-1%)

... and 61 more

Continue to review full report at Codecov.

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


Content inside square brackets not shown. is there an escape method?

When in DESCRIPTION or in SUMMARY there are square brackets, the token replacement mechanism try to replace the content and shows nothing.
Is there an escape method for this?
Emanuele

@vallatadellostilaro The Token replacement follows the standard rules/mechanism of DNN.
Here is a forum thread that describes how to use escape characters:
http://www.dnnsoftware.com/forums/threadid/462477/scope/posts/escape-text-html-token-replacement-square-bracket
Or here:
http://my-tokens.dnnsharp.com/how-to/escape-special-characters

Any chance to render things like

I am not sure if script can be saved in the summary field.
For security reasons, the text input is cleaned from script. See line 1215 of EditEvents.assx.vb.
.Summary = objSecurity.InputFilter(ftbSummary.Text, PortalSecurity.FilterFlag.NoScripting)

Nope!
The script is stored and rendered as is. except for the javascript array [...] that is substituted with empty (by token replacement I think)


Stop the Interval when exiting the dialog

When you exit the dialog with clicking out of the dialog with an interval on the you can't stop the interval without closing the app and start another interval that overlaps. With 2*200ms you can do 100ms intervals. So the solution - I think - is to turn flash off when the dialog is closed.

Good catch!
Will work on that

Should be fixed in Version 2.2.1


epmd failure during installation on windows

Environment

Elixir & Erlang/OTP versions (elixir --version):  (System's existing elixir/erlang versions) Erlang/OTP 26 [erts-14.1.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns] | Elixir 1.15.7 (compiled with Erlang/OTP 24)
Operating system:  Windows 10
How have you started Livebook: Didnt start livebook. (Livebook Installer for windows)
Livebook version: latest?. well whatever the installer tries to install

Current behavior
During installation after "Checking Distributed Erlang..." in the log
It throws the error "Protocol 'inet_tcp': register/listen error: econnrefused"
I tried both allowing erl.exe and epmd.exe in windows firewall. Also tried disabling the firewall altogether.
(next is with firewall disabled)
When trying to run epmd I get
epmd: Fri Dec  1 09:18:34 2023: failed to bind on ipaddr <IP_ADDRESS>

When trying to run epmd -address <IP_ADDRESS>
epmd: Fri Dec  1 09:19:44 2023: failed to bind on ipaddr <IP_ADDRESS>
epmd: Fri Dec  1 09:19:44 2023: failed to bind on ipaddr ::1
epmd: Fri Dec  1 09:19:44 2023: unable to bind any address

When trying to run iex --sname test
Protocol 'inet_tcp': register/listen error: econnrefused

If you cannot even start iex --sname test, then it is not a Livebook issue. You will most likely reproduce it all the way down to Erlang too. It does feel like it is a firewall related setting, but if you say you have disabled it all, then i am out of ideas. :(

We have recently updated the FAQ with more instructions for Windows. Please let us know if the new steps help: https://github.com/livebook-dev/livebook/wiki/Installation-FAQ

Just checked it again and it seems to work fine now ¯_(ツ)_/¯ the motherboard did die 9 days after the bug report but Its most likely a coincidence.


Primitives values in literal schema

This PR add all primitives values on literal schema.
Solve Issue #97

Great! Thanks a lot! I'll check your code as soon as I find time and publish this improvement with the next version.

I think null and undefined should be removed because a literal with this datatype makes no sense. This would also have the consequence that the type Primitive should be renamed to Literal. The tests would then have to be updated. Other than that, the code looks good.

I have take the primitives data types from MDN Documentation that includes null and undefined between primitives values.
I think that null and undefined is not very usefull as literal value, but I don't see why someone shouldn't have the possibility to use them

Since this does not change the schema's implementation, it is not so important to me whether we include null and undefined. Both have their advantages and disadvantages. If we leave it like it is, literal is more flexible to use on the one hand. However, the API of Valibot becomes more confusing, on the other hand, as there are now two ways to achieve the same thing. Also, strictly speaking, there is no null and undefined literal since these datatypes cannot be further specified.
Feel free to give me feedback on this again. I'll probably decide tomorrow how I want to proceed.


cannot work with gpushare-scheduler-extender

after deployed this https://github.com/AliyunContainerService/gpushare-scheduler-extender,  node_exporter cannot get pod level metric, what happened

Hello!
NVIDIA's cloud native stack doesn't support interacting with another device plugin than the official NVIDIA device plugin :)


log: Add precision support to str

Problem
Precision formatting was added to Logger but it is currently ignored by the str implementation.
Solution
Add support for precision when logging str values. This was done as separate Argument variants to encode the truncate position: TruncateEnd and TruncateStart. There are 3 cases for truncation:

The log buffer is large enough to hold the entire str: the whole str is logged.
The log buffer is smaller than the str, but large enough to hold a "..." slice and part of the str: the slice and part of the str are logged.
The log buffer is smaller than both the str and the "..." slice: the buffer is filled with . characters and the last character is set to @.

@LucasSte Added Argument variants specifically for truncating and now the value is specified as a usize.


proposal: crypto/md5: deprecated cryptography used for security purposes or in security sensitive codepaths

Proposal Details
Goals:

allow building compiler, building applications (go build), running applications (go run) without deprecated cryptographic algorithms compiled-in or relied upon
extreme goal is to be able to do that in FIPS-approved only mode with one of the popular goexperiment forks (systemcrypto opensslcrypto boringcrypto)

Issues:

/usr/bin/go uses cryptography for security & non-security purposes.
Examples of security related purposes is the go get functionality, computing and verifying h1: go module hashes
Examples of non-security sensitive purposes are ./src/cmd/internal/hash/hash.go Size16 Size20 Size32
In src/cmd/dist/build.go CGO_ENABLED=0 is set that prevents using FIPS-certified cryptography, as so far gocrypto has not been through certification
It means that non-FIPS certified implementations are used for security sensitive purposes and are available for go get functionality

Hopes & Dreams:

Enable building go get functionality with CGO with FIPS-approved/certified cryptographic implementation. However, I am not confident it if it possible to split go get and h1 calculation out of the go binary into one of the tools binaries like for example pkg/tool/$arch/nm is a standalone program. As that would allow using non-fips-certified hashes in cmd/internal/hash/hash.go whilst the security sensitive tool that does TLS and h1: for go get is using strong and optionally certified cryptography.
it would be very nice if GoDEBUG features could be introduced that potentially moves md5 from crypto/md5 to hash/md5; or doesn't register it as a valid hash in md5; or disables md5 usage from TLS, crypto and net/smtp/auth.
For 2030+ same issue will apply to sha1 as well

Successful changes:

recently it was successfully updated coverage framework from using md5 to using FNV-1a https://go-review.googlesource.com/c/go/+/617360

Minimal proposal:

Similarly for other internal non-cryptographically secure usage it would make sense to also use FNV-1a or switch to more performant non-cryptographically secure hashes https://xxhash.com/ for example for internal-only usage
Work towards splitting go get and h1 calculation functionality into a separate tool binary or a separate plugin
Introduce opt-in, off by default, GoDEBUG that prevent md5 from registring into the crypto sub system
Introduce opt-in, off by default, GoDEBUG that blocks client TLS md5
Use strong cryptography even for non-security purposes (?!) but that's like a never ending change, md5 is old now, sha1 will be old in 2030, and PQC standards seem to be advocated to use KECCAK based hashes and XOFs.

I hope the above reasoning and goals are reasonable, the path to resolving all of the above is open-ended however, so not sure if this issue will simply end up being locked for future reference. Or if smaller items get resolved, such that it is 80% done.
Code references:

https://github.com/golang/go/blob/master/src/cmd/go/internal/modcmd/verify.go
https://github.com/golang/mod/blob/master/sumdb/dirhash/hash.go
https://github.com/golang/go/blob/master/src/cmd/internal/hash/hash.go
https://github.com/golang/go/blob/master/src/net/smtp/auth.go
https://go-review.googlesource.com/c/go/+/617360
https://github.com/golang/go/commit/092d18b31824d35a07f796c90380d5e607b61681

Sample toolchains that operate in FIPS mode, including the go toolchain itself:

https://images.chainguard.dev/directory/image/go-msft-fips/overview

Related Issues and Documentation

boringcrypto: Not using FIPS compliant calls for SHA functions (also should we add md5? for easy proof of FIPS mode on) #66513 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

FIPS is #69536
h1 is sha256, not md5

FIPS is #69536
h1 is sha256, not md5

But TLS prf imports md5, and so does SMTP, and so does internal/hash, and also sha1.
Whilst FIPS is one angle of this request, I also want to advocate to not use weak or inefficient cryptography for non-fips use case alone.
Regular users also deserve better.

I will double check but it seems that FIPS is #69536 is for the compiled applications. Not for the compiler itself, which has no capability right now to be compiled in a supported and compliant configuration.
Note this is w.r.t. compiler itself.

I don't see any specific proposal here, you may get what you want after #69536 and building the go toolchain with fips enabled.

and building the go toolchain with fips enabled.

Yeah, there are improvements to be made here. As this portion of the tasks has gaps. I will create individual small code commits to explain the small issues that add to this being harder than it could be.

A reminder that the Go+BoringCrypto GOEXPERIMENT is not a supported mode, and its forks are definitely not supported.
Note that TLS 1.0 requires MD5+SHA1 for its KDF, and removing TLS 1.0 support is a major change that should be approached with more motivation than just "it makes FIPS forks easier", if that's what you're asking.

A reminder that the Go+BoringCrypto GOEXPERIMENT is not a supported mode, and its forks are definitely not supported.
Note that TLS 1.0 requires MD5+SHA1 for its KDF, and removing TLS 1.0 support is a major change that should be approached with more motivation than just "it makes FIPS forks easier", if that's what you're asking.

True. And we also have forever go 1 backwards compat.
I think what I am asking for a symetrical godebug to what tls10server is but for client. I.e. tls10client defaults to 1; but allows to set it at application compile time to 0; such that even if client tls version is requested below 1.2, it gets blocked.
Also something similar, to block import of crypto/md5 side-effects => as importing it registers it as a valid hash with the crypto subsystem, and can enable code that didn't import md5 to be able to process md5.
Such that there is backwards compat for client tls below 1.2; but it is possible to opt out of it; even when not using FIPS-forks. As regular non-fips users should have ability to only support strong cryptography as well (without the need to forcing FIPS usage onto themselves).


Generate reports

The reporting for fmripost-aroma should be relatively straightforward. The workflows copied in #2 should include boilerplate text that can be included as well as produce figures for inclusion in reports.
We will also want to shift to nireports for compiling the reports, while we're here. https://github.com/nipreps/mriqc/pull/1085 should be our model, though it will take some work to sift through that diff, since the reporting in MRIQC is pretty extensive. Our use should be much less so.

I think this is handled now.


Remove JSON::Pure to resolve conflict between JSON::Pure and JSON::Ext

When integrate in rails, require JSON::Pure will conflict with JSON::Ext as JSON::Ext is already loaded from rails. Suggest to check if JSON::Ext is loaded before require JSON::Pure.

Thanks for another patch! I'm going to look into using multi_json so we can play better with other ppl's included json.


WIP: Add hosting instructions for bot

I love this bot. I think it's a great first Discord bot, but I think the repo could benefit from some self-hosting or AWS deployment instructions.
I'll be roughly following these instructions, to start with, see:
https://github.com/syreal17/GamesDealsBot
(Also fork)

Thanks for the feedback! I really appreciate it, will be adding instructions on how I specifically deployed this :)

even better!

Those instructions look great, thanks so much!


Scroll bar doesn't follow dark mode in Chrome

When running my ionic app in Chrome Version 80.0.3987.162 on macOS 10.15.4, the scroll bar shows white in color even when the ionic app is in dark mode.
Repo to reproduce:
https://github.com/assman/ticket-ionic

Thanks for the issue! We're working on adding some docs on how to fix this over here: https://github.com/ionic-team/ionic-docs/pull/1346
You can use the following meta tag:
<meta name="color-scheme" content="light dark" />

Thank you very much


alphafold pickle files use python 2

Minor bug in the alphafold v1 distogram release.
The contacts/TARGET.pickle files in the released data were pickled using python 2, but the pickle default encodings changed between python2 and python3. So, the pickled data must be read with the following somewhat obtuse syntax when using python3:
    with open(contacts/TARGET.pickle, "rb") as f:
        loaded = pickle.load(f, encoding="latin1")

Given the requirements of this repository list python 3.6+, the pickles should be in the python3 format.
You can fix this problem by using the technique described here: https://rebeccabilbro.github.io/convert-py2-pickles-to-py3/
I have done this myself so if it is helpful I can share the converted files.

Hi Anastasios,
good catch, thank you. I will clarify that in the documentation and close this issue once the README has been updated.

Hi Anastasios,
good catch, thank you. I will clarify that in the documentation and close this issue once the README has been updated.

Happy to help!

Happy to help!

Fixed in https://github.com/deepmind/deepmind-research/commit/e7cd4f32a3b6508e2d950cd3e911abd6255d53fe. Thanks again and happy New Year.

Fixed in https://github.com/deepmind/deepmind-research/commit/e7cd4f32a3b6508e2d950cd3e911abd6255d53fe. Thanks again and happy New Year.


Feature/unr 1376 add handover disable option

Description
Add runtime option to disable handover.
Release note
Added runtime option to disable property handover when running in non-zoned deployments.
Tests
Ran against the unified project.
Primary reviewers
@improbable-valentyn @aleximprobable

So just to clarify, this will stop generating handover components when generating schema, which should be sufficient for disabling handover at runtime?

So just to clarify, this will stop generating handover components when generating schema, which should be sufficient for disabling handover (from happening at runtime)?

No, all schema are still generated, their ids are stripped out from the classinfo at runtime though, so it's as if they don't exist.

So just to clarify, this will stop generating handover components when generating schema, which should be sufficient for disabling handover (from happening at runtime)?

No, all schema are still generated, their ids are stripped out from the classinfo at runtime though, so it's as if they don't exist.

That's great. I like this even better now.


Issue #188: New .MD files for Omnia 1.0

Fixes #188
Signed-off-by: avinashvishwanath<EMAIL_ADDRESS>

@avinashvishwanath did you intend to close this pull request without it being merged?

@avinashvishwanath did you intend to close this pull request without it being merged?

Closing this PR, as it appears to be handled by #216


Create a meeting room in the design studio for Spring

Trying to figure out a better situation for meetings and presentations in the Spring. Thinking of dividers. More to come.

Hi Jason,
I selected these options for room dividers.  Let’s chat about the sizes and arrangement that you need afterward.
https://www.versare.com/room-divider-360-accordion-portable-partition.html
https://www.versare.com/straightwall-sliding-portable-partition.html
https://www.schooloutfitters.com/catalog/product_info/pfam_id/PFAM1493/products_id/PRO4608
Best,
Loan-anh Nguyen

I was looking at dividers from the same company, a slightly taller model for better sound proofing.
https://www.versare.com/shop/portable-partitions/wall-mounted-room-dividers/operable-wall-folding-room-divider.html
The 19 feet length panel ($3,288) can create a 11x8' room along the corner with the TV. One table will be a tight fit. Having one 19 foot panel and one 11 foot ($2,532) will make it less claustrophobic.

Decided against this. Just not enough room for the walls.


Classical multidimensional scaling

This script demonstrates the classical multidimensional scaling algorithm by Torgerson(1952) which computes N-dimensional embeddings from dissimilarities.
As an illustrative example, we compute a 2D embedding from :

ground distances between cities (this is expected to be almost perfectly done because we use the geodesic distance)
the travel distance between the cities

Here is example output

Nice, thanks !

Just saw: sacling -> scaling in the README.


Restructuring Project

See issue #45. Recreated the project to be more inline with a pod lib create structure. A quick pod lib lint results in:
sean:JSBadgeView Sean$ pwd
/Users/Sean/dev/github/JSBadgeView
sean:JSBadgeView Sean$ ls -all
total 56
drwxr-xr-x  11 Sean  staff   374 May 18 22:51 .
drwxr-xr-x  22 Sean  staff   748 May 18 21:55 ..
-rw-r--r--@  1 Sean  staff  6148 May 18 22:29 .DS_Store
drwxr-xr-x  17 Sean  staff   578 May 18 23:04 .git
-rw-r--r--   1 Sean  staff   607 May 18 22:59 .gitignore
-rw-r--r--   1 Sean  staff   573 May 18 22:59 .travis.yml
drwxr-xr-x  10 Sean  staff   340 May 18 22:33 Example
-rw-r--r--@  1 Sean  staff   825 May 18 22:40 JSBadgeView.podspec
-rw-r--r--   1 Sean  staff  1054 May 18 22:24 LICENSE
drwxr-xr-x   5 Sean  staff   170 May 18 22:08 Pod
-rw-r--r--   1 Sean  staff  3072 May 18 22:56 README.md
sean:JSBadgeView Sean$ pod lib lint

 -> JSBadgeView (1.4)

JSBadgeView passed validation.
sean:JSBadgeView Sean$

Ran the dummy test target locally and it looks like:
sean:JSBadgeView Sean$ xcodebuild test -workspace Example/JSBadgeView.xcworkspace -scheme JSBadgeView-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
▸ Building Pods/Pods-Tests-Specta [Debug]
▸ Compiling Pods-Tests-Specta-dummy.m
▸ Compiling SPTCallSite.m
▸ Compiling SPTCompiledExample.m
▸ Compiling SPTExample.m
▸ Compiling SPTExampleGroup.m
▸ Compiling SPTSharedExampleGroups.m
▸ Compiling SPTSpec.m
▸ Compiling SPTTestSuite.m
▸ Compiling SpectaDSL.m
▸ Compiling SpectaUtility.m
▸ Compiling XCTestCase+Specta.m
▸ Compiling Pods-Tests-Specta-dummy.m
▸ Compiling SPTCallSite.m
▸ Compiling SPTCompiledExample.m
▸ Compiling SPTExample.m
▸ Compiling SPTExampleGroup.m
▸ Compiling SPTSharedExampleGroups.m
▸ Compiling SPTSpec.m
▸ Compiling SPTTestSuite.m
▸ Compiling SpectaDSL.m
▸ Compiling SpectaUtility.m
▸ Compiling XCTestCase+Specta.m
▸ Building library libPods-Tests-Specta.a
▸ Building library libPods-Tests-Specta.a
▸ Building Pods/Pods-JSBadgeView-JSBadgeView-JSBadgeView [Debug]
▸ Touching JSBadgeView.bundle
▸ Building Pods/Pods-Tests-JSBadgeView-JSBadgeView [Debug]
▸ Touching JSBadgeView.bundle
▸ Building Pods/Pods-Tests-Expecta [Debug]
▸ Compiling EXPBlockDefinedMatcher.m
▸ Compiling EXPDoubleTuple.m
▸ Compiling EXPExpect.m
▸ Compiling EXPFloatTuple.m
▸ Compiling EXPMatcherHelpers.m
▸ Compiling EXPMatchers+beCloseTo.m
▸ Compiling EXPMatchers+beFalsy.m
▸ Compiling EXPMatchers+beGreaterThan.m
▸ Compiling EXPMatchers+beGreaterThanOrEqualTo.m
▸ Compiling EXPMatchers+beIdenticalTo.m
▸ Compiling EXPMatchers+beInTheRangeOf.m
▸ Compiling EXPMatchers+beInstanceOf.m
▸ Compiling EXPMatchers+beKindOf.m
▸ Compiling EXPMatchers+beLessThan.m
▸ Compiling EXPMatchers+beLessThanOrEqualTo.m
▸ Compiling EXPMatchers+beNil.m
▸ Compiling EXPMatchers+beSubclassOf.m
▸ Compiling EXPMatchers+beSupersetOf.m
▸ Compiling EXPMatchers+beTruthy.m
▸ Compiling EXPMatchers+beginWith.m
▸ Compiling EXPMatchers+conformTo.m
▸ Compiling EXPMatchers+contain.m
▸ Compiling EXPMatchers+endWith.m
▸ Compiling EXPMatchers+equal.m
▸ Compiling EXPMatchers+haveCountOf.m
▸ Compiling EXPMatchers+match.m
▸ Compiling EXPMatchers+postNotification.m
▸ Compiling EXPMatchers+raise.m
▸ Compiling EXPMatchers+raiseWithReason.m
▸ Compiling EXPMatchers+respondTo.m
▸ Compiling EXPUnsupportedObject.m
▸ Compiling ExpectaObject.m
▸ Compiling ExpectaSupport.m
▸ Compiling NSValue+Expecta.m
▸ Compiling Pods-Tests-Expecta-dummy.m
▸ Compiling EXPBlockDefinedMatcher.m
▸ Compiling EXPDoubleTuple.m
▸ Compiling EXPExpect.m
▸ Compiling EXPFloatTuple.m
▸ Compiling EXPMatcherHelpers.m
▸ Compiling EXPMatchers+beCloseTo.m
▸ Compiling EXPMatchers+beFalsy.m
▸ Compiling EXPMatchers+beGreaterThan.m
▸ Compiling EXPMatchers+beGreaterThanOrEqualTo.m
▸ Compiling EXPMatchers+beIdenticalTo.m
▸ Compiling EXPMatchers+beInTheRangeOf.m
▸ Compiling EXPMatchers+beInstanceOf.m
▸ Compiling EXPMatchers+beKindOf.m
▸ Compiling EXPMatchers+beLessThan.m
▸ Compiling EXPMatchers+beLessThanOrEqualTo.m
▸ Compiling EXPMatchers+beNil.m
▸ Compiling EXPMatchers+beSubclassOf.m
▸ Compiling EXPMatchers+beSupersetOf.m
▸ Compiling EXPMatchers+beTruthy.m
▸ Compiling EXPMatchers+beginWith.m
▸ Compiling EXPMatchers+conformTo.m
▸ Compiling EXPMatchers+endWith.m
▸ Compiling EXPMatchers+contain.m
▸ Compiling EXPMatchers+haveCountOf.m
▸ Compiling EXPMatchers+match.m
▸ Compiling EXPMatchers+postNotification.m
▸ Compiling EXPMatchers+equal.m
▸ Compiling EXPMatchers+raise.m
▸ Compiling EXPMatchers+raiseWithReason.m
▸ Compiling EXPMatchers+respondTo.m
▸ Compiling EXPUnsupportedObject.m
▸ Compiling ExpectaObject.m
▸ Compiling ExpectaSupport.m
▸ Compiling NSValue+Expecta.m
▸ Compiling Pods-Tests-Expecta-dummy.m
▸ Building library libPods-Tests-Expecta.a
▸ Building library libPods-Tests-Expecta.a
▸ Building Pods/Pods-JSBadgeView-JSBadgeView [Debug]
▸ Compiling JSBadgeView.m
▸ Compiling Pods-JSBadgeView-JSBadgeView-dummy.m
▸ Compiling JSBadgeView.m
▸ Compiling Pods-JSBadgeView-JSBadgeView-dummy.m
▸ Building library libPods-JSBadgeView-JSBadgeView.a
▸ Building library libPods-JSBadgeView-JSBadgeView.a
▸ Building Pods/Pods-Tests-JSBadgeView [Debug]
▸ Compiling JSBadgeView.m
▸ Compiling Pods-Tests-JSBadgeView-dummy.m
▸ Compiling JSBadgeView.m
▸ Compiling Pods-Tests-JSBadgeView-dummy.m
▸ Building library libPods-Tests-JSBadgeView.a
▸ Building library libPods-Tests-JSBadgeView.a
▸ Building Pods/Pods-JSBadgeView [Debug]
▸ Compiling Pods-JSBadgeView-dummy.m
▸ Compiling Pods-JSBadgeView-dummy.m
▸ Building library libPods-JSBadgeView.a
▸ Building library libPods-JSBadgeView.a
▸ Building JSBadgeView/JSBadgeView [Debug]
▸ Running script 'Check Pods Manifest.lock'
▸ Precompiling JSBadgeView/JSBadgeView-Prefix.pch
▸ Compiling JSAppDelegate.m
▸ Compiling JSViewController.m
▸ Compiling main.m
▸ Compiling JSAppDelegate.m
▸ Compiling JSViewController.m
▸ Compiling main.m
▸ Linking JSBadgeView
▸ Linking JSBadgeView
▸ Copying InfoPlist.strings
▸ Processing JSBadgeView-Info.plist
▸ Generating 'JSBadgeView.app.dSYM'
▸ Running script 'Copy Pods Resources'
▸ Touching JSBadgeView.app
▸ Building Pods/Pods-Tests [Debug]
▸ Compiling Pods-Tests-dummy.m
▸ Compiling Pods-Tests-dummy.m
▸ Building library libPods-Tests.a
▸ Building library libPods-Tests.a
▸ Building JSBadgeView/Tests [Debug]
▸ Processing Tests-Info.plist
▸ Running script 'Check Pods Manifest.lock'
▸ Precompiling Tests/Tests-Prefix.pch
▸ Compiling Tests.m
▸ Compiling Tests.m
▸ Linking Tests
▸ Linking Tests
▸ Generating 'Tests.xctest.dSYM'
▸ Copying InfoPlist.strings
▸ Running script 'Copy Pods Resources'
▸ Touching Tests.xctest
All tests
Test Suite Tests.xctest started
InitialSpecsSpec
    ✓ test_Passing_Spec__can_do_maths (0.002 seconds)

 Executed 1 test, with 0 failures (0 unexpected) in 0.002 (0.002) seconds

sean:JSBadgeView Sean$

Wow this is awesome!!! Thank you so much @seanoshea!!!

Is there anything that needs to be done? Or can this be merged?

Removed the dummy test file in cbd2ddc7a8a6dcad4309fbe1254580652529f341 and I'm just running the build in .travis.yml file now.
Not sure how big of a travis-ci fan you are, but I believe all you'd need to do post-merge would be to enable it for this project?

Not sure how big of a travis-ci fan you are, but I believe all you'd need to do post-merge would be to enable it for this project?

Yeah! I think even if we don't have tests, just checking that the project builds is great when people submit PRs. Where would I have to go to enable it? I'm not super familiar with it :)

Also - would it be possible to get a bump in the pod spec and have it published up to cocoapods? Happy to include that in the pull request if you'd be comfortable with a minor version bump.

For sure!

For travis, all you need to do is navigate to http://travis-ci.org, authenticate with your github credentials and then navigate to the settings panel. You'll probably see something relatively similar to http://imgur.com/vbGkUQh. All you need to do is enable travis for the JSBadge repo. It should be as simple as flicking a switch. The 1st build might automatically fail as you don't current have a .travis.yml file in your master branch.
Once you've enabled travis for the repo, all you'd need to do is merge this pull request and a build should get kicked off automatically.
Are you ok with a version of 1.4.1 in the pod spec? I'm guessing a minor release for this change would be ok as it doesn't really represent a change in functionality in the library?? Not 100% sure where a change like this fits in terms of semantic versioning, but I'll defer to you. Happy to alter the pull request to include the pod spec change regardless.

Cool! I enabled Travis, I'll merge this PR now :)

Are you ok with a version of 1.4.1 in the pod spec? I'm guessing a minor release for this change would be ok as it doesn't really represent a change in functionality in the library?? Not 100% sure where a change like this fits in terms of semantic versioning, but I'll defer to you. Happy to alter the pull request to include the pod spec change regardless.

I'm OK with either, I think it's not a big deal. Like you said, the source didn't change.

Boom!! https://travis-ci.org/JaviSoto/JSBadgeView/builds/63227830
Thank you SO MUCH!! This is awesome!


Document tips and trips for converting Google Docs to blog posts

Using this issue to track various things that need to be done.

Add front matter to the blog post.

@jlewi the documentation is here do you think this is good enough or we need something else?


Query multiple ASINS

Hi!
I'm new to using this query for fetching data and creating dataframes.
I have a quick question: The documentations mentions this is the way to get queries for more than 1 ASIN:
>>> products = api.query(['0439064872', '1426208081'])
But, this means I still have to query each ASIN since the list indices can't be strings.
So my question is, am I missing something when assigning the index? Or do you make a for loop for ASINs that are into that string? How do you fetch data for more than 1 ASIN?
Thanks!

I don't understand your question.
The way to query for product data is like you said:
items = ['0439064872', '1426208081']
client = Keepa(access_key)
response = client.query(items)

Thank you for the quick response!
Yes, but:
products = api.query(asins) product = products[0]
If I then try to do something like:
sales  = product["data"]["SALES"]
Since I can't put a string as "product", it returns the first ASIN of the string. Otherwise I get the "
TypeError: list indices must be integers or slices, not str" error.
I bet I must be missing something basic but I'm not sure what is.

sales = product["data"]["SALES"]

Should be

sales = product[0]["data"]["SALES"]

Each product is in the product list.

That would use the first product of the string, not all of them. What I did is:
`asins = np.asarray(['111', '222', '333'])
products = api.query(asins)
first = True
for pr in products:
df_new = pr['data']['df_NEW'] # Raw dataframe from keepa
df_new['Date'] = df_new.index # Create new column "Date" (datetime info is originally in the index, not in a column)
df_new.columns = ['Price', 'Date'] # Rename the column "value" to "price"`
And then continue creating the dataset.

Yes, you must iterate over the response and process each item's data individually

Yes! I got it now. It was a bit confusing since the documentation says it's for querying more than one ASIN, but a for loop is necessary.


Fix #143: Export ToolTip helper components

ToolTipText and ToolTipTSpanLabel are useful when making custom
tooltips, so they should be made available as imports in the lib

For what it's worth, there's a file in the docs that was giving me some problem with git: docs/data/MSFT.csv that always appears to be changed even when discarding changes in working directory. Maybe a capitalization issue or something.