ReplaceTokens: Secret tokens with semicolon

I'm using the Replace Tokens task to update the web.config on different environments. Because we uses Oracle we have several database connection strings in our Web.config. I want to replace them on every environment, but not showing the connection string in release manager variables.
So I uses secret tokens, but the replace tokens task doesn't likes the semicolon in the database connection string and stops after one semicolon. Is it possible to change the key/value pair delimiter to one that doesn't interfere with the value in the secret token or is there a way to escape the semicolon in the value?

Hi @Shortcheese - which version of TFS/VSTS are you on? TFS 2015 update 3 and VSTS no longer require the "hack" for the Secrets, so you shouldn't be using the key/value pair string from the UI. Just add the secrets and leave that blank.
If you're using an older version of TFS, then you will need the key-value pairs. The workaround I use is to use a tokenized string (instead of a token) for the connection string. In other words, use "Data Source=dbServer;Initial Catalog=dbName;User=dbUser;Password=dbPassword" for the value of the connection string and then create 4 variables instead of just 1.

I tried to use it without the hack running TFS2015 Update 3 and version 1.1.63 of the build & release tools . When I run it, I  get a
"Token [WebconfigDatabaseCredentials] does not have an environment value"
warning in the log. And when I look at the converted web.config, I see no transformation:
"connectionstring="__WebconfigDatabaseCredentialsGuw__
I understand that I can use multiple tokens but when I have an application having multiple db connections, it would be nice when the hack is no longer necessary.

Hi @Shortcheese - two things:

Your connection string has a token for WebconfigDatabasecCredentialsGuw but the error message is reporting that WebconfigDatabaseCredentials does not exist. This is probably just the code you pasted for an example, but I thought I would confirm with you
Does your password have a $ character in it? I've seen sometimes that the $ char (which is a special char in PowerShell) does weird things. You can double any $ in your password (so if your password is $mil3y you can make it $$mil3y).

If neither of these applies, then can you share the log (set System.debug to true) - you can redact if necessary.

Hi @colindembovsky:

Yes, you are right. I cut the name, but forgot to cut in the second part. In the attachted log I don't cut anything. Only redact things back to **.

No, neither one of the variables has a $. I tried by just giving the variable the simple text Hello world. But still no success.

1_Release.log.txt

Hi @Shortcheese - I see that there are variables for WebconfigDatabaseCredentialsCebes, Porta and Thinsy but there isn't a variable for WebconfigDatabaseCredentialsGuw. Are you sure you've defined that variable on the release or in the environment?

Yes, I'm Sure. I defined it as the online secret enviroment variable to test if I can use it as a secret one. Our security officier doens't like it when our passwords are open and we surelly want to use release manager because of our deployment mayhem we have now.
What I could think of is:

Because it was a test, I did not define all four ( we have four enviroments per application) of the same enviroment variable secret. Maybe it will define the variable wrong. I will retry.

I will remove the variable in all four of the enviroment and reinsert it. And retry the release.

Hi @Shortcheese - yes, this should definitely be a secret! Just remember that you can define variables at the release level and at each environment level. Also, if you clone and environment (say you clone Dev to Staging) then the secrets are actually cleared, even though the UI shows ***. You have to go and retype the values for all the secrets in the newly cloned environment.
Point is that from the log it seems that there isn't a variable called WebconfigDatabaseCredentialsGuw or it has no value (perhaps from cloning)?

I created a new release for testing purpose. This release has one environment with one variable. When I fill the variable The replace tokens replace it correctly. When I change the variable to secret it won't take it to replacement.
2016-12-23T10:05:30.4042932Z ##[debug]WebconfigDatabaseCredentialsGuw=undefined 2016-12-23T10:05:30.4042932Z ##[warning]Token [WebconfigDatabaseCredentialsGuw] does not have an environment value
When I use the secret tokens key:value it wil replace it correctly:
2016-12-23T10:09:48.6543778Z Replaced token [WebconfigDatabaseCredentialsGuw] with a secret value
But then a semicolon can not be used in a variable.

Can you give me an update

Hi @Shortcheese - when I look at the log of the WebconfigDatabaseCredentialsGuw I can see values for other vars but not that one:
2016-12-21T08:12:11.0261548Z 				[WEBCONFIGDATABASECREDENTIALSCEBES] --> [**]
2016-12-21T08:12:11.0261548Z 				[WEBCONFIGDATABASECREDENTIALSPORTA] --> [**]
2016-12-21T08:12:11.0261548Z 				[WEBCONFIGDATABASECREDENTIALSTHINSY] --> [**]

Can you try making the secret value "xyz" or something without special chars? I remember an issue where a password contained a $ and we had to make it $$ or it didn't work (it's a PowerShell string issue). Perhaps your issue is related?

I tried and tried..
What I found out is that parameters that are to long showing up in the initialize like
[WEBCONFIGDATABASECREDENTIALSPORTA] --> []
When I changed it to DatabasePortaPassword it doesn't show up in the initialize just like for example the parameter storing the deploymentmachine password.
But still even when I use XYZ as input it says
46 2017-03-08T11:59:57.4342298Z ##[debug]DatabasePortaPassword =undefined
47 2017-03-08T11:59:57.4342298Z ##[warning]Token [DatabasePortaPassword] does not have an environment value

even when I use the parameter where the machine password was stored (to connect to the iis machine where the application has to be installed) the log contains
##[debug]MachineUserPassword=undefined
##[warning]Token [MachineUserPassword] does not have an environment value

So it act a little bit weird.

I am experiencing the same issue. My secret connectionstring is replaced but excludes everything after semi-colon.
We are currently running a V1 version of the VSTS agent, maybe this has something to do with it?
I tried to leave secrets input field blank, but that does not work. So will go with the workaround mentioned by @colindembovsky in second post.


Switch our spec helper check to ChefUtils.windows_ruby

This should work instead of ChefUtils.windows and is simpler than the RUBY_PLATFORM check.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

the adhoc for this failed


Fixes feed entry link; closes #12

Sets the entry URL as href attribute vs content to adhere to the atom feed spec.

Thanks a lot!

Also published now to blog.michielborkent.nl


Implement tests for template stacks functionality

What problem are you facing?
The template stacks code flows do not have as much test as the rest of the codebase right now.

How could Crossplane help solve your problem?
We should implement the missing tests to increase quality of the codebase.

Apparently an issue already exists for this :( https://github.com/crossplaneio/crossplane/issues/1198


Introduce AWS S3 persister

This persister allows storing and loading models to and from AWS S3
buckets using s3fs to abstract the necessary API calls.
As discussed in https://github.com/ottogroup/palladium/issues/110#issuecomment-524975589 I have added the dependencies as extra dependencies and the imports are handled in the S3IO class.

Thanks for the enhancement! Please add the dependencies to .travis.yml such that we get it tested in the CI pipeline.

Coverage decreased (-0.1%) to 99.785% when pulling 5901fe9404ef8ec4be60257d1f01be8d67cb57b0 on ottonemo:feature/s3-persister into 52d0aedbd4b1eac430edbc35fa4349c9e4b977f2 on ottogroup:master.


.doc /  .xls documents

Hi onlyoffice
great app :)
One question: What do I have to install or configure in my owncloud so onlyoffice opens .odt .doc and .xls documents? Do I have to install it on the documentsserver or the owncloud

Hello @r4a5a88,
You can use OwnCloud ONLYOFFICE Integration app to view and edit files using ONLYOFFICE editors. Please find more information under this link.

Hi @alexanderonlyoffice
I am using the Integration app. in ithe app configuration I can only choose newer versions of office documents.

Perhaps it something in owncould

Hello @r4a5a88,
The above mentioned formats .odt, .doc, .xls will be converted in the .docx and .xlsx formats. If this file is in your documents, it will appear in the converted format. If the file is shared with you, it will appear in 'All files' folder. Click on the action menu (three dots icon) of the file and choose "Open in ONLYOFFICE" option to open and edit it.

thank you . that solves it :)


Convert pay-leave-for-parents to single question per page

This is in preparation for converting this published Smartdown Smart Answer to Ruby.
I started out by renaming some of the question pages and questions so that they better reflected their purpose. I found this useful to help me understand a bit more about how the Smart Answer worked. Now that I understand more about the Smart Answer I could imagine redoing this pull request without first renaming the question pages and questions in order to limit its scope.
With all the renaming done I started splitting the questions so that we end up with one question per page. I moved one question at a time to a new question page, moving them in reverse order of how they appear in those question pages.
I used the Smartdown scenarios to give me some confidence that I hadn't broken anything, although I'm not entirely sure how comprehensive these tests are.

Apart from my suggested changes to commit notes and a couple of suggested changes to question names, this all looks good to me. :+1:
Before I looked at the actual changes, I was sceptical that it would be sensible to do all the renaming that @chrisroos mentioned in the PR description. However, having looked at the actual changes, I think the renaming is really valuable - many of the original page & question names were really unhelpful - so I would keep them as part of this PR.
Having said that we should be mindful that this means that this pay-leave-for-parents flow has diverged even further from the draft pay-leave-for-parents-adoption flow, which probably means it will be even harder to convert that to Smart Answers if it turns out we need to.
In the absence of regression tests for this flow, the existing scenarios should give us a fair amount of confidence that the changes in this PR haven't broken anything, but it might be worth seeing how hard/worthwhile it would be to run the Fact Check table generation rake task before and after the change to see whether that highlights any differences.

I've rebased this on master and force pushed to this branch in preparation for merging.
I spent some time investigating whether I could use the smartdown_generate_factcheck:pay_leave_for_parents Rake task to compare the before and after of making this change. The Rake task did yield different results before and after but I wasn't able to understand enough of what it was doing to know what the differences meant.
I then realised that I could use the regression tests to check that this branch doesn't break anything. I created a new branch off this one and generated the regression test YAML files and Govspeak artefacts. I then amended that branch and removed the commits that split the Smart Answer to use one question per page. I ran the regression tests again and confirmed that there were no changes to the outcomes. The only changes were to the question pages, which was to be expected given that I was comparing multiple questions per page to single question per page.
I'm going to get this merged so that it can be deployed on Monday.


Support arm64 (M1) architecture in provided image

Great work guys! I'm working from a Macbook with M1. Can you check M1 support? I'm getting the following warning:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Originally posted by @bruno-hl in https://github.com/mediagis/nominatim-docker/issues/197#issuecomment-817955718

Thanks @philipkozeny for opening this for me. I can help with some testing if you need!

@bruno-hl for now you could try to build the image by yourself on your device and report back if that works (https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md)
@leonardehrenfried seems like this would be the way to go with our actions: https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
Although I'm not 100% sure since we are not using the build & push rule. Otherwise we could use buildx instead of build directly.

@bruno-hl If you want to help we would love a pull request to build this using Github Actions.

@philipkozeny I have no clue how crossbuilding works and how fast it is but if it's not too much of a slowdown it would be but after reading the docs, I would do the following:

Setup qemu
Setup buildx
Build using buildx with the required platforms
Continue using the current CI pipeline

Do you have to do anything special to push a multiplatform image or will that just work?

Sounds like a plan, although I have to admit that I also have no clue :D
As far as I have seen there is nothing special to consider when pushing a multiplatform image, guess we just need to try it out. I'll try to get hold of a M1 device to test if everything works.

https://www.scaleway.com/en/hello-m1/ 0.10 Euro/hour, 24h minimum.

Thanks guys. I have no time this week but I can try to help next if still needed. I'll try to make some time.

FYI: I've started to work on a PR, will provide an image to test soon.

Can someone with an M1 mac (@bruno-uy ?) please use the command to test a multiplatform image I've provided:
docker run -it --rm \
  -e PBF_URL=https://download.geofabrik.de/europe/monaco-latest.osm.pbf \
  -e REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates/ \
  -p 8080:8080 \
  --name nominatim \
  phluko/nominatim:3.7

Should work in theory now. Don't use my image in production, I will delete it after we merge the PR and provide the official image at mediagis.


add functions for converting ed25519 to curve25519

This adds the libsodium methods for converting between signing keys and box keys.
Very useful so that you do not have to manage two sets of keys.
I was also working on adding crypto_sign_ed25519_sk_to_seed and crypto_sign_ed25519_sk_to_pk but I was getting weird errors, and I am not so experienced with C++

+1

Thanks for the contribution I merged it

could you publish this to npm?
I should have some more PR for you soon!

Done.


:focus {outline:none;}

I have been trying to remove the focus outline with no success, I attempted to follow a previously raised issue, with no good resolution. Please see my journey with in stack overflow trying to over come it:
https://stackoverflow.com/questions/62044624/model-viewer-outline/62045135#62045135

I just yoinked the code from the example page and it works now.

For others too deep in the weeds like I was a few minutes ago, #660 addresses this.
You probably started your modelviewer page with an older example that didn't have focus-visible.js included.
pick it up from the repo or this link:
<EMAIL_ADDRESS>

Is there a way to change the color of that outline ?

Just adding "data-js-focus-visible" attribute to model viewer does the trick.

Just adding "data-js-focus-visible" attribute to model viewer does the trick.


new microhack  for ANF vs. AzureFiles by Netapp

@microsoft-github-policy-service agree [company="Netapp"]

@microsoft-github-policy-service agree company="Netapp"


Release 2.0.0

We're about to do a major version bump to drop Ruby 1.9 support (see #242). This is a last call for any additional breaking API changes before that happens.
The only one I think we might consider making is #297 (tl;dr: drop support for Addressable due to performance concerns, see also https://github.com/httprb/http/pull/197#issuecomment-170556459)
Any others, or :shipit:?

Perhaps we should do #303 as well

#323 seems relevant as well

See also comments on #206. I think we should ditch Addressable.

Ok, well with #325 in place (which closes #297), I think we have a path forward for Addressable. I'd suggest we do #303 and call it good.

I just released 2.0.0.pre after doing a number of fixes (#297 and #303 are fixed among others)
If anyone would like to try it out, that'd be great. That said, I think I'm otherwise happy with the current state of master

Unless anyone has any objections, I'd like to ship the current master as 2.0.0 this Saturday (April 23rd)

Seems fine
Sent from my iPhone

On Apr 18, 2016, at 19:10, Tony Arcieri<EMAIL_ADDRESS>wrote:
Unless anyone has any objections, I'd like to ship the current master as 2.0.0 this Saturday (April 23rd)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

🚀

2.0.0 is released! I'll make an announcement shortly


docs: Add website page for enterprise support / consultancy firms

There are many companies who offer consultancy and enterprise support for Thanos e.g. https://cloudraft.io/observability, https://o11y.eu/ and more. It would be amazing to have a page similar to Prometheus about such options (:

Hey @bwplotka  is the Figma ready?

Yup, the AI confirms: the Figma is ready:

On serious note, perhaps you meant if some UI design is ready? 🙃 Simple page with list of links would do, Figma would be overkill.

@bwplotka  Ok, will come up with a Basic UI mockup ..Like a basic card with the logo of the company and a redirect link that on click leads to the company landing page ..

@bwplotka Adding a card grid with the company information (e.g. Name, logo, description if needed) can be done. please assign me to this issue so that I can send PR.

Hey @mayurjadhav2002 feel free to go ahead 🙂

@bwplotka  I want to add this feature, but where can I find companies that offer consultancy and enterprise support for Thanos?

That's why we need this page (:
We can put those from https://github.com/thanos-io/thanos/issues/6504#issue-1790052704 as a start. We can encourage more companies to add themselves in pull request.

Okay, great! I will work on it


CUDA out of memory

Hello,
first thank for your fork, I've just tried it and it work nicely, the generated pictures were very nice.
My problem is that cuda run out of memory after just one prompt.
I tried "PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:128" but it doesn't seems to solve the problem.
I think it is missing a memory reset or something, because stopping and starting again the UI allows for it to work again (for just one prompt).
I'm just guessing because I know nothing about python or cuda (and pretty much anything about coding).
Until now I've been using https://github.com/basujindal/stable-diffusion , this fork work great for me.
Ps: I'm running it in a conda environment, could that be a limiting factor for my memory ?

Thanks for the feedback.
There is a chance I should be attempting to flush memory after each generation.
I will look into this.
Conda shold not be a factor.


Sidebar contents disappear on iOS

Details
Since 1.7.4, setting Homepage to open a file causes the contents of the right sidebar to disappear. Most notably, this hides the sync status indicator.
This has previously been an issue when setting Homepage to open a Workspace, and has previously been proven to be an issue with Workspaces, rather than Homepage. However, in this instance, the same symptoms appear, but only when Homepage is used to open a single file, and does not happen when I manually open the same file with Homepage disabled.
Steps to reproduce

Set Homepage to open a File
Trigger Homepage
Look at right sidebar on mobile
Sync status indicator missing

Debug information
The Homepage: Copy debug info command did not actually copy anything to my phone's clipboard and I am thus unable to paste it.

Operating systems
iOS
Checklist

[X] I updated to the latest version of the plugin.

This is partially caused by Obsidian, but I have decided to fix those elements anyway as this is a fairly large issue.


FEAT add many-shot jailbreaking

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

Many-shot jailbreaking as described in https://www.anthropic.com/research/many-shot-jailbreaking is not yet available in PyRIT.
Describe the solution you'd like

From a first look, it seems like all we'd need to support this is a set of (let's say 256 or more) Question/Answer pairs like in the paper.
Describe alternatives you've considered, if relevant

It's worth checking if they made it available somewhere or if there's such a Q/A dataset already.
Additional context

Hi @romanlutz,
I'd like to help out with implementing the many-shot jailbreaking feature. I'll read the paper, and if your suggestion about needing 256+ Q/A pairs seems to be correct, I'll start with that. Since this will be my first time contributing to an open-source project, could you please provide some guidance on the general steps for contributing?
Thanks!
Volkan

Hi @KutalVolkan !
Thanks for reaching out! We'd love to collaborate on this one 🙂 I see this as two tasks really:

adding a mechanism to craft a prompt with arbitrarily many examples plus the malicious prompt we want the LLM to answer
collecting the examples

For the former, we have prompt templates under PyRIT/datasets/prompt_templates. Perhaps it's possible to write one that has one placeholder for where the examples would go, but then have a new subclass of PromptTemplate that can insert all the examples rather than just one? Something like
template = ManyShotTemplate.from_yaml_file(...)  # same as PromptTemplate
template.apply_parameters(prompt=prompt, examples=examples)

Where examples would be the Q&A pairs.
And then a simple orchestrator like PromptSendingOrchestrator could handle sending it to targets.
For the latter, we don't really want to become the place where all the bad stuff from the internet is collected 😄 Ideally, we would want to find these in another repository and just have an import function. Plus, people can always generate or write their own set, of course.
Regarding contributing guidelines there should be plenty in the doc folder.
Please let me know if you have questions or want to chat about any of these points! I may very well have skipped something...

Hi @romanlutz,
I'll start by reading the paper and then implement the many-shot jailbreaking feature as you described. I'll keep you updated on my progress.
Thanks,
Volkan

Fantastic!
I guess I made an assumption here that the "many shots" are just in one prompt. Another option would be to "fake" the conversation history which is possible with some plain model endpoints but rather unlikely with full generative AI systems (which should prevent you from doing that). So I think I'd go with the single prompt and hence the prompt template makes sense.
Happy to discuss options, though!

Hey,
I just wanted to inform you that, according to the paper, we can use this uncensored model: WizardLM-13B-Uncensored.
We can use it to provide answers to the following questions in the "behavior" column of this dataset: harmbench_behaviors_text_all.csv.
I tried to run the model locally and encountered an issue:
UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:455.)
attn_output = torch.nn.functional.scaled_dot_product_attention(

This issue is likely not solvable according to this discussion: GitHub Issue.
Therefore, I thought about using the inference endpoints from Hugging Face instead.
P.S. Your approach of using a single prompt definitely makes sense, and I will go with that.

We usually use model endpoint in Azure, so I can't comment much on running locally. Maybe using an earlier version of torch helps? PyRIT shouldn't be too opinionated on which one you use.
The list of prompts you found makes sense. Still, we'd have to check in the responses somewhere. As mentioned before, I'd prefer to avoid making PyRIT the place where all the bad stuff on the internet is collected. Maybe it makes sense to put that Q&A dataset in a separate repo from where we can import it? Just thinking out loud here...

Hey @romanlutz,
The dataset is ready, and I will place the Q&A dataset in a separate repo. However, I will need some time to implement everything. I have a deadline on June 20, so I aim to have it all (implementation and dataset) completed by the end of June. Thanks for your patience!

Amazing, @KutalVolkan ! No pressure, of course. I'll try to provide timely feedback as usual. If you have questions please feel free to reach out.

Hi @romanlutz
I have completed the code implementation for the many-shot jailbreaking feature as discussed earlier.
Code Integration

Code Placement: Added code in the relevant positions across the project to support many-shot jailbreaking.
Demo: A demo script has been built to showcase the feature's functionality. The demo script is available here.

Dataset Integration

Dataset Location: The required dataset for the many-shot jailbreaking feature has been added and is accessible here.
Dynamic Import and Processing: The code dynamically imports and processes the dataset to generate the necessary Q&A pairs.

Important Links

Class Implementation: Many-Shot-Jailbreak Class
Feature Import via API Call and User JSON: API and JSON Usage
YAML File for Prompt Template: YAML Template

Testing Phase
The feature is currently undergoing testing. During the testing phase, one major challenge encountered is the rate limit imposed by OpenAI when a large number of examples (e.g., 100) are used.
Known Issue

Rate Limit Error:
If the num_examples parameter is set too high, an error may occur due to OpenAI's rate limits.

openai.RateLimitError: Error code: 429 - {'error': {'message': 'Request too large for gpt-3.5-turbo in organization YOUR-ID on tokens per min (TPM): Limit 60000, Requested 74536. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more.', 'type': 'tokens', 'param': None, 'code': 'rate_limit_exceeded'}}

Next Steps:

Dataset Expansion: The current dataset contains 100 examples. We will expand this dataset to include more examples, aiming to reach our suggested 256+ Q&A pairs.
Review and Optimize: I will conduct some reviews and optimizations, including thorough testing and verification of the entire approach, to ensure there are no logical mistakes regarding the dataset, user interactions, assistant responses, and overall methodology.

Could you please provide feedback on these steps? Any suggestions or improvements are welcome.

Amazing, @KutalVolkan !
I'll take a closer look by Monday at the latest. Don't worry about 429s. This sort of attack would require a larger context, but most of the recent models have larger ones. GPT-4-32k has 32k, for example.
For the rate limit, we've recently added retries. You can search for pyrit_target_retry for details but it exists at the target level so you don't need to worry about it.
If you create a draft PR it's easier to give detailed feedback. Just a suggestion depending on whether you have everything on a branch yet.
Again, great progress and I'll get back to you shortly.


Dynamic Batch Period

Dynamic Batch Period

Introduction
Liquidity Module provides expanded ways to participate in the decentralized exchange. It combines traditional orderbook-based limit orders with AMM liquidity pool.
In case of significant price movements in a pool, sometimes, one block batch is not an enough time for market participants to react to the market situation. we need to have enough time for traders to submit orders in order to find more accurate price discovery in the batch.
So, we introduce “Dynamic Batch Period”, which extends the length of a batch when incoming orders suggest price movements larger than predefined magnitude.

Reference : Nasdaq Index
Nasdaq market has circuit breaker rule, which halts the market for 15 minutes when the index declines more than 7%/13%/20% from the close price of the last trading day. Other markets are having different triggering rates from 5% to 10%.
In our case, the purpose is not to stabilize the trading activity for extreme intraday price movements, but to encourage traders to participate in price discovery activities for short term price volatilities.
Because one batch will be 1~2 blocks, it will be around 10 seconds. Therefore, in one batch, even 1% price movement is not a frequent event. So, we suggest to have extended batch period for equal or more than 1% price movement from last pool price.

Batch Period Function
Batch period function determines the length of a batch from given swap price change rate from last pool price. Below is our suggestion for batch period function.
ExtendedBatchPeriod =(TRUNCATE(LN(abs(priceChangeRate*100))+1) * 5 + 1) * batchSize
For example, (assuming batchSize = 1 blocks and 1 block = 6 seconds)

when priceChangeRate < 1%, ExtendedBatchPeriod = batchSize = 6 seconds
when priceChangeRate = 1%, ExtendedBatchPeriod = 6*batchSize = 36 seconds
when priceChangeRate = 5.5%, ExtendedBatchPeriod = 13*batchSize = 78 seconds

ExtendedBatchPeriod is applied to this batch at the EndBlock, when calculated swap price implies priceChangeRate >= 1%.
ExtendedBatchPeriod can be updated multiple times for a batch when larger price movement is observed in the batch process. ExtendedBatchPeriod only can increase for a batch.

this is for gravity dex v2


Add growlOnFail option

Added an option to disable growl notifications also on errors for those that dont want to install it.

Seems I don't have write access?
Silly silly.
Will get that then merge this.

Got it.


Support DNAME type

Hello,
It seems PowerDNS admin does not list/does not permit to create DNAME entries to alias an entire domain to another.
Here is how to create one from cli:
pdnsutil create-zone example.com
pdnsutil add-record example.com @ DNAME another-domain.com

Now any request to something.example.com will resolve to something.another-domain.com.
You might also want to issue a warning if user is creating DNAME entry and dname-processing=yes setting is not set, see: https://doc.powerdns.com/authoritative/settings.html#setting-dname-processing
Best regards, Adam.

Hello,
You can enable DNAME record creation in Settings/Records, however there is no check about dname-processing at the time.
Regards

Is enabling DNAME working for you or not ?


Add the ability to import...

So obviously import from file, but how to import a file system?
This could tie into an interesting piece of work around restoring sites from archive-dumps.

It's tested and working, so I'll close this for now.


[ModTranslation]: Mineralizer Reborn

What mod is that translation for?
Mineralizer Reborn
Additional Comments
It's just a translation.
translation file
ru.zip

added


⚠ Bofrost.fr has degraded performance

In 7716bf3, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1444 ms

Resolved: Bofrost.fr performance has improved in 51e9d96 after 2 hours, 17 minutes.


YtSubs Skip Live Video?

[X] I've verified and I assure that I'm running youtube-dl 2017.05.01

Before submitting an issue make sure you have:

[ ] At least skimmed through README and most notably FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[X] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -u user -p pw :ytsubs -v

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
I use youtube-dl to download my subscriptions and it works flawlessly except it hangs on live videos. I've tried skipping durations, sizes, etc. Is there any way I can just ignore all live videos and not even attempt to download them?

--match-filter '!is_live'.

It is giving me invalid match filter. I am on the most recent YouTube-Dl
Thanks!,
Scott Dudley
(540) 819-7509
On Mon, May 1, 2017 at 3:31 AM, Sergey M<EMAIL_ADDRESS>wrote:

Closed #12946 https://github.com/rg3/youtube-dl/issues/12946.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/12946#event-1063771260, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADbnKSfzftNu8OE9wMi8CdM-td4hgmbsks5r1Yo7gaJpZM4NM0VI
.

I'll leave this here if anyone stumbles on this via google. For some reason the quotes around !is_live had to be double quotes for it to work.
Tried --match-filter "!is_live" and it worked. This was on Windows 10.

@beigexperience You the man!

I look through the OUTPUT TEMPLATE and there is no mention about this, maybe someone could add related description about this?


mount and cancelling a dismount problems in Denizen's  1.16.1 series, last worked in Denizen-1.1.4-b1712-REL for 1.15.2

The output of /version on my server is: This server is running Paper version git-Paper-135 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
The output of /version denizen on my server is: Denizen version 1.1.5-SNAPSHOT (build 5024-DEV)
(If relevant) A link to a paste of a script demonstrating the issue: examples at https://one.denizenscript.com/denizen/cmds/mount
The issue is:
I can't seem to find a combination of paper/denizen for 1.16.1 that successfully handles both - mount and cancelling a dismount with
  events:
    on player steers chicken:
    - if <context.dismount>:
      - determine passively cancelled

I last got this to work on 1.15.2 with paper-385 and Denizen-1.1.4-b1712-REL
with Denizen's versions below, I can mount, but I can't cancel the dismount as described above:

Denizen-1.1.5-b4908-DEV
Denizen-1.1.5-b4962-DEV
Denizen-1.1.5-b4987-DEV
Denizen-1.1.5-b1713-REL

with Denizen's versions below, i cannot mount.  a simple /ex mount player|boat fails, the summoned boat can then be mounted in game with a right click:

Denizen-1.1.5-b5024-DEV
Denizen-1.1.5-b1715-REL

I am willing to try other combinations of paper/denizens if there is a possibility that one of them will work.
I would try the new 1.16.2 builds, but it seems there is not yet a public version of paper for 1.16.2
I am going to try a few versions between b4987 and b5024 to see when the mount command broke, but my guess is the newer versions probably still have the cancelling a dismount issue.
thanks!

Support is on Discord @ https://discord.gg/Q6pZGSR

just wanted to say thanks for the quick fix on the mount problem with commit: https://github.com/DenizenScript/Denizen/commit/3691460867dc5e7fbabdcd019a67a41cbc458e52
Now running
Denizen-1.1.6-b5028-DEV, 1.1.6-SNAPSHOT (build 5028-DEV), core version: 1.90-SNAPSHOT (Build 719)
server: CraftBukkit   version git-Spigot-379750e-1e76d09
and the mount seems to be working normally!
however I still have the problem that I can't cancel a dismount.
haste for an example.
https://one.denizenscript.com/haste/74483
but it is pretty basic:
  events:
    on player steers chicken:
    - if <context.dismount>:
      - determine passively cancelled

update -- after some discussion, it appears that this is caused by a bug with spigot
https://hub.spigotmc.org/jira/browse/SPIGOT-5891 "VehicleExitEvent doesn't cancel properly"

Support is on Discord
https://discord.gg/Q6pZGSR
Support is on Discord @ https://discord.gg/Q6pZGSR
Support is on Discord
--------------> SUPPORT IS ON DISCORD @ https://discord.gg/Q6pZGSR <-------------


LEFT/RIGHT join support

https://github.com/src-d/go-mysql-server/issues/707

Left right join is already there.


fix: use cleanupAnnotations in symm and trans

trans would fail if the goal had an annotation
symm would use whnf with normal transparency on the goal, now we use cleanupAnnotations.
rfl is fixed in #3758

I think @thorimur is planning to implement a better fix that might unfold some reducible definitions. This will work the same on 99% of cases that we can use in the meantime, and will only differ if relations and/or goals use reducible definitions.

Thanks!
bors d+

bors r+


[Event Request] codeunit 99000845 "Reservation Management" ClearSurplusOnAfterSetTrackingFilter

Hello,
Is it possible to add the following Event:
procedure ClearSurplus()
var
    ReservEntry2: Record "Reservation Entry";
    ActionMessageEntry: Record "Action Message Entry";
begin
    CalcReservEntry.TestField("Source Type");
    ReservEntry2 := CalcReservEntry;
    ReservEntry2.SetPointerFilter;
    ReservEntry2.SetRange("Reservation Status", ReservEntry2."Reservation Status"::Surplus);
    // Item Tracking
    if ItemTrackingHandling = ItemTrackingHandling::None then
        ReservEntry2.SetTrackingFilterBlank;

    // DINNL <<
    ClearSurplusOnAfterSetTrackingFilter(ReservEntry2, ItemTrackingHandling);
    // DINNL >>
    if Item."Order Tracking Policy" = Item."Order Tracking Policy"::"Tracking & Action Msg." then begin
        ReservEntry2.Lock;
        if not ReservEntry2.FindSet then
            exit;
        ActionMessageEntry.Reset();
        ActionMessageEntry.SetCurrentKey("Reservation Entry");
        repeat
            ActionMessageEntry.SetRange("Reservation Entry", ReservEntry2."Entry No.");
            ActionMessageEntry.DeleteAll();
        until ReservEntry2.Next() = 0;

[IntegrationEvent(false, false)]
local procedure ClearSurplusOnAfterSetTrackingFilter(var ReservationEntry: Record "Reservation Entry"; ItemTrackingHandling: Option "None","Allow deletion",Match)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[NME] Preview window icons scaled to wrong size

The three icons on the top of the preview panel - play, background color, and pop out - are scaled too large. The icons on the bottom of the panel are the correct scale for reference.

I have added our 2 experts (I believe there maybe a leak between GUI editor and NME editor)

How does this look? I made these changes on my branch can put out a PR if this looks correct. I changed the css of the icons to 24px instead of 40px.
Not sure what the memory leak is? Or if its related.

I think what @deltakosh meant by leak was some CSS from the GUI editor that reflected into the NME?

Ah. There is a second one in GUI editor as well. Let's delete that. :)

Yes I believe this is a CSS leak with GUI editor


FieldBuilder fails ungracefully on self-referential type

When using FieldBuilder on a type with a recursive self reference, it throws StackOverflowException. Bug was reported via Stack Overflow.
Expected behavior
FieldBuilder should ignore the self-reference and return a list of fields for all the other properties of the target type.
Setup (please complete the following information):

Microsoft.Azure.Search 10.1.0

FYI @AlexGhiondea Not sure if FieldBuilder will be part of the Track 2 .NET SDK GA milestone, but whenever it gets ported to Track 2, this needs to be fixed.

Tracked as part of #11166


EventHandler to PinClickedEvent

#107

I rejected this PR because this is breaking changes.

Could you please briefly describe what are breaking changes, that I could investigate and fix it?

pin.Clicked += (object sender, EventArgs e) =>
{
    int a = 0;
};

This code is works fine for previous X.F.GoogleMaps version.
But It has compile errors after apply this PR.

Pin does not contain a definition for Clicked
declared as type EventArgs but should be PinClickedEventArgs

In my plan,

Keep event EventHandler Pin.Clicked with [Obsolete] attribute in X.F.GoogleMaps ver 1.x
In X.F.GoogleMaps ver 2.x, I will delete Pin.Clicked

I'm  adopting Semantic Versioning.


(Almost) move access flag checks into weighting for CH preparation

This is work towards #1835 and #1776. With this PR it should be easy to move the access flag checks that occur during CH preparation inside the weighting in a later PR.

Here I stuck with the createIn/Out/AllEdgeExplorer. The alternative approach would be just using createEdgeExplorer (unfiltered) and then filter within the code that uses the iterator. I think this becomes messy because one still has to keep track of which (in/out/all) edges should be filtered. I did this up to the point where I am not using in/Out/AllExplorers to see where its going here: https://github.com/graphhopper/graphhopper/tree/filter_outside
For now I like the approach in this PR better.


Clean up of Header and Footer code

Remove Bootstrap dependencies and remove and translation text in the code.

Removed Bootstrap and updated the hardcoded text with translatable internalization format.
Updated the functionality of navbar- like disabling of the links on load of particular component.

Working on footer component and modal component and implementing the carbon icons in these components

Updated footer component and modal component with styling and carbon icons and specifying unique ids.
Removed unwanted links in sidebar component and styling.

This task/issue is now completed and so has been closed.


[docs] Update "Who's using"

[x] I have followed (at least) the PR section of the contributing guide.

Add Shutterstock (cc @mark-conn)

Use SVG logos

Tidy up the layout to align baseline and ascenders where appropriate.

Shutterstock

I thought they were using react-toolbox?


mp_loadformat() not appending to audit table

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Verbose errors also for return shorthand

Current macro setup handles verbose/minimal errors pretty well for cases such as:
DUK_ERROR_TYPE_INVALID_ARGS(thr);
DUK_ERROR_TYPE(thr, "Your AMIGA is alive !!!");

For verbose errors this generates a good message. For minimal errors this generates a noreturn function call which only takes thr as its argument which is about as good as it gets.
However, Duktape/C functions using return shorthand (e.g. return DUK_RET_TYPE_ERROR) don't provide good verbose messages.
This pull adds some error macros to improve the situation so that the macro resolves to an actual error call when verbose errors are used but uses e.g. return DUK_RET_TYPE_ERROR when minimal errors are used.

This is what a minimal footprint DUK_ERROR_TYPE() call site looks like:
  406a21:       48 89 df                mov    %rbx,%rdi
  406a24:       e8 20 58 00 00          callq  40c249 <duk_err_type>

The return shorthand is:
  402b87:       b8 fa ff ff ff          mov    $0xfffffffa,%eax
  402b8c:       c3                      retq

The difference is only 2 bytes on x64 so the current advantage of using them is 100 bytes (50 return sites). Not very much.
In fact, if the whole return value shorthand feature was removed (I'm not sure it's a very good feature because it cannot be used in helper functions that are called by a Duktape/C function for example) it'd most likely make up that 100 bytes and more.
So one approach would be to remove the shorthand entirely and ensure current shorthand sites compile to tiny error helper calls for low memory builds.

The pull replaces all direct internal uses of DUK_RET_xxx with error macros DUK_DCERROR_xxx which either map to a shorthand error return or to an actual error call. This improves error messages for the default build, e.g. from:
duk> Proxy()
TypeError: type error (rc -6)
    at Proxy () native strict preventsyield
    at global (input:1) preventsyield
duk> String.prototype.toString.call(1)
TypeError: type error (rc -6)
    at toString () native strict preventsyield
    at call () native strict preventsyield
    at global (input:1) preventsyield

to:
duk> Proxy()
TypeError: invalid args
    at [anon] (duk_bi_proxy.c:13) internal
    at Proxy () native strict preventsyield
    at global (input:1) preventsyield
duk> String.prototype.toString.call(1)
TypeError: invalid args
    at [anon] (duk_bi_string.c:128) internal
    at toString () native strict preventsyield
    at call () native strict preventsyield
    at global (input:1) preventsyield

The affected errors are mostly (but not always) in rarely executed type check code paths etc. The error messages are not necessarily very descriptive but should be better than before.
The pull also simplifies the automatic error messages generated for return DUK_RET_xxx sites from e.g. uri error (rc XXX) to error (rc XXX): the shorthand error message doesn't matter much as it's only relevant for low memory code anyway. There are also some trivial error message text changes.
Footprint impact is around +370 bytes for x64 default build, -200 bytes for x64 minimal build, and -100 bytes for x64 stripped build.


[2.2]Cache the API UI in local file

For now, we are using the specific api ui version in
https://releases.rancher.com/api-ui/. It is not good for
air gap rancher setup. It needs to be cached in local files.

Related issue https://github.com/rancher/rancher/issues/15378

@orangedeng Can you rebase this PR, please?

LGTM

https://github.com/rancher/rancher/issues/16252

Normal PRs https://github.com/rancher/norman/pull/209

Updated

@orangedeng It looks like you need to rebase again

Updated for api-ui version 1.1.6

LGTM


requestAnimationFrame polyfill breaks server-side rendering

This code causes an exception when running on server side.

if (typeof window !== "undefined") {
  win = window;
} else if (typeof self !== "undefined") {
  win = self;
} else {
  win = undefined;
}

// requestAnimationFrame() shim by Paul Irish
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
var request = win.requestanimationframe || win.webkitrequestanimationframe || win.mozrequestanimationframe || win.orequestanimationframe || win.msrequestanimationframe || function (callback) {
  return win.settimeout(callback, 1000 / 60);
};

var request = win.requestAnimationFrame || win.webkitRequestAnimationFrame || win.mozRequestAnimationFrame || win.oRequestAnimationFrame || win.msRequestAnimationFrame || function (callback) {
[1]                  ^
[1]
[1] TypeError: Cannot read property 'requestAnimationFrame' of undefined
[1]     at Object.<anonymous> (/home/codejunkienick/upwork/imdadmin/node_modules/react-virtualized/dist/commonjs/utils/animationFrame.js:21:18)
[1]     at Module._compile (module.js:573:30)
[1]     at Module._extensions..js (module.js:584:10)
[1]     at Object.require.extensions.(anonymous function) [as .js] (/home/codejunkienick/upwork/imdadmin/node_modules/babel-register/lib/node.js:152:7)
[1]     at Module.load (module.js:507:32)
[1]     at tryModuleLoad (module.js:470:12)
[1]     at Function.Module._load (module.js:462:3)
[1]     at Module.require (module.js:517:17)
[1]     at require (internal/module.js:11:18)
[1]     at Object.<anonymous> (/home/codejunkienick/upwork/imdadmin/node_modules/react-virtualized/dist/commonjs/utils/requestAnimationTimeout.js:8:23)

I was about to open an issue for the very same thing. This seems to be introduced when Grid has started to depend on requestAnimationFrame in v9.10.0. Rolling back reac-virtualized to v9.9.0 fixed it for me.
Here is stack-trace for the error..

[2017-09-18 10:22:24.414] [FATAL] [application     ] [TypeError: Cannot read property 'requestAnimationFrame' of undefined]
TypeError: Cannot read property 'requestAnimationFrame' of undefined
at Object. (/Users/prempiyush/work/code/profiling-ui-demo/node_modules/react-virtualized/dist/commonjs/utils/animationFrame.js:21:18)
at Module._compile (module.js:409:26)
at Module._extensions..js (module.js:416:10)
at Object.require.extensions.(anonymous function) [as .js] (/Users/prempiyush/work/code/profiling-ui-demo/node_modules/babel-register/lib/node.js:134:7)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/Users/prempiyush/work/code/profiling-ui-demo/node_modules/react-virtualized/dist/commonjs/utils/requestAnimationTimeout.js:8:23)
at Module._compile (module.js:409:26)
at Module._extensions..js (module.js:416:10)
at Object.require.extensions.(anonymous function) [as .js] (/Users/prempiyush/work/code/profiling-ui-demo/node_modules/babel-register/lib/node.js:134:7)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)

Thanks folks. Sorry for the regression. Releasing 9.10.1 with a fix momentarily.

Check out 9.10.1 and let me know if you see any additional problems. Thanks.

@bvaughn 9.10.1 fixes the problem. Thanks!

Glad to hear! Again, apologies for the regression.


Test/remove cast

@cecile-cecile FYI in case you didnt know you can override the default template.


Fixing it (docs cmd)

@danielpmc
Can you please merge this as the command is broken for now?

i believe this is still not valid syntax?

i believe this is still not valid syntax?

it is


Migrating to 1.0

A 1.0 release should be published soon. You can already try it out by using fltk as a git dependency:
[dependencies]
fltk = { version = "^1", git = "https://github.com/MoAlyousef/fltk-rs" }

There are several "minor" breaking changes, however, the bigger ones might require some guidance which will hopefully be added in this issue.
1- The first of the bigger changes is the import defaults. The prelude and enums modules were imported implicitly when importing fltk::* or any other module within the crate. They now require explicit imports:
use fltk::*;

Becomes
use fltk::{prelude::*, enums::*, *}; // depending on what's needed

Granular imports should just add
use fltk::{enums::*, prelude::*};  // depending on what's needed

This should fix most breaks in the build.
2- FLTK expects widget constructors to pass a static (long lived) string, meaning FLTK will not delete it. So the crate now also expects a &'static str with the ::new() method. If you were using string literals you're ok. Otherwise for dynamic strings (which should be deleted), use the with_label constructor or set_label:
let but1 = button::Button::new(0, 0, 80, 40, "Click me!");
let x = some_val();
let but2 = button::Button::new(0, 0, 80, 40, &format!("{}", x));

becomes
let but1 = button::Button::new(0, 0, 80, 40, "Click me!");
let x = some_val();
let but2 = button::Button::new(0, 0, 80, 40, None).with_label(&format!("{}", x));

3- Callback-taking methods had overloads which took a &mut self and were indicated with a 2 in their signatures. Now these overloads have become the default:
but1.set_callback(|| println!("Works"));
but2.set_callback2(|b| b.set_label("Works"));

becomes
but1.set_callback(|_| println!("Works"));
but2.set_callback(|b| b.set_label("Works"));

The same applies to handle2, draw2 and draw_cell2:
but1.handle(|ev| { /* logic */ });
but2.handle2(|b, ev| { /* logic */ });

becomes
but1.handle(|_, ev| { /* logic */ });
but2.handle(|b, ev| { /* logic */ });

Makes the imports a lot cleaner, and I also the callback/callback2 merge!!


[SP-4404] Backport of PDI-17267 - The Limit field on the Content tab …

…of the "Text File Input" step does not limit the number of lines read from each file. (8.1 Suite)
@pentaho-lmartins @cravobranco @ricardosilva88

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/steps/fileinput/text/TextFileInputReader.java
  engine/src/test/java/org/pentaho/di/trans/steps/fileinput/text/TextFileInputTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.step.StepMeta

Branch Change: -0.7% :small_red_triangle_down:
Complexity Change: -0.6% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.csvinput.CsvInputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -3.3% :small_red_triangle_down:
Complexity Change: -3.8% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:
Line Change: -0.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UIEERepositoryUser

Branch Change: -8.3% :small_red_triangle_down:
Complexity Change: -6.7% :small_red_triangle_down:
Instruction Change: -0.9% :small_red_triangle_down:
Line Change: -3.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:


pls: 4.0.3 -> 5.0.0

Description of changes
Package upgrade of pls.
Depends on https://github.com/NixOS/nixpkgs/pull/175437 to be merged first.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Either we target staging or you need to ping me or someone else when the rich update is in master.

Either we target staging or you need to ping me or someone else when the rich update is in master or we widen the version constraint.

Oh, I totally missed that the rich PR targeted staging. When I get back to my pc in a few days I'll post a PR for it targeting master, if noone has done it yet. Since it's required from upstream, this PR will have to wait. I'll ping you here once rich is merged.

you can rebase this PR on staging-next as the related staging changes are on there

since this change causes over 500 rebuilds, do you mind targeting the staging-next branch
# finding the common merge base will avoid pinging all CODEOWNERs
common=$(git merge-base origin/master origin/staging-next)
git rebase --onto=$common HEAD~1 # or however many commits you want to pull
git push .. ... --force

then change the base branch in the github PR from master -> staging-next
See https://nixos.org/nixpkgs/manual/#submitting-changes-staging-branch for more details on staging branch

Sorry, I'm new to all this, I just contributed some small changes to master before. Thank you for providing guidance!
If I understand everything right, this PR is now ready.

Sorry, I'm new to all this, I just contributed some small changes to master before. Thank you for providing guidance! If I understand everything right, this PR is now ready.

Yea, looks fine, just waiting on ofborg to go green

Result of nixpkgs-review pr 174515 run on x86_64-linux 1

1 package built:

pls

@jonringer It seems the darwin checks aren't successful, with one skipped and one errored out on building twisted. Is this something I can fix? I don't have darwin nor do I know what the error means...

That needs fixing in twisted. Doing that right now.

Thank you!


Ticket #9809 Changes to ctdbp_cdef_dcl telemeterd parser to handle re…

…cords produced by a CTDBP with a FLORT D plugged into it.

The updates look good to match the FLOR records and to not process them in the CTD file, but what about the FLOR parser? Is there another parser that just works for the FLOR data as it is in these files?

Thank you both for looking this over and providing your comments.
Dan, I saw your comment with regard to the FLOR data.  Perhaps I misunderstand your e-mail to me from 4/5/17.  It is attached to the  https://uframe-cm.ooi.rutgers.edu/issues/9809 and documents the consolidation of the FLOR streams noted in related ticket https://uframe-cm.ooi.rutgers.edu/issues/12186.  From these,  I thought that what you were pointing to was a modification of the flort_dj_dcl_instrument stream (DICT406) parser to handle the FLOR data from the combined CTDBP/FLOR input files.  Please advise.

My recommendation in #9809 was to parse the data from the combined CTD/FLOR raw instrument data into two streams. One stream you have done here for the CTD. The second stream is for FLOR. You will need to determine if the flort_dj_dcl_instrument parser will handle the CTD/FLOR raw instrument data or not. Just because it will share the same stream definition, does not mean that the parsers will be identical. That is the work left to do.

I'm not sure of this will help, because I don't know the details of the
data or parser.  However, I generated a parser, presf_abc.py, that parses
data from a single file and generates particles for two separate streams.
On Thu, May 4, 2017 at 2:34 PM, Dan Mergens<EMAIL_ADDRESS>wrote:

My recommendation in #9809 was to parse the data from the combined
CTD/FLOR raw instrument data into two streams. One stream you have done
here for the CTD. The second stream is for FLOR. You will need to determine
if the flort_dj_dcl_instrument parser will handle the CTD/FLOR raw
instrument data or not. Just because it will share the same stream
definition, does not mean that the parsers will be identical. That is the
work left to do.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/oceanobservatories/mi-instrument/pull/17#issuecomment-299271791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM5ui_n3e27IE93CfKdM9rPSprz62dFXks5r2hpGgaJpZM4NPZc3
.

--
Rene Gelinas
Principal Software Engineer
C4I SYSTEMS
Integrated Defense Systems
Raytheon Company
+1<PHONE_NUMBER>   (office)
+1<PHONE_NUMBER>   (cell)
+1<PHONE_NUMBER>   (fax)
<EMAIL_ADDRESS><EMAIL_ADDRESS>13501 Ingenuity Drive, Suite 100
Orlando, FL 32826
www.raytheon.com http://www.raytheon.com/
This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this
message in error, please so advise the sender by reply e-mail and delete
this message. Thank you for your cooperation.

Rene thank you!  I will take a look at presf_abc.py.


Change color mapping of node ports from variable names to variable types

Irrelevant, we get manual typing indication


fix 修复内置监控页重置及记录日志并重置按钮失效缺陷

相关：pr #5742

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


fix delete chat message button

Description
The purpose of having delete button was to delete any previous chat history to reduce the input length to LLM.

[x] fix out of index issue on delete chat message.
[x] fix deleting related chat prompt.
[x] hide delete on last response.

Closes #2065
Checklist

[x] The base branch of this PR is dev, rather than main
[x] The relevant docs, if any, have been updated or created

This is on the hold due to possible bug in how chat messages are rendered.

Closing because this was recently addressed in dev branch. thank you for looking into it Priyash!


Issue with Spyder connecting to Kernel

Description
What steps will reproduce the problem?

Opening Spyder

What is the expected output? What do you see instead?
Expecting to have the Spyder IDE up and running but the console keeps returning the message "connecting to Kernel" and nothing is happening, not able to run any piece of code. I'm running Python on windows. This was running before. Just had my computer moved from one side of the office to the other by IT. They may have changed something in my environment but they are not able to figure What exactly.
Please provide any additional information below
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\spyder\plugins_init_.py", line 511, in
toggled=lambda checked: self.toggle_view(checked),
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 725, in toggle_view
self.create_new_client(give_focus=False)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1033, in create_new_client
self.connect_client_to_kernel(client)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1068, in connect_client_to_kernel
kc.start_channels(shell=True, iopub=True)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\qtconsole\kernel_mixins.py", line 43, in start_channels
super(QtKernelClientMixin, self).start_channels(*args, **kw)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\jupyter_client\threaded.py", line 212, in start_channels
self.shell_channel._inspect = self._check_kernel_info_reply
File "C:\Program Files

I think you're using a very old version of qtconsole. You can update it by opening the Anaconda Prompt and running there
conda update qtconsole

I have executed the command line you just suggested and it returned:
# All requested packages already installed.

Then please post the full error message you're getting because the one you posted above is incomplete.

You are right below is the full message. Thank you for your help.
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\spyder\plugins_init_.py", line 511, in
toggled=lambda checked: self.toggle_view(checked),
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 725, in toggle_view
self.create_new_client(give_focus=False)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1033, in create_new_client
self.connect_client_to_kernel(client)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1068, in connect_client_to_kernel
kc.start_channels(shell=True, iopub=True)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\qtconsole\kernel_mixins.py", line 43, in start_channels
super(QtKernelClientMixin, self).start_channels(*args, **kw)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\jupyter_client\threaded.py", line 212, in start_channels
self.shell_channel._inspect = self._check_kernel_info_reply
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\jupyter_client\client.py", line 143, in shell_channel
socket, self.session, self.ioloop
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\jupyter_client\threaded.py", line 205, in ioloop
self._ioloop = ioloop.IOLoop()
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\tornado\util.py", line 312, in new
instance.initialize(*args, **init_kwargs)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\zmq\eventloop\ioloop.py", line 139, in initialize
super(ZMQIOLoop, self).initialize(impl=impl, **kwargs)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\tornado\ioloop.py", line 844, in initialize
super(PollIOLoop, self).initialize(**kwargs)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\tornado\ioloop.py", line 356, in initialize
self.make_current()
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\tornado\ioloop.py", line 314, in make_current
assert asyncio is None
AssertionError

Ok, that's much better, thanks! To solve this error you need to open the Anaconda Prompt and run there
conda update tornado pyzmq jupyter_client

Awesome you've Nailed it!


Deploy-Sql-Security initiative contains a deprecated policy

Deploy-Sql-Security policy initiative contains the deprecated Deploy-Sql-vulnerabilityAssessments policy definition, rather than the Deploy-Sql-vulnerabilityAssessments_20230706 one, which replaced it.

Policy still works if using a single email address, the new policy supports an array of email addresses to send the assessments to. But good shout. We'll see if we get it in as part of the policy refresh package we're preparing - otherwise we'll fix this soon after.

This has been resolved, thanks again for reporting it :)


googlesamples-assistant-hotword doesn't reply

I installed Google Assistant on an ARM board. pushtotalk sample app works fine, but if I run hotword sample, I couldn't get any reply. Do i need to change anything to make this to work?
Console messages look normal:
(env) [root@home]# googlesamples-assistant-hotword --device_model_id my board
device_model_id: my board
device_id: E0185D24C6476E2498590375A1615FD7
[16353:16375:ERROR:assistant_nupnp_client.cc(103)] Cloud discovery nupnp request failed: [60] Peer certificate cannot be authenticated with given CA certificates
ON_MUTED_CHANGED:
{u'is_muted': False}
ON_START_FINISHED
[16353:16375:ERROR:assistant_nupnp_client.cc(103)] Cloud discovery nupnp request failed: [60] Peer certificate cannot be authenticated with given CA certificates
[16353:16375:ERROR:assistant_nupnp_client.cc(103)] Cloud discovery nupnp request failed: [60] Peer certificate cannot be authenticated with given CA certificates
ON_CONVERSATION_TURN_STARTED
ON_END_OF_UTTERANCE
ON_RECOGNIZING_SPEECH_FINISHED:
{u'text': u"what's the temperature in San Jose"}
ON_RESPONDING_STARTED:
{u'is_error_response': False}
ON_RESPONDING_FINISHED
ON_CONVERSATION_TURN_FINISHED:
{u'with_follow_on_turn': False}

No, not Pi. It is Samsung ARTIK530 board (https://www.artik.io/modules/artik-530/). Right, looks like everything works except for audio output. As mentioned, audio output works fine with pushtotalk sample. What are the differences between these 2 sample apps?

In the hotword sample, the audio output is more tightly coupled to the underlying code, so it may have certain dependencies on ALSA output that are not an issue when using the more generic Service API.


📖 story "user can delete comments"

currently, the functionality for deleting comments is already in-place, and works.
but we need some additional polishing to make the user experience better.

[x] #104
[x] #105
[ ] make delete modal more pretty

@PaulAroo now that the delete modal is working, let's see if we can make it more pretty, and give it a better layout.
(added requirement in issue description)
we should improve the layout and styling, both for namaka's plain minimalistic base theme, and also for valor's customizations in valor.css.
see the figma design for inspiration (at least for the valor side of the equation):

i do wonder if it's still a good idea to display the comment in the modal, to remind the user of exactly what they are deleting?
:warning: oh! and we certainly must make it obvious when we are deleting an entire thread of comments! maybe it should say something like: "Are you sure you want to delete this thread, and also its 12 replies?"
:thinking: or, worse, we should actually consider if deleting a thread should not remove its children (like reddit, when a comment just says [deleted] but it can still have replies?
what do you think we should do here?
and how can we make this modal a good user experience, and also look pretty?

i do wonder if it's still a good idea to display the comment in the modal, to remind the user of exactly what they are deleting?

To keep the modal simple (with little to look at), I am of the opinion the body of the post be left out of it (since getting a glance at it again is as easy as clicking outside the modal)

what do you think we should do here?

well, I think we should go with the former ("Are you sure you want to delete this thread, and also its 12 replies?")

two kinds of delete on the backend

[ ] archiveComments(commentIds: string[])
[ ] archiveAllCommentsByUser(userId: string) -- this should be added to a user bans story

we need a robust "delete" modal:

[ ] reminds the user of the comment's user nickanme, subject, and body (so they know what they are deleting)
[ ] (if the user has canDeleteAnyComment permission) -- ask users what they want to delete, by offering two radio buttons:

delete single comment (leaves 5 replies intact)
delete whole comment thread (deletes 5 replies)

[ ] delete button should show Delete 1 comment or Delete 5 comments dynamically based on what the user is intending to delete

customizable modals

css variables will work
exportparts will work for exposing shadow parts
[ ] we'll use slots to customize text within modals

html author can insert slots into <namaka-modals>
modal system should only prepend the <namaka-modals> component whenever it is not already present in the dom (which allows the html author to provide their own slots)


travis: tagging images as latest does not respect merge order

When two PRs are merged around the same time, the latest images are not guaranteed to reflect master (e.g., when the earlier merge runs the docker pushes later). It can even be mixed.

@roee88 interesting a classical race condition which to solve properly would require to make the entire process (of updating the batch of docker images atomic):

either by using some form of sync between builds
or, by reducing m4d to use a single docker image :-)

I don't see how a single image solves it. Anyway, if you're unfamiliar with a way to solve this I can look around.

We're probably going to move to GitHub Actions anyway, then we should consider if adding a third party action from those listed in https://github.community/t/prevent-parallel-workflows/16370/21 is worth it.


[FLINK-16168][build] Add build-debug profile

Adds a debug-build profile for convenience that prints a dependency tree and shows active profiles.

I would like to understand what information this gives us that other commands don't give us.
For the dependency printing, does this give you a different output than mvn dependency:tree?
Or is that to show the trees in all projects?
Similar for active profiles, can't you get this by invoking a specific target from the command line as well?

It's not different to invoking things from the command-line, but  it provides an easy hook to activate these plugins when running on travis.

Beyond that this also is a nice pointer for people who aren't so familiar with maven.

In that case, it would be nice to keep it out of the pom.xml, in my opinion. That file is already overflowing, and this seems like a rare tool for which an almost equal alternative exists.


(a | b) & c != (a & c) | (b & c) for objects

/* @flow */

type DataType =
	| {'grant_type': 'silent'}
	| {'grant_type': 'password', 'username': string, 'password': string}
type BodyType = {
	'client_id': string,
	'client_secret': string,
	'scope': string,
} & DataType

function request(data: DataType) {
	const body: BodyType = {
		...data,
		'client_id': '123',
		'client_secret': '123',
		'scope': '123',
	}
}

Why we can't do that? What's wrong?

@XaveScor Did you get any errors? Would you like to share with us?


EndeavourOS - EuroScope closing/crashing after loading sectorfile

Trying to make this work with EndeavourOS - however each time I try to load the sectorfile it closes after about 2sec.
For reference if relevant - its the ENOR sectorfile https://files.aero-nav.com/ENOR
Unable to test with other sectorfiles (or without sectorfile) as the autoload last profile is enabled and its not possible to turn it off before EuroScope crashes.
This is the console log:
[adrianb@adriabj wine]$ INEDEBUG=-all WINEPREFIX=/home/adrianb/Documents/euroscope-afv-wine/wine wine "/home/adrianb/Documents/euroscope-afv-wine/wine/drive_c/Program Files (x86)/EuroScope/EuroScope.exe"
002c:fixme:ver:GetCurrentPackageId (00007FFFFE2FFEB0<PHONE_NUMBER>000000): stub
0034:fixme:ver:GetCurrentPackageId (00007FFFFE2FFEB0<PHONE_NUMBER>000000): stub
0024:err:winediag:gnutls_process_attach failed to load libgnutls, no support for encryption
0024:err:winediag:process_attach failed to load libgnutls, no support for pfx import/export
0024:err:winediag:process_attach Failed to load libgnutls, secure connections will not be available.
0024:err:secur32:SECUR32_initSchannelSP no schannel support, expect problems
0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 009BF7E4, 009BF7F4 009BF7E8
0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x809 009BF7E4 009BF7F4 009BF7E8) returning a dummy value (current locale)
0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 009BF7D0, 009BF7E0 009BF7D4
0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x809 009BF7D0 009BF7E0 009BF7D4) returning a dummy value (current locale)
0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 009BF7CC, 009BF7DC 009BF7D0
0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x809 009BF7CC 009BF7DC 009BF7D0) returning a dummy value (current locale)
0024:fixme:file:NtLockFile I/O completion on lock not implemented yet
0118:fixme:process:SetProcessShutdownParameters (00000100, 00000001): partial stub.
0120:fixme:file:NtLockFile I/O completion on lock not implemented yet
0138:fixme:ver:GetCurrentPackageId (01ECFF10 00000000): stub
013c:fixme:ver:GetCurrentPackageId (0222FF40 00000000): stub
ALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/usr/lib32/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)
ALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/usr/lib32/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)
014c:fixme:ver:GetCurrentPackageId (02E2FF40 00000000): stub
0150:fixme:ver:GetCurrentPackageId (0312FF40 00000000): stub
0024:err:module:import_dll Library mfc100.dll (which is needed by L"C:\\users\\adrianb\\Documents\\EuroScope\\ENOR\\Plugins\\Other\\NATCON.dll") not found
0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 009BF160, 009BF170 009BF164
0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x809 009BF160 009BF170 009BF164) returning a dummy value (current locale)
0188:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 0F21FF18
0170:err:virtual:virtual_setup_exception stack overflow 320 bytes addr 0x7fb2c16b stack 0xe420ec0 (0xe420000-0xe421000-0xe520000)
Segmentation fault (core dumped)

Figured out that it might be a plugin issue - I can come as far as this without any crash, but as soon I press the OK button it will crash. Also seeing the plugin does not seem to be loaded correctly either.

It might be an incompatibility with the latest EuroScope version.

Just to add, I'm seeing the same behavior on EOS.

could this be related to #14 ?
mind trying to setup a new wineprefix with just the verbs mentioned? i was able to get a pretty much fluent experience on wine 9.0 with those. the issue i had was also related to an SSL error, however, i'm not sure if it's for the same reason.

Thanks, between that and having to manually install curl for one of the plugins to function, everything appears to work now!
(except for the UK controller plugin not wanting to work, but I suspect thats not for here!)

So I'd say when we figured out if we really need vcrun2010 (or if vcrun2022) is enough we'll just add that to the script.
That you had to separately install curl (in wine-Windows I suppose?) seems like an oversight in the plugin in my opinion. If they need curl, they should statically link it. Maybe that could be brought up with the plugin developers?


Windows XP doesn't execute scripts via winrm after 1.3.4

I've tracked down an odd issue with winrm and windows XP.
Starting with 1.3.5, it seems like it doesn't execute external scripts.
To make sure it wasn't just an error capturing stdout, I also tested with a script that updated "c:\test.out", and with 1.3.5, it didn't create the file, and with 1.3.4, it did.
This was originally reported via https://github.com/mitchellh/vagrant/issues/6839, but since I was able to create a simple winrm script that reproduces the problem I'm creating a ticket here.
Below is the test scripts I was using and the outputs.
test.rb:
require 'winrm'
endpoint = 'http://localhost:55985/wsman'
myuser="IEUser"
mypass="Passw0rd!"
winrm = WinRM::WinRMWebService.new(endpoint, :plaintext, :user => myuser, :pass => mypass, :basic_auth_only => true )

STDOUT.print "====================\n"
STDOUT.print "via test.cmd:\n"
winrm.cmd('c:\\test.cmd') do |stdout, stderr|
  STDOUT.print stdout
  STDERR.print stderr
end

STDOUT.print "\n====================\n"
STDOUT.print "via echo:\n"
winrm.cmd('echo Hello world!') do |stdout, stderr|
  STDOUT.print stdout
  STDERR.print stderr
end

STDOUT.print "====================\n"

test.cmd
echo Hello world!

On 1.3.4:
====================
via test.cmd:

C:\Documents and Settings\IEUser>echo Hello World!
Hello World!

====================
via echo:
Hello world!
====================

On 1.3.5:
====================
via test.cmd:

====================
via echo:
Hello world!
====================

Based on the information provided I would wager XP doesn't like the code page change to 65001.

Yeah. We never tested below 2k8R2 for the UTF-8 switch. I agree with @sneal's comment at https://github.com/mitchellh/vagrant/issues/6839 that losing support for XP would be a bummer (did I just really say that??). I think it would be straight forward to add a conditional to the codepage and make 65001 the default only if the windows version is less than win 7/2k8r2. Now that the CommandExecutor sniffs the version, that should be doable.


Fix typos in k8s method calls.

I was blocked from actually deploying a model to Clipper on k8s until I fixed the typos.

Can one of the admins verify this patch?

jenkins test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/755/
Test FAILed.

jenkins test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/756/
Test PASSed.


DiscoverDomain issue when using slash as part of workManager name

We have a problem  while  running discoverDomain util on WorkManger  named wm/omsThreadPool :
WLSDPLY-06140: Unable to cd to the expected path /SelfTuning/OmsDomain/WorkManager/wm/omsThreadPool constructed from location context model_folders = ['SelfTuning', 'WorkManager'],  'name_tokens' = {'SELFTUNING': 'OmsDomain','DOMAIN': 'OmsDomain','WORKMANAGER': 'wm/omsThreadPool'}; the current folder and its sub-folders cannot be discovered : wlst.cd(/SelfTuning/OmsDomain/WorkManager/wm/omsThreadPool) in offline mode failed: com.oracle.cie.domain.script.ScriptException: No such element WorkManager named wm

@MarinaLevin This is a WLST issue that was patched in 2017 for <IP_ADDRESS>.  The issue was that the slash in the name was treated as a directory by WLST offline.  You can try to access the patch through your MOS account or OTN, or you can file a support ticket with Oracle Support if the patch is not available for your version of WLS yet.  I recommend referencing the bug number posted by jshum2479 to speed up the search, bug 25790276.


New smt

I am adding an example in the tutorials for surrogate models of mixed variables that uses the Gower correlation kernel for hybrid discontinous composites.

I'm a bit in a rush, right now.  I changed Gower distance a lot lately, I'll see later, if you're not in a hurry.

Hello Paul,
It is ok, I am not in a hurry. I’ve changed nothing in the .py files. I’ve just added an example in the tutorials notebook as I will publish a paper on it.
De: Saves @.>
Enviado:27 April 2022 14:18
Para: @.>
@.>; @.>
Assunto: Re: [SMTorg/smt] New smt (PR #354)
I'm a bit in a rush, right now. I changed Gower distance a lot lately, I'll see later, if you're not in a hurry.
—
Reply to this email directly, view it on GitHubhttps://github.com/SMTorg/smt/pull/354#issuecomment-1110930922, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOWEC7FX2XJ72F4ODR32LJLVHEWBFANCNFSM5UO2I5SA.
You are receiving this because you authored the thread.Message ID: @.***>

Hey !
So, your test is adapted for Colab, not PC.
Here is the work around :
!pip install -U -q PyDrive
`try :
from pydrive.auth import GoogleAuth
from pydrive.drive import GoogleDrive
from google.colab import auth
from oauth2client.client import GoogleCredentials
# 1. Authenticate and create the PyDrive client.
#auth.authenticate_user()
gauth = GoogleAuth()
#gauth.credentials = GoogleCredentials.get_application_default()
drive = GoogleDrive(gauth)
json_import = drive.CreateFile({'id':'1fcB39mktJ2npTNqrF8dgZa7PWh3wU55X'})
json_import.GetContentFile('VTF_properties.json')

except :
df = pd.read_csv(open('VTF_properties.json'))
`

[ ] Please modify the notebook
[ ] Add VTF_properties.json in ~/smt/tutorial

The json file is easy to have, I could send it to you by mail, if you want.
Paul


The send message screen needs a "Team Selector" control

If the user has multiple teams and a teamID has not been passed as a prop to the Send Message screen then the user should see a control to select which team board the message should be posted to.
The user should not be able to submit a message unless the team has been selected, either intentionally or by default.

working but ugly.  but that's a different issue


Update wally.toml

TestEZ version seems to be incorrect; version listed here is<EMAIL_ADDRESS>

@sayhisam1 This should be closed now. It seems as if he removed the dependency entirely.


Automate python package and docker hub updates

Add Github Actions to automate:

push a python package to PyPI when we create a release..
push a image to Docker Hub on a new release

Also ability to manually start CI from main branch

@avisil  We should prioritize this issue to avoid manual building and pushing of docker images and pypi package.


Feat/renaming lyne to sbb

Preflight Checklist

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the pull request tracker for a Pull Request (PR) that matches the one I want to submit, without success.

Issue
This PR closes the first item in the developer meeting page. See: https://confluence.sbb.ch/pages/viewpage.action?spaceKey=ESTA&title=Developer+Meeting
Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Lint (npm run lint) has passed locally and any fixes were made for failures

Changes
Changes in this pull request:

Components prefix have been changed from "lyne-" to "sbb-".
Components name have been changed from Lyne to Sbb.

Browsers
I tested the build on the following browsers:

[ ] Firefox Desktop
[ ] Chrome Desktop
[ ] Safari Desktop
[ ] Firefox Mobile
[ ] Chrome Mobile
[ ] Safari Mobile
[ ] Opera
[ ] Brave

Pull request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[x] Yes
[ ] No

The names change will impact all consumers, which have to change imports & tag in html.
Other information
Any reference to Lyne in URL (es. github links) has not been touched.
Mentions
@lyne-design-system/core
@kyubisation
@jeripeierSBB

Codecov Report

Merging #1178 (a966af2) into master (7a0d8d7) will decrease coverage by 53.77%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #1178       +/-   ##
==========================================
- Coverage   53.77%   0.00%   -53.78%
==========================================
  Files          49       2       -47
  Lines        1733     191     -1542
  Branches      490      62      -428
==========================================
- Hits          932       0      -932
+ Misses        708     166      -542
+ Partials       93      25       -68

Impacted Files
Coverage Δ

...mponents/sbb-accordion-item/sbb-accordion-item.tsx

src/components/sbb-accordion/sbb-accordion.tsx

...ts/sbb-autocomplete-item/sbb-autocomplete-item.tsx

...nents/sbb-autocomplete/sbb-autocomplete.helper.tsx

...c/components/sbb-autocomplete/sbb-autocomplete.tsx

src/components/sbb-button/sbb-button.tsx

src/components/sbb-card-badge/sbb-card-badge.tsx

...c/components/sbb-card-product/sbb-card-product.tsx

src/components/sbb-clock/sbb-clock.tsx

src/components/sbb-footer/sbb-footer.tsx

... and 37 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


213 show supplier in create package

Purpose
Potential fix for https://github.com/LSFLK/MedicinesforLK/issues/213
Goals
Show supplier names in the assign supplier table header

@jayasanka-sack thanks for taking a look.
I've fixed the conflicts and the build should be green.


invalid HTTP port , when running after sbt docker:publishLocal

When generated docker images using sbt docker:publishLocal unable to start the docker container using docker run -p 9000:9000

Are you passing in all of the required environment variables when running?
The Docker configuration in this project is really intended to be used along with Kubernetes, not by running each container manually. Have a look at the Kubernetes configuration files in https://github.com/lagom/lagom-java-chirper-example/tree/master/deploy/kubernetes/resources/chirper to see the environment variables that are being passed through to each service (including the HTTP port).
You might also be interested in this fork by a community member who has converted the project to work with Docker Compose: https://github.com/BarDweller/lagom-java-chirper-example.

thanks @TimMoore , I shall have a look


Telangana latest data

This is the official site for Telangana Covid details http://<IP_ADDRESS>/COVID/home.htm
There was a ticker initially which shows the latest confirmed/active/deaths and samples tested
This is being hidden with a CSS style, but the data is still available and updated frequently(<hour, almost latest )
This can be used to update the latest data
I've extracted this info in a separate site which basically picks up the same data, and un-hides it
https://flirtatiousshirt.htmlpasta.com/
will you please update in the CSV the latest data, always
The samples tested is being shown in existing site is old

Thanks for highlighting this source. Sadly, we can't credibly use and report this information as it's a hidden element in a website.


Migrate to bevy 0.12 and bevy_oxr

Runs fine for me on Windows (after cherry-picking #41), but now I get a linker error on Quest 2: ld.lld: error: unable to find library -lopenxr_loader.


change download link to point the right repository

while read this document I found that mismatch

@tempral : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Move project into a subdir instead of using top-level

This may have been what #56 was meant to be.

Done on https://github.com/lamby/takeyourmeds-web/tree/cleanup


Fix Pydantic V2 Errors

https://docs.pydantic.dev/latest/migration/#migration-guide

Description: response=response.dict() to response=response.model_dump()

Tagging @eyurtsev for review, Thanks!

I suggest merging these changes with the main branch at the earliest to avoid PydanticV2 Warning messages. Thank you!
cc: @hwchase17


feat: new codegen annotations

Draft because on top of #229 and also not working it. Summiting PR to confirm that build is still green.

Ready for review.
We are now capable of building the intermediate AST, but we still need to take into consideration the case for names Actions and Views. I plan to do it on follow-up PR. We will need to add more tests.
We can also decide to reduce the scope for now. What we have now has feature parity with the previous annotation and therefore we can decide to leave named Actions and Views and unnamed Entities out.


Theme Submission: Hugo Developer Portfolio

Theme submission
Please make sure that you have read the theme submission guidelines before submitting a theme. The guidelines provide all relevant information and requirements that have to be fulfilled before the submission. We strongly suggest that you test your theme with the Hugo Themes Build Script before submitting the theme for review. If a submission does not meet the criteria mentioned in the README it will be closed. You may re-submit once you fix the problems with your submission. However, please note that we have limited resources and can not provide help for general web development issues. For Hugo support questions please refer to the dedicated support forum.
Please tick the relevant boxes for your theme in the checklist below:
Link to my theme repository: https://github.com/samrobbins85/hugo-developer-portfolio
I made sure that...

[x] the repository contains a good README.md describing my theme
[x] an open source license has been added to LICENSE.md
[x] all metadata have been added to theme.toml
[x] screenshots have been added in the images/ folder with the required dimensions
[x] in case I'm using a customized demo via the exampleSite folder that

[x] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains

N.B. By submitting a theme to the Hugo Themes Showcase you understand that you need to maintain your theme. If a theme demo breaks and remains broken then at some point it will be removed from the list without prior warning. If you no longer wish to maintain a theme please let us know.
New themes will usually be promoted on Hugo's official Twitter account. If you would like to be mentioned in the tweet please add your Twitter username to this submission.
Link to my Twitter account (optional): https://twitter.com/samrobbins85
Feel free to ask questions. We're glad to help.

Hello Sam,
thank you for sharing this theme with the Hugo community. While reviewing your theme I noticed a few smaller things:

your portfolio provides a filter to group items by category. The exampleSite provides a single item in a single category but the filter offers categories other than web dev, which thus remain empty. Is this behavior intended?

you might consider to use .Site.BaseURL instead of / in the following places as the baseurl doesn't have to be the root url, i.e. someone could host their website at www.example.com/blog.

https://github.com/samrobbins85/hugo-developer-portfolio/blob/master/layouts/partials/header.html#L7
https://github.com/samrobbins85/hugo-developer-portfolio/blob/master/layouts/partials/header.html#L40
https://github.com/samrobbins85/hugo-developer-portfolio/blob/master/layouts/partials/header.html#L43

please consider to removet the .htaccess file under /static. It might not be used by users or could interfere with there own setup.

Note for myself: whitelist theme

Thanks for the feedback! I've implemented it all, the first point has been resolved by allowing the user to specify the categories, with the example site only having the category of web-dev

Thanks for the changes.  Next, I'll promote your theme on Hugo's official Twitter account.


Is there any particular reason why not all map/markers events are implemented?

If it's just a matter of time, I can try to PR those changes, since I also need them.
Let me know :)

@SebastianM :)


Idea: add support for reporting to be plugin-based

Currently, we do reporting by printing to the console. Given that the ROS-M contract we're working will probably involve posting results to a REST endpoint, and that will probably be a very specific format, I'm wondering if it would make sense to have reporting plugins in a similar setup to the scanning and tool use plugins. Then people can just drop in the reporting plugins they want - print to console, write to file, send to REST endpoint, etc. Thoughts?

I like that idea, outputting xml could be another useful plugin.

I'm working on this one for some of SoarTech's ROS work, but am currently waiting for some clarification about our releasability policy from the customer before pushing anything.

Work's done on my end, just waiting for release approval. Will have a PR as soon as that's ready.

Fixed in MR #77


Stars Without Number

Changes / Comments
Provide a few comments about what you have changed.
Roll20 Requests
Include the name of the sheet you made changes to in the title.

If changes fix a bug or resolves a feature request, be sure to link to that issue.
For pull request that change multiple sheets please confirm these changes are intentional for all sheets. This will help us catch unintended submissions.
When updating existing sheets if you are changing attribute names please note what steps you have taken, if any, to assist players in keeping their data.

Greetings,
I am going to close this pull request since the merge has conflicts which have gone unresolved for seven days.  Feel free to submit it again in the future.
Thanks,
Cassie


Refactor cookies instance variable to use ActionDispatch::Request.new(@env).cookie_jar

We are actually running into an issue where @env['action_dispatch.cookies'] is a empty at some point in the request and causes sign-in not to work in our features and probably in production (we're currently upgrading to Rails 4.0). We haven't been able to trace it down to figure out why exactly it's occurring, but changing it to ActionDispatch::Request.new(@env).cookie_jar fixes our issue and still allows all of the gem's tests to pass.

Thank you. This certainly seems like more rails-friendly behavior.


Review "Security & Privacy" for accuracy and relevance

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1003
Originally created by @DouweM on 2019-09-18 10:04:54

The top few sections on the "Security & Privacy" page appear to have been written in a time where Meltano was running inside GitLab CI and primarily (exclusively?) used by the GitLab team. Neither is true anymore today. Should these sections be rewritten or removed entirely?

View 6 previous comments from the original issue on GitLab


python implementation of a dynamic CDR lending/borrowing protocol

case studies on its performance

run ./scripts/lint