question: deploy cycleserver into defined vnet

Hello,
I'm wondering how to skip the creating of the vnet and subnet while having pre-defined subnets available for the CycleServer deployment.
https://github.com/Azure/azurehpc/blob/master/examples/cycleserver/readme.md
Thanks for you guidance.

If in your network section you specify a resource_group which is different from the one you deploy your resources, then that vnet will be reused. I'm in the process of rewriting the doc that explains it, should be pushed soon.

Thank you, in my case Cycleserver has to be deployed to a pre-created resource group and make use of a vnet and subnet within a different resource group.

So you should be all good then. Can you please validate you have been able to do your deployment ?

Is it meant like that in 02-cycleserver.json?
{
    "location": "variables.location",
    "resource_group": "variables.resource_group",
    "install_from": "cycleserver",
    "admin_user": "variables.admin_user",
    "vnet": {
        "resource_group" : "myazrhpcnetrg",
        "name": "hpcvnet",
        "address_prefix": "<IP_ADDRESS>/20",
        "subnets": {
            "admin": "<IP_ADDRESS>/24",
            "storage": "<IP_ADDRESS>/24",
            "compute": "<IP_ADDRESS>/22"
        }
    },

Yes, if the content of  variables.resource_group is not myazrhpcnetrg then that VNET will not be created, and if so you can remove address_prefix and subnets from the vnet definition.

I managed to get the cycleserver deployed into the given vnet/rg.
I've disabled public IP and run into an issue with the initial rsync:
[2020-04-22 06:53:59] building install scripts
[2020-04-22 06:54:00] error: invalid returncode
    args=['rsync', '-a', '-e', 'ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i cycleadmin_id_rsa', 'azhpc_install_02-cycleserver', 'cycleadmin@cycleserver:.']
    return code=255
    stdout=
    stderr=ssh: Could not resolve hostname cycleserver: Temporary failure in name resolution
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.2]

IMHO, the ip address should be used for initial connection instead of the name.

The example for deploying Cycle Cloud has been built when the Cycle Cloud VM has a public IP. If you can to use a private only solution, then make sure that the cycleserver name can be resolved from the machine running the azhpc commands. As when there is no public IP the install_from value will be used as is.

The cyclecloud installation scripts keeps creating an invalid configuration in file "/opt/cycle_server/config/cycle_server.properties":
webServerMaxHeapSize=4096MwebServerJvmOptions=

Does the Cycle portal can be open ? if not, try to delete that VM and rerun the azhpc-build

Well, portal opened after fixing the config. I've rebuilt the VM, CycleCloud is up & running. The NSG couldn't be created, I have to check permissions.

Great to hear.

thank you very much


fix: 🐛 bump SDK to v19.2.0-alpha.3

JIRA Link
Bump SDK to v19.2.0-alpha.3
Changelog / Description
NA
Checklist -

