SSH keyboard interactive auth

I've installed TFS 2018 Update 3 + build agent version 2.141.
There i created a build defenition with build step that tries to execute remote SSH command. During step execution i get the following error: "All configured authentication methods failed."
Reason was that the server uses only keyboard interactive auth. But default build step settings don't have any switch for that case.
I found a solution by editing build step source files. In ssh2helpers.js i changed function setupSshClientConnection like this:
function setupSshClientConnection(sshConfig) {     var defer = Q.defer();     var client = new Ssh2Client();     client.on('ready', () => {         defer.resolve(client);     }).on('keyboard-interactive', function (name, instructions, instructionsLang, prompts, finish) { 	console.log('Connection :: keyboard-interactive'); 	finish([sshConfig.password]);     }).on('error', (err) => {         defer.reject(err);     }).connect(sshConfig);     return defer.promise; }
and in file ssh.js on initializing sshConfig i added parameter:
tryKeyboard: true
After that all worked like a charm. I'm asking you to add this feature to default build step.

@RichAlpert you might want to report this problem at https://github.com/Microsoft/vsts-tasks
that is the repository for all in box tasks.

I am going to close this issue here, please open in the task repository.


[BACKLOG-31109] Removing abastraction from spark terminology

:gear: Build finished in 1m 31s with command:
mvn clean verify -B -e -Daether.connector.resumeDownloads=false -amd \
-Daudit -P !assemblies -pl plugins/engine-configuration/impl

:ok_hand: All tests passed!

Total
Failed
Skipped

65
0
0

Details

:information_source:  This is an automatic message


[Issue]: How to use (free) Hugging Face inference in Autogen Studio with setting up .env?

Describe the issue
Since playing around with Autogen Studio is best for free, but not having decent hardware to run LLMs locally,
I want to use free Hugging Face inference, so I selected Zephyr-7B, which has free inference at:
https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta
So I added it as LLM to an Agent, but it doesn't work, it misses API keys, even though my
OPENAI_API_KEY
and
HUGGINGFACEHUB_API_TOKEN (which required to use HF APIs)
are set in .env in project root.
The latest error is:
    raise OpenAIError(
openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

I was able to use in my tests this free HF API, so the issue is Autogen Studio related.
So how to set up HF API key in Autogen Studio (in .env)?
My other option is to use payed HF, Replicate, Mistral etc. inference, where I also should have to add my API key, so where and how should I do that?
Steps to reproduce
No response
Screenshots and logs
No response
Additional Information
Autogen: 0.2.7
Autogen Studio: 0.0.28a0
Python: 3.11.6
Windows 10

Hi @vanetreg ,
Thanks for raising this.
Do you know if the hf inference api is an openai compatible endpoint?
AutoGen (and autogenstudio) standardize on llm endpoints that are oai compliant endpoints (take a base url, api key, to work).
I am not sure if a .env file will necessarily enable hf endpoint support.
Happy to hear your thoughts.

... Do you know if the hf inference api is an openai compatible endpoint? AutoGen (and autogenstudio) standardize on llm endpoints that are oai compliant endpoints (take a base url, api key, to work). I am not sure if a .env file will necessarily enable hf endpoint support. Happy to hear your thoughts.

Hi @victordibia ,
thank you for your response! :)
I think it is not compatible, even Hugging Face Chat (with NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO) says that ( https://huggingface.co/chat ).
When I was able to use HF or other LLM inference, the tested code was based on either Langchain or LiteLLM, in both cases with clear instructions of specific env vars setup.
I watched 5+ videos on YT about Autogen Studio, but all shows only the export of OPENAI_API_KEY on terminal ( iOS), but I'm on Windows and prefer to see all related env vars easily in one place, like in .env file.
I didn't find any OAI_CONFIG_LIST_sample or .env sample to modify for Studio...
So what should we enter on the Studio frontend when we set up LLMs to the "API key" field when we try to use HF, Replicate, Gradio or local LLMs?
If MS wants to help devs and citizen devs like me to use alternative API's ( I have doubts  :-/ ) with Autogen and Studio, pls. add clear instructions / examples to docs / code samples.
Learning and playing around such cognitive architectures can be very expensive, even with using its caching.
Thank you!

Hi @vanetreg, I think you can use LiteLLM proxy to call any external model API. LiteLLM provides openai compatible api link.
You can look at this video for more details: https://youtu.be/-Wo025I-_I4?t=238

anyone came up with a way to connect huggingchat models to autogen.  that would be  something

https://huggingface.co/spaces/Tonic/EasyYI/blob/main/app.py you can make a connector like this , based on the endpoint you're using / serving , which basically replicates an openai api (easy) then use it accordingly

https://huggingface.co/spaces/Tonic/EasyYI/blob/main/app.py you can make a connector like this , based on the endpoint you're using / serving , which basically replicates an openai api (easy) then use it accordingly

Can anyone confirm this works??  i am also very interested in getting this working

This looks like a very light scaffolding, but perhaps this HF model layer could help:
https://github.com/Solonce/HFAutogen
There are a lot of place holders in the base class pointing to mixtral, so it may require a few more patches to be totally model agnostic.  Overall, breaking that lock to just OAI interfaces would help to grow LLMs, image, and other capabilities to AutoGen's capabilities.

workarounds provided and other examples available


Bug Report: gam vry lagi pls ficks nouw!!!!!

when enter game it lag really bad evn with worst graphic, my computer runs 64 gb ram rtx 3090 ti and ryzen 5950 x, 3 fans, and a water cooler with the best thermal paste (new specs too!!!!!) i have a good monitor but no matter what i always get like 5 fps when playing trollhazard and other songs!!

aaaa

a

a

a

a


Can you please put the instructions to run and add image datsets with the different versions of GAN?

If not, I can do it myself.  Thanks!
Please let me know either way in order to make this repository turn-key.

It's something I might add when I have the time. Feel free to make a PR!


[demo] Set service.name based on the app.kubernetes.io/name value

At the moment, the service.name value is set with the value of the well-known app.kubernetes.io/component label.
app.kubernetes.io/component def: The component within the application architecture. Given example: app.kubernetes.io/component: "database"
app.kubernetes.io/name def: The name of the application. A non-unique name.
https://kubernetes.io/docs/reference/labels-annotations-taints/
Sample labels:
Labels:
                  app.kubernetes.io/component=cartservice
                  app.kubernetes.io/instance=my-otel-demo
                  app.kubernetes.io/name=my-otel-demo-cartservice
                  opentelemetry.io/name=my-otel-demo-cartservice
                  pod-template-hash=5cbd96f4c5

service.name semconv definition: Logical name of the service. MUST be the same for all instances of horizontally scaled services.
If I have multiple otel-demo deployments and I want to scale a specific's deployment services, I would be scaling based on the my-otel-demo-cartservice (app.kubernetes.io/name) value, not on the component's value as it would mean scaling all the cluster deployments. The component label seems a very high level attributes to base the service.name value on.
What do you think if we set the service.name value on the app.kubernetes.io/name label instead?
On going semconv proposal: https://github.com/open-telemetry/semantic-conventions/issues/236

We only support installing the demo once within a namespace. Scaling mechanisms should be able to target workloads to specific namespaces only.


consul.watch doesn't work with consul.event.list

I've been toying with this all afternoon, and the only conclusion I can come to is that this doesn't work. The X-Consul-Index header is a number larger than parseInt supports (for instance, I'm seeing<PHONE_NUMBER>556540332 and<PHONE_NUMBER>2036918036 and such as indexes), which causes Watch.prototype._run to spam the consul server with requests similar to:
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (35.285µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (27.953µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (30.412µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (33.294µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (29.642µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (33.401µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (31.815µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (36.465µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (32.218µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (29.328µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (42.818µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (31.697µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (33.518µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (29.718µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (30.11µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (34.945µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (32.085µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (41.429µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (38.103µs)
    2015/12/04 14:30:34 [DEBUG] http: Request /v1/event/list?index=996658596045402018&wait=30s (35.314µs)

Eventually it seems that the watch gives up on that particular run and stops making requests. I don't know if this is supposed to be supported, but it would be nice if it was supported. For the moment, I'm going to write my own watch logic.

Thanks for reporting!
I released version 0.20.0 to npm, if you see the issue again please re-open.


Serenity: Remove data attributes, fix font css

Changes / Comments

Didn't realize data attributes are stripped, replaced with extra HTML
Fixed oversized font in Skills tooltip
Centered some skills tooltip table data

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Update principles-overview.md

we had duplicate links for "dont-repeat-yourself". In this commit, I have removed the duplicate one.

In this case that was meant as a joke. :)


[SCIM2] Optional functionalities in specification which doesen't support in wso2 IS

Is your suggestion related to an experience ? Please describe.
There are several missing optional functionalities we can add to current SCIM implementation.
Describe the improvement
Below are a list of suggestions we can add,

[ ] Sort functionality [1]
[ ] Pagination in Group endpoint [2]
[ ] "bulkId" Temporary Identifiers in  Bulk endpoint [3]
[ ] Circular Reference Processing in Bulk endpoint [4]
[ ] Adding nested groups as members in group endpoint [5]
[ ] Etag support [6]
[ ] Filtering more operator support [7]

References
[1]https://tools.ietf.org/html/rfc7644#section-<IP_ADDRESS>
[2]https://tools.ietf.org/html/rfc7644#section-<IP_ADDRESS>
[3]https://tools.ietf.org/html/rfc7644#section-3.7.2
[4]https://tools.ietf.org/html/rfc7644#section-3.7.1
[5]https://tools.ietf.org/html/rfc7643#page-26
[6]https://tools.ietf.org/html/rfc7644#section-3.14
[7]https://tools.ietf.org/html/rfc7644#section-<IP_ADDRESS>

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


WriteBatcher slow from jar

I’ve written a small java app that runs just great in Eclipse, writing 16,731 documents from a directory to the Documents database on my local Mac in approximately 22 seconds. But when run from a created JAR, it is taking around 10 minutes to do the same task.
I've attached my .java code and the properties file I am using. The batch size is set to 50 and the thread count is set to 20 for the WriteBatcher.
Any thoughts?
ML version: 9.0-20170113
Java version: 1.8.0_101
marklogic-client-api : 4.0.0-EA4
DataMovementWriteBatcherApp.java
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.time.Instant;
import java.util.Properties;
import java.util.Random;
import java.util.UUID;

import javax.xml.bind.annotation.XmlRootElement;

import com.marklogic.client.DatabaseClient;
import com.marklogic.client.DatabaseClientFactory;
import com.marklogic.client.datamovement.DataMovementManager;
import com.marklogic.client.datamovement.JobTicket;
import com.marklogic.client.datamovement.WriteBatcher;
import com.marklogic.client.io.DocumentMetadataHandle;
import com.marklogic.client.io.FileHandle;
import com.marklogic.client.io.Format;
import com.marklogic.client.io.StringHandle;

/* This is a main class for the Introduction to the Data Movement SDK

demo.
*/
@XmlRootElement
public class DataMovementWriteBatcherApp {
// change the below setting for your MarkLogic
//	host information. By default, this will load
//	the documents to your "Documents" database
//	on your local computer. It will log into the
//	App Server on port 8000 with the username of "username"
//	and the password of "password". Make sure you use
//	a username and password that has permissions for
//	the database.
private static String HOST = "";
private static int PORT = 0;
private static String username = "";
private static String password = "";

// path to the documents to load into the Documents database
private static String docPath = "";
// default size of each batch of documents to write
private static int batchSize = 50;
// default number of threads to create to process each batch
private static int threadCount = 10;

private static DatabaseClient marklogic;

public static void main(String[] args) {
// print out the current working directory. The properties file should
//	be in this directory.
System.out.println("Working Directory = " + System.getProperty("user.dir"));

 Properties prop = new Properties();
 InputStream input = null;

 try {
 	input = new FileInputStream("config.properties");

 	// load the properties file
 	prop.load(input);

 	// get the property value and print it out
 	HOST = prop.getProperty("host");
 	PORT = Integer.parseInt(prop.getProperty("port"));
 	username = prop.getProperty("username");
 	password = prop.getProperty("password");
 	batchSize = Integer.parseInt(prop.getProperty("batchsize"));
 	threadCount = Integer.parseInt(prop.getProperty("threads"));
 	docPath = prop.getProperty("contentpath");
 } catch (IOException ex) {
 	ex.printStackTrace();
 } finally {
 	if (input != null) {
 		try {
 			input.close();
 		} catch (IOException e) {
 			e.printStackTrace();
 		}
 	}
 }

 // Set up the connection to the MarkLogic cluster.
 // Client instances are designed for reuse. In a real application
 // you’d use something like dependency injection to manage this
 // externally and share it with other classes.
 marklogic = DatabaseClientFactory
   .newClient(HOST, PORT,
     new DatabaseClientFactory.DigestAuthContext(username, password)
   );

 // DataMovementManager is the core class for doing asynchronous jobs against
 // a MarkLogic cluster.
 final DataMovementManager manager = marklogic.newDataMovementManager();

 final WriteBatcher writer = createWriteBatcher(manager);
 final long startTime = System.nanoTime();

 // Start an asynchronous job with the above configuration.
 // Use the JobTicket to refer to this job later, for example
 // to track status.
 // This is a one-time job configuration
 final JobTicket ticket = manager.startJob(writer);

 AddContent(writer, docPath);

 // Normally, we'd write the batches asynchronously.
 //writer.flushAsync();

 // Override the default asynchronous behavior and make the current
 // thread wait for all documents to be written to MarkLogic.
 writer.flushAndWait();

 // Finalize the job by its unique handle generated in startJob() above.
 manager.stopJob(ticket);

 final long endTime = System.nanoTime() - startTime;
 System.out.format("Elapsed time to process: %f seconds %n", (endTime * 0.000000001));
}

private static WriteBatcher createWriteBatcher(DataMovementManager manager) {

 // In this case, we’re writing data in batches
 WriteBatcher myWriter = manager
   .newWriteBatcher()
   // Configure parallelization and memory tradeoffs
   .withJobName("SocialMedia Loader")
   .withBatchSize(batchSize)
   .withThreadCount(threadCount)
   // Configure listeners for asynchronous lifecycle events
   // Success:
   .onBatchSuccess(batch -> {
         System.out.format("batch # %s, so far: %s %n",batch.getJobBatchNumber(), batch.getJobWritesSoFar());
     })
   // Failure:
   .onBatchFailure((batch, throwable) -> throwable.printStackTrace());

 return myWriter;
}

private static void AddContent(WriteBatcher writer ) {
// add our docs to write to the database
// (★) Implementation that adds 10,000 synthetic JSON documents into a
// collection named 'raw'.
// In a real application you’d probably get JSON or XML documents
// from a message bus, another database, a web service, the file system,
// or any number of other I/O source available to Java.
final String[] statuses = { "active", "in-progress", "closed" };
final DocumentMetadataHandle meta = new DocumentMetadataHandle()
.withCollections("raw");
final int numDocs = 10000;
System.out.format("Total number of batches to process: %s %n", numDocs/batchSize);

 for (int i = 0; i < numDocs; i++) {
   final String id = UUID.randomUUID().toString();
   final String now = Instant.now().toString();
   final String status = statuses[new Random().nextInt(statuses.length)];
   // Call add() as many times as you need, even from multiple threads.
   writer.add("/" + id + ".json", meta,
       // Brain-dead example of creating JSON from a String
       // Use the Java Client API’s I/O adapters (i.e. *Handle) to formulate
       // JSON or XML documents from other sources.
       new StringHandle(
         "{ \"id\": \"" + id
         + "\",\n\"timestamp\": \"" + now
         + "\",\n\"status\": \"" + status + "\"}"
       ).withFormat(Format.JSON));
 }
}

private static void AddContent(WriteBatcher writer, String docPath ) {
// add our docs to write to the database
// (★) Implementation that adds documents from a given directory path into a
// collection named 'raw'.
// In a real application you’d probably get JSON or XML documents
// from a message bus, another database, a web service, the file system,
// or any number of other I/O source available to Java.
final DocumentMetadataHandle meta = new DocumentMetadataHandle()
.withCollections("raw");
if (docPath.isEmpty()) {
// no given path? just return.
return;
}
else {
try {
Files.walk(Paths.get(docPath))
.filter(Files::isRegularFile)
.forEach(p -> {
String uri = "/dmsdk/" + p.getFileName().toString();
// System.out.format("Filename URI: %s %n", uri);

 	                   FileHandle handle =
 	                       new FileHandle().with(p.toFile());
 	                   writer.add(uri, meta, handle);
 	                 });
 	} catch (IOException e) {
 	    e.printStackTrace();
 	}
 }
}
}

config.properties
host=localhost
port=8000
username=admin
password=admin
batchsize=50
threads=20
contentpath=/Users/ajohnson/Documents/MarkLogic/Curriculum/Released/FTP-Site/ML8/mls-developer-2/socialmedia/content/original

How did you build the jar file?  When I created a maven pom.xml to build it, I seem to do it successfully but then I get the following error:
com.sun.jersey.api.client.ClientHandlerException: A message body writer for Java class com.sun.jersey.multipart.MultiPart, and Java type class com.sun.jersey.multipart.MultiPart, and MIME media type multipart/mixed; boundary=Boundary_106_1495329943_1490648334564 was not found
pom.zip

Thanks for letting me know offline that you're building your jar with Eclipse Export... -> Runnable JAR file -> "Package required libraries into generated JAR" as the Library handling option.
It appears others have had similar slow-down with that option from this stackoverflow thread.  Sadly, they don't have an answer as to why it happens.  They just say the work-around is to either choose "Extract required libraries into generated jar" or "Copy required libraries into a sub-folder next to the generated JAR".
For me the "Extract required libraries into generated jar" option didn't work because Jersey couldn't find its handlers.  This stackoverflow thread says it's because the meta inf services files need to be merged.
But when I tried "Copy required libraries into a sub-folder next to the generated JAR" it worked like a charm.


Get rid of channel callbacks

We need function callbacks a few places, let's just do it everywhere for consistency

Closed by https://github.com/caseymrm/menuet/commit/937fd264a76e5b9de4565d6cdf64e6111e8c7d88


docs: remove module-metadata.json and commitlint.config.js

/run pipeline

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

GitHub release
v2.6.0

Your semantic-release bot :package::rocket:


If username is not all lowercase, it is able to send chat messages but cannot receive them.

For TwitchChatStream, if username has capital letters in it, the chatstream.twitch_receive_messages() doesn't ever return messages.
It is able to send messages, but not receive them.
Here is a simple example:
with TwitchChatStream(
      username=twitch_username,
      oauth=twitch_oauth,
      verbose=False) as chatstream:

  chatstream.join_channel('<my_lowercase_username>')
  print('connected to: ', chatstream.current_channel)

  chatstream.send_chat_message('Hello!')

  # The main loop to poll the chat.
  while True:
      received = chatstream.twitch_receive_messages()

      # process all the messages
      if received:
          print("received")

If twitch_username has capitals in it, the send succeeds but never receives messages, whereas if it's all lowercase, everything works. This even happens if i manually force join_channel to the lowercase named channel.

Thank you for noticing this, I thought I was going crazy when this didn't work.  One simple fix for this if it doesn't work, as in the color.py example, is to change line 42 to.
username = args.username.lower()
This way it no longer matters whether it's capital or not.  Seems strange that it has to be lowercase.

Haha yeah I was too! Spent a while pretty upset. :)
Oooh, yes, great idea, @RoboCD. That's a good fix. :)

@RoboCD Which line 42 are you talking about?

I've sent a PR for updating the example in the README

Merged!


Download Latest Vukuzenzele in all languages

Source https://www.vukuzenzele.gov.za/jul-2022-1st-edition
Download all languages

Put the pdf in the data/raw folder @Daniel-Ind

Downloaded and pushed to NewPaper branch.


remove obsolete Renovate configuration options

Based on the config migration PR that was opened on one of the internal repos.
I would also like to suggest that we have g-m-m set https://docs.renovatebot.com/configuration-options/#configmigration if the repo is under github.com/sapcc, to allow us to get notifications about these sorts of things more reliably.

coverage: 4.439%. remained the same
when pulling 48823109a17287ab698cbb803d8ef379f3e00719 on renovate-obsolete-options
into a45a85954323377ba5a3f931f4cdab228faaee0f on main.


Fixed nav with Overflow hidden causes sidenav to be cut off

+1.  You probably know this but this was not an issue in version 95.2.

yep.
On Thu, Feb 26, 2015 at 12:42 PM, Timothy Pfafman<EMAIL_ADDRESS>wrote:

+1. You probably know this but this was not an issue in version 95.2.
—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/757#issuecomment-76226247.

--
Doggy sends his greetings from Mars.

Fixed in  f841772a15984df753b79d55da16c478467fd83c


Content-Disposition filename gets garbled filename for Japanese Characters in Safari.

This code :
&HttpResponse.AddHeader(!"Content-Disposition", !'attachment;  filename=注文詳細.xlsx')
Gets garbled http download filename in Safari.
Change log:

We now use RFC5987 " Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters" for encoding filename attribute inside Content-Disposition Header. We fallback to the original method when somethig fails.
Safari does not support RFC5987 nor String encoded Filename atribute, so we disable encoding for this Browser until RFC5987 get supported.

Could GetEncodedContentDisposition be internal instead of public?

If I change to internal, UnitTest Project fails to compile. What do you suggest?

Could GetEncodedContentDisposition be internal instead of public?

If I change to internal, UnitTest Project fails to compile. What do you suggest?

Try adding
[assembly: InternalsVisibleTo("DotNetCoreUnitTest")]
to AssemblyInfo.cs of GxClasses.dll

@claudiamurialdo : This is ready to review. Thanks!


ClrVersion reports Visual Studio version instead of clr.dll version

Having made several memory dumps on the same machine in one run, the last memory dump, when reading it using Microsoft.Diagnostics.Runtime, reports version v12.0.52512.00, which seems to be the Visual Studio version, rather than the clr.dll version of the machine (4.0.30319.34209) (that all other memory dumps report)
My main issue here is that I cannot seem to find the exact place in code in CLRMD where the version number of clr.dll is actually parsed/read/extracted. So my issue is twofold:

Wrong clr.dll version is reported
Cannot find location in code where the version number is extracted

Sorry for not responding to this when you filed it.  I believe this issue should be fixed in more recent versions of ClrMD.  I'm happy to take a fresh look if you still see this reproduce on ClrMD 1.0.*.


Log locations received from Mapbox and how they change over time

I wrote this to help in the investigation of #377, but I think it'll come in useful in the future too so let’s keep it around. See commit messages for more details.

Putting this into draft until we hear back on https://github.com/mapbox-collab/Ably-DH-Collab/issues/16.

We don't need this at the moment. Closing.


fixed incorrect properties assignment in setTileScale method

This PR (delete as applicable)

Fixes a bug

Describe the changes below:
setTileScale method of the TileSprite game object now correctly set tileScale instead of tilePosition

👍


What is cacheCooldownSecounds definition?

Could I confirm that what is "cacheCooldownSecounds"  means?
e.g. $cacheCooldownSecounds = 300;

Is it that means that the every 300s that we could see that a new one cache dir in "storage/framework/cache/data/"?
Or
every 300s the cache model will clear the cache dir in "storage/framework/cache/data/"?

In my opinion, I prefer the second one because I see the stacktrace that I find that if the time execeed tha cooldownseconds that we will flush the data.
If there exists any misleading please let me know and correct it.
Thanks!

I have seen the definition of cacheCooldown in
#312
I think that I know the definition of cacheCooldownSeconds, and will close this issue


Add a license

@AndrewLister-STFC
Can you confirm if it's ok to use this license for the dummy version of JuliaHSL?

@amontoison I believe we favour a New-BSD (3-clause BSD) license by default but I will ask on Monday.

@jfowkes
What was decided during the HSL meeting?

@amontoison New BSD license please.


Populate ag context from EXIF

make upload easier

Nice idea... not sure about cost to benefit though.


status code: 400 returned does not cause build to fail

The following error isn't causeing the build job to fail, it's still completes with a status of successful.
Drone AWS ECS Plugin built at 2016-01-26 08:59:19 UTC
ServiceNotFoundException: Service not found.
status code: 400, request id: 8eacbfc6-cd58-11e5-8bb2-4558b2059ecf
As per bradrydzewski comment in gitter
bradrydzewski 09:01
it looks like this error is being triggered https://github.com/drone-plugins/drone-ecs/blob/master/main.go#L178
which does not result in an exit 1 but probably should
Cheers
Paul

this was a quick fix. added exit code 1 when this error is received. see https://github.com/drone-plugins/drone-ecs/commit/395f6872c0347508f8be5a99aa7c7ae2afb894cd

haha awesome thanks :-)


docs(guides): Add missing comment

I saw this line // Lodash, now imported by this script in the src/index.js of the Asset Management section but I didn't see it being added anywhere. This PR adds the comment to where it should be.

Thanks!


Entity Framwork Designer crashes VS 2019 Preview 4

From VS Feedback:
When I pull up an existing EDMX for editing, VS 2019 crashed as soon as I click into the designer. Everything works fine in VS 2017.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


In the Categories page Footer section not structured

In the Categories page Footer section not structured

issue already exists


Allow to (de)select certain ontologies for full display of classes, properties and instances

Currently one can have full listing of classed, properties and individuals in either all or none of the ontologies. Suggest the following options.

Allow to specify exactly what ontologies to list all concepts for, and none otherwise (e.g. only show pleoMain)
Allow to specify to specify that all  BUT specific ontologies will have their concepts listed.  E.g .shoe evertying but skos and gist.

What was the reason for closing?


XOR keyword bypasses atom quality checks

Although all three of the following rules match the same content and have comparable performance, the rule that XORs the letter A does not trigger the atom quality warning.
https://github.com/VirusTotal/yara/blob/master/libyara/parser.c#L736
rule exp_null
{
    strings:
        $null_20 = { 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 }
    condition:
        $null_20
}

rule exp_null_xor_space
{
    strings:
        $null_20 = { 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 } xor(0x20)
    condition:
        $null_20
}

rule exp_null_xor_A
{
    strings:
        $null_41 = { 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 } xor(0x41)
    condition:
        $null_41
}

$ time yara -r yara_00 test_dir 1>/dev/null
yara_00(4): warning: $null_20 in rule exp_null is slowing down scanning
real    0m0.322s
user    0m1.772s
sys     0m0.903s

$ time yara -r yara_20 test_dir 1>/dev/null
yara_20(4): warning: $null_20 in rule exp_null_xor_space is slowing down scanning
real    0m0.309s
user    0m1.846s
sys     0m0.793s

$ time yara -r yara_41 test_dir 1>/dev/null
real    0m0.306s
user    0m1.809s
sys     0m0.797s

The xor modifier isn't supported on hex strings, exp_null_xor_space and exp_null_xor_A don't compile far enough to get to the warning.

You're right. In an attempt to increase readability, I broke the xor rules.  When the last two rules are changed to strings, the warning only happens on the string with spaces, but they match the same content.
rule exp_null
{
    strings:
        $null_20 = { 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 }
    condition:
        $null_20
}

rule exp_null_xor_space
{
    strings:
        $null_20 = "                    " xor(0x20)
    condition:
        $null_20
}

rule exp_null_xor_A
{
    strings:
        $null_41 = "AAAAAAAAAAAAAAAAAAAA" xor(0x41)
    condition:
        $null_41
}

This is because I was never rechecking atom quality after generating the xor atoms. I've fixed it in the PR I just put up.


Duplicate declaration for core-js PropertyKey type alias

Core-js definition file defines a PropertyKey like the one in lib.es6.d.ts, now that this is in the main library, this is breaking the core-js compilation.
See https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/core-js/core-js.d.ts#L21
Possible fix, rename the type declaration to something else now, to avoid breaking changes with the next TS release.

Worth noting this also breaks with lib.es5.d.ts when using DefinitelyTyped/es6-shim, which I guess is a common pattern?

The fix is in; by moving the PropertyKey into es2015.core instead of having it in es5

@yuit @mhegazy thanks both. Confirmed fixed in 1.9.0-dev.20160406


python3Packages.pyopenssl: fix postPatch

Copy of commit msg
Add -i so that sed writes its output to the file.
Previously, the sed command was a no-op.`
Discussion
This patch is currently not needed because the cryptography version in
nixpkgs matches the requirements, but it might be useful in the future.
cc @SuperSandro2000

This PR rebuilds a lot of packages which means we must target staging. Please follow the contributing guide to not potentially ping a lot of people.

Thanks, done.


GraphiQlPresenter playground no working

Problem is in combination of quotes and plink escape in playground template

I released your hotfix in 1.4.1, thanks! @xstejskal


Permalink filters

Bestiary
Monsters
Runes
Artifacts

resolves #16

Updating the URL and then initializing the filters works great, but one problem I noticed with this approach is that the browser history is modified, but when using fwd/back buttons, nothing changes:

It might be better to use replaceState() instead of pushState() so the browser history isn't populated with many revs of filters, which avoids this problem and pressing the back button behaves the same as today.

For the bestiary filter specifically, the page parameter is included too. It works correctly, but I don't know if it's desired to include the page being viewed along with the filter set. I'll leave it up to you to decide.

Updating the URL and then initializing the filters works great, but one problem I noticed with this approach is that the browser history is modified, but when using fwd/back buttons, nothing changes

I've changed that to replaceState. I could also implement event listener to reload content, but not changing back behaviour is probably the best option.

For the bestiary filter specifically, the page parameter is included too. It works correctly, but I don't know if it's desired to include the page being viewed along with the filter set. I'll leave it up to you to decide.

It's needed so you can change pages. I mean, of course, I can delete it dynamically from URL (the same I do with apply parameter) after fetching data, but then whenever you refresh the browser, you go back to first page. I think there's nothing wrong with including it in params.

Although the values are being filtered according to the URL params, the sliders aren't updating correctly. Looks like they are being told to update before they're actually init by their own library:

Although the values are being filtered according to the URL params, the sliders aren't updating correctly. Looks like they are being told to update before they're actually init by their own library:

Which file is this? I didn't see that in Runes, Artifacts & Monsters so I guess Bestiary? It's quite different than the others, I'm using params to filter form before any JS init, not int document.ready as in other files. I'll check that and try to work around initial Bestiary data load.

Correct it was in bestiary

I've changed the way Bestiary loads. Previously when you changed page to Bestiary, you would get records quite fast but with all graphics loading one by one. Right now, it's pretty similar (if not the same) as for Profile monsters, runes & artifacts pages. Data starts downloading after whole page is ready to show - which means Sliders are already initialized.
I could just add data download from filters after initial Bestiary load, but it would mean double database hits.


Vuetify v1.3.0 Release

What's new in this one
Check this out https://github.com/vuetifyjs/vuetify/releases

closing in favor of https://github.com/nuxt/create-nuxt-app/pull/123


Duplicate Labels

I have custom form template components that use a label.
I recently updated Formly, and now I'm seeing 2 labels sometimes. In one project, it has duplicated the labels on my Textbox and Textarea components. In another project, it duplicated the labels of the checkbox and Dropdown components.
Both projects use the same component library versions and formly versions.
Here's an example of the Textbox component HTML

  {{ to.label }}
  <input
    [type]="to.type ? to.type : 'text'"
    [min]="to.min ? to.min : 0"
    [max]="to.max"
    autocomplete="off"
    class="{{ !!formControl.value ? 'p-filled' : '' }}"
    [id]="field.id"
    [name]="field.id"
    [placeholder]="to.placeholder"
    [disabled]="to.disabled"
    [minlength]="to.minlength"
    [maxlength]="to.maxlength"
    [readonly]="to.readonly"
    [required]="to.required"
    pInputText
    [formControl]="formControl"
    [formlyAttributes]="field"
  />

{{ to.description }}

Could you please check if the issue is related to https://github.com/ngx-formly/ngx-formly/issues/3515 ?

Could you please check if the issue is related to #3515 ?

I don't think it has any relation.

I see, I think we may need a reproduction in order to investigate further.
Could you please provide a reproduction using our stackblitz starter example:
https://stackblitz.com/edit/ngx-formly-ui-bootstrap
Thanks!

I see, I think we may need a reproduction in order to investigate further. Could you please provide a reproduction using our stackblitz starter example: https://stackblitz.com/edit/ngx-formly-ui-bootstrap
Thanks!

How do you edit dependencies?
I can delete some but others it won't allow me to. I'm not sure if I have to add them individually?
I tried editing the package.json but I don't know if they have a command line available?

How do you edit dependencies?

Re-enter the package name and specify the version with @, for example<EMAIL_ADDRESS>

I tried editing the package.json but I don't know if they have a command line available?

edit package.json, save and reload page

How do you edit dependencies?

Re-enter the package name and specify the version with @, for example<EMAIL_ADDRESS>

I tried editing the package.json but I don't know if they have a command line available?

edit package.json, save and reload page

Thanks,
I'll try to setup a reproduction shortly when I have a little extra time.
I did notice today, the same issue is applying to validation messages as well. I have a "required" validation message set. Whever the duplicated labels show is where the validation message shows.
Both the validation messages and formly generated label only seem to appear when the form item gets wrapped by  in the DOM. For some reason, it's not always being applied.

Not sure how to resolve the current error. Tried turning off strictTemplating but it didn't work.

+ import { FieldTypeConfig } from '@ngx-formly/core';

@Component({})
- export class CustomFieldType extends FieldType {
+ export class CustomFieldType extends FieldType<FieldTypeConfig> {
}

I'm having some issues correctly setting up the Reproduction, but this should be pretty close:
stackblitz.com/edit/ngx-formly-ui-bootstrap-qnxtcg?file=src/app/app.component.ts

If you define label inside field type template then you don't have to extends input (which use form-field wrapper that provide label / validation message).

Solution 1:

remove extends or wrappers:
        {
          name: 'textbox',
          component: FormlyTextboxComponent,
-         extends: 'input',
-         wrappers: ['form-field'],
        },

Solution 2:

Remove label inside your custom type and rely on  form-field wrapper


Hide Hi Res Sliders by default issue #59

Hello, here's a proposed PR for issue #59

Hi @adunato, thank you so much for your interest in the project!
Unfortunately, this feature has been added to our development branch #56.
That said, we would love to have you join our small dev team!
Let me know if you're interested in becoming a part of the project.

Hey @AbdullahAlfaraj , that's good to hear. I would love to join you, I'm not super active but I'd be glad to help where I can.

this feature already exists in dev branch #59


Poke hunter lockon

Short Description:
In a Pokemon littered place (London, or where ever) the Pokemon Hunter sometimes doesn't get to a needed Pokemon, because there are all kind of trash pokemon (compaired to the missing one you're hunting) and the bot will catch those first.
Normally this isn't a problem. But because hunting is safer then sniping (no teleporting, just walking to a Pokemon) and I hope to catch those rares better.
Default setting is false (don't "Lock on") and when enabled the bot will notify you when skipping a Pokemon because of the lock on :smile:

👍

I just updated my working bot and now I'm getting this error message:
AttributeError: 'PokemonGoBot' object has no attribute 'hunter_locked_target'

I got this message, too.
[2017-02-07 15:16:31] [sentry.errors.uncaught] [ERROR] [u"AttributeError: 'PokemonGoBot' object has no attribute 'hunter_locked_target'", u'  File "pokecli.py", line 865, in ', u'  File "pokecli.py", line 206, in main', u'  File "pokemongo_bot/init.py", line 778, in tick', u'  File "pokemongo_bot/cell_workers/catch_pokemon.py", line 55, in work']

I'm sorry you're encountering this error message. Can one of you supply your config (pastebin) so I can troubleshoot this error?
I think it has to do with the order of the tasks (shouldn't be a problem, but maybe it is.)

Here's a pastebin for my config. It's just a tweak and cleanup from config.json.example.

Just like I thought; the solution is in #5904 Hope it will get merged soon.


[WIP] ACNA-290 add User-Agent flag, and use it in calls to ow

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Branch has conflicts.
Also Openwhisk repo has renamed itself. The release that contains the fix you want is the next release, 3.20.0. The current is 3.19.0
https://github.com/apache/openwhisk-client-js/releases

Close this because of #41?

it will be auto-closed when the other is merged ...


Support 3.5.0

Need to support connections to 3.5.0 server. Think this entails -

[x] Adding 3.5 client libraries to the Jadeite release.
[x]  Supporting 3.5 logins in the Jadeite login dialog.

Fixed in <IP_ADDRESS> https://github.com/GemTalk/Jadeite/commit/35e6d49b69c24a25924d66c5bcd5ac450e2d9f5b


Cannot map pointers to Il2CppMethodDefinitions

ARM64, unity is 2020.3.48f1 (metadata v27.1)
Log:
[Info] [Library] Initialized Binary in 276ms
[Info] [Library] Mapping pointers to Il2CppMethodDefinitions...

Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL!
 ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at LibCpp2IL.Il2CppBinary.GetMethodPointer(Int32, Int32, Int32, UInt32) in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/Il2CppBinary.cs:line 430
   at LibCpp2IL.Metadata.Il2CppMethodDefinition.get_MethodPointer() in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/Metadata/Il2CppMethodDefinition.cs:line 72
   at LibCpp2IL.LibCpp2IlMain.<>c.<Initialize>b__19_0(Il2CppMethodDefinition) in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/LibCpp2IlMain.cs:line 173
   at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
   at LibCpp2IL.LibCpp2IlMain.Initialize(Byte[], Byte[], UnityVersion) in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/LibCpp2IlMain.cs:line 173
   at LibCpp2IL.LibCpp2IlMain.LoadFromFile(String, String, UnityVersion) in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/LibCpp2IlMain.cs:line 202
   at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String, String, UnityVersion, Boolean ) in /_/Cpp2IL.Core/Cpp2IlApi.cs:line 66
   --- End of inner exception stack trace ---
   at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String, String, UnityVersion, Boolean ) in /_/Cpp2IL.Core/Cpp2IlApi.cs:line 72
   at Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs) in /home/runner/work/Cpp2IL/Cpp2IL/Cpp2IL/Program.cs:line 588
   at Cpp2IL.Program.Main(String[] args) in /home/runner/work/Cpp2IL/Cpp2IL/Cpp2IL/Program.cs:line 526

It looks like https://github.com/SamboyCoding/Cpp2IL/issues/305 but here it reached a bit more progress

Can't really do anything with this information. Which game?

Alright, I'm pretty sure I can (sorry gonna sleep rn)
cmdline: Cpp2IL --force-binary-path=libil2cpp.so --force-metadata-path=global-metadata.dat --force-unity-version=2020.3.48f1 --verbose
binary & metadata (REMOVE .zip suffix, it's actually .7z archive):
files.7z.zip


QnA Maker - Support for password protected websites

The Microsoft Bot Framework team prefers that "How To" questions be submitted on Stack Overflow. The official Bot Framework GitHub repository  is the preferred platform for submitting bug fixes and feature requests.
Bot Info

SDK Platform: https://www.qnamaker.ai/
SDK Version: https://www.qnamaker.ai/
Active Channels: https://www.qnamaker.ai/
Deployment Environment: Azure Bot Service

Issue Description
Trying to create a Chat Bot from QnA Maker - https://www.qnamaker.ai/Create.
FAQ is hosted on extranet but website is protected with username / password (Basic Authentication).
Creation of bot fails with;
Failed to extract QnAs from the source "Website Name" - Unsupported / Invalid url(s). Failed to extract Q&A from the source.
Code Example
N/A - bot is auto generated.
Reproduction Steps

Point bot to FAQ using - https://www.qnamaker.ai/Create

Expected Behavior
URL with access to chat bot of be created
Actual Results
Failed to extract QnAs from the source "Website Name" - Unsupported / Invalid url(s). Failed to extract Q&A from the source

Unfortunately, data protected behind a login is not supported for QnA Maker. I recommend downloading the content manually and uploading that to your app.


Added Romblon State University

@wakin Thank you for your patience while waiting for a review and processing your request. Pull request merged.


[Feature request] Ability to merge different datasets

It would be nice to have the ability to merge particles or imports during the projects workflow.
For example, we have 2 datasets of lamellaes from the same types samples collected at different times. We cannot merge the data before import since they have different gain references.

For merging datasets, there is a related issue on the main discussions page.


Fix cursor when pasting text with tabs

When pasting text with tab characters this happens:

If you call
aWhere.mColumn = GetCharacterColumn(aWhere.mLine, cindex);
instead of addint mTabSize to mColumn, it will work even if there are non-tab characters after the last tab.

Done!


[WIP] TF2 porting

This PR is for porting Ludwig to TF2

@jimthompson5802 This is a starting point. There are many things that still don't work and that needs to be changed. Moreover I removed some functionalities because they don't mix well between TF1 and TF2, in particular: the FileWriter to save statistics, the regularizers and the saver to save weights. You can find a bunch of todo tf2 comments, to differentiate from other todos that were already there.

Got it...one question on mechanics.   Up to now, I've usually created the branch and PR and pushed to commits to the branch I created.  This is the first time, I'm going to contribute to a branch created by someone else.   Based on what I know about GitHub, I believe we'll interact in this manner:

I'm assuming any commits I make must be worked through my fork jimthompson5802/ludwig.
I need to create a tt2_porting  tracking branch in my fork and local repo.
I'll create feature branch off of tf2_porting for each set of changes and push commits to my fork.
I'll then create a pull request to merge from my feature branch to the tf2_porting branch.

Is this the procedure I should follow?

In reading GitHub.com docs it appears that if I have 'write' access to uber/ludwig, I can push commits directly to this repo.
Just let me know how I should submit my commits:  push directly to uber/ludwig or work through my fork jimthompson5802/ludwig with a pull request.
I've successfully created the tf2_porting branch in my local repo and I'll start reviewing the TODO items.

I've looked at the TODO list and I wanted to confirm my understanding.
In an earlier exchange

.1. Change all the imports to compat.v1 and try to run to TF2. If that works fine (as it should), then we can change the dependency to be TF2 and forget about TF1. The caveat here is that come thing, in particular the contrib package, have been moved out of TF into the TF addons package, so there could be things that don't work immediately out of the box

I think we are in this phase of the work.
I see you've already incorporated the compat.v1, i.e,.
import tensorflow.compat.v1 as tf

In theory Ludwig should work in TF2 with the above change.  However, errors occurred.  This led marking TF2 specific TODOs like this in model.py, such as this
        # todo tf2: fix this
        # summary = tf.Summary(value=summaries)
        # train_writer.add_summary(summary, step)

I'm testing changes using the pytest unit tests.  When I run the pytest tests in a TF2 Docker container I see many errors, some tied to the code fragments marked with the TODO tf2 marker.
I believe my focus is to get a clean run in pytest with the import tensorflow.compat.v1 as tf construct in TF2.
Is this a correct understanding?

FYI:  take a look, please. It's auto upgrade to TF2. It will not work from the box, but it's a good example how to update Ludwig scripts.
https://www.tensorflow.org/guide/upgrade
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/compatibility/tf_upgrade_v2.py

A few answers:

work on your fork, if you are unable to push to this pr, it's fine, I can delete this PR and you can create a new one, and I can push to that PR.
yes the todos are things I removed to make it work in one specific usecase (nlu example) although it still doesn't work fine, at least it get to the end of training and prediction. So those todo are thing one would want to bring back, but are by no means the only broken things.
Yes ideally all tests pass and then we can re-add the things I removed (filewriter and regularizers)
regarding @ifokeev 's suggestion: I'm pretty sure the automatic porting will not work great, but it's worth trying. The process they suggest is a bit different from what we were sketching, but it can be worth trying to follow it instead. What do you think @jimthompson5802 ?

re: the documents pointed out by @ifokeev I understand porting to TF2 is basically a two step process:
Step 1...while in TF1 implement where applicable the compatibility apis tf.compat.v1.
Step 2...in TF2 convert the tf.compat.v1 apis to the native version and recode the apis that were not compatible to the native TF2 api equivalent functions.
In looking at the code base, it looks like Step 1 has already been done. So the focus on the current work is on Step 2.  If this is the case, then I think we're pass the state where the tf_upgrade_v2 could be useful.


Unable to get cloud watch metrics

I have a very simple setup -
Ec2 with golang version 1.13.3
yace version 0.14.5-alpha
config.yml :
discovery:
exportedTagsOnMetrics:
ec2:
- Name
ebs:
- VolumeId
jobs:

region: us-east-1
type: "ec2"
searchTags:

key: Name
value: .*
metrics:
name: CPUUtilization
statistics:

'Average'
period: 60
length: 600
nilToZero: true

name: NetworkIn
statistics:

'Sum'
period: 60
length: 600
nilToZero: true

name: StatusCheckFailed
statistics:

'Sum'
period: 60
length: 600
nilToZero: true

I have enabled the IAM roles with required policies mentioned in the readme document and have tested for aws cli commands to list-metrics and get-metric-statistics and they work fine.
Even after enabling debug, I just see only these 2 lines in the logs
2019/10/30 20:49:17 Parse config..
2019/10/30 20:49:17 Startup completed
and curl to metrics end-point gives
HELP yace_cloudwatch_requests_total Help is not implemented yet.
TYPE yace_cloudwatch_requests_total counter
yace_cloudwatch_requests_total 0
Could you help me with enabling proper debugging and suggesting what I'm missing here? Thanks

@thomaspeitz  Could you please help me out here.. I tried several versions and passing roleArn with no luck

@anoopts - Hey sorry currently moved into a new flat and not much support time for the project.
I am afraid that you wrote key and value instead of Key and Value is the problem. We should fix this. Yaml keys should start with lower case letters. Could you try this out please?
As there is no errors, i think permissions are working but the scraper just does not search anything.

@thomaspeitz Thanks! really didn't know it was case sensitive.

Aweomse. Closing the issue now :)


update documentation to provide more information about freeing functions

spaces fixed!

Looks good. Hope to continue improving the docs. Thanks @teras!


⚠ Processors has degraded performance

In fb4ef60, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 48 ms

Resolved: Processors performance has improved in ff24aa8.


AwS adapter not found

Hi
I just recently got this error
Class 'League\Flysystem\Adapter\AwsS3' not found in /var/www/html/production/project/app/vendor/heybigname/backup-manager/src/Filesystems/Awss3Filesystem.php on line 34

Yeh, this class was renamed to League\Flysystem\AwsS3v2\AwsS3Adapter.

@GrahamCampbell  so how do we fix it manually editing the package?

By sending a pull request. :P

The newest version 0.3.10 resolves this.


twister: gdbstub: Add GDBStub harness and tests

Introduce optional debug harness at Twister TestSuite to allow two simultaneous data streams from a test application:
in addition to the test application log the test suite is also able to check another output stream from debugging session which runs with the test.
The Gdbstub Console Harness is implemented to work with GDB Stub Serial backend: Twister starts another process with GDB running a script to connect to the test application and take control over its execution expecting results aligned with the test case.
Add GDBstub over serial test suite.
Add GDBSTUB_TRACE config option to extend GDB backend logging for remote commands received and to debug the GDB stub itself  when needed.
Fix the Twister Console harness ordered 'multi_line' and 'one_line' pattern matching to treat the test as failed if not all the given patterns were found in the console output even if the test application itself returns success.

Can you check PR #63061 ?
Maybe could be easier to use pytest instead of adding new harness to twister?

Can you check PR #63061 ? Maybe could be easier to use pytest instead of adding new harness to twister?

@gchwier
with the proposed Twister  debug harness is it possible to extend any twister test with additional GDB control flow using the same yaml syntax for test cases. This feature can be used to automate investigations e.g. of test cases with 'random' errors.
The pytest plugin with gdbstub  is useful for sure with pytest-oriented test collections or to automate some complex non-linear debugging scenario. I'm going to extend #63061 sample as well and compare its performance on bulk CI executions.

@nashif, this proposal is to to extend debug capabilities while testing to investigate difficult issues while running tests on CI ('at scale').
It is currently related to the GDBstub Zephyr software backend, but the same 'debug harness' can be used with other debug agents.
It doesn't depend on pytest plugin for simplicity and to allow any existent test to be debugged if needed.
For example, if we have some test for HW sensors which sometimes/rarely fails and it is difficult to catch manually why.
We can quite simply add debug harness definition to that test and to collect more low level data while the test application runs almost as usual, at certain GDB watchpoints, without changing the application itself, just with GDB script and few optional regexp patterns to check the gdb script itself works properly.
Another related use case is to quickly implement a mock, e.g. for a sensor.
These use cases will reuse what developer has done to investigate a problem manually with gdb. It does not require someone to develop a new python test for that.
An interactive test is also possible to implement this way, as a GDB script with some if/else logic, but it is not a main purpose for this feature extension.


Huge FPS difference between magic light on bevy 0.13 vs 0.14.1

All else being equal, I'm seeing significant differences in my benchmarks with bevy 0.13 vs 0.14. In my benchmarks, with marginal differences in implementation between 0.13 and 0.14.1, my FPS goes from 165-80 (depending on zoom) on 0.13 to around 40 (irregardless of zoom) on 0.14.1. This seems partly to be regressions in 0.14.1 (as I've told, to allow to future greater optimizations in future bevy versions), but due to the magnitude of difference it appears that something changed with 0.14.1 that is having an exceptional impact in regards to magic light's performance.

Accidentally the frustrum culling was disabled in our efforts to update to bevy 0.14. I've reenabled the frustrum culling in #68 and we should be back on the previous performance


[improvement](jdbc catalog) Optimize connection pool parameter settings

Proposed changes
Issue Number: close #xxx
This PR makes the following changes to the connection pool of JDBC Catalog

Set the maximum connection survival time, the default is 30 minutes

Moreover, one-half of the maximum survival time is the recyclable time,
One-tenth is the check interval for recycling connections

Keepalive only takes effect on the connection pool on BE, and will be activated based on one-fifth of the maximum survival time.
The maximum number of existing connections is changed from 100 to 10
Add the connection cache recycling thread on BE, and add a parameter to control the recycling time, the default is 28800 (8 hours)
Add CatalogID to the key of the connection pool cache to achieve better isolation

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


[FLINK-21822][table] Support the new factory stack for CatalogFactory

What is the purpose of the change
Support the newer factory stack based on Factory for CatalogFactory. This still supports the old TableFactory stack as well, but deprecates it, for renewal in a later version.

[x] Migrate the built-in catalog factories (GenericInMemory, Hive, JDBC)
[x] Migrate catalogs used in tests (SimpleCatalogFactory, 2 * TestCatalogFactory, TestHiveCatalogFactory, TestClassLoaderCatalogFactory)
[x] Docs

Brief change log

CatalogFactory extends both TableFactory and Factory with default implementations for compatibility.
CatalogFactory#createCatalog(String, Map) is deprecated.

Verifying this change
This change added tests and can be verified as follows:

CatalogITCase has an existing test for a custom user-defined catalog factory using the legacy stack
CatalogITCase has been extended by another test using the new stack

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? docs (tbd) + JavaDocs

Thanks @twalthr. I've updated the PR and will continue with the remaining things to do as well.

I don't think the one remaining failure has anything to do with this PR:

This task has failed 49 times across 534 pipeline runs in the last 14 days.


ident_func when running within gunicorn+gaiohttp

LocalManager.ident_func should be set to asyncio.Task.current_task when running under gunicorn+gaiohttp.
Currently if we're running with gaiohttp the LocalManager don't mixes the context of different tasks :(
Have no idea how to properly implement the detection if we're running under eventlet (under python3) or asyncio, just hacked my own greenlet module which returns the proper task id.

the default is only aware of greenlets/threads, its unclear how to deal with something more complex
LocalManager can be given a custom ident function in the constructor, but its unclear how to determine the deployment situation

Maybe we can combine all available task identifiers?
Something like that:
identifiers = []

try:
    from greenlet import getcurrent
    identifiers.append(getcurrent)
except ImportError:
    pass

try:
    from thread import get_ident
    identifiers.append(get_ident)
except ImportError:
    pass

try:
    from asyncio.Task import current_task
    identifiers.append(current_task)
except ImportError:
    pass

def identifier():
    return "".join([str(i()) for i in identifiers])

I don't like the performance implications of that.
I suppose if e.g. greenlet.getcurrent raises an exception if greenlet is not used, we could pop it from identifiers, and that could improve performance a bit again, but there's still some penalty left.

I wonder if we could use threading.active_count to determine whether to disable the usage of threading.get_ident, and if the other libs support something similar.

Similar thing can be achieved by using asyncio.get_event_loop().is_running() on asyncio.

Any chances to get that one resolved somehow?
We can determine which eventloop is used just once at the startup, that won't cause any performance issues.

Rolling this into #1322


Too many files open fatal error with Guzzle

Server side issue

Please confirm the following:

[x] I have read the README entirely
[X] I have verified in the issues that my problem hasn't already been resolved

Setup
While sending out notifications, I keep on getting the following fatal error about too many files open on Guzzle. According to this issue on Guzzle, it has to do with the way Guzzle does curls and keeps them open.
It usually does this error around the 1500th notification sent out.
Sending out notifications works just fine initially until this error stops the process completely.

Warning: include(/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php): failed to open stream: Too many open files in /vendor/composer/ClassLoader.php on line 440
Warning: include(): Failed opening '/vendor/composer/../guzzlehttp/guzzle/src/Exception/ConnectException.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /vendor/composer/ClassLoader.php on line 440
Fatal error: Uncaught Error: Class 'GuzzleHttp\Exception\ConnectException' not found in /vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186 Stack trace:
#0 /vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 /vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlMultiHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 /vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(179): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlMultiHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#3 /vendor/guzzlehttp/guzzle/src/H in /vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 186

Operating System: Linux
PHP Version: 7.1
web-push-php Version: 4.0 | Latest, just installed Friday 11/08/2017

Please check that you have installed and enabled these PHP extensions :

[x] gmp
[x] mbstring
[x] curl
[x] openssl

Please select any browsers that you are experiencing problems with:

Not browser related
Features Used

[X] VAPID Support
[X] GCM API Key
[X] Sending with Payload

Anyone else run into this or can help stop it?
Thank you in advance for your help.

Hi,
I send thousands of webpush in a day for 1 years using this library. And I haven't seen this kind of problem yet. flush method has a BatchSize property. (  WebPush->flush(250); ) you can try to set BatchSize if you haven't set it yet. I set batchSize to 250. And when I increase it to 500 some strange things happening :)
Try to start with a low number and increase it slowly. So you should find the optimum number for batchSize.

Hi @ozgurhangisi thank you for your response. I am sending batches of 150. I changed it to 50 to see if that works better. It ran further along to about 2,800 subscriptions but it then crashed again.
This is so weird.

I don't think It's related with the library. So probably something wrong in your environment. Can you provide more information about the environment  you use ? Web Server, PHP Cli or web etc...
Also you can check https://www.cyberciti.biz/faq/php-5-7-fpm-set-open-file-descriptor-limit-on-linux-unix/

Hi @ozgurhangisi I talked with my server administrator and we're going to increase the setting to see if that works better. I think it isn't an issue with this library. It's more of an issue with how Guzzle writes responses to temporary files and the amount of file handles that are opened running Guzzle.

i am also getting same error after 1000 request. any help here?

Hello, as @ozgurhangisi pointed out, this is likely due to a problem of configuration of your environment. You can try setting batchSize in order to circumvent the issue.


Adds math opcodes

These changes print out math opcodes that take 2 inputs and push its result to the top of the stack. The list of operators and appropriate typing can be found in math2.ts. I found that it was a cleaner diff to break the switch pattern being used in opcodes/index.ts but I am willing to use it if required. I plan to add the 3 input opcodes as well. Happy to do these changes in pieces if desired.

I think the main thing to discuss is the coerceMathOperations variable. currently i am hard coding it. however, this could be turned into some sort of strategy configuration from the user. I am thinking about the following for this input:

HEX: show all numbers as hex data
LOWEST: get all of the matching permutations in checkOperation2, sort by the deviation from zero, preferencing non negative numbers, use the lowest one
some other strategy

any thoughts @zemse ?

Sorry for the delay, I'll try to review this sooner.


Webpack Migration Tracking Issue

This is a tracking issue for the migration to webpack.
Bundles to migrate

[x] activity
[x] katex
[x] translations
[x] api
[x] zxcvbn
[x] landing-page
[ ] signup
[ ] stats
[ ] sockjs
[ ] common
[ ] app

@zulipbot label "help wanted" "area:tooling" "enhancement"

@zulipbot label "area: tooling"

@HarshitOnGitHub, now that the latest pull request is merged. I think the next three bundles to migrate are sockjs, signup, and stats. Are you interested in tackling one of those?

@pweaver Sure! Working on migrating sockjs. :)

@zulipbot claim

See
https://chat.zulip.org/#narrow/stream/backend/topic/webpack.20migration

It's app.js left at this point, right?

@timabbott sockjs is also left, I think it has ticked by mistake. I was working on migrating it but found that we have patched it so did not migrated.

Why is our having patched it a problem for migrating?  static/third/ should be accessible to webpack, right?

The existing one can't be used. I will need to replace the existing one with a minified version and then use script-loader to load it.

Specifically there are a couple of issues going on here.

It would be nice if the copy of sockjs used was unmodified from the node package so we could distribute without compiling. Not totally necessary, but it reduces compilation time and dependencies in static/third.
The sockjs bundle currently isn't used by the app at all. sockjs is used in the app bundle and the tornado code uses the sockjs library but that piece of code currently pulls the unminified version and doesn't use the bundle.

Gonna label this inactive since it's a tracking issue

Closing, since we finished our webpack migration last year.

sockjs still has not been migrated (#11250) or otherwise disposed of (#12862).

Yeah, but I think our plan for SockJS is to dispose of it.


Puppet Plans are not parsed correctly

What Versions are you running?
Editor Name and Version: VS Code 1.33.1
Extension: 0.18.0
PDK: 1.10.0 (using embedded Puppet from this)
Puppet: 6.4.0
Document: (Include the whole document)
plan upgrade_pe::enable_lb(
  TargetSpec $load_balancers,
) {
  $_load_balancers = $load_balancers.split(',')
  $cms = run_task('upgrade_pe::enable_lb', $_load_balancers, _catch_errors => true)
  $cms.each |$result| {
    if $result.ok {
      notice("${result.target.name} completed:\n${result.message}")
    } else {
      notice("${result.target.name} errored with message:\n${result.error}")
    }
  }
}

What You Are Seeing?
Lots of red that shouldn't be there

What is Expected?
No red when code is correct.
How Did You Get This To Happen? (Steps to Reproduce)
Open any plan with a TargetSpec defined

As discussed in chat, the crux of the issue here is that we rely on the Puppet Plan folder structure conventions (all plans in a top level plans directory) and metadata.json being present (i.e. that this is a module) defined by the Puppet Plans docs to detect we need to enable the Puppet Plans parser. If that is not the case, we don't enable the parser

Based on above, I think an addition needs to be made for the plans directory being part of a Bolt project as defined at https://puppet.com/docs/bolt/latest/bolt_project_directories.html
The project pictured above corresponds to "Embedded project directory" in the linked docs:
project/ <----------------- this is the folder opened in VS Code
├── Boltdir  <------------- this is the Boltdir in the image above
│   ├── Puppetfile
│   ├── bolt.yaml
│   ├── data
│   │   └── common.yaml
│   ├── inventory.yaml
│   └── site-modules <----- this corresponds to my "site" folder but could have any name
│       └── project <------ this corresponds to my "upgrade_pe" module directory
│           ├── manifests
│           │   └── my_class.pp
│           ├── plans
│           │   ├── deploy.pp
│           │   └── diagnose.pp
│           └── tasks
│               ├── init.json
│               └── init.py
├── src #non Bolt source code for the project
└── tests #non Bolt tests for the project

Note that Bolt projects do not need a metadata.json. I am not sure how you would detect the "Local project directory" version from the docs but the embedded one could key off of the presence of a folder name Boltdir. When that folder is found it could be assumed that any folder named plans  with two folders between it and the Boltdir contains Puppet Plans.

FWIW, this was our original source: https://puppet.com/docs/bolt/latest/writing_plans.html#concept-4485. Apparently things have changed

That does explain a bit :)


How to specify a timestamp server

The utility supports a timestamp parameter, but it's not clear how to specify it in the git configuration so that it's used.
How do we specify the timestamp server to use?

There is no way to tell Git what arguments to pass to smimesign. You have two options for making smimesign use a timestamp server when used with Git. The first would be to create a shell script that wraps smimesign and adds additional arguments. You would then tell Git to use this wrapper script for signing instead of having it call smimesign directly. The second option is to specify a default timestamp server when compiling smimesign.
https://github.com/github/smimesign/blob/6eb00388a354b0166bc291879cd8697d64193166/main.go#L20-L22
In the long run, I'd like to add a smimesign --install command that creates a wrapper script for the smimesign binary, installs it on the user's path, and configures Git to use it.

Would it be possible to have the tool check an environment variable?

That could be added if it were useful. Is there a way to get Git to set an environment variable based on the Git config, or would the idea be to have a variable that you set in your bash profile?

Where would that wrapper script go; would that directory be easily user-editable?

Also, does git ignore extra sections? You could potentially piggyback on the user's profile-wide gitconfig file and add a config section in it.

Where would that wrapper script go; would that directory be easily user-editable?

I'm not sure. Maybe running smimesign --install --include-certs=-3 --timestamp-authority= http://timestamp.digicert.com would create a ~/bin/smimesign-wrapped like
#!/bin/sh

smimesign --include-certs=-3 --timestamp-authority= http://timestamp.digicert.com "$@"

and then run git config --local gpg.program smimesign-wrapped. I'm not sure if there's a more appropriate directory.

Also, does git ignore extra sections? You could potentially piggyback on the user's profile-wide gitconfig file and add a config section in it.

Git should ignore extra sections. I can ask around to see how terrible this would be.

I think this is also relevant for gpg signed commits.
@henning-schild What do you think about it?

Definitely an issue for gpgsm too. It would be nice to be able to specify --include-certs for that tool also.

... sounds like something to fix upstream, not with wrappers...

Yeah. I agree that adding another Git config entry to specifying additional signing tool arguments would be ideal. I don't have time to work on this right now and have forgotten the Git syntax for emailing patches, unfortunately.

Let us stick to the topic. I think that git does not actually support RFC3161 timestamps, hence there will not be an argument to the gpg.XXX.program to use it. Whatever smimesign invents to make it work, the official git-supported tools (gpg and gpgsm) will not understand it. So i guess having that feature in just one non-official tool is not a good idea. In fact it should be marked as such.
The second thing --include-certs, i am not sure what that is supposed to do.

@henning-schild For gpgsm, do they ignore certificate validity periods? How do they assess valid signatures (or do they accept anything)? Is it worth having a discussion around having gpgsm support timestamps?

Like that config file could have a mapping of email addresses to thumbprints in case there's multiple email addresses with each having multiple matching certs available.

For verification whether a signature is valid, that should not matter at all. For signing you have to tell git which key to use. And if we are talking about trust, that is outside the scope of verification and could potentially be relevant for smimesign. Or it should be offloaded to the Windows/Mac key/cert store.
On Linux you keep your trust in your configuration of gpg(sm), but for git and its signingtool it is just about signature and authenticity.

@henning-schild For gpgsm, do they ignore certificate validity periods? How do they assess valid signatures (or do they accept anything)? Is it worth having a discussion around having gpgsm support timestamps?

I do not know, and i guess the following: Signature made with the cert within its period, should be valid forever, unless the cert gets revoked ... which might shorten the time or make all invalid. And gpgsm probably just takes the current time of the machine, so i guess one could create a valid signature with an expired ... revoked cert.

The inability to verify old signatures from expired GPG key or X.509 certificates is a huge deficiency of signing Git commits/tags currently.

The second thing --include-certs, i am not sure what that is supposed to do.

Gpgsm includes the entire certificate chain (except for the root) in each signature. This is about 5KB for my DigiCert certificate, but could easily be ten times that size when dealing with the US federal government's CAs. My understanding is that this added bloat is likely to cause significant performance issues for large repositories. If it can be assumed that verifiers know how to reconstruct the chain, it would be very beneficial to not include it in every signature.
More generally though, my point here was that user's might want to customize other aspects of Git signing by passing additional arguments to the signing tool.

And gpgsm probably just takes the current time of the machine, so i guess one could create a valid signature with an expired ... revoked cert.

Yes. This is a big problem for gpg and gpgsm.

I guess the whole timestamp story is again a story of trust and not of authenticity. You would not want to distrust a whole repo because the key of the maintainer got revoked some day, you would need to trust the (new) maintainer to not merge commits signed with the revoked key anymore.
So the easy answer is that it is outside the scope of the git signing-/verification-tool. And my gut feeling is that smimesign will get it wrong without involving git and gnupg upstream.

I would argue that it's about authenticity and that timestamps help verify that the key was used before it was expired or revoked. That should not need to be a manual process, relying on a maintainer to check that. Without a timestamp, how can you be sure of authenticity? IMO, timestamps have nothing to do with trust.
I agree though that this should be involving git upstream.

Smimesign isn't exactly reinventing the wheel. Timestamps are explicitly designed to work with CMS. See Appendix A of RFC3161.

@mastahyeti Agreed. I'm suggesting that the Git ecosystem needs to embrace timestamps all-up.

Bump, any movement here?
There's two issues:

It seems like the Git ecosystem needs to have a discussion around timestamps. This would affect both GPG and S/MIME as even with GPG, how would you know if a signed commit is valid if a key is revoked or expired? Local computer time is untrustworthy.
If there's a easy way to get it working with smimesign

No movement. Sorry. My current thinking is to have smimesign use the Git config for storing some options. That will take some effort to implement though. I can't make promises about when I'll get around to it. In the meantime, I'd recommend using a script that wraps smimesign as discussed above.

My attempts at that failed (to work correctly on Windows). If you could maybe provide that, it'd help. You can see my failed attempts here: https://github.com/onovotny/MSBuildSdkExtras/commits/test
The last one is when I finally built smimesign from source and specified the defaultTSA (which was painful since it also required GCC in the path, something to add to the readme...).
I couldn't figure out how to display the full signature with timestamp though; the GitHub UI doesn't show it either.

My attempts at that failed (to work correctly on Windows). If you could maybe provide that, it'd help. You can see my failed attempts here: https://github.com/onovotny/MSBuildSdkExtras/commits/test

I just created a wrapped.cmd file in a Windows VM with the following contets
@echo off
smimesign.exe --timestamp-authority http://timestamp.digicert.com %*

I put this file in a directory on my %PATH% and then did git config --global gpg.program wrapped.cmd. My commits are now signed with smimesign and include a timestamp.

I couldn't figure out how to display the full signature with timestamp though; the GitHub UI doesn't show the timestamp either.

Unfortunately, github.com support for timestamp verification is currently blocked on https://github.com/ruby/openssl/pull/204 😦

@mastahyeti Great to see the TSA functionality landed within ruby openssl!
I was thinking about the config ui for this, I think it should be git config --global gpg.x509.tsa http://timestamp.digicert.com
My ~/.gitconfig looks then like this:
[gpg "x509"]
	program = smimesign
	tsa = http://timestamp.digicert.com

@henning-schild Is there a best practice for optional configs or should e.g. tsa be added to the allowed configs with doc somehow?

As far as i know gpg(sm) does not support tsa and git does not either. So it would be a config key for smimesign, maybe better kept in a separate configfile.
I do not know whether "plugins" are allowed to define their own values and where those should go.

Other git-related tools may and do use their own variables. When inventing new variables for use in your own tool, make sure their names do not conflict with those that are used by Git itself and other popular tools, and describe them in your documentation.

The use of the config key gpg.x509.tsa is possible according to the git documentation, see https://git-scm.com/docs/git-config#_variables

@mastahyeti Simplify developers life by providing such an option recognized by smimesign would be cool. What do you think?

Yes. I'm definitely in favor of adding the ability to read a TSA option from the git config. I'd like to work on this as well as adding support to GitHub.com. Given other, competing priorities though, I haven't had a chance yet and I'm not sure when I will.


Allow branch creating or handle differently environment variables

I wanted to submit a PR from a fork as I can not create branches from develop or master (permission)
But as the tests require the environment files being parsed, the PR keeps failing as the encrypted environment files are not used.
Maybe get rid of the dependency of testing the API and use mock responses instead?
More information found here:
Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#Pull-Requests-and-Security-Restrictions

Hi
We had merged https://github.com/OpenSTFoundation/ost-sdk-php/pull/13 earlier this month which took care of running test cases used .env file.
However, we have made some changes to it and would release it with our upcoming release.


LED color depth documentation

We now ignore monochrome LEDs because we probably can't do much with them anyway, so meh. We can revisit that decision if we need to.

Merging, because this is basically just a documentation change now anyway - and an enum value change.


GUUI- Update request status and add dropdown for uwg review step

Description
This is an approach of modifying request status and adding a dropdown for assigning UWG members when workflow is in uwg review step. Please let me know your thoughts or if there are any changes needed.
This is a PR to support the GES DISC workflow, specifically to add a "Pending UWG review" in request status when workflow reaches to uwg review step. It also adds a dropdown to assign UWG members in request detail page. Dropdown to assign UWG members for review only appears when workflow is in uwg review step.
Note: Dropdown does not have any option at the moment currently working on it with assigning reviewers from the dropdown UI change.
Spec
See Ticket:https://bugs.earthdata.nasa.gov/browse/GUUI-3334
https://bugs.earthdata.nasa.gov/browse/GUUI-3335

Validation

Make sure all merge request checks have passed (CI/CD).
Pull related branches locally.

Change Log
(copy/paste-able change log notes. check the box when the change is also in CHANGELOG.md)

[Add _____](link to commitid)
[Fix _____](link to commitid)

@KrupaRami @DavisGauntUAH Have the requested changes of this PR been resolved? Is this PR ready to be validated for merging?

I have pushed changes for GUUI-3338 and some of GUUI-3336. We are blocked on last step of GUUI-3336 for adding list of users by roles in assign UWG members dropdown. Once Edpub-1285 is done I will add that in!

@KrupaRami I've reached out in Slack as well, but  EDPUB-1285 is now merged into develop via this PR and can now be used to populate the dropdown.

Sounds good to me.. Just saw your message in slack. I will continue work on this!

All the requested changes along with changes from this tickets https://bugs.earthdata.nasa.gov/browse/GUUI-3336
https://bugs.earthdata.nasa.gov/browse/GUUI-3338 have been pushed in this PR.

Thanks @KrupaRami! I'll work on the validation Friday/next week.

The scope of this PR will be limited to the status label changes. The dashboard ability to assign a reviewer will instead be handled in https://github.com/eosdis-nasa/earthdata-pub-dashboard/pull/64


Columns on organizations and persons list are of wrong width

Columns on organizations and persons list are of unset width, causing the "Members" column to become the widest.
I have a local fix for this and will issue a PR.

Closing as done


Introduce Flaming Fir testnet

The Emberic Elm testnet should keep targeting Substrate v1.0. The Flaming Fir testnet will target Substrate master, where we can deploy and test the latest breaking changes. Since it's targeting master it will have occasional breakage that will require updating the client in order to sync.

The spec worked for me on a local deployment. It's the same spec used in Emberic Elm (generated from staging_testnet_config_genesis), with the authorities keys and sudo account updated.

It's live https://telemetry.polkadot.io/#/Flaming Fir


Arrow props of the tooltip are not supported with v4.5.0

Arrow props of the tooltip are not supported with v4.5.0

[ ] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
"arrow" props of the tooltip is not supported on the specific material version  v4.5.0
Expected Behavior 🤔
"arrow" props should be supported and arrowed tooltip should be rendered
Steps to Reproduce 🕹
https://codesandbox.io/s/material-demo-m5vco
Console Warning:
Warning: Received true for a non-boolean attribute arrow.
If you want to write it to the DOM, pass a string instead: arrow="true" or arrow={value.toString()}
I have using arrow as
arrow={1} or arrow={true.toString()}
any-means arrow indication for tooltip is not rendered
Context 🔦
Please note that this property is supported in the older and latest version
Your Environment 🌎

Tech
Version

Material-UI
v4.5.0

React
16.11.0

Tip: upgrade to the lastest version.

Unfortunately our project uses v4.5.0 because of some functional dependencies..
Is there a work around applicable ?

I would also encourage to use the documentation of the version you are using, it would avoid facing cases like this one.


Cannot deploy 'Microsoft.Devices/Iothubs/providers/diagnosticSettings@2017-05-01-preview'

Bicep version
Bicep CLI version 0.3.1 (d0f5c9b)
PSVersion: 5.1.19041.610
PS.Modules.Az: 5.6.0
Describe the bug

Using ARM templates generated from bicep 0.2 templates and New-AzResourceGroupDeployment we were able to deploy IoT Hub diagnostic settings via 'Microsoft.Devices/Iothubs/providers/diagnosticSettings@2017-05-01-preview'.
Using bicep 0.3 template and New-AzResourceGroupDeployment to deploy them directly does not work. It fails with
Warning BCP081: Resource type "Microsoft.Devices/Iothubs/providers/diagnosticSettings@2017-05-01-preview" does not have types available.

To Reproduce
Deploy resource of type "Microsoft.Devices/Iothubs/providers/diagnosticSettings@2017-05-01-preview"
Additional context
Question: Is there another / better way to set diagnosticSettings using bicep 0.3.1?

This is only a warning, so it should block deployment. That being said, there is a better way to do this with the scope property. In this case you would have something like:
resource iot 'microsoft.devices/iotHubs@2020-08-01' = { ... }

resource diag 'microsoft.insights/diagnosticSettings@2017-05-01-preview = {
  scope: iot
  ...
}

More info here: https://github.com/Azure/bicep/blob/main/docs/spec/resource-scopes.md#resource-scope-property

I've checked it my bicep file and it was my fault. Problem was having 'name' inside properties where it does not belong.
Also using the scope property makes everything much nicer. Thanks.


Fixed Spanish Description of Arc() function for the Reference in p5js.org website

Addresses #1225
Changes:

I changed the Spanish description of the arc() function (under 2D primitives category) in the reference for p5js.org, as it was previously half-English and half-Spanish.
As for my specific changes, I found that the English description of the function did not completely match the information found in the current Spanish description. Therefore, I proceeded to make a direct translation of the English description as the first paragraph of the new Spanish translation, and formatted the additional information found in the current Spanish description under it. I made the changes in this manner, to maintain the previous information that another contributor took the time to add to the description. Consequently, this resulted in a new description that is longer than the English version for arc(). (See Images below for reference)
Additionally, I made sure to highlight parameter names and provide the correct link for the ellipseMode() function, as it is hyperlinked in the current English description, but not the Spanish one.
@Guirdo and @limzykenneth , please let me know if this style of change aligns with how you would like the descriptions to be formatted (i.e. Doing a 1-to-1 translation of the English description and retaining additional information found in the current Spanish version after). In the meantime, I will continue to work on changes for the rest of the functions under the 2D primitives category. Hope this helps!
Screenshots of the change:

English arc() description

Current Spanish arc() description

New Spanish arc() Description

Thanks @OnexiMedina. I'm tagging the Spanish translation stewards to review the PR @Guirdo, @Andreu-G, @dnd-alv, @holomorfo

Looks good. Thanks!


Merged in <HorizontalBarChart>  based on recharts <BarChart> from earlier spike

Context
AB#201446 AB#201366
Change proposed in this pull request
Merged in previously developed horizontal bar chart from spike (AB#194946).
Guidance to review
New bar chart visible in front-end-components Vite dev server.
Checklist

[x] Work items have been linked (use AB#)
[x] Your code builds clean without any errors or warnings
[x] You have run all unit/integration tests and they pass
[x] Your branch has been rebased onto main
[x] You have tested by running locally

I assume removing ChartJs is to follow on?


License?

I'm an organiser of Hack the Burgh. Is there a license for this repo, there's a couple cool things here I'm interested in adapting.

Hi Qais, we’ve just licensed our repo under the MIT license.  Let us know if you make any cool stuff with it!

Yay! Lovely <3
Thank you.
On Fri, 11 Aug 2017, 10:30 am Henry Mercer<EMAIL_ADDRESS>wrote:

Hi Qais, we’ve just licensed our repo under the MIT license. Let us know
if you make any cool stuff with it!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hackcambridge/hack-cambridge-website/issues/233#issuecomment-321768222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4WaiKSPnlJdnGynnjVZEp7K9AQ-RdWks5sXB81gaJpZM4Owy8g
.


Remove profile selection for Katas

Resolves #1843

This fix resolves https://github.com/microsoft/qsharp/issues/1850 as well


Injecting option based on previous value

I am listing serial devices, but I want to be able to show the device which is not currently available, I would need to access preferences before the preferences object is created to get the value and inject it into the options. Or Am I missing something?

Hi @exander77
Not sure if I'm understanding your use case completely.
What you can perfectly do is create the preferences object, without showing the preferences window first. In that state you can programmatically get and set the preferences to whatever you want. Once you open the settings then, the updated preferences will be shown.
Copied from the docs:
// Get a value from the preferences data store
const myPref = preferences.value('some.nested.key');

// Save a value within the preferences data store
preferences.value('some.nested.key', 'my-value');

Hope this helps you.

@pvrobays But can I inject an option into the preference windows drop-down menu?

Well it isn't actually supported, but possible. The options field is available on the preference object, where you can navigate your way to whatever you want to change.
For example, to add an extra drop down item in the 'Gender' field in the 'About you' group of the example app:
preferences.options.sections.find(s => s.id === "about")?.form.groups.find(g => g.label === "About You")?.fields.find(f => f.label === "Gender")?.options.push(
	{ label: 'X', value: 'neutral' }
);

@pvrobays Great, that would work for me!

hi @dewiweb
Depends on how 'dynamic' you want it.
If you change the object -as done in the comment above- before showing the preferences window, then that's perfectly possible. Changing it during the preferences window is opened, may be harder to accomplish.