[ ] New Feature ?
[ ] Updated swagger annotation (if API structure is changed) ?
[ ] Unit Test (if possible) ?
[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 3.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Gitlab Webhook: Configure to use ssh repository rather than https

Hi there,
I'm just about to upgrade my satisfy instance which we are now using perfectly for some years. By then, I wrote a gitlab webhook which still works, but I'd rather use yours, since it can create repositories - great feature.
My problem is, that we are using git@gitlab.example.com:group/repo.git for the repositories and not
https://gitlab.example.com/group/repo.git, which gets written in satis.json when executing a webhook on a nonexisting repository.
I was playing arround a little, trying to adopt the https way, but I was not successful, since our repos are all private.
I even created an auth.json with the credentials of a user having access to our repo, but on executing
$ bin/satis build satis.json public --skip-errors --no-ansi --verbose --repository-url=https://gitlab.example.com/group/repo.git --repository-strict

I always get the username promt, so that does not work (or at least I have not found out how to configure it correctly)
My proposal now is to enable configuring the prefered clone url. I found the place where to do it, and I'll do a pull request, if you think this could be a good idea.
Never the less: how are you supposed to handle private gitlab projects?
Best regards,
Willi

Just change ordering here https://github.com/ludofleury/satisfy/blob/master/src/Playbloom/Satisfy/Webhook/GitlabWebhook.php#L58 , write a test and submit PR. I would love to review it ;)

The orderings allready changes, and I am willing to write a test, but.. never done it before :( What framework do you use, could you just give me a hint, how to start?

We use phpunit. There is plenty of tutorials on the web.

Thank, you I just asked my colleague, and he told me just that :)
--
Wilfried Wolf
Softwareentwicklung
Sandstein Neue Medien GmbH
Goetheallee 6 · Eingang Händelallee · 01309 Dresden
Tel. direkt +49 (0)351 44078-32 · Zentrale +49 (0)351 44078-40 · Fax
+49 (0)351 44078-12
<EMAIL_ADDRESS>· https://www.sandstein.de/internetagentur
Folgen Sie uns per Facebook - Twitter - Instagram:
www.facebook.com/Sandstein.de
www.twitter.com/sandstein
www.instagram.com/sandstein_neue_medien

Ramunas Dronga<EMAIL_ADDRESS>schrieb am Montag, 15.
Juni 2020 um
17:08 in Nachricht
<EMAIL_ADDRESS>We use phpunit. There is plenty of tutorials on the web.

--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:

https://github.com/ludofleury/satisfy/issues/140#issuecomment-644192841


Implement eth_getStorageAt

Version: 0.9.0b1
Python: 3.10
OS: macos

What was wrong?
I get a value error for RPC Endpoint has not been implemented: eth_getStorageAt.
How can it be fixed?
here is some Hardhat code but otherwise not sure:
    const key = setLengthLeft(bigIntToBuffer(positionIndex), 32);

    const data = await this._runInBlockContext(blockNumberOrPending, () =>
      this._stateManager.getContractStorage(address, key)
    );

    const EXPECTED_DATA_SIZE = 32;
    if (data.length < EXPECTED_DATA_SIZE) {
      return Buffer.concat(
        [Buffer.alloc(EXPECTED_DATA_SIZE - data.length, 0), data],
        EXPECTED_DATA_SIZE
      );
    }

    return data;

Hey @antazoey. This is via web3.py + EthereumTesterProvider right? It's not implemented in eth-tester but that message is coming from the web3.py library through that provider. I will work on getting this change in for both libraries 👍🏼

Yes Im interacting through using web3.py


fix: Workspaces

Fixes the blank /app screen in frappe.
This function is monkey patched just for renovation_dashboard. I think we could sync the same via after_migrate hook ?

@faztp12 I think after_migrate would be dependent on running bench migrate, no? I think keeping it the current way is fine.

@assemmarwan issue with current way is the maintenance like this. :p
maybe use after_install too ?

@assemmarwan issue with current way is the maintenance like this. :p
maybe use after_install too ?

How about we call the original function followed by our extension? Something like this:
def _get_doc_files(files, start_path, force=0, sync_everything=False, verbose=False):
  """walk and sync all doctypes and pages"""

  # load in sequence - warning for devs

  from frappe.model.sync import get_doc_files as root_get_doc_files
  root_get_doc_files()

  document_types = ['renovation_dashboard']

  for doctype in document_types:
    doctype_path = os.path.join(start_path, doctype)
    if os.path.exists(doctype_path):

      for docname in os.listdir(doctype_path):
        if os.path.isdir(os.path.join(doctype_path, docname)):
          doc_path = os.path.join(doctype_path, docname, docname) + ".json"
          if os.path.exists(doc_path):
            if not doc_path in files:
              files.append(doc_path)

@faztp12 As discussed offline, the above solution will cause a cyclic dependency 😅 .
So we'll merge it as is and look for a better option to enhance the maintainability of this overloading of the function.


Remove Avenir Next italic font

Removes Avenir Next italic font face to reduce the number of web font files downloaded by users. On pages that currently load the Italic font file, Avenir Next Regular will be used instead, and the browser will italicize the font for us.
Removals

remove font-face rules for the Avenir Next italic web font

Changes

change font variable declarations from Avenir Next Italic to Avenir Next Regular. Pages using italic text will no longer load an additional font in order to render that text. They will use the regular font and the browser will apply slanted italic styling.

Testing

Check out this branch
Follow directions here https://github.com/cfpb/capital-framework/blob/canary/CONTRIBUTING.md#testing-components-locally
Since there are no examples of italic text in the Capital Framework docs, if you want to view one, you'll have to add it manually. Add this text to the cf-typography/usage.md file, and hit save in your test repo's components/cf-typography/index.md file to view it locally at http://localhost:3000/components/cf-typography/:

## Italic text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Screenshots

Additional screenshots and comparisons of examples from cfgov-refresh are documented at https://GHE/CFGOV/platform/issues/2347#issuecomment-140554
Notes on performance

Pages that use the italic font currently will see a 19kb reduction in page weight once this is deployed.
Pages with this reduction in page weight have shown an average decrease of 1.07 seconds in the first meaningful paint time, for desktop users on a broadband connection. For a simulated mobile connection, the average decrease for this metric was 3.19s. See page load metrics on GHE.
Few pages use the italic font style, so most pages will not see a performance gain. Key pages that do use the italic style include Owning a Home and Ask CFPB (on the Feedback form module) and the Learn more page, all of which receive significant traffic.

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Testing checklist
Browsers

[ ] Chrome
[ ] Safari
[ ] FF
[ ] IE10
[ ] IE9
[ ] IE8
[ ] Opera
[ ] iOS
[ ] Android
[ ] Blackberry Bold

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

Made change Ans suggested, also updated changelog (every time...)


Dev/asanhix/54/pagination component

@spences10,  @mar-bi I hope this align with the technical documentation on issue #54 Please let me know if there is something off about it.  Thank you.

Great work mate, this looks great 👌
I'm happy to merge this but I think there are a few things that need changing on the appearance side of things
the two buttons where they meet in the middle

Could there not be a different border radius for each one?
This would probably mean using two buttons with differing css
PaginationLeft
  border-radius: 4px 0px 0px 4px;

PaginationRight
  border-radius: 0px 4px 4px 0px;

Then there could probably be additional buttons inserted between the left and right buttons which are square which can be the amount of pages to navigate through
Like the image given in #54

This would probably need a multiples value passed to the component too, so 5 items per page say and you pass 25 items then there'd be

x5
x5
x5
x5
x5

Left
1
2
3
Right

Thank you @spences10 for your valuable information :green_book:
Revised my PR accordingly :ideograph_advantage:


dotnet list package returns error if solution includes a docker-compose project

My organization has a pipeline step that lists vulnerable packages for our ASP.NET Core soutions using:
dotnet list <soution>.sln package --vulnerable --include-transitive
After updating our toolchain from dotnet 6 to dotnet 7, this command now returns a non-zero error code for all of our projects even if no vulnerable packages are found. We get an error message:
The project <path>\docker-compose.dcproj uses package.config for NuGet packages, while the command works only with package reference projects.`
Which seems to be the source of the error. It's very easy to reproduce this without any custom code.

In Visual Studio 2022, create a new ASP.NET Core Web API project. Include Docker support.
A new solution will be created. Right-click on the WebApplication1 project in Solution Explorer and select Add > Container Orchestrator Support. Choose the Docker Compose option. This will create a new docker-compose.csproj file.
Open a PowerShell prompt and run dotnet list <soution>.sln package. No need to even check for vulnerabilities.
Check $LASTEXITCODE and see that it is 1.

We have been forced to disable this check due to this behavior. I found an old issue: https://github.com/microsoft/MSBuildSdks/issues/131
Which suggests a possible workaround of defining the RestoreProjectStyle setting in the problem project. But the workaround is not valid for the docker-compose project, which does not have NuGet dependencies.

@JD-Robertson this functionality is owned by the NuGet team.  This might be a duplicate of https://github.com/NuGet/Home/issues/12479 for the exit code changing in https://github.com/NuGet/NuGet.Client/pull/4855


Location with no session are displayed

Actual Behaviour
Location with no session is displayed
Expected Behaviour
Steps to reproduce it
Add steps to reproduce bugs or add information on the place where the feature should be implemented. Add links to a sample deployment or code.
LogCat for the issue
Provide logs for the crash here
Screenshots of the issue

Would you like to work on the issue?
yes

i think this is a server issue. Sessions with that locations will get updated on updation of the relevant json files.

I don't think this should be removed! and I agree with @arp95 . :+1:


add code to use local-exec and define variable for automatic size on create

Merged after discussion with Dawid - who doesn't have his laptop at the moment... :)


Error of "Face_regisration"

Hello ,
I used latest Face_regisration of 06-Face_recognition_spoof_detection spoof_detection.
but there is the below error.
"VIDIOC_STREAMON: Broken pipe"
could you please fit it?

We are unable to reproduce the issue.
Can you please share the steps to reproduce it?

thank you for your response.
this is Face_registration_usbcam/exe

Thanks for the screenshot. We were able to reproduce the issue with this.
The issue is observed because of openCV' function VideoCapture not getting the feed from USB camera. (Click on the link to view the source code).
This issue needs to be fixed by an end user. The output below shows that both USB and Coral cameras are connected to the board at the same time.

root@smarc-rzv2l:~/Face_registration_usbcam/exe# v4l2-ctl --list-devices
RZG2L_CRU (platform:10830000.video):
    /dev/video0
    /dev/media0

UVC Camera (046d:0825) (usb-11c70100.usb-1.4):
    /dev/video1
    /dev/video2
    /dev/media1

In this case, an error will be observed. To fix the error, and to get the feed from USB camera, user should modify the VideoCapture cap(0) to VideoCapture cap(1) in file 06_Face_recognition_spoof_detection/Face_registration_usbcam/src/capture_face.cpp. Re-building of the application is required after this source code modification.

Thank you for your reply.
I checked USB camera only. therefore there were no errors.
in this directory, USB camera mode is assumed, there are no issues.
thank you


AMBARI-25569 Reassess Ambari Metrics data migration

What changes were proposed in this pull request?
The data migration code only looks for the metrics that are present in the whitelist file. This is true even in the case when the AMS Whitelisting is not enabled. The user will only have those metrics migrated that are present in the whitelist file, which is usually not all that are required.
The proposed change no 1:

If whitelist file parameter is provided then

migrate only the metrics that are in the whitelist file

if whitelist file parameter is not provided then

if whitelisting is enabled then

discover the whitelist file configured in AMS and
migrate only the metrics that are in the whitelist file

if whitelisting is disabled then

migrate all the metrics present in the database

The proposed change no 2:
Furthermore, the migration process frequently dies silently while saving the metadata. To fix this, the change suggests removing the initiating of saving metadata from the shutdown hook and call it "normally" in a finally block.
The proposed change no 3:
Code cleanup.
How was this patch tested?
The patch was tested by manual data migrations.

@sziszo Could you please review this PR ? Thx!


Is there a way to serve files via symbolic links

I've a simple website that load JS scripts, and during development of some of those scripts (libraries held elsewhere) I want to use a symbolic link from the website folder to the library 'dist' file.
When I do this, ws gives a 404 error rather than following the symbolic link and loading the script (e.g. when referenced using

index.js looks like this:
console.log('OK')

I run ws in the ws-symlink and launch my browser - the index.js file is loaded via the symlink from a separate folder and OK is written to the console log.
Tested on both macOS and Linux using Firefox, the latest node and latest local-web-server.

Thanks, I hope I haven't wasted your time. I don't have time to look again right now but will get back to you when I can.

Small update. I don't know if this is an issue with ws or not.
It isn't the symlink that is the problem but the file. So sorry for misleading. I can't get the attached file to load using  whereas other files in the js folder do load.
Does ws do any checks on content before serving a JS file? I'm a bit stumped, but have attached the offending file in case you can try loading it and see if you get a 404.
safenetworkjs.zip

I can't reproduce your issue.  I created this folder structure:
.
├── index.html
└── safenetworkjs.js

Where index.html looks like this:
<!DOCTYPE html>

  <title>temp</title>

temp

I ran ws in the folder and opened the index page - everything worked correctly, the js file was loaded and evaluated.

The code you pasted refers to the wrong filename:

It should be:

Yes. Oh dear, BIG apology for this. I couldn't see the discrepancy. Thanks very much for your patience and sharp eyes.
Now works, including with symlinks, because I had the wrong filename. Nothing to do with ws.

no probs, these things happen.. let me know if you find anything else!


Crashing on launch

Device: Macbook M1 Pro 2021
OS: Ventura 13.3.1
Description:
Successfully launched on start, then disappeared from the top bar after several minutes.
On relaunch, the icon appears for a moment and disappears.

I've got a similar issue. For me it didn't take minutes for the first crash but it will crash immediately now after starting the app.
Deivce: MacBook Pro Early 2015
OS: Big Sur 11.6

I am also experiencing this on an M1 mac on Ventura. But for me, the app won't even start. It just immediately says "NearDrop cannot be opened"

It just immediately says "NearDrop cannot be opened"

You need to open it by right-clicking and selecting "open". This is what Apple calls "security".

For those experiencing crashes, can you please look for crash logs in Console.app (in Utilities)?

It just immediately says "NearDrop cannot be opened"

You need to open it by right-clicking and selecting "open". This is what Apple calls "security".

Just tried this and still getting the error: The application “NearDrop” can’t be opened.
Here is the error from Console:
Launch failed with Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}

NSWindow drag regions should only be invalidated on the Main Thread!

Ugh, Apple, why are you doing this to me? Who the hell thought that invoking these callbacks on anything but the main thread is a good idea?..

Fixed in https://github.com/grishka/NearDrop/releases/tag/v1.1.1


Enable stacking for privileged containers

Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

This looks correct to me. I'll update this PR once I've discussed the safety of doing policy loads inside of a privileged container inside of an AppArmor policy namespace with John. Thanks!

I'll hold off on merging this until you ping me, @stgraber.

Based on IRC discussion, this is fine to merge as far as the apparmor team is concerned.

After speaking with John Johansen about this, we think it is safe to stick a confined privileged container inside of an apparmor namespace, allow the container to inherit CAP_MAC_ADMIN, and grant the container access to the securityfs mounted inside of the container.
Thanks for putting this PR together. I look forward to using this feature.

Cool guys. This sound super-exciting!


[Forge  43.2.23 - 1.19.2] [Mining master 4.1.4] Crash with the Aether when getting hit by a sun spirit minion

Describe the Bug
Heres the log https://mclo.gs/bcOSScR
Reproduction Steps

Install the aether
Go to a gold dungeon and fight the sun spirit
Wait for the sun spirit minion to spawn
Let it touch you
Crash
...

Expected Result
To get hit and lit on fire
Screenshots and Videos
Github said the file was too big so heres the youtube link
https://youtu.be/2y4V_pEHSnQ
Operating System
Windows 10
Mod Version
3.0.7
Minecraft Version
1.19.2
Forge Version
43.2.23
Other Mods
None, i did this test with just the aether and mining master
Additional Context
I asked in the aether discord about it and it seems to be related to some enchantment

Fixed by one of aether devs


Can't use as gem dependency

Do you plan to push this to rubygems.org? You can't use a git source as a gem dependency

You can if you use Bundler but you're right, I should.
The reason is that someone already has a gem called poke-api and I had no idea until after the project.

You can change the name in the .gemspec file and still have it as require 'poke-api' after its installed.

I'll try and think to come up with a name, maybe poke-go-api

Commit a6adf86a1231ea69db78255cbf526bea8da207e9 has set the gem up as poke-go-api, I've updated the readme as well now.

Nice, thanks!


Alpaca Finance BSC QA

Review Info

Item
Info

Subgraph Review
https://subgraphs.messari.io/subgraph?endpoint=https://api.thegraph.com/subgraphs/name/corerouter/alpaca&tab=protocol

Date Reviewed
24-Oct-22

Schema Version
2.0.1

Subgraph Version
1.0.0

Methodology Version
1.0.0

Evidence Spreadsheet
https://docs.google.com/spreadsheets/d/1mO-5eY5lm7E2baYMq8sjLw1BmfYw7VZN/edit?usp=sharing&ouid=104027705798814439445&rtpof=true&sd=true

Metric to Review
TVL pool

Sum of pool TVL is in line with the subgraph although out of all pools ETH pool shows a big discrepancy.
Refer to the sheet "Pool_Overview" for more info

Subgraph
Official Website
Absolute Difference
% Difference

386,446,683.54
394,189,695.50
-7,743,011.96
-2.00%

#08 ETH
Official Website
Absolute Difference
% Difference

2,218,065.16
10,801,768
-8,583,702.84
-386.99%

Revenue

Daily revenue is correct although cumulative revenue is not in line with protocol and supply percentages from the website. Difference in percentage is mainly due to the ALPACA and TUSD pool. See "Total Revenue" sheet for more info.

Borrow

Total borrow balance USD is negative which should not be the case.

Usage metrics

Daily Users and transaction count are not in line with hourly data and dune analytics. In addition total pool count should be 9 compared to 14 in the subgraph.

Events

Liquidates page may have incorrectly placed its decimal places in reference with BSCscan. Refer to the screenshots in the "Events" sheet.

Please refer to the attached worksheet for more details.

@corerouter

Gotcha. I am going to take a look and fix the problems. Thanks!

@corerouter Took a look at the QA and it was done well. Let me know if you need any help and I can QA the fixes. Thank you for taking a look at this.

@ishraq8 Sure. I will let you know once they are fixed. As the subgraph needs about 3 days to sync, it may take some time to fix them. Thanks!

The fix has been deployed and verified. Please take a look when you have time. Thanks!

@corerouter This is great! all issues resolved. Alpaca is now ready for prod.


Update golang version from 1.21 to 1.22

Update golang version from 1.21 to 1.22

Overriding konflux test temporarily and merging since konflux test requires new pipelines.

/cherrypick release-4.17


[New game]: SOUL SURFER  👾

🎮 Game Request
Game logic and basic description

👻 Resurrect dead heroes and use their various attributes to navigate the levels.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @0xabdulkhalid !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @0xabdulkhalid!
We are already having a similar game request in #1061 👀
Make sure you come up with a cool unique idea 😀
Waiting for your new game idea 💗.

Hey @0xabdulkhalid ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


FlameComics: Use cloudflareClient

Related to #6411, discarding a cloudflare issue
Checklist:

[x] Updated extVersionCode value in build.gradle for individual extensions
[ ] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[x] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[ ] Added the isNsfw = true flag in build.gradle when appropriate
[x] Have not changed source names
[ ] Have explicitly kept the id if a source's name or language were changed
[x] Have tested the modifications by compiling and running the extension through Android Studio
[ ] Have removed web_hi_res_512.png when adding a new extension

superseded by #6613


Name in Homeassistant and Vibration Control

Removed Friendly_Name from Home Assistant Entities
Added variable to control vibration on touch
Added efects to Nightlight

Acce

Ok


Do not include @wordpress/element script in bundle

Previously done to save some bytes, but we don't want this to be in the bundle due to licenses.

@pbakaus @dvoytenko This is related to #789. Whereas we copy-pasted all the Gutenberg files for the date picker, we use the @wordpress/element as-is. However, we should not include it in the final bundle. Instead, this change will make it so that we only reference the package via the existing window.wp.element global. This way, our final bundle does not contain this GPL-licensed code itself, but only points to it.

thanks, this sounds like a good plan.


[Candidate 2v2 Aztec Empire ZH v1] Top left Supply Piles cannot be driven around, but bottom left Supply Piles can

Issue Description
Top left Supply Piles cannot be driven around, but bottom left Supply Piles can.
Expected behavior
Mirrored base Supply Piles offer equal space for unit mobility and building.
Screenshots

fixed.


Expired Iterator Exception

I am experiencing the following issue when the iterator becomes expired (after 5 minutes) and records are not being processed:
2015-07-03 11:56:58,941 [9] ERROR KinesisUtils [(null)] - Failed to get records from stream [App], shard [shardId-000000000000]
Amazon.Kinesis.Model.ExpiredIteratorException: Iterator expired. The iterator was created at time Thu Jul 02 12:57:57 UTC 2015 while right now it is Fri Jul 03 03:56:58 UTC 2015 which is further in the future than the tolerated delay of 300000 milliseconds. --->

Hi, sorry for late reply, got back from holiday in Japan this week and been bogged down with work stuff since.
From the error message it looks pretty odd, as it claims the iterator was created almost a day before, and there are couple of inconsistencies in timestamp here:

error message said iterator was created at Jul 02 12:57:57 UTC 2015
you said it expired after 5 mins
timestamp of error message is 2015-17-03 11:56:58 which I presume is UTC?
error message said right now is Jul 03 03:56:58 UTC 2015

Can you verify the timestamp of the log message, if it's in UTC? And what is the timezone the server is configured with?

Hi @theburningmonk - the server timezone is UTC, log4net is logging %date rather than %utcdate (hence mismatch on log entry). Same error occurring today:
2015-07-22 23:13:43,182 [393] ERROR KinesisUtils [(null)] - Failed to get records from stream [App], shard [shardId-000000000002] Amazon.Kinesis.Model.ExpiredIteratorException: Iterator expired. The iterator was created at time Mon Jul 13 05:16:47 UTC 2015 while right now it is Wed Jul 22 23:13:42 UTC 2015 which is further in the future than the tolerated delay of 300000 milliseconds. ---> Amazon.Runtime.Internal.HttpErrorResponseException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
2015-07-22 23:15:27,463 [466] ERROR KinesisUtils [(null)] - Failed to get records from stream [App], shard [shardId-000000000002] Amazon.Kinesis.Model.ExpiredIteratorException: Iterator expired. The iterator was created at time Mon Jul 13 05:16:47 UTC 2015 while right now it is Wed Jul 22 23:15:27 UTC 2015 which is further in the future than the tolerated delay of 300000 milliseconds. ---> Amazon.Runtime.Internal.HttpErrorResponseException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
We're trying to diagnose whether this is something our end or in the ReactoKinesix library, any help/ideas much appreciated.

Hi so I spent a bit of time looking at this, and my suspicion is that when there are empty receives it's not recording the new iterator it received from Kinesis. So if this goes on for a long time, then it's possible for the iterator to go stale.
Are you seeing activities on the shard where you got this error? ReactoKinesix should be tracking a number of CloudWatch metrics under the 'Reacto-KinesiX' namespace, so you can check those.

Thanks for the response, we discovered that a cause for this issue was when a single process look took more than 5 minutes.
We adjusted the ReactoKinesix configuration to retrieve a smaller number of records from Kinesis and minimise the likelihood of a single iteration taking more than 5 minutes.
Optimally the framework would detect this response from Kinesis and begin negotiation for a new iterator token.  Though I do realise that the idea of the process is to get work done quickly, and not have long process iterations, these things may happen in extenuating circumstances.
Also regarding your investigation of empty receives: that's not the scenario we've observed, we have processors on development environments which remain operational even with low volumes of stream ingress.

Yup, you're right, the library should handle this and re-negotiate with Kinesis, it should be an easy change too

I've pushed a new version v0.5.0 which fixes this issue here by getting a new shard iterator when ExpiredIteratorException is caught.
It now also records some more info in the process state table in DynamoDB:

a CheckpointAt timestamp to give you a better idea when the last checkpoint was made
MillisecondsBehindLatest value that came back from Kinesis to let you know how far you're behind in the stream

I'll close this ticket for now, feel free to reopen if you think this problem is still not fixed.


java.lang.IllegalStateException: Duplicate keys are impossible when collecting from a map

Hi,
The plugin keeps failing when signing a message. Here is the stack trace:
java.lang.IllegalStateException: Duplicate keys are impossible when collecting from a map
	at software.amazon.awssdk.utils.CollectionUtils.throwIllegalStateException(CollectionUtils.java:134)
	at java.base/java.util.TreeMap.mergeValue(TreeMap.java:843)
	at java.base/java.util.TreeMap.merge(TreeMap.java:718)
	at java.base/java.util.stream.Collectors.lambda$toMap$68(Collectors.java:1658)
	at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
	at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1837)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at software.amazon.awssdk.utils.CollectionUtils.deepUnmodifiableMap(CollectionUtils.java:108)
	at software.amazon.awssdk.http.DefaultSdkHttpFullRequest.<init>(DefaultSdkHttpFullRequest.java:58)
	at software.amazon.awssdk.http.DefaultSdkHttpFullRequest.<init>(DefaultSdkHttpFullRequest.java:41)
	at software.amazon.awssdk.http.DefaultSdkHttpFullRequest$Builder.build(DefaultSdkHttpFullRequest.java:331)
	at software.amazon.awssdk.http.DefaultSdkHttpFullRequest$Builder.build(DefaultSdkHttpFullRequest.java:170)
	at software.amazon.awssdk.auth.signer.internal.BaseAws4Signer.sign(BaseAws4Signer.java:47)
	at burp.BurpExtender.signRequest(BurpExtender.java:1509)
	at burp.BurpExtender.processHttpMessage(BurpExtender.java:1680)
	at burp.ani.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)

I think you are experiencing the issue that was fixed in b60f89a6fdc7bb8ea9e665f51999fd62c2b9daca. This fix is not present in the BApp store version of the extension so it will need to be built. Please let me know if that fixes your problem.

I believe this happens when the "host" header is lowercase (or possibly another header). Try naming it to "Host" (or play around with case of any other headers). I believe there's a case sensitivity mismatch somewhere.

I was able to reproduce the error with the BApp store version of the extension but not with the one built from the improved-config branch. However, I did notice that a lowercase "host" header resulted in an invalid signature response in the latest build so I've addressed this in https://github.com/anvilventures/aws-sigv4/commit/89c7acfe5fb5e8eb881f9b4138e006734d71d06a.
I don't fully understand the original issue but it seems the awssdk errors out when attempting to add a header (such as "Host") if a case-insensitive matching header is passed in by the caller. I encountered this before which is why you can see that other headers are removed before signing, just above the latest fix.
So, until I can update the BApp store version of the extension, please build from the improved-config branch.

The host header fix is in the BApp store: https://github.com/PortSwigger/aws-sigv4/pull/1


Fix domain id for OpenStack provider

OpenStack authentication does not support using a mix of DomainID and
DomainName, only one or the other should be used.

ci check this


Support Tables in foldPretty (now that elm-markdown parses table)

Hi,
I'd really like to use your library, would it be possible to have foldPretty support Tables?
The latest elm-markdown is now able to parse them...
Many thanks,
Paul

I'll update the library :+1:

I'll update the library :+1:

I've added support for this.
Check out the accompanying example: https://elm-markdown-transforms.netlify.app/format-tables.html
Check out the example source code (Linked on the above site) and the accompanying documentation: https://package.elm-lang.org/packages/matheus23/elm-markdown-transforms/latest/Markdown-AnchorValidation
Let me know if this solves your usecase (and re-open the issue then) :+1:

I've added support for this.
Check out the accompanying example: https://elm-markdown-transforms.netlify.app/format-tables.html
Check out the example source code (Linked on the above site) and the accompanying documentation: https://package.elm-lang.org/packages/matheus23/elm-markdown-transforms/latest/Markdown-AnchorValidation
Let me know if this solves your usecase (and re-open the issue then) :+1:

Thank you the superfast turnaround!
This looks great based on the example.
Could we get this version published please?

Thank you the superfast turnaround!
This looks great based on the example.
Could we get this version published please?

Integrated with my app very easily and I was about to ask how to style the table and then discovered compact style. I have use case for both, so thank you for that.

Integrated with my app very easily and I was about to ask how to style the table and then discovered compact style. I have use case for both, so thank you for that.


Balder/fix signedness in weighted set

@toregge PR
No semantics in first commit.(At least not intended)

Comments addressed and fixed.


[docs] Remove link from Quickstart to defunct Katacoda tutorial

Link is 404. Katacoda has shut down.

Thank you to the Katacoda community for your years of support. Katacoda.com is now closed. Learn more about this decision and access interactive learning on O’Reilly here

Thank you for this, @rmoff - seems like this was done in another PR.


Deploy PRs to test server

@alexanderstephan  @mono424 @AndreasPaul @MatthiasReumann
With this, adding the label testserver to a pull request will deploy the changes to https://test.live.mm.rbg.tum.de :partying_face:  I'll hook y'all up with test accounts after I'm done with some more setup stuff :)

https://test.live.mm.rbg.tum.de

Wow awesome! Insane how fast you set that thing up! 🔥

alpine does not have a tag in the Dockerfile

Good catch. I added 3.15


Migrate to CMake

Use CMake instead of Autotools. See #28 for a rationale.
Closes #28

Before merging, the CMake build should be tested against:
-[x] Linux
-[ ] Darwin


flannel: 0.13.0 -> 0.14.0

https://github.com/flannel-io/flannel/releases/tag/v0.14.0

Motivation for this change
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 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

[ ] Fits CONTRIBUTING.md.

@ofborg build kubernetes.tests


Testing requests

Hello, I'm looking for a way to test against the request sent by a module. My initial intuition was to capture the request during the mock but I'm having trouble doing it in a clean way.
defmodule ApiTest do
  use ExUnit.Case

  setup do
    Tesla.Mock.mock fn
      %{method: :get} = env ->
        # capture request env here
        %Tesla.Env{}
    end

    {:ok}
  end

  test "issue some request here" do
    Api.get("")

    assert request.query == [query: "hello world", token: "12345"]
  end
end

My second intuition is to create a middleware that pushes the untouched request at the beginning of the pipeline into somewhere I can read from in the test.
I tried using a global variable but couldn't figure out how to do that in elixir but, I didn't spend too much time toying with that idea because then tests would have to always run serially.

You can return the request in mock (fn env -> env end) but it will be processed by middleware stack as response.
The alternative is to send a message to current process - https://twitter.com/iteamon/status/851375743284244481?s=20
On 24 Mar 2018, 10:01 +0100, Wilberto Morales<EMAIL_ADDRESS>wrote:

Hello, I'm looking for a way to test against the request sent by a module. My initial intuition was to capture the request during the mock but I'm having trouble doing it in a clean way.
defmodule ApiTest do
use ExUnit.Case
setup do
Tesla.Mock.mock fn
%{method: :get} = env ->
# capture request env here
%Tesla.Env{}
end
{:ok}
end
test "issue some request here" do
Api.get("")
assert request.query == [query: "hello world", token: "12345"]
end
end
My second intuition is to create a middleware that pushes the untouched request at the beginning of the pipeline into somewhere I can read from in the test.
I tried using a global variable but couldn't figure out how to do that in elixir but, I didn't spend too much time toying with that idea because then tests would have to always run serially.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

In this case you don’t even need to register the process since Tesla mock runs in the same process so just
in mock
send self(), env
in test
assert_receive ...

Thank you very much @teamon, I went with sending a message to self.


Paths are wrong on macOS

Had to change ' \' to '/' to make this work on my macbook, can work around this with pathlib https://docs.python.org/3/library/pathlib.html

Hello. There is patch for this thing: https://github.com/achimoraites/Python-Image-Converter/pull/2

looks good .

Thanks for your contributions @felixjchen and @rakovskij-stanislav 👏 !!!


Run Logic within Logic, like you can with Sagas?

Currently converting some Redux Sagas into Logics and have run into one issue:
We've got a Saga that runs another Saga within it (this Saga is also sometimes triggered independently), like so:
function* sagaA() {
  yield call(api.getSomething, a, b);
  yield sagaB();
  yield put(actionDone());
}

I'm struggling to grasp how to do this with Logic. Or could I do something where I called the other Logic's process method directly from the other?
async process({ getState }, dispatch, done) {
  await api.getSomething(a,b);
  await logicB.process({ getState}, dispatch);
  dispatch(actionDone());
  done()
}

Any ideas/help appreciated, thanks.

Interesting problem. I'm not actually sure if you can do the second part you want. I have normally dispatched another process if needed since they weren't completely coupled. If the logic needs to be ran synchronously, then the only way I have seen is to put the logic there. Though I could be wrong!

I would suggest a slightly different approach. We had a situation in our app where you could upload a photo, tag a photo, or upload and tag a photo. I recognized that we could have two processors that handle the tagging and uploading part and then all there was left to do was compose them together with a processor that orchestrates the work. Hopefully this code makes sense and applies to your problem. The interesting bit here is listening on the action stream for other events after this processor so you can jump back in when the thing you are delegating to is complete/errored. See the action$ below.
export const uploadAndTagPhoto = createLogic({
  type: constants.UPLOAD_AND_TAG_IMAGE.ACTION,
  warnTimeout: 0,
  processOptions: {
    dispatchReturn: true,
    dispatchMultiple: true
  },
  process({ action, action$ }, dispatch) {
    const { tag, projectId, tag, file } = action.payload
    const fileNameWeAreUploading = file.name

    dispatch(Images.actions.uploadPhotoToProject(projectId, [file]))

    return action$.pipe(
      // filter stream to only photo upload events
      filter(onlyUploadEvents),
      // filter to files that have same name as one we care about
      filter(byFileName(fileNameWeAreUploading)),
      // stream could contain error event
      // in that case we want to throw and handle it as an error
      map(fileUploadAction => {
        if (
          fileUploadAction.type ===
          Images.constants.UPLOAD_PHOTO_TO_PROPERTY.REJECTED
        ) {
          throw new Error()
        }

        return fileUploadAction
      }),
      // upload action can upload multiple files
      // we cannot so we grab our first file back out
      map(uploadSuccess => uploadSuccess.payload.files[0]),
      map(uploadSuccess =>
        // this is the action we will dispatch showing a successful upload and association
        Images.actions.tagElement(
          uploadSuccess.id,
          uploadSuccess.location,
          tag
        )
      ),
      catchError(error =>
        of({
          type: Project.constants.UPLOAD_AND_TAG.REJECTED,
          payload: {
            error,
            tag
          }
        })
      )
    )
  }
})

Also I had to adapt this example slightly because our code in our application does slightly different things but this idea is easier to explain. If I made any errors or something looks off let me know and I will fix the goof or explain better.


bump version in package.json to v2.22.2

release version v2.22.2

 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.


fixed mis-alignment of creative-common logo and also fixed alignment …

…of thumbnail list in smaller screens
Fixes

Fixes #240 by @just-arizon
Description
fixed the Misalignment of the creative common logo on smaller screens also fixed them left stickyness of thumbnail lists on smaller screens
Technical details
used media queries to fix it
Screenshots
after:

before:

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Hello @Shibbu264,
Thank you for your input. As the issue remains unresolved with a status of 🚦 status: awaiting triage, PR submissions are currently not accepted until the status changes to status: ready for work. Please refer to the contributing guidelines for further clarification.
Thank You

Hello @praveen-rikhari , No problem We can consider this PR if this issue becomes ready to work.


Keyword: Get Browser Count broken

The keyword "Get Browser Count" returns all browsers in cache, no matter, if they are already closed.
So if you open 2 browsers and then close one browser, the return value of "Get Browser Count" is still 2.
Only "Close All Browser Windows" will reset the return value to 0.
Is this intentionally?
In the library file: browsercache.py, there would be the correct function "get_open_browsers". But this funtion is not published by robot framework.
Robot version: 3.0
Steps to reproduce:
Open Browser  http://www.google.de  chrome
Open Browser  http://www.google.de  chrome
Close Browser
Get Browser Count        # actual return value is 2, expected 1

Oh sorry. I am in the wrong bug tracker. It is related to the external selenium2library. I will open a bug report there.


Feature: Post Previews

Howdy, Thanks for building this pretty little theme :)
It would be neat if you could set a number of lines for Chalk to preview of a post.
In the past I've used the excerpt_separator on my posts with other themes.
Do you think this would that be something you could easily add in into the theme?
Thanks,

@sammcj Can you show a visual example of this please?

Maybe this:
https://wesleytsai.io/

@sammcj @migueldemoura I don't see what the difference is with the current description?

Don't you have to manually specify such "preview" with Chalk?

@sammcj I prefer to manually enter the preview so you have more control over it.


MNT: rerender

Merge in PR ( https://github.com/conda-forge/nsight-compute-feedstock/pull/22 ) and re-render
Fixes #23

@conda-forge-admin , please re-render


Zeroize all the things

Closes #79
I opted for Zeroize for the passphrase because (1) it's already a dependency, and (2) it seems to do the same thing

Fyi we had a long discussion in rust-secp256k1 back in the days on Zeroize PR introduced to secret key. TL;DR: it doesn't work and gives false sense of security. Rust compiler does a lot of memory copying and to get Zeroize working you need to have Pin types first and do quite a complex setup

Fyi we had a long discussion in rust-secp256k1 back in the days on Zeroize PR introduced to secret key. TL;DR: it doesn't work and gives false sense of security. Rust compiler does a lot of memory copying and to get Zeroize working you need to have Pin types first and do quite a complex setup

Hmm interesting. Yeah it doesn't seem like a fool-proof solution, but I guess it's still worth the tiny bit of extra code :man_shrugging:


[0.5 release] moving to init.lua from init.vim

Todo

[ ] study basic lua
[ ] rewrite terminal float function to lua

it okay to use vim script and lua together

so byte ideas

it okay to use vim script and lua together

so byte


Fix control bar button label styling. Fix screenshare button hover and checked styling.

What

Fix background color and label of screenshare button

NOTE: MOVED STYLING FROM COMPOSITES TO COMPONENT

Fix our control bar buttons so that the label can be styled correctly

Simplified our label code - removed our custom label rendering logic, please review

Why
https://skype.visualstudio.com/SPOOL/_workitems/edit/2633102
How Tested

Locally tested:

Will check UI tests once they complete.

Tested keyboard nav

@alcail please comment any extra accessibility tests to check

just make sure that when focused on (navigated to through keyboard) the outline is indeed white and Narrator indeed says "Stop sharing button", but code seems great so should be no issue

Awesome. I just checked to make sure that when focused on (navigated to through keyboard) the outline is indeed white and Narrator indeed says "Stop sharing button", and perfect :)

Confirmed both, thanks!


BufferedOutput as an output strategy doesn't behave as buffered.

(See the guidelines for contributing, linked above)
steps
val log = streams.value.log
Fork.java(ForkOptions(outputStrategy = BufferedOutput(log)), Seq("mypackage.MyClass"))

where mypackage.MyClass is a long running process that shows frequent output.
problem
I can see all output in real time.
expectation
I expect the output to be shown when the process finishes.
notes

I need BufferedOutput for avoid mixing the output of parallel running tasks.
SBT version 0.13.11, 0.13.9

Any news about this?

Attached simple project that shows the bug.
output.zip

I'll try to make a pull request.  What is the starting branch?

Finally, I've managed to do a workaround, without modifying SBT source code.
import java.io.File

name := "test"
scalaVersion := "2.11.7"

val buffered1 = taskKey[Unit]("Run external process with buffered output")
buffered1 := {
	object bufferedLog extends Logger {
		val buf = new StringBuffer()

		override def trace(t: => Throwable) = {
			buf.append("[error] ")
			buf.append(t.getMessage)
			buf.append("\n")
		}

		override def log(level: Level.Value, message: => String) {
			if (level == Level.Error)
				buf.append("[error] ")
			buf.append(message)
			buf.append("\n")
		}

		override def success(message: => String) {
			buf.append(message)
		}
	}
	Fork.java(ForkOptions(
		runJVMOptions = Seq("-cp", (fullClasspath in Compile).value.map{_.data.getAbsolutePath }.mkString(File.pathSeparator)),
		outputStrategy = Some(LoggedOutput(bufferedLog))
	), Seq("Test"))
	System.out.println(bufferedLog.buf.toString)
}

val buffered2 = taskKey[Unit]("Run external process with non-buffered output")
buffered2 := {
	Fork.java(ForkOptions(
		runJVMOptions = Seq("-cp", (fullClasspath in Compile).value.map{_.data.getAbsolutePath }.mkString(File.pathSeparator)),
		outputStrategy = Some(BufferedOutput(streams.value.log))
	), Seq("Test"))
}

val nonBuffered = taskKey[Unit]("Run external process with non-buffered output")
nonBuffered := {
	Fork.java(ForkOptions(
		runJVMOptions = Seq("-cp", (fullClasspath in Compile).value.map{_.data.getAbsolutePath }.mkString(File.pathSeparator)),
		outputStrategy = Some(StdoutOutput)
	), Seq("Test"))
}

Thanks for the repro project. I did confirm it's a bug.
As per pull requests, if you don't mind waiting till sbt 1.0, please send it on 1.0.x.
If you want to be included in 0.13, then we ask you send to both 1.0.x and 0.13.


Bug in 1.0.9 - useStoryblokState preview param

There's a bug in a change made in 1.0.9, causing useStoryblokState to break when using preview param.

conditional loading the bridge if it's preview (918a88e)

Expected behaviour:
Calling useStoryblokState(story, {}, true) should enable the bridge as the preview param is true
Calling useStoryblokState(story, {}, false) should disable the bridge as the preview param is false
Current behaviour:
Calling useStoryblokState(story, {}, true) disables the bridge whilst the preview param is true
Calling useStoryblokState(story, {}, false) enables the bridge whilst the preview param is false
  if (preview) {
    return initialStory;
  }

should be
  if (!preview) {
    return initialStory;
  }

Hi @annarhughes!
Thanks for identifying and reporting the issue!
I just added a fix in this commit:
https://github.com/storyblok/storyblok-react/commit/5cd93d379a10d3961c13f9a2ae9d3f8895bd1310
Could you check if the behaviour is correct now?

@fgiuliani Yes the preview param works as expected now!
Thanks for fixing so quickly 🙌


Serverlist

Description of your suggestion
I have a suggestion for the serverlist command. It would be helpful if the command could display the server that the bot is currently in, along with its invite link and the number of users on the server. This would make it easier for owners to manage their servers and keep track of their bot's activity.

thanks for the suggestion but i'm not planning to add more feature to the project. reason? too busy & dont have enough time coz i'm focusing on something else right now. if u know the way to make it happen u can make a PR to help the project grow more.
Thanks


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 963 ms

Resolved: Bofrost.be performance has improved in a2d48a0 after 48 minutes.


OCPBUGS-29678: Add infrastructure annotations

All required infrastructure-required annotations are added, plus the CSI one, which is optional.
CC @openshift/storage

/jira cherrypick OCPBUGS-29677

/lgtm

/retest

/label backport-risk-assessed

/label qe-approved
/label cherry-pick-approved

/jira refresh

/retest

/jira refresh

/cherry-pick release-4.13


Fix jenkins pipeline for branches

Fixes the jenkins builds on branches - we don't have change related vars in that case. This has been tested in my fork repo.

Jenkins Build Summary
Built from this commit
Built at 20171201 - 23:25:16
Test Results

Build Type
Result
Status

clang.debug.unity
970 cases, 0 failed, t: 372s
PASS :white_check_mark:

coverage
970 cases, 0 failed, t: 583s
PASS :white_check_mark:

clang.debug.nounity
968 cases, 0 failed, t: 287s
PASS :white_check_mark:

gcc.debug.nounity
968 cases, 0 failed, t: 308s
PASS :white_check_mark:

gcc.debug.unity
970 cases, 0 failed, t: 415s
PASS :white_check_mark:

clang.release.unity
969 cases, 0 failed, t: 443s
PASS :white_check_mark:

gcc.release.unity
969 cases, 0 failed, t: 449s
PASS :white_check_mark:

Codecov Report

Merging #2289 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #2289   +/-   ##
========================================
  Coverage    71.48%   71.48%
========================================
  Files          697      697
  Lines        53742    53742
========================================
  Hits         38417    38417
  Misses       15325    15325

Continue to review full report at Codecov.

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


🐛 Bug Report: Unable to enter Backstage in a codespace

📜 Description
I can't seem to enter the instance of Backstage I made in a codespace.
👍 Expected behavior
I should be able to create an instance of Backstage in a codespace just like I would be able to locally, right?
👎 Actual Behavior with Screenshots

👟 Reproduction steps
Create a new codespace and run:
npx @backstage/create-app@latest
yarn dev

Go to the URL generated by codespaces, click the Enter button to enter as a guest user.
📃 Provide the context for the Bug.
I'd like to set up a codespace that makes it easy for front-end developers learning Backstage to get up and running building components quickly.
🖥 Your Environment
Codespace
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

We don't use codespaces and don't know much about its details, so in a sense you're on your own to set the app-config right for the environment at hand, just like any other environment.
When you figure it out, a small contributed guide (maybe in the contrib folder) could be nice though!
Anyway, seems like a regular CORS error. You probably want to set something like
backend:
  cors:
    origin: https://crispy-happiness-...

I regularly develop Backstage within a Codespaces environment.  Your issue is that you are using the Browser-based environment, instead of connecting from a local VS Code instance (which will port forward to localhost).  In addition to the CORS issue you are running into (as local configuration expects to use localhost), you will likely run into issues with OAuth trusts.
This is not a Backstage specific issue, but instead the nature of doing frontend development within a Codespaces environment.  Trusted redirect URLs for local environments are almost always going to be for a localhost domain, and as such using the github.dev domain provided by the Browser-based IDE will not function.


Issues with pulling installer from Microsoft server

Hi,
I am trying to install visualstudio2019buildtools package via chocolatey without success. Reason for it seems to be Microsoft servers that respond with 404 HTTP Error code while trying to download dependencies (check the output of choco install command below)
Installing the following packages:
visualstudio2019buildtools
By installing you accept licenses for the packages.

dotnetfx v<IP_ADDRESS>90930 [Approved]
dotnetfx package files install completed. Performing other installation steps.
Downloading dotnetfx 64 bit
  from 'https://download.visualstudio.microsoft.com/download/pr/014120d7-d689-4305-befd-3cb711108212/0fd66638cde16859462a6243a4629a50/ndp48-x86-x64-allos-enu.exe'

Download of ndp48-x86-x64-allos-enu.exe (111.94 MB) completed.
Hashes match.
Installing dotnetfx...
WARNING: Microsoft .NET Framework 4.8 has been installed, but a reboot is required to finalize the installation. Until the computer is rebooted, dependent packages may fail to install or function properly.
 The install of dotnetfx was successful.
  Software installed as 'exe', install location is likely default.

visualstudio2019buildtools v<IP_ADDRESS> [Approved]
visualstudio2019buildtools package files install completed. Performing other installation steps.
Attempt to get headers for https://aka.ms/vs/16/release/channel failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://aka.ms/vs/16/release/channel'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Downloading channel manifest
  from 'https://aka.ms/vs/16/release/channel'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://aka.ms/vs/16/release/channel'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
The install of visualstudio2019buildtools was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019buildtools\tools\ChocolateyInstall.ps1'.
 See log for details.

Chocolatey installed 1/2 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Packages requiring reboot:
 - dotnetfx (exit code 3010)

The recent package changes indicate a reboot is necessary.
 Please reboot at your earliest convenience.

Failures
 - visualstudio2019buildtools (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019buildtools\tools\ChocolateyInstall.ps1'.
 See log for details.

Is there anything that can be done from maintainers end, or is this problem on Microsoft end?

I'm getting a similar error with choco install vcredist-all -y on an AWS ec2 instance while building with Packer.
amazon-ebs.mep_ami: vcredist140 v14.29.30040 [Approved]
amazon-ebs.mep_ami: vcredist140 package files install completed. Performing other installation steps.
amazon-ebs.mep_ami: Attempt to get headers for https://download.visualstudio.microsoft.com/download/pr/888b4c07-c602-499a-9efb-411188496ce7/F3A86393234099BEDD558FD35AB538A6E4D9D4F99AD5ADFA13F603D4FF8A42DC/VC_redist.x86.exe failed.
amazon-ebs.mep_ami:   The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://download.visualstudio.microsoft.com/download/pr/888b4c07-c602-499a-9efb-411188496ce7/F3A86393234099BEDD558FD35AB538A6E4D9D4F99AD5ADFA13F603D4FF8A42DC/VC_redist.x86.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
amazon-ebs.mep_ami: Downloading vcredist140-x86
amazon-ebs.mep_ami:   from 'https://download.visualstudio.microsoft.com/download/pr/888b4c07-c602-499a-9efb-411188496ce7/F3A86393234099BEDD558FD35AB538A6E4D9D4F99AD5ADFA13F603D4FF8A42DC/VC_redist.x86.exe'
amazon-ebs.mep_ami: ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://download.visualstudio.microsoft.com/download/pr/888b4c07-c602-499a-9efb-411188496ce7/F3A86393234099BEDD558FD35AB538A6E4D9D4F99AD5ADFA13F603D4FF8A42DC/VC_redist.x86.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
amazon-ebs.mep_ami: The install of vcredist140 was NOT successful.
amazon-ebs.mep_ami: Error while running 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'.
amazon-ebs.mep_ami:  See log for details.

Likewise when trying running the following command - choco install visualstudio2019buildtools. Results in the following error:
amazon-ebs: Downloading channel manifest     amazon-ebs:   from 'https://aka.ms/vs/16/release/channel'     amazon-ebs:     amazon-ebs: Progress: 99% - Saving 128 KB of 129.08 KB     amazon-ebs: Progress: 100% - Completed download of C:\Users\Administrator\AppData\Local\Temp\chocolatey\chocolatey-visualstudio.extension\ChannelManifest_-602808024.man (129.08 KB).     amazon-ebs: Download of ChannelManifest_-602808024.man (129.08 KB) completed.     amazon-ebs: Downloading catalog manifest     amazon-ebs:   from 'https://download.visualstudio.microsoft.com/download/pr/acfc792d-506b-4868-9924-aeedc61ae654/5165d2c72e51038a0e0069b2f170ab7ef7ae4a4b4cb5b84677876c2a9e9e74b2/VisualStudio.vsman'     amazon-ebs: ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://download.visualstudio.microsoft.com/download/pr/acfc792d-506b-4868-9924-aeedc61ae654/5165d2c72e51038a0e0069b2f170ab7ef7ae4a4b4cb5b84677876c2a9e9e74b2/VisualStudio.vsman'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."     amazon-ebs: The install of visualstudio2019buildtools was NOT successful.     amazon-ebs: Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019buildtools\tools\ChocolateyInstall.ps1'.     amazon-ebs:  See log for details.     amazon-ebs:     amazon-ebs: Chocolatey installed 3/4 packages. 1 packages failed.     amazon-ebs:  See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).     amazon-ebs:     amazon-ebs: Failures     amazon-ebs:  - visualstudio2019buildtools (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019buildtools\tools\ChocolateyInstall.ps1'.     amazon-ebs:  See log for details.
Attemtping the command with previous versions results in the same error.

Same here, will update once we get the fix / WA

It looks like a major malfunction/misconfiguration on Microsoft servers. Even the VS installer download links from https://visualstudio.microsoft.com/downloads/ fail with 404 Not Found.

I believe the problem is resolved - the VS manifest urls work from my machine, at least.


Fix incorrect trigger of W0310

Fixes #1045
However, I'm not sure if this is the best possible solution.

I have checked and it works with your code - it looks like this logic was invalid and missing search_variables resulted in getting empty string on isupper() comparison later on. Your code fixes that - thanks!


Another build-time improvement - using gulp-sass instead of gulp-compass

I found gulp-compass is slower than gulp-sass since gulp-sass is based on node-sass binding with libsass and provide blazing fast compilation.
And also fix small bug in _toolbar.scss
For this case in kaku, comparing build-time between these two libs
gulp-compass:  500 ~ 600 ms for clobber build
gulp-sass:  20 ~ 30 ms for clobber build

@rickychien , but we need some mixins provided by compass http://compass-style.org/reference/compass/, does gulp-sass provide them ?

 It seems there are some irreplaceable feature provide by compass so that we can't transit to node-sass so far.
So let me close this :)

Great ! Thanks Ricky


Lodash 4.17.20

Lodash 4.17.20
Hi, can you please upgrade this to the latest version to fix vulnerabilities?

Completed in #71 - will bump the npm version shortly!