Create Or Update Resource Group should fail when subscription access not given

The following log from a release on VSTS shows an important issue that can cause bad results.
I have two azure subscriptions and have added a service principal to VSTS for subscription two, and by mistake I used RBAC to give access to subscription one, which resulted in the following:
It gives an error saying the subscription do not exists, this happened due to not having access to subscription two. Expected it to break out of the deployment at this point.
Instead it continued executing the template deployment and as a result of it having access to subscription one, it did the deployment of the template to the wrong subscription.
After using RBAC again to give the correct scope access to /subscriptions/... then the release was accepted and no errors, and the template deployed to the correct subscription.
Let me know if more details is needed?
2016-01-08T09:34:47.1896965Z Starting task: Azure Deployment:Create Or Update Resource Group action on test-resource-group

2016-01-08T09:34:48.0774096Z Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default\tasks\AzureResourceGroupDeployment\1.0.35\DeployAzureResourceGroup.ps1

2016-01-08T09:34:49.9264229Z Looking for Azure PowerShell module at C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\Azure\Azure.psd1

2016-01-08T09:34:52.2666273Z AzurePSCmdletsVersion= <IP_ADDRESS>

2016-01-08T09:34:52.3856273Z Get-ServiceEndpoint -Name cc06d67c-c28c-4ff2-9886-cc7048bde25e -Context Microsoft.TeamFoundation.DistributedTask.Agent.Worker.Common.TaskContext

2016-01-08T09:36:11.1637506Z tenantId= ********

2016-01-08T09:36:11.1637506Z azureSubscriptionId= 17ccc31c-914c-49f3-9690-ec56f713fd3a

2016-01-08T09:36:11.1647503Z azureSubscriptionName= Ascend Dev/Test 1

2016-01-08T09:36:11.1837497Z Add-AzureAccount -ServicePrincipal -Tenant $tenantId -Credential $psCredential

2016-01-08T09:36:16.9582868Z Select-AzureSubscription -SubscriptionId 17ccc31c-914c-49f3-9690-ec56f713fd3a

2016-01-08T09:36:17.4474668Z ##[error]The subscription id 17ccc31c-914c-49f3-9690-ec56f713fd3a doesn't exist.

2016-01-08T09:36:17.4484637Z ##[error]Parameter name: id

2016-01-08T09:36:17.4584637Z ##[debug]Starting Azure Resource Group Deployment Task

2016-01-08T09:36:17.4594637Z ##[debug]ConnectedServiceName = cc06d67c-c28c-4ff2-9886-cc7048bde25e

2016-01-08T09:36:17.4594637Z ##[debug]Action = Create Or Update Resource Group

2016-01-08T09:36:17.4604638Z ##[debug]ResourceGroupName = test-resource-group

2016-01-08T09:36:17.4604638Z ##[debug]Location = West Europe

2016-01-08T09:36:17.4674621Z ##[debug]OverrideParameters =

2016-01-08T09:36:17.4674621Z ##[debug]OutputVariable =

2016-01-08T09:36:17.6074597Z ##[debug]Validated the required azure powershell version

2016-01-08T09:36:17.6094608Z ##[debug]Switch Azure Mode is required

2016-01-08T09:36:17.6274600Z ##[warning]The Switch-AzureMode cmdlet is deprecated and will be removed in a future release.

2016-01-08T09:36:25.4010935Z ##[debug]Finding files based on C:\a\2a352ca32\serverfarms.json

2016-01-08T09:36:25.4339608Z ##[debug]Files Matching Pattern: C:\a\2a352ca32\serverfarms.json

2016-01-08T09:36:25.4529622Z ##[debug]deploymentDefinitionFile = C:\a\2a352ca32\serverfarms.json

2016-01-08T09:36:25.4639620Z ##[debug]Finding files based on C:\a\2a352ca32\serverfarms_params.json

2016-01-08T09:36:25.4719602Z ##[debug]Files Matching Pattern: C:\a\2a352ca32\serverfarms_params.json

2016-01-08T09:36:25.4729617Z ##[debug]deploymentDefinitionParametersFile = C:\a\2a352ca32\serverfarms_params.json

2016-01-08T09:36:25.5309603Z ##[debug]Generating csm parameter object

2016-01-08T09:36:25.7168845Z ##[debug]Generated the parameter object

2016-01-08T09:36:25.7468852Z ##[debug][Azure Resource Manager]Getting resource group:test-resource-group

2016-01-08T09:36:25.7558850Z ##[debug]Inside Get-AzureRMResourceGroup

2016-01-08T09:36:25.7648829Z ##[warning]The output object of this cmdlet will be modified in a future release.

2016-01-08T09:36:41.4509500Z ##[debug][Azure Resource Manager]Got resource group:test-resource-group

2016-01-08T09:36:41.4699500Z ##[debug]$azureResourceGroupDeployment = New-AzureResourceGroupDeployment -Name "test-resource-group" -ResourceGroupName "test-resource-group" -TemplateFile "C:\a\2a352ca32\serverfarms.json" -TemplateParameterObject $csmParametersObject  -Verbose -ErrorAction silentlycontinue -ErrorVariable deploymentError

2016-01-08T09:36:41.4766188Z [Azure Resource Manager]Creating resource group deployment with name test-resource-group

2016-01-08T09:36:42.3276488Z ##[debug]9:36:42 AM - Template is valid.

2016-01-08T09:36:43.3335878Z ##[debug]9:36:43 AM - Create template deployment 'test-resource-group'.

2016-01-08T09:36:49.8182552Z ##[debug]9:36:49 AM - Resource Microsoft.Web/serverfarms 'ascend-ammo-test-host' provisioning status is succeeded

2016-01-08T09:36:54.0564345Z ##[debug]9:36:54 AM - Resource Microsoft.Insights/autoscalesettings 'ascend-ammo-test-host-autoscale' provisioning status is succeeded

2016-01-08T09:37:02.4623592Z ##[debug][Azure Resource Manager]Created resource group deployment with name test-resource-group

2016-01-08T09:37:02.4740520Z ##[debug][Azure Resource Manager]Getting resource group test-resource-group

2016-01-08T09:37:02.4750523Z ##[debug]Inside Get-AzureRMResourceGroup

2016-01-08T09:37:02.4760522Z ##[warning]The output object of this cmdlet will be modified in a future release.

2016-01-08T09:37:02.9758144Z ##[debug][Azure Resource Manager]Got resource group test-resource-group

2016-01-08T09:37:03.0442769Z Successfully created resource group deployment with name 'test-resource-group'

2016-01-08T09:37:03.0443439Z ##[debug]End of resource group deployment logs

2016-01-08T09:37:03.0471380Z ##[debug]Completing Azure Resource Group Deployment Task

2016-01-08T09:37:03.1362524Z Finishing task: AzureResourceGroupDeployment

2016-01-08T09:37:03.1371363Z ##[error]Task AzureResourceGroupDeployment failed. This caused the job to fail. Look at the logs for the task for more details.

Thanks for posting about this. We have looked into it. The latest version of the task does not face such problem.

Closing it based on latest response.


Do not check for cannonPlaced when cannon is spawned

This prevents cannon being "stuck" if you do not pick it up and it
despawns and goes back to dwarf.
Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>

Closing in favor of #8108 as it is way better solution


Uncaught TypeError: Cannot read property 'ca' of null

This pops up when I drag the map a little,
-This is the console log zone.js:260 Uncaught TypeError: Cannot read property 'ca' of null_.t.Jj @ common.js:216_.B.trigger @ js?key=AIzaSyDeaeCvgrhyDxBkqR5AJ8Q4vfqZZpwf3GA:93dy @ common.js:165(anonymous function) @ common.js:164_.B.trigger @ js?key=AIzaSyDeaeCvgrhyDxBkqR5AJ8Q4vfqZZpwf3GA:93_.t.cl @ common.js:229_.t.fm @ common.js:196t.invokeTask @ zone.js:356t.runTask @ zone.js:256invoke @ zone.js:423

Looks like i've also had this issue with 0.12.0 release.

Me too, but only sometimes....

I see this a lot when using Google Maps, but it's a Google Maps JavaScript API issue and not related to angular2-google-maps.

Yeah, bug of #355. We track this there.


support transparent lualine background

Hi,
I'm using a terminal emulator with transparent background, so I've also configured my nvim (and onedark theme) to be transparent.
I noticed that despite I'm setting transparent = true, my lualine background is not transparent. So, I added a check for this setting in the lualine theme.
What do you think about this? Should it be a separate setting?

it is nice, but confusing when have several horizontal splits (may be there is a way to add buffer separator for horizontal splits?)


ufw becomes inactive when chef is run more than once with no changes to the ufw rules

Cookbook version
1.0.0
Chef-client version
12.13.30
Platform Details
Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-34-generic x86_64)
Digital Ocean Droplet
Scenario:
Running Chef two or more times results in UFW being disabled. Occurs if there are no changes to the configuration for ufw i.e. no changes to the rules for a node. Adding/removing/changing a ufw rule in the node configuration and then running chef results in the firewall becoming active again.
I am running chef using the following command:
bundle exec knife solo bootstrap root@SERVERIP
Steps to Reproduce:
Provision with Chef Solo with the following recipes:
recipe[firewall::default]
recipe[ufw::default](firewall:default was required to resolve https://github.com/chef-cookbooks/ufw/issues/20)
After successful completion, run chef again. (Do not make any changes to the configuration for ufw)
Expected Result:
ufw status should be active
Actual Result:
ufw inactive
Relevant Cookbook Versions:
ufw 1.0.0
firewall 2.5.2
iptables 2.2.0
Gem Versions being used:
gem 'knife-solo', '0.6.0'
gem 'chef', '12.13.30'
gem 'chef-zero', '4.9.0'
gem 'berkshelf', '4.3.5'
UFW version:
ufw 0.34~rc-0ubuntu2

I'm seeing this same behavior, though briefly looking through the code, I think it has more to do with how the firewall_rule resource actually applies rules. My guess is that it sees "nothing has changed" and therefore doesn't apply the rule. Given that this ufw cookbook clears all rules and disables the firewall at the start of the recipe, the "same old rules" simply aren't reloaded again.

I solved it by removing ufw from the run_list and using the firewall cookbook directly.

@ziazek could you share a snippet of where you specified rules in your node/role definition? I'm having trouble specifying firewall rules using the firewall cookbook directly.

@DanNeish I created a new cookbook: site-cookbooks/firewall-zz/recipes/default.rb,
# https://github.com/chef-cookbooks/firewall

firewall 'default' do
  ipv6_enabled node['firewall']['ipv6_enabled']
  action :install
end

firewall_rule 'allow world to ssh' do
  port 22
  source '<IP_ADDRESS>/0'
  only_if { linux? && node['firewall']['allow_ssh'] }
end

firewall_rule 'http/https' do
  protocol :tcp
  port     [80, 443]
  command   :allow
end

Then, in roles/server.json, edit the run_list:
"run_list": [
    // ...
    // install and enable ufw
    "recipe[firewall::default]",
    // "recipe[ufw::default]", // disabled
    "recipe[firewall-zz::default]"
  // ...
]

Hope this helps.

@DanNeish With the changes in the default recipe with version 3.0.0 this doesn't appear to be a problem anymore. Thanks for reporting the issue.

With ufw 3.1.0, on Ubuntu 16:04 i'm still getting:
$ sudo ufw status
Status: inactive

I'm now using manual firewall_rule rules and all works as expected.


New version DoubleFloats: 0.7.24

Registering: DoubleFloats
Repository: https://github.com/JuliaMath/DoubleFloats.jl
Version: v0.7.24
Commit: 3a9cd7c1be1ad9dcb91c874272ce17e476b30b5d
Proposed by: @JeffreySarnoff
Reviewed by: @JeffreySarnoff
Reference: https://github.com/JuliaMath/DoubleFloats.jl/commit/3a9cd7c1be1ad9dcb91c874272ce17e476b30b5d#commitcomment-33468185

@JuliaRegistrator register()

@JuliaRegistrator register()

You have to comment on your own repo.

I added the comment to the most recent commit.  When this registration sequence began, I commented on a less recent commit.  Do I need to go back to that earlier one an re-comment? Or, is it ok to always use whatever the commit was the last change for the JuliaRegistrator comment?


New Feature: secret effects

Idea is to add a toggle to effects, visible only to the GM, which says "Secret".
When enabled, Players won't see:

the effect icon on their token
the effect in their Effects tab on their sheet
the scrolling text when the effect is added/removed

Added in v1.4.0


关于铜钟被封 About the close of The Tonzhon Website

@enzeberg 能说一下具体的情况吗？可不可以换成境外的服务器，比如香港或新加坡？
Can you tell us the exact situation of the close of Tonzhon? Can the website to move to the servicer abroad,like in hk or Singapore?

@enzeberg


Replace the alpha channel icons with the original white/outline icons in Work (Old). #1549

Icons should look like this:

Not this:

See https://github.com/CrisisCleanup/crisiscleanup-3-web/issues/1518

Looks good.


Add support for image URLs

I know at least FreeOTP for android supports this.

Coverage decreased (-0.1%) to 95.861% when pulling c5c9f69720616ccda265de867ee9100e39bfd5db on mmazur:imageurl into 7a4b21ddb8429744f6980501b29669b9aae1bfbb on Bouke:master.

Informal review: could do with a few simple unit tests.

This appears to be a non-standard extension of the Key Uri Format. Is this extension in common use on larger websites? It might break other OTP applications that don't expect that URL parameter.

Hm, I sort of assumed this is what 2fa apps that allow selection of icons supported, but seems not and this thing is only present in android's version of freeotp. I'm guessing this of itself is enough to not get the patch merged?


Table with 2 characters results in error in GeneratedImpl class

Table called S_P results in GeneratedSPImpl.
Code generated:
@Override
    public SP copy() {
        final Speedment speedment = speedment();

        final SP sp = new SPImpl() {
            @Override
            protected final Speedment speedment() {
                return speedment;
            }
        };

        setSid(sP.getSid());     // error, should be sp
        setPid(sP.getPid());     // error, should be sp
        setAmount(sP.getAmount());   // error, should be sp

        return sp;
    }

Fixed in code. Principle error fwd to #145


Fix extension missing with module path #6

See #6

I don't get it. You accepted the MR but commented out the code. So nothing is fixed in 1.2.0...

I'm using my fork right now and it works...
Anyway, I won't add any unit tests. I don't want to spend more time on this.
If you don't want your package to work with hbs files, it's your choice

Of course I understand if you don't want to put a lot of time and effort in this.
The plan is make require-globify work with any extension, which the current version (1.1.0) apparently does not support. Your PR fixes this, but doesn't fix some other issues that have been lying around which I also want to fix in the next version.
1.2.0 is not out yet, so I suggest you keep using your own fork for a little while longer and keep an eye out for when it is released. Hopefully then all your (and others' problems) will be solved :)


missing dashbord

Hello, I can't find the dashbord.json file in the superset folder

Hi, thanks for reaching out @mbiombani.  It is indeed missing.
Looks like in the current version of Superset the import/export is using a zip archive rather than a json. Tried exporting/importing it but it errors out with a message similar to https://github.com/apache/superset/issues/8538.
I've taken out the commands related to the importing the dashboard so the project can build successfully.

Please send me the dashboard by email
Le dim. 17 avr. 2022, 4 h 53 p.m., Constantin Lungu <
@.***> a écrit :

Hi, thanks for reaching out @mbiombani https://github.com/mbiombani. It
is indeed missing.
Looks like in the current version of Superset the import/export is using a
zip archive rather than a json. Tried exporting/importing it but it errors
out with a message similar to apache/superset#8538
https://github.com/apache/superset/issues/8538.
I've taken out the commands related to the importing the dashboard so the
project can build successfully.
—
Reply to this email directly, view it on GitHub
https://github.com/cnstlungu/demo-bi-docker/issues/1#issuecomment-1100947618,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADR34SBZ3FY6QHBVG2CAWJLVFR24NANCNFSM5TH4732Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

dashboard added


Movement prediction is not working

it is caused by should hitentity
and msot liekly only happens when inputign plocal or entity directly without doing entity to wentiy
so you may do check if its direct entity inpout and just convert it there instead of throwing error or make it accept raw entity

lnxLib.txt
jsut change format to lua and it will fix both input for moseu keys and prediction
you just made mistake in prediction wehre for groudned flag yo uchecked pLocal and not player for some reason.
local pFlags = pLocal:GetPropInt("m_fFlags")


Add gRPC Java 1.37.0 to interop matrix

@karthikravis

Local tests passed:
❯ sudo docker_image=gcr.io/grpc-testing/grpc_interop_java:v$MAJOR.$MINOR.$PATCH tools/interop_matrix/testcases/java__master
Testing gcr.io/grpc-testing/grpc_interop_java:v1.37.0
Running test large_unary
Test completed.
Running test empty_unary
Test completed.
Running test ping_pong
Test completed.
Running test empty_stream
Test completed.
Running test client_streaming
Test completed.
Running test server_streaming
Test completed.
Running test cancel_after_begin
Test completed.
Running test cancel_after_first_response
Test completed.
Running test timeout_on_sleeping_server
Test completed.
Running test large_unary
Test completed.
Running test empty_unary
Test completed.
Running test ping_pong
Test completed.
Running test empty_stream
Test completed.
Running test client_streaming
Test completed.
Running test server_streaming
Test completed.
Running test cancel_after_begin
Test completed.
Running test cancel_after_first_response
Test completed.
Running test timeout_on_sleeping_server
Test completed.

Note: pushed the same commit because EasyCLA wasn't reporting the status.

Note that you should always trigger an adhoc run of interop matrix tests when updating the interop matrix:
https://fusion.corp.google.com/projectanalysis/summary/KOKORO/prod:grpc%2Fcore%2Fmaster%2Flinux%2Fgrpc_interop_matrix

@jtattermusch Thank you. We should add it to https://github.com/grpc/grpc/blob/master/tools/interop_matrix/README.md#step-by-step-instructions-for-adding-a-gcr-image-for-a-new-release-for-compatibility-test


[AutoScheduler] Improve CPU matmul tutorial

Explain the added layout transformation stage
Improve error messages
Use a better schedule for demonstration

It looks good to me :-) Please fix the lint


4th option to namespaced rake tasks post (comment not question)

Regarding your methods in rake tasks post, one of the commenters asked:

What if you define methods in a task that is enclosed in a namespace?

I think he was actually asking about defining them within the task, not just the namespace:
# lib/tasks/blog_metrics.rake
desc 'Calculate and save blog metrics'
task :create_blog_metrics do
  def calculate_metrics
    puts "Calculating blog metrics"
  end

  def save(metrics)
    puts "Saving blog metrics"
  end

  metrics = calculate_metrics
  save(metrics)
end

# lib/tasks/blog_post.rake
desc 'Generate and save a default blog post'
task :create_blog_post do
  def generate_default_blog_post
    puts "Generating a default blog post"
  end

  def save(blog_post)
    puts "Saving default blog post"
  end

  blog_post = generate_default_blog_post
  save(blog_post)
end

When you define the methods within the task this way both of them run correctly.
It's an old post but it ranked second on DuckDuckGo when I searched for it so I thought perhaps you'd be willing to update it with an 4th option.
I think this is superior to option 2 (inlining) and may be preferable to option 3 (extracting to class) when the logic isn't shared.
P.S. I just realised I did the whole "pretend to ask a question but actually make a comment" thing. Sorry! I didn't want to sign up for Disqus and when I looked for other ways to contact you this seemed like a good option :)

Just saw in another AMA that your blog posts are publicly accessible in GitHub. Created PR there


Core motion implementation for iPhone (Accelerometer/Gyro/Magnetometer support)

These changes replace the now deprecated UIAccelerometer implementation with one using the newer CoreMotion, specifically implementing CMDeviceMotion. This adds gyro and magnetometer data to the iPhone platform.
I've gone for a simple polling approach, CMDeviceMotion does have an option for pushing data but I'm not sure if there is any added benefit.
The accelerometer data is split into a user vector and gravity vector by iOS but I add them together again so it behaves as before.
The gyro seems to work but testing an app that was build for the Android platform the axis seem flipped. Without an Android device to compare output with I'm not entirely sure how to best deal with this.
I have not been able to test the magnetometer output, my iPhone 5 doesn't seem to be giving any output though that may be a fault on my side in testing.

One difference we think we found between android and iphone is that android returns the gyro as a rotation value around each axis while the iPhone returns the rotation rate (the amount of rotation since last time reading the value if I understand correctly).
I'll be experimenting with this tonight and may thus add another commit into this. I need to find out what the proper way is to process the rotation rate data to get the final orientation of the device to return to GD

I'm still trying to figure out the differences between the Android and iPhone platform. It's a bit of a puzzle especially since I'm pretty new to this and have no Android experience but obviously only have access to Android based examples in Godot.
One thing that stands out to me is that the documentation for Android speaks of returning the gyroscope data in radians per second (rate of rotation) while the iPhone document is rather indiscriminate about it but if I read it correctly its reflected as the radians of rotation since last the last time it was requested.
Also now that I've read through the sourcecode of the android implementation I noticed the axis are adjusted depending on the rotation of the display which makes sense. It is an adjustment I'm not currently making on iPhone.
One option that I find very interesting on iPhone is the attitude property of the CMDeviceMotion class. This property gives access to absolute rotation data. Basically it's core motion doing all the work for us in processing the 9-axis data and ending up with absolute values. That would be very interesting to expose but in the spirit of being cross platform, I don't have a clue how to make the same available on Android.

ok, productive little night. I've added some code to handle flipping the x and y variables depending on the orientation of the screen similar to what was implemented on Android.
I have also removed making the Z negative, after outputting a bunch of things to the screen I came to the conclusion Z aligns itself with Godots coordinate system.
Finally I now know that the rotation rates on iPhone are indeed also in Radians per second just like on Android.
I have not added support for using attitude yet, I'm thinking about tackling that some time during the week.

This is awesome, thanks for all the work! as you mentioned, the first
priority is to make it portable, ie the same game code will behave the same
in both Android and iOS. Eventually we can add something to get raw values
depending on the platform if someone needs it, but it's not a priority
right now.
On 19 November 2016 at 09:08, Bastiaan Olij<EMAIL_ADDRESS>wrote:

ok, productive little night. I've added some code to handle flipping the x
and y variables depending on the orientation of the screen similar to what
was implemented on Android.
I have also removed making the Z negative, after outputting a bunch of
things to the screen I came to the conclusion Z aligns itself with Godots
coordinate system.
Finally I now know that the rotation rates on iPhone are indeed also in
Radians per second just like on Android.
I have not added support for using attitude yet, I'm thinking about
tackling that some time during the week.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/7127#issuecomment-261710274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGVmPcquro0pKqDrHveezLV94z1OK1Jnks5q_ua0gaJpZM4KztM3
.

Punto,
It's not the raw data I'm after, its the processed data that gives you a rotation matrix for the device orientation. Now we need to take the gyro/accelerometer/magnetometer data and construct that ourselves in GDScript.
I'll probably add a get_deviceOrientationMatrix method to Input which returns this matrix when available and else calculates it based on the available data (if I find some good code to do so).
I'm also thinking about adding a get_gravity as both Android and iPhone support extracting the gravity vector from the accelerometer and its handy to have as a separate vector.

I have added support for retrieving the gravity vector from iOS. This can be obtained by calling Input.get_gravity. When subtracted from the accelerometer data you can get the pure user movement of the device.
I have not implemented this on Android as I do not have access to an Android device. Someone will need to add that. This should be pretty straight forward as Android supports this. Simply duplicate whatever is being done for TYPE_ACCELEROMETER with TYPE_GRAVITY. I do not want to make these changes blind. Read more here:
https://developer.android.com/guide/topics/sensors/sensors_motion.html
I've also put a test godot project that implements all these changes here:
https://dl.dropboxusercontent.com/u/98707/Godot/TestCoreMotion.zip
This test project basically shows the output of the gyro, accelerometer, gravity and magnetometer on screen and draws a 3D box that is rotated as you move your phone around.

I have fixed a bunch of issues in my sample project. It is now available on github as well:
https://github.com/BastiaanOlij/TestCoreMotion
It also now updates the camera orientation so the effect is like looking around by moving your phone. The code is directly usable for AR/VR simply by adding a stereo camera (see my other project).
This project can be used to test the changes I've made here. Note that for some reason, either a bug on my part or my aging iPhone, the magnetometer doesn't give any output so the code related to that is completely experimental.
I would appreciate it if someone would test this on Android especially if you have access to both platforms to see if the project behaves the same. On android currently the accelerometer is ignored and does not compensate drift. This is because as I mentioned up above, on Android someone will need to implement TYPE_GRAVITY to extract the gravity vector from the accelerometer data. Using the accelerometer data will cause jitter as any shaking of the device will translate to jitter in the UI.

@BastiaanOlij You will have to stretch your git muscles again to fix the merge conflict here too :)
@punto- Could you give it a try then and merge if it's good?

@akien-mga , @punto- , while it will be easy to fix up the merge conflicts the big issue here is that we can't test any of the changes until we complete PR #7457. We need a working iOS build first and @reduz mentioned that me and @punto-  should have a closer chat to see what needs to be done to get the new renderer to work on ios :)

I think I've got it rebased properly

I think we could merge as is, with the current master branch it's hard to test but the code looks good.
@BastiaanOlij Could you open an issue about ensuring that this API works similarly for Android and iOS before 3.0 is released? + maybe if you're up to making an official demo of using those features so that it can be tested on both platforms :) This would likely have to wait until master is usable to produce such a demo, hence the need for an issue as reminder ;)


ARROW-2638: [Python] Prevent calling extension class constructors directly

Using http://docs.cython.org/en/latest/src/userguide/extension_types.html#fast-instantiation
What do You think @pitrou ? Should I implement for the rest of the classes? (Field, Schema etc.)
TODO: increase the coverage

Codecov Report

Merging #2085 into master will decrease coverage by 0.03%.
The diff coverage is 86.66%.

@@            Coverage Diff             @@
##           master    #2085      +/-   ##
==========================================
- Coverage   86.35%   86.32%   -0.04%
==========================================
  Files         242      230      -12
  Lines       41184    40295     -889
==========================================
- Hits        35564    34784     -780
+ Misses       5620     5511     -109

Impacted Files
Coverage Δ

python/pyarrow/types.pxi
58.99% <ø> (ø)
:arrow_up:

python/pyarrow/tests/test_table.py
100% <100%> (ø)
:arrow_up:

python/pyarrow/tests/test_schema.py
100% <100%> (ø)
:arrow_up:

python/pyarrow/public-api.pxi
48.9% <100%> (ø)
:arrow_up:

python/pyarrow/table.pxi
69.21% <50%> (-0.55%)
:arrow_down:

rust/src/memory.rs

rust/src/list_builder.rs

rust/src/array.rs

rust/src/list.rs

... and 8 more

Continue to review full report at Codecov.

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

Using __reduce__ is fine with me. We may be breaking binary pickle compatibility with previous versions, but at this point I think it's not a problem.

Using reduce is fine with me. We may be breaking binary pickle compatibility with previous versions, but at this point I think it's not a problem.

I would not take this at the moment as a concern. Pickling in old releases was quite broken. Master is behaving much better now.

Are the _check_nullptr methods still required? It looks like the only possible way the class can be in uninitialized state was calling the constructors, but that's prevented now.

Are the _check_nullptr methods still required?

I don't think so.

@pitrou Is that Ok if I try to remove _check_nullptr methods in a subsequent PR?

Is that Ok if I try to remove _check_nullptr methods in a subsequent PR?

That's fine with me :-)

@pitrou Do We want to allow subclassing extension types?

Do We want to allow subclassing extension types?

I don't think we care either way. Let users subclass them, but without any guarantee.

I've removed DataType, NAType and TimestampType from public namespace

Also resolves https://issues.apache.org/jira/projects/ARROW/issues/ARROW-2639

Affected classes:
pa.Field,
pa.Schema,
pa.Column,
pa.ChunkedArray,
pa.RecordBatch,
pa.Table,
pa.Buffer,
pa.Array,
pa.Tensor,
pa.lib.DataType,
pa.lib.ListType,
pa.lib.UnionType,
pa.lib.StructType,
pa.lib.Time32Type,
pa.lib.Time64Type,
pa.lib.TimestampType,
pa.lib.Decimal128Type,
pa.lib.DictionaryType,
pa.lib.FixedSizeBinaryType

@pitrou PlasmaBuffer breaks the pattern, how should we handle that?

@wesm waiting for review

Thanks for doing this cleanup; much better than what we were doing before -- I wasn't aware of the __new__ trick to circumvent __init__ with Cython extension types

Thanks!

Rebased


Update test.yml: added extra bash commands to help debug test failure.

reverted the workflow order
added bash commands to help debug

@opensaucerer


METRON-392 Allow User to Define Custom 'Group By' for a Profile

METRON-392
Allows a user to optionally define a custom set of 'groupBy' expressions that controls how the data is persisted.  This is intended to allow for contiguous scans when training on subsets of the data.
The 'groupBy' expressions can refer to any field within a ProfileMeasurement.  This includes the following fields:

profileName: The name of the profile.
entity: The name of the entity being profiled.
start: The window start time in milliseconds from the epoch.
end: The window end time in milliseconds from the epoch.
value: The summary value calculated over the window period.
groupBy: The set of 'groupBy' expressions; not the result of those expressions.

A common use case would be grouping the data by day of week.  This would allow a contiguous scan to access all profile data for Mondays only.  The Stellar expression DAY_OF_WEEK(start) would achieve this.
NOTE: A series of date functions will be added to Stellar in a follow-on PR to enhance the types of groups that can be created.
Example
{
  "inputTopic": "indexing",
  "profiles": [
    {
      "profile": "example3",
      "foreach": "ip_src_addr",
      "onlyif": "protocol == 'HTTP'",
      "groupBy": "DAY_OF_WEEK(start)",
      "update": { "s": "STATS_ADD(s, length)" },
      "result": "STATS_MEAN(s)"
    }
  ]
}

Testing
To test this change do the following.

Create a profile and do not define a 'groupBy' expression.  Prior to this change the row key would include the day of week, week of month, etc which altered how the data was sorted on disk.  After this change, these fields will not be included in the row key.
Create a profile and define a 'groupBy' expression.  The result of this expression will be embedded in the row key.

#231 includes the necessary Stellar date functions to handle the common uses cases of grouping by day of week, etc.

@cestella Updated the PR based on your feedback.  Let me know what you think.

+1, looks good post master merge


Feature Request: Add option to disable non-ldap logins & registration

On the login page, it would be nice to disable all other methods (local, oidc..) and registration, except ldap login.

+1

It would be already an improvement if we could switch the default login method from "password" to "LDAP"

Hi all,
I am working on this:
1- already managed to hard-code remove the password login
2- I am working on removing the "register" link from the login page (which can be confusing for instances where this is not an option).
A general question before implementing a configuration: how are these two feature-switches supposed to be configurable? Should I add an ENVIRONMENT_VARIABLE, or is it supposed to be more subtle?

Those environment variables needs to be added to:
https://github.com/wekan/wekan

docker-compose.yml
docker-compose-build.yml
docker-compose-postgresql.yml
snap-src/bin/config
snap-src/bin/wekan-help
start-wekan.sh
start-wekan.bat
releases/virtualbox/start-wekan.bat

Wiki page should have all settings listed directly:
https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys

At Admin Panel / People:
https://github.com/wekan/wekan/tree/devel/client/components/settings

peopleBody.jade
peopleBody.js

Probably if some authentication method is not enabled, that option should not be visible in dropdown.
Some have also wished that these LDAP etc settings would be editable at Admin Panel, if someone has time to implement that.

Ok, so I will go for the environment variable first (unelegant, but simple), and then we can discuss if/how to implement these configurations from the admin panel, if that is OK with you.

@alkemyst
Yes it's OK.
Examples of Admin Panel code are here:
https://github.com/wekan/wekan/pulls?q=is%3Apr+Admin+Panel+is%3Aclosed
And also Admin Panel / Layout / Hide Logo: Yes / No, that I implemented today, currently building new release for it: https://github.com/wekan/wekan/commit/dd6ba152a0b38950f82ec98fbe51fb746c402615
@Akuket could comment does he still plan to add PR to integrate some of https://github.com/wekan/wekan/pull/2003 sometime.

These additions are exactly what I am looking for as well.  Have these been added yet and if so could someone please provide the variables used for my snap environment to set them?

@jdavis7718
No, this is not added yet, so this issue is still open.
If something is done or fixed, issue is closed.
You can see Wekan changes at ChangeLog.
All snap settings are added to here:
https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys


Create ghc-8.4 release branch from da39729

Now that ghc-8.4 is nearing release. We should to create a branch (or at least tag) that has hadrian corresponding to ghc-8.4.
hadrian in ghc-8.4 is at da39729.
Why do we need this? Any further changes to ghc (e.g. the iserv-split) will require changes to hadrian. When the build system was part of GHC this was trivial, as it was frozen in time in the release branch. It is arguably the same right now with the submodule pinning the hadrian version at da39729 to ghc-8.4.
For consistency I would still suggest to create a ghc-8.4 branch.

/cc @bgamari

@angerman I'm confused: why is the submodule commit not enough?
If anyone needs the right version of Hadrian for ghc-8.4 branch, they have it exactly there:
https://github.com/ghc/ghc/tree/ghc-8.4

Assuming someone wants to make changes to hadrian for a subsequent 8.4 release? Where would those go. The issue with the iserv-split was that it was only in master and not in 8.4; thus after landing it in master, hadrian was updated, but that meant you couldn't use hardrian head for 8.4 anymore, and subsequently we reverted the iserv-split in HEAD so hadrian could be reverted in HEAD only so that we could build 8.4 with hadrian again.
As ghc HEAD and hadrian HEAD evolve in symbiosis, we'll need some way to evolve ghc 8.4 and the corresponding hadrian, for subsequent 8.4 releases.

Right, I see, thanks for clarifying! Looks like a branch is the only solution -- feel free to create one, following the GHC naming scheme, i.e. ghc-8.4.

I don't think I can. I think someone with write rights needs to.

@angerman Done: https://github.com/snowleopard/hadrian/tree/ghc-8.4
Happy to keep creating new branches for upcoming GHC releases -- just ping me.


Running Pronto on Pull requests coming from forked repos

I'm trying to get pronto to submit comments on a pull request coming from a forked repo, but I can't seem to get anything to work:
[tansaku@Samuels-MBP:~/Documents/Github/MakersAcademy/airport_challenge (master)]$
→ PULL_REQUEST_ID=133 pronto run -f github_pr
0 Pronto messages posted to GitHub

Here's the pull request that I want to get commented: https://github.com/makersacademy/airport_challenge/pull/133
Having tried the above on the upstream repo (makersacademy/airport_challenge), I guessed (by repeatedly watching the animated gif) that I needed to be in the feature branch in order for things to work, so staying in my local repo that has makersacademy/airport_challenge as origin, I did the following:
$ git checkout -b tansaku/master # checkout the branch on the forked repo the pull request is coming from
$ PULL_REQUEST_ID=133 pronto run -f github_pr

which gives this error:
/Users/tansaku/.rvm/gems/ruby-2.2.2/gems/octokit-3.8.0/lib/octokit/response/raise_error.rb:16:in `on_complete': GET https://api.github.com/pulls/133/comments: 404 - Not Found // See: https://developer.github.com/v3 (Octokit::NotFound)
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/faraday-0.9.1/lib/faraday/response.rb:9:in `block in call'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/faraday-0.9.1/lib/faraday/response.rb:57:in `on_complete'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/faraday-0.9.1/lib/faraday/response.rb:8:in `call'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/faraday-0.9.1/lib/faraday/rack_builder.rb:139:in `build_response'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/faraday-0.9.1/lib/faraday/connection.rb:377:in `run_request'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/faraday-0.9.1/lib/faraday/connection.rb:140:in `get'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/sawyer-0.6.0/lib/sawyer/agent.rb:94:in `call'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/octokit-3.8.0/lib/octokit/client.rb:339:in `request'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/octokit-3.8.0/lib/octokit/client.rb:200:in `paginate'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/octokit-3.8.0/lib/octokit/client/pull_requests.rb:184:in `pull_request_comments'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/pronto-0.4.2/lib/pronto/github.rb:11:in `pull_comments'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/pronto-0.4.2/lib/pronto/formatter/github_pull_request_formatter.rb:31:in `create_comment'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/pronto-0.4.2/lib/pronto/formatter/github_pull_request_formatter.rb:21:in `block in format'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/pronto-0.4.2/lib/pronto/formatter/github_pull_request_formatter.rb:8:in `map'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/pronto-0.4.2/lib/pronto/formatter/github_pull_request_formatter.rb:8:in `format'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/pronto-0.4.2/lib/pronto.rb:37:in `run'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/pronto-0.4.2/lib/pronto/cli.rb:52:in `run'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/gems/pronto-0.4.2/bin/pronto:6:in `<top (required)>'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/bin/pronto:23:in `load'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/bin/pronto:23:in `<main>'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval'
	from /Users/tansaku/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'

which makes it look like the API endpoint is not configured properly for working with forks maybe?
https://api.github.com/pulls/133/comments
since that request should be for:
https://api.github.com/repos/makersacademy/airport_challenge/pulls/133/comments
Just for confirmation I can run pronto and get output locally:
$ pronto run
lib/airport.rb:6 W: Doesn't depend on instance state (UtilityFunction)
lib/plane.rb:5 I: Style/TrivialAccessors: Use `attr_reader` to define trivial reader methods. (https://github.com/bbatsov/ruby-style-guide#attr_family)

any thoughts?  Would love to be able to run pronto on pull requests from forked repos.

There is a new PR regarding forks: https://github.com/mmozuras/pronto/pull/86

This comment tells the story: https://github.com/mmozuras/pronto/pull/86#issuecomment-150963747
@tansaku thanks for bringing this up! :bow: :smile:


Fix anachronisticProtocolLedgerView

The upper bound for the ledger view should be the first scheduled delegation after the requested slot.

Close in favour of #844

Close in favour of #844

I tried to communicate on slack about this, but there's service issues at the moment.


Added the function of bookmark and unbookmark on alt clicks

Fixes #84
Description
When the bookmark button will be clicked the image will be bookmarked if not already bookmarked else it'll be unbookmarked.
Other information
Changed the else condition in src/popup/bookmarkModule.js's `bookmarkImage' function
Checklist:

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

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.

@DantrazTrev a gentle ping..

@DantrazTrev a gentle ping..

Sorry sir I'm kinda having internet issues in my region. I have updated and tested the PR .I am really sorry for the delay

@DantrazTrev  Please fix the linting errors.

@makkoncept I have made all the changes requested


Add an option to show/hide the title's close button.

Thanks again for taking the time to submit this, but as detailed in the issue, I decided to implement it a bit differently in the v1.4.0 release.


Error compiling bootstrap.scss

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Hi,
i am trying to integrate bootstrap stylesheets into my stylesheet, but as soon as I try to compile bootstrap.scss file through the sass command it gives me the following error:
Error: Invalid CSS after "...ame}: #{$value}": expected "{", was ";"         on line 61 of mixins/_utilities.scss         from line 21 of _mixins.scss         from line 10 of bootstrap.scss
The problem affects bootstrap scss files, even if compiled by themselves. I tried various versions of sass, both from the command line and from javascript, the result is the same.
Reduced test cases
Via command line, using Sass 3.4.23 (Selective Steve):
root@viral:/var/www/my_website/node_modules/bootstrap/scss# sass bootstrap.scss bootstrap.css
Error: Invalid CSS after "...ame}: #{$value}": expected "{", was ";"
        on line 61 of mixins/_utilities.scss
        from line 21 of _mixins.scss
        from line 10 of bootstrap.scss
  Use --trace for backtrace.

What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.2.1

Just tried this quickly and seems to work pretty well:
npm i bootstrap
npm i sass
echo "@import './node_modules/bootstrap/scss/bootstrap';" > fake.scss
node_modules/.bin/sass fake.scss > fake.css

There's no error.
$ node_modules/.bin/sass --version
1.54.9 compiled with dart2js 2.18.0

Could you please provide more information so that we can reproduce the issue like the sass version or other?

Sass selective-steve is a Ruby Sass release: really, really old. I don't think we support this.

Oh I missed in the description the part where the version is mentioned: "using Sass 3.4.23 (Selective Steve)". Sorry for that.
As said by @ffoodd, this is a really old release. On top of that Ruby Sass reached its end of life as of 26 March 2019 and so is no longer supported (source).
You should migrate to another more recent implementation @ViralAgency.


how do you use git-credentials inside a Dockerfile?

The docs for git-credentials don't actually specify that it has to be a git credential helper. I figured that out from looking at the source, but even that was not enough to get it working.
...So, how do you use git-credentials?

I'd love to know the answer to this as well


make vec_map optional

This makes vec_map optional. vec_map is enabled by default. An implementation using BTreeMap is used if vec_map is disabled.

This change is

This decrease the mandatory dependencies for those that prefers minimal external dependencies.
Maybe VecMap can be renamed to something else. Also we can add some kind of test to travis.

Coverage increased (+0.01%) to 93.687% when pulling 7b2aacde083267458cb029f6f013f1f79967a6bf on malbarbo:master into 6e948994a61e389c8f3b6726435d3d14bdd328bb on kbknapp:master.

Overall, I'm fine with this change with the one caveat that those who have no-default-features enabled will incur a slight performance penalty. That being said, the change is so minor I doubt anyone will even be able to detect it.
Could you add a blurb in the section of the README.md which describes default and optional features?
This will be good for a merge once that happens :+1:

README.md updated.

Thanks! 👍 Once the tests pass I'm good with a merge.

Coverage increased (+0.01%) to 93.687% when pulling d7a9f324b927b43d53503fd62f282c4ce4ef69cd on malbarbo:master into 6e948994a61e389c8f3b6726435d3d14bdd328bb on kbknapp:master.


Large filenames don't work

Direntries larger than a block aren't properly read by BobFSNode.FindNode.

Fixed with efd097cdcd7f45427bb6d490c7173942a7ff3497.


How to get the status code from a Poem error

Hi! I'm loosely following the guide set here: https://github.com/poem-web/poem/blob/master/examples/poem/middleware_fn/src/main.rs, I have ended up with the following code:
// Copyright (c) Aptos
// SPDX-License-Identifier: Apache-2.0

use std::time::Duration;

use aptos_logger::{
    debug, error,
    prelude::{sample, SampleRate},
    sample::Sampling,
    Schema,
};
use poem::{
    http::{header, StatusCode},
    Endpoint, IntoResponse, Request, Response, Result,
};

pub async fn middleware_log<E: Endpoint>(next: E, request: Request) -> Result<Response> {
    let start = std::time::Instant::now();

    let mut log = HttpRequestLog {
        remote_addr: request.remote_addr().as_socket_addr().cloned(),
        method: request.method().to_string(),
        path: request.uri().path().to_string(),
        status: 0,
        referer: request
            .headers()
            .get(header::REFERER)
            .and_then(|v| v.to_str().ok().map(|v| v.to_string())),
        user_agent: request
            .headers()
            .get(header::USER_AGENT)
            .and_then(|v| v.to_str().ok().map(|v| v.to_string())),
        elapsed: start.elapsed(),
        forwarded: request
            .headers()
            .get(header::FORWARDED)
            .and_then(|v| v.to_str().ok().map(|v| v.to_string())),
    };

    let result = next.call(request).await;

    let (out, status_code) = match result {
        Ok(response) => {
            let response = response.into_response();
            let status_code = response.status().as_u16();
            (Ok(response), status_code)
        }
        // TODO: Figure out how to get the status code from the error without
        // destroying it, since we need it for the response.
        Err(err) => (Err(err), StatusCode::INTERNAL_SERVER_ERROR.as_u16()),
    };

    if status_code >= 500 {
        sample!(SampleRate::Duration(Duration::from_secs(1)), error!(log));
    } else {
        debug!(log);
    }

    log.status = status_code;

    out
}

// TODO: Figure out how to have certain fields be borrowed, like in the
// original implementation.
#[derive(Schema)]
pub struct HttpRequestLog {
    #[schema(display)]
    remote_addr: Option<std::net::SocketAddr>,
    method: String,
    path: String,
    pub status: u16,
    referer: Option<String>,
    user_agent: Option<String>,
    #[schema(debug)]
    elapsed: std::time::Duration,
    forwarded: Option<String>,
}

I have a few problems right now:

As you can see, to borrow things in the correct order, I have to build HttpRequestLog first, then add the status code later. I can't build the whole thing after next.call because it takes ownership of the request.
For a similar reason, I can't make HttpRequestLog borrow things. I would prefer to have fields like referer be Option<&'a str>.
I can't figure out how to get the status code from the error. I can call into_response on it to get it, but that destroys the error, which I need for the output of the function.

For the first two issues, I feel like I need a way to retrieve the request from the response from next.call. For the third issue, I don't really have any idea what to do.
Any help would be much appreciated. After this I can go update the examples.

You should do it like this:
pub async fn middleware_log<E: Endpoint>(next: E, request: Request) -> Result<Response> {
    let mut log  = HttpRequestLog  { ... };
    let resp = next.call(request).await.into_response(); // call inner endpoint to get the response
    log.status = resp.status(); // update the status code
    Ok(resp)
}

Unfortunately you can't call into_)response on the output of next.call(request).await, the Result doesn't expose that function. I can't just use ? either because I don't want the function to return yet, I need to get the status code and log first before returning. That's what I'm trying to do above but it means I can't get the error code from the error arm of the match.

Should have used get_response instead of call, I was mistaken.
pub async fn middleware_log<E: Endpoint>(next: E, request: Request) -> Result<Response> {
    let mut log  = HttpRequestLog  { ... };
    let resp = next.get_response(request).await; // call inner endpoint to get the response
    log.status = resp.status(); // update the status code
    Ok(resp)
}

Oh awesome I'll try that out.


add formation description to cli

Hello
Where no way to understand that option all=1 exist. I thing it's will be great to add description to this options

Thanks!


Microsoft Visual C Compiler Warning Fixes

This PR fixes various compiler warnings found with Microsoft Visual Studio 2015 (and earlier versions), and also fixes a problem where the switch for compiler warnings was being configured twice on the test suites with Microsoft Visual Studio.

Tests seems to pass, this PR is ready for merge. However, other points to consider are:

Backports to mbed TLS versions 1.3.0 and 2.1.0
ChangeLog entry

Backport available in PR #681, but does mbedtls 1.3 need a fix too?

The fixes in this PR relevant to the 1.3 branch has been backported in pull request #685.


win: do not interpret SUCCESS as error

It's time to land this^^

Yeah, this worked for months and I had to just remember to switch to this branch to get sqlite3shell to somewhat work ^^


can't resolve dependency

Android studio 3.0 can't resolve dependency given in this project for jobdispatcher.

i used the previous version and it worked with me
implementation 'com.firebase:firebase-jobdispatcher:0.8.4'

Same here, 0.8.5 not building when using gradle plugin 3.0.1. Works with 0.8.4.

0.8.5 works for me.

OK, it worked then i have updated gms library
classpath 'com.google.gms:google-services:3.1.1'
previously I used 3.0.0. So no problem here.

In April 2019 we announced that Firebase Job Dispatcher would be deprecated today, April 7th 2020.  For this reason we are going to close all open issues and archive the repository.  We will also stop supporting FJD for new app installations (such as those targeting sdk versions greater than Android Q).  Existing apps that rely on FJD should continue to function as usual.
While we will no longer work on FJD, we encourage you to migrate to Work Manager which is a superior tool and fully supported by the Android team.
Thank you for taking the time to try the library and provide this feedback.  We sincerely appreciate your effort and we apologize for not addressing it in time.


approx requirement?

conda create --name pyram_env python=3 numpy scipy scikit-learn Cython statsmodels
source activate pyram_env
python setup.py install #from this repo dir

...
Writing /home/home/miniconda3/envs/pyram_env/lib/python3.6/site-packages/pyramid-0.3-py3.6.egg-info
running install_clib
customize UnixCCompiler

python

Python 3.6.1 |Continuum Analytics, Inc.| (default, May 11 2017, 13:09:58)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

from pyramid.arima import auto_arima

Traceback (most recent call last):
File "", line 1, in
File "/home/hom/install/pyramid/pyramid/arima/init.py", line 2, in
from .approx import *
File "/home/hom/install/pyramid/pyramid/arima/approx.py", line 18, in
from pyramid.arima._arima import C_Approx
ModuleNotFoundError: No module named 'pyramid.arima._arima'

^d
pip install approx
python

Python 3.6.1 |Continuum Analytics, Inc.| (default, May 11 2017, 13:09:58)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

from pyramid.arima import auto_arima
Works
I'm on:
Distributor ID:	Ubuntu
Description:	Ubuntu 16.10
Release:	16.10
Codename:	yakkety

Did the cythonization run properly? That's the only reason I can imagine
this would occur.
On Jun 26, 2017 11:59 AM, "Jonathan Nagel"<EMAIL_ADDRESS>wrote:

conda create --name pyram_env python=3 numpy scipy scikit-learn Cython statsmodels
source activate pyram_env
python setup.py install #from this repo dir
...
Writing /home/home/miniconda3/envs/pyram_env/lib/python3.6/site-
packages/pyramid-0.3-py3.6.egg-info
running install_clib
customize UnixCCompiler
python
Python 3.6.1 |Continuum Analytics, Inc.| (default, May 11 2017, 13:09:58)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
from pyramid.arima import auto_arima
Traceback (most recent call last):
File "", line 1, in
File "/home/hom/install/pyramid/pyramid/arima/init.py", line 2, in
from .approx import *
File "/home/hom/install/pyramid/pyramid/arima/approx.py", line 18, in
from pyramid.arima._arima import C_Approx
ModuleNotFoundError: No module named 'pyramid.arima._arima'
^d
pip install approx
python
Python 3.6.1 |Continuum Analytics, Inc.| (default, May 11 2017, 13:09:58)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
from pyramid.arima import auto_arima
Works
I'm on:
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tgsmith61591/pyramid/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF10ooWK5Zgv5_fUvRw-JAQmzjYE6pLbks5sH-N9gaJpZM4OFlYq
.

approx.py is an internal submodule. If _arima.so is not present (i.e., if cythonizing fails), the import will not work. Can you ensure there is no cython error on setup?

Alternatively, try that same python import outside of the pyramid source dir. Chances are it's looking inside the local arima submodule, from which the .so file has moved. This should hopefully get easier once there's a pip-installable package and folks don't have to clone the package to install it...

Re-designed build in bd374e6. Closing for now—if this can be replicated later, will reopen.


2.4 GHz and 5.0 GHz access points

Hi,
Create_ap is running nicely on Lubuntu 17.10 using 2.4GHz band. However, if I try to enable 5 GHz hotspot it does not starts eventhough the Wi-Fi card supports it. When 5GHz is enabled in the create_ap.conf file and pc is rebooted, there will be several ap's which are switched of. So there are few question to you who has longer experience of using and developing create_ap.

How to enable 5Ghz band?
Is it possible to have both 2.4GHz and 5Ghz hotspots on?
Where could I get the spec for the create_ap that I could get a better understanding of the create_ap.conf file (how to enable 5GHz, using FREQ_BAND=2.4, 5.0 or FREQ_BAND=5 or FREQ_BAND=5.0 and what are the couple of other parameters ;)

Thank you in advance!

The valid value for FREQ_BAND is either 2.4 or 5 (not 5.0)
This value is only used if you don't specify yourself a channel. i.e if the channel is equal to default.
So you could completly ignore it if you use -c switch or if you have set a channel with CHANNEL variable.
To enable the 5GHz band, you could:

either simply specify a channel in the 5GHz band, from 34 to 196
or you let the CHANNEL variable to default and use FREQ_BAND=5.

BUT you could only use channels that are in the regulatory domain of your country.
So first you should configure your system to use the regdom of your country. This is done by using crda and by configuring it to use your REGDOM. Most of the time, it is in files like /etc/conf.d/wireless-regdom or /etc/default/crda or whatever the file is for your distro.
Look at this table https://en.wikipedia.org/wiki/List_of_WLAN_channels#5_GHz_(802.11a/h/j/n/ac/ax) to know which channels are available for your regdom.


Overflow: clip does not work well on Firefox

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/agitated-moon-tjg9tt?fontsize=14&hidenavigation=1&theme=dark
Bug description
As discussed here:
https://github.com/nolimits4web/swiper/pull/6738#issuecomment-1701016975
The recently introduced overflow: clip instead of overflow: hidden in the .swiper-wrapper class has introduced some issues. When using a carousel inside a flex container, the overflow hidden worked equally in any browser. Now, in Firefox, the Carousel ends up expanding more than it should.
Expected Behavior
The linked provided for reproduction offers a comparison of the  strategies:
https://codesandbox.io/s/agitated-moon-tjg9tt?fontsize=14&hidenavigation=1&theme=dark&file=/src/index.js
Both carousels should be equal.
Actual Behavior
This screnshot shows how things are in Firefox on the linked provided for reproduction:
https://user-images.githubusercontent.com/1184874/264720125-3fe75889-d0a7-4efd-bdcd-3df12cac8606.png
Swiper version
10.0.0
Platform/Target and Browser Versions
Linux Ubuntu 20.04, Firefox 117
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

But that is a Firefox bug, not with Swiper. You should open an issue there. In Swiper 11 default overflow will be back to the "hidden"

Wait, but why will it be back? Would you have a release date planned?
I considered that it might be specific to Firefox, but I'm not sure if it is some kind of CSS specification interpretation that may be "correct" on Firefox and misunderstood on Chrome...

Wait, but why will it be back? Would you have a release date planned?
I considered that it might be specific to Firefox, but I'm not sure if it is some kind of CSS specification interpretation that may be "correct" on Firefox and misunderstood on Chrome...

Because it produces more issues and problems than goodies :) Seems to be not many know how it works and what is it for. And if anyone needs "clip", it can be easily set with one line of custom CSS


Loosen dependencies requirements

Too strict will block apps to install beacon.

@leandrocp thanks a lot, I see


An attempt to make clippy and rustc complain less

Submitting this as a draft PR, since there are somewhat many changes (I doubt anyone would be willing to review them all at once — I'll probably make separate PRs for each specific thing — just need some feedback on which of these are worth it; plus my fork currently has some changes which are just taste-based).
What I did (the important parts):

#[repr(C, u8)] on enums. The way enums are currently handled seems to be potentially unsound.
default-features (default_features is deprecated).
#[non_exhaustive] on structs.
PhantomDatafied unused tuple fields.
Removed target_pointer_width = "128".
Changed cfg(x86_64) to cfg(target_arch = "x86_64").
Changed ScratchSpaceInner (keeping the same ABI as far as I understand) to have better user experience (fewer warnings) at the cost of slightly more complex definition and construction (should not impact runtime at all).
Changed generated const names to _ where that made sense.
Removed empty ///s — see https://github.com/rodrimati1992/abi_stable_crates/issues/116.
#[allow(clippy::needless_lifetimes)], #[allow(non_camel_case_types)] and #[allow(clippy::unnecessary_cast)] in proc-macros

Sorry for a total mess of a PR, but I just actually don't know if this is maintained and what direction other people want this project moving.


Improve compatibility with legacy TLS implementations

Issue # (if available): #860
Description of changes:
Use TLS1.0 record version for ClientHello message to provide compatibility with legacy TLS implementations which can't handle newer protocol versions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

seems reasonable. this is what openssl does, right?

Yup


where is the version 6.3.0's documents

I'm submitting a ...  (check one with "x")
the new document is 7.0 and i can't find the 6.3 document.
where, thank

Current behavior

Expected behavior

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Table version: 6.3

Angular version: 2.4.x

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]
the new document is 7.0 and i can't find the 6.3 document.
where, thank

The docs are part of the repo, every release we tag the repo so you can always find the docs for the version you are using there. :)


Fractional Knapsack

Description 📜
Shown how Fractional Knapsack can be solved by greedy approach and also explained greedy algorithm by taking thief problem.
Fixes #7123

Type of change 📝
Added a file name  fractional knapsack  in greedy folder under algorithm approaches and also updated readme according to that.

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[x] C/CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

it should look like this [x] .

@kashishahuja2002  I dont how it matched but I changed the content I think now the plaglarism has been removed . please check it.

Done


Steam Console

How do I enter the game server console after starting the cs2 server using docker, because there are related plug-ins that require input commands in the server console to configure them

https://docs.docker.com/reference/cli/docker/container/attach/
See https://github.com/joedwards32/CS2/blob/main/examples/docker-compose.yml#L50


Feature: Merge imports from the same package

Merge imports from the same package during import organization

Fixes #348
Closes #348

Description
Merge imports from the same package during import organization

I have no clue why travis-ci is unhappy.

It seems like src/import-organizer/import-manager.ts has 2 space indents.
But the project's workspace file had tabSize set to 4.
But yet in another file I am seeing 4 space indents.
Is tabSize supposed to be 2 or 4 ?

Actually, I switched to tabSize 2. (the .editorconfig should help you with that)


Add option to move CodeLens to inline instead of above

The code lens to navigate to a view from a controller is really handy! But it's a bit of a nuisance in my project when it looks like an empty line but isn't.
I'd really appreciate a setting that I could toggle to set the code lens stuff to be next to the controller name instead of just above it.

Hi @donquxiote,
This is a behaviour of VS Code, we don't have control over it. Other people have made this request: https://github.com/microsoft/vscode/issues/90235


Handles exceptions when using the "explain verbose" statement

Fixes #465

This is not how this should be fixed. Basically this now disables EXPLAIN VERBOSE flag completely to hide the bug. That might be acceptable for a first iteration, except for the fact that this disables EXPLAIN VERBOSE even for queries that don't use DuckDB. I opened #468 now to fix this issue in a better way. I also change the tests to be part of our existing explain tests.

oh, I looked at your approach and it was more appropriate, I just took into account that duckdb does not support "explain verbose" and that all the operations on "explain" are performed in duckdb, not PG.

To be clear: thanks a lot for the bug report and the initial attempt at a fix.

To be clear: thanks a lot for the bug report and the initial attempt at a fix.

Thank you for your encouragement and guidance. haha~


Implement and manage storage for AVD (AD DS) - Issue

Lab: Implement and manage storage for AVD (AD DS)
Exercise : 1
Task : 3
Step : 3
Description of issue:
Error running the following commands in PowerShell as instructed in the lab:
$subscriptionId = (Get-AzContext).Subscription.Id
$resourceGroupName = 'az140-22-RG'
$storageAccountName = (Get-AzStorageAccount -ResourceGroupName $resourceGroupName)[0].StorageAccountName

The only workaround I have found is to run the commands in CloudShell. The instructor has reported this has occurred at multiple places inside the lab.
Repro steps:

Ran through prior labs to reach the reported error step
Ran commands as instructed and failed
Tried in PS 7.x and failed
Ran varieties of Connect-AzAccount

Instructions have been updated to account for this issue. Pls let us know if you're still running into this issue


PLDM: Issue ForceWarmReboot instead if Reboot

When PHYP toggles the PLDM_POWER_CYCLE_OFF_SOFT_GRACEFUL
we set the state manager property RequestedHostTransition
to ForceWarmReboot instead of Reboot, this will directly
reboot the host firmware without notification and chassis
power will remain on throughout the reboot, instead of
doing a graceful reboot
Signed-off-by: Sagar Srinivas<EMAIL_ADDRESS>

fixes SW549067


Scripts not Attached when dropping prefab in scene

Literally what the title says <3 It's like that for all prefabs <3

I'm having the same issues. All the references are detached and It is completely broken.

I am having the same issue, I think. Does anyone know how to fix this?

I am also having this issue with all of the prefabs for the tables.

I am also having this issue with all of the prefabs for the tables.

Well it seems to only be a problem for v1.5.1 for me and using 1.5.0 it is completely fine.

Same issue even in 1.5.0 its not working for me.

I had this issue when using CreatorCompanion and trying to add the table- the cause in that case was the simple fact that the SDK isn't stored under Assets, but Packages in CC, which breaks quite a few references.
I fixed that part by migrating back to just UnityHub to launch it instead of CC, removing all external packages (overkill), and re-importing them all and the SDK.
Sadly, now I'm stuck at everything being referenced, and no relevant errors, but I can't get the table to DO anything.

Ive just imported everything needed for the SDK world, including latest clientsim, udonsharp, SDK3Base and SDK3World and then import the unitypackage and recompile to update all legacy udonsharp packages as they are treated as their own component instead of udonbehavior.

i am working in CC and trying to get the cotton fox table to work....I cannot find any instructions about how to install it (like step by step insluding what to add etc) I would have assumed by placing in the prefab that it would function like my other prefab games. help going crazy here( I am not tech savy so plain english please

i am working in CC and trying to get the cotton fox table to work....I cannot find any instructions about how to install it (like step by step insluding what to add etc) I would have assumed by placing in the prefab that it would function like my other prefab games. help going crazy here( I am not tech savy so plain english please

Try downloading from commit https://github.com/VRCBilliards/vrcbce/commit/b7462a945652a2ba81359d2e4adbd60edb4b207b and see if the same issue arises?
Just drag one of the following into your scene after importing all contents into the packages folder:

Packages\VRCBilliards\VRCBCE CottonFox (Esnya).prefab
Packages\VRCBilliards\VRCBCE CottonFox (M.O.O.N).prefab
Packages\VRCBilliards\VRCBCE CottonFox (akalink).prefab

Im not sure how to "drag" those packages from above, I cant click on them nothing happens. I went to the comment but only got a huge script

I found the things above but they are not moveable
I cannot find the link for those specific files. when I copy and paste them into a web browser it tells me not found

I followed each step and it still says a parents parent is not found so will not function

i am working in CC and trying to get the cotton fox table to work....I cannot find any instructions about how to install it (like step by step insluding what to add etc) I would have assumed by placing in the prefab that it would function like my other prefab games. help going crazy here( I am not tech savy so plain english please

Try downloading from commit b7462a9 and see if the same issue arises?
Just drag one of the following into your scene after importing all contents into the packages folder:

Packages\VRCBilliards\VRCBCE CottonFox (Esnya).prefab
Packages\VRCBilliards\VRCBCE CottonFox (M.O.O.N).prefab
Packages\VRCBilliards\VRCBCE CottonFox (akalink).prefab

this is th erroe message I get after dragging the table intot the scene.
"the pool table attempted to find a poolmenu inside the children of its base object (its parents parent)"


Bug: Issues with Typing Devanagari Script in VS Code

Steps to Reproduce:
Open Visual Studio Code.
Set the input method to Devanagari script (e.g., using a specific keyboard layout or input method editor).
Attempt to type Devanagari characters in a text file.
Expected Behavior:
Devanagari characters should be typed correctly and rendered properly.
Actual Behavior:
Typing Devanagari characters results in incorrect or garbled text, or the input method does not work as expected.

Looks like duplicate of #222327
If it is - please close this one, upwote that, and add additional detsils there


New wallpater for 24.01

New wallpaper https://github.com/ghostbsd/ghostbsd-wallpapers/commit/317dfc7736536dd2e2f90de2ca8c417af51d20f2

https://github.com/ghostbsd/ghostbsd-mate-settings/commit/d30f404d9d2c05ba09e8ff4995d82dcb949e4ec1


Adding new font family once tachyons is installed using npm

Hello, I'm building a new project with the the create-choo-app CLI tool, which creates a project with tachyons installed. The documentation is clear on how to setup a new font if I clone the tachyons repo directly and then modify the src directory. However, it is unclear to me how to add a font family once tachyons is already installed using npm install tachyons. Can someone point me in the direction of how to do this? Thanks!

@AcidLeroy that's a good question. For my project, I basically grabbed the source code from this monorepo and setup a Webpack PostCSS build that allows me to customize fonts, colors, etc. Doing npm install limits the way you can customize it, from my understanding.

You'll have to add and include your own custom css that overrides what tachyons is setting. Lots of ways to achieve this, could be in a style tag you include in the head of your document for example.


Add a model for mangas

It seems like it would be nice to have a model that is trained on mangas (colored and uncolored).
I could be wrong, but as manga tends to be similar in style, a newly trained model might achieve better results than using the default model on mangas.

yes plz


[BUG] : Text overflowed from the card in Home page

Text from cards has overflown , In the home page under "Our Values" section the text has come out of those cards.
proper styling can sort this out.

Hey @Gaurav-Verma07 , Please Assign me this issue under GSSoc'23


[SR-7828] Include name-based "fixits" whenever we do a unique name membership lookup

Previous ID
SR-7828

Radar
rdar://problem/34911728

Original Reporter
@aciidb0mb3r

Type
Bug

Status
Reopened

Resolution

Additional Detail from JIRA

Votes
0

Component/s
Package Manager

Labels
Bug, StarterBug

Assignee
None

Priority
Medium

md5: 09bf5631fee7a0af06fa651808d31d64

Issue Description:
This diagnostic is not very good, SwiftPM should suggest the right spelling by comparing against the products which are available and suggesting a likely match if the string edit distance is small enough, similar to what the compiler does.
$ swift build
error: product dependency 'FooBar' not found

The edit distance algorithm as landed in SwiftPM with https://github.com/apple/swift-package-manager/pull/1431

This can now be closd. @MaxDesiatov  Could you kindly close this please?

IMO, the resolution is incomplete, as the PR in question only added warnings, while this issue requested actual fix-its that users can easily apply by clicking on them, like with any other fix-it.


Implementation for SMART regularization technique

Not convinced the train_loss is being updated. @quinn-holl Do you know where this happens?


VSCode insiders does not search files other than js/ts

This is result from stable vscode:

This is result from insiders vscode on the same project folder:
1.14.0-insider
4541e70733f110ada8d0b4266bc922565d74950a

Just empty result (with blue slider running on top of search intput).
Though it searches inside JS/TS files:

Seems that it happens when user settings exclusion is activated:

Have you also tried with the new Insiders from today?

If so, can you show the output in the 'Search' output pane? Here:

Yes it seem to work now. Closing.


test move test_hive_text_complex_type from p2 to p0 (#37007)

bp: #37007
Proposed changes
Issue Number: close #xxx

run buildall


decouple API from multiple backend on createMPU

refactoring evaluation

PR has been updated. Reviewers, please be cautious.

CONFLICT (content): Merge conflict in lib/data/wrapper.js

dear reviewer, only the last commit is relevant for this PR

what's going to happen with the first commit?


how to config when simulating mid_360?

how to config when simulating mid_360? Thanks for your demo.

Apologies, I couldn't locate a suitable package to simulate mid-360 in Noetic. As an alternative, I've opted for Velodyne in the simulation due to its excellent compatibility and well-documented features.
If you happen to come across any open-source mid-360 simulation package, you only need to modify the topic name of PointCloud2 to integrate it seamlessly with this planner framework.
Besides, I do not think that using the exact  same lidar in your car/robot is necessary, as simulation serves the purpose of aiding your comprehension of the algorithm.
Best Regards.


Reliability

Is this being maintained?
Maybe CSS grid hasn't changed much in the past 10 months to prompt an update.
I don't want to start using something that needs to be replaced soon after.
If it's not being maintained, it would be great to know, so I can fork and continue to use it.
Thanks!

Hello @scottpageindysoft,
I think CSS Grid is pretty stable now yeah, I've not had any issues raised to suggest that it needs updating yet. But I agree it hasn't been touched in a long while, so I've put out a new version with some updated dependencies to give it refresh and give confidence all the pipelines/releases are still working should updates need to me made 😃
So yeah, its still been maintained 😃
Thanks,
Adam


test: add UI e2e tests

@rkocemba-splunk can you please rebase on main, I merged #559 where I changed the structure a bit.


Fails for attr_reader contracts

class Viking
  include Contracts

  Contract None => User
  attr_reader :user

  Contract None => Hat
  attr_reader :hat
end

fails with:
[error]: NoMethodError: undefined method `type' for nil:NilClass
[error]: Stack trace:
	/Users/waterlink/.rvm/gems/ruby-2.1.1/gems/yard-contracts-0.1.5/lib/yard-contracts/formatters.rb:68:in `type'
	/Users/waterlink/.rvm/gems/ruby-2.1.1/gems/yard-contracts-0.1.5/lib/yard-contracts/formatters.rb:118:in `block in params'
	/Users/waterlink/.rvm/gems/ruby-2.1.1/gems/yard-contracts-0.1.5/lib/yard-contracts/formatters.rb:109:in `each'
	/Users/waterlink/.rvm/gems/ruby-2.1.1/gems/yard-contracts-0.1.5/lib/yard-contracts/formatters.rb:109:in `params'
	/Users/waterlink/.rvm/gems/ruby-2.1.1/gems/yard-contracts-0.1.5/lib/yard-contracts/contract_handler.rb:45:in `process'
	/Users/waterlink/.rvm/gems/ruby-2.1.1/gems/yard-<IP_ADDRESS>/lib/yard/handlers/processor.rb:114:in `block (2 levels) in process'

I assume, that happens because it tries to get parameter list and do something with it. But there is no method definition to get parameter list from..

yard-contracts is fired on the Contract call, it then scans ahead in the code's AST for the next def statement, which of course there isn't here.
I wasn't going to support any fancy metaprogramming stuff with yard-contracts because it's not easy when all Yard gives us is an AST. But attr_* methods are core and so common that we really should support them (I didn't know Contracts worked with attr_* actually).
So, the first approach that springs to mind is look ahead for the next def, the next `attr_*, look ahead for the next whatever other ways methods can be defined, then out of those choose the nearest one and use that. It'll be a lot of edge cases but I'm not sure how else to do it.
It would be a good idea to ask on YARD if there's a better way of doing this or if we really are stuck gleaning stuff from the AST.
Ooh, another way might be to register TWO handlers. One for the Contract call that registers it in an array and one for the next method definition that then links the two. Of course this would only work if YARD fires the method definition handler for attr_* methods too, which I don't know. Or it might have a special handler for attr_* also.
I won't be able to work on this for at least a week, likely longer so feel free to have a go yourself if you want.

As I though, I can take a look )


Add webpack resolve alias?

I tried to add aliases to the dev webpack configuration so the JS paths would be easier to maintain.  Unfortunately this isn't working.  I have used this across various other webpack React projects.  Do you happen to know why that wouldn't work within this project?
For example:
  resolve: {
    extensions: ['', '.js', '.jsx'],
    modules: [
      'client',
      'node_modules',
    ],
    alias: {
      Client: path.resolve(__dirname, 'client')
    }
  },

this may be due to webpack itself.

Hi @adriaanbalt I'm also running into this problem.. I believe it's due to the way SSR is set up.
I haven't tried this yet, but maybe this babel plugin would help https://github.com/tleunen/babel-plugin-module-resolver. You could try adding it here https://github.com/Hashnode/mern-starter/blob/master/index.js#L13

Thanks, that worked @epilande


When the user selects "Enter focus mode" button, on next tab key press , focus should go to the first line of the editor, but the focus is going to "Previous" button

.NET Online REPL  is having the following accessibility issue.  Please see this issue . I have also included the details below

Environment Details:
URL: https://docs.microsoft.com/en-us/dotnet/csharp/quick-starts/hello-world?tutorial-step=1
Browser: Edge 42.17134.1.0 , Chrome 67.0.3396.87
Repro Steps:
1)Hit the URL : https://docs.microsoft.com/en-us/dotnet/csharp/quick-starts/hello-world?tutorial-step=1
2)Tab till "Enter focus mode" button and press enter
3)Editor pane will open up
4)Press tab key to check for next tab stop
Actual Result:
When the user selects "Enter focus mode" button, on next tab key press , focus should go to the first line of the editor, but the focus is going to "Previous" button
Expected Result:
When the user selects "Enter focus mode" button, on next tab key press , focus should go to the first line of the editor
User Impact:
Keyboard only users may get confused
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={0de7fbe1-ad7e-48e5-bcbb-8d986691e2b9}
Focus Order Issue foe Enter focus mode.pptx

I cannot reproduce in the editor at https://microsoft.github.io/monaco-editor/ . The Tab key reaches the editor.


Change poll results designs [YEP-88]

@bruskiza @smn @miltontony ready for review

:+1: i knows css


Add codec-beam, by @hkgumbs

Checklist:

[X] Meaningful commit message - please not Update build-constraints.yml

[X] At least 30 minutes have passed since Hackage upload

[X] On your own machine, in a new directory, you have successfully run the following set of commands (replace $package with the name of the package that is submitted, $version is the version of the package you want to get into Stackage):
stack unpack $package
cd $package-$version
stack init --resolver nightly
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks

The test suite fails with:
Building test suite 'codec-beam-tests' for codec-beam-0.1.1..
[1 of 2] Compiling Eunit            ( test/Eunit.hs, dist/build/codec-beam-tests/codec-beam-tests-tmp/Eunit.o )
[2 of 2] Compiling Main             ( test/Main.hs, dist/build/codec-beam-tests/codec-beam-tests-tmp/Main.o )
Linking dist/build/codec-beam-tests/codec-beam-tests ...
> /tmp/stackage-build12/codec-beam-0.1.1$ dist/build/codec-beam-tests/codec-beam-tests
codec-beam-tests: erlc: callProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

I'm guessing this means we need to add some packages to the Docker image. Could you send a PR to update this file? https://github.com/fpco/stackage/blob/nightly/debian-bootstrap.sh

Actually, I just gave this a shot myself in 56300b6d, by adding the erlang-base package. If something else is needed, please let me know or send a new PR.

My apologies, it seems I misunderstood how the automation worked. That looks like the correct package. Thank you for getting to this so quickly

No apologies necessary, most people end up missing runtime dependencies like that. Hopefully that will fix things, we'll know once the Docker Hub build completes! https://hub.docker.com/r/snoyberg/stackage/builds/bs8tajwogbkkyqb7gxrjwg7/

Unfortunately it looks like that wasn't enough:
Linking dist/build/codec-beam-tests/codec-beam-tests ...
> /tmp/stackage-build11/codec-beam-0.1.1$ dist/build/codec-beam-tests/codec-beam-tests
test/.eunit/codec_tests.erl:2: can't find include lib "eunit/include/eunit.hrl"
test/.eunit/codec_tests.erl:4: undefined macro 'assertMatch/2'
test/.eunit/codec_tests.erl:8: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:10: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:12: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:14: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:16: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:18: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:20: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:22: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:24: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:26: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:28: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:30: undefined macro 'assertNot/1'
test/.eunit/codec_tests.erl:35: undefined macro 'assert/1'
test/.eunit/codec_tests.erl:40: undefined macro 'assertNot/1'
test/.eunit/codec_tests.erl:45: undefined macro 'assert/1'
test/.eunit/codec_tests.erl:50: undefined macro 'assert/1'
test/.eunit/codec_tests.erl:55: undefined macro 'assertNot/1'
test/.eunit/codec_tests.erl:60: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:62: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:64: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:66: undefined macro 'assertEqual/2'
test/.eunit/codec_tests.erl:68: undefined macro 'assertEqual/2'

Ok, it seems that there are separate packages for erlang-eunit and erlang-dev. I suspect we should revert my PR for now. I can re-submit it after I figure out the proper combination. I'll get to that in the next day or two.
Thanks for the guidance

Sounds good, I've put in a temporary block on the package.


update UIView shadow Extension

Checklist

[ ] I checked the Contributing Guidelines before creating this request.
[ ] New extensions are written in Swift 4.
[ ] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+.
[ ] I have added tests for new extensions, and they passed.
[ ] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[ ] All extensions are declared as public.
[ ] I have added a changelog entry describing my changes.

          2 Warnings

:warning:
Consider adding tests for new extensions or updating existing tests for a modified SwifterSwift extension

:warning:
The source files have been modified. Please consider adding a CHANGELOG entry if necessary.

          1 Message

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

SwiftLint found issues
Warnings

File
Line
Reason

UIViewExtensions.swift
85
Lines should not have trailing whitespace.

  Generated by :no_entry_sign: Danger

@embassem We also need to add unit tests for any new extensions.

@embassem Any update on the requested changes?

@embassem I'm going to close this one due to inactivity. Please feel free to reopen with the requested changes 👍


Fair play

So at first it was fine, but now suddenly when I load a saved playlist the only name that shows up is me the 'bot owner'. The songs that my friend added have my name now and I clearly remember not adding it.
So there's technically zero songs added by anyone else and it renders the fair play command completely useless.
In the first place fair play sometimes played my songs back to back, but that's a separate issue.

yea it can't work like that.
The person who loads the playlist is the new 'owner' of all songs


[Extension Idea] Password Manager integration

Description of the new feature/enhancement
An extension idea would be to allow for password manager integration, for example through the command pallette or a hotkey. After searching the entry to fill out (in a command pallette-alike dropdown with search) it would then fill out the username, password, or any other field. Some password managers like 1Password already have some form of desktop integration, but it's not excellent. Native incorporation in Windows Terminal would be amazing.
Proposed technical implementation details (optional)
We will probably first need extension support for this, but then it should be relatively easy.

Theoretically, you wouldn't need an extension for this. You could just manually fill in commands like:
{ "command": { "action": "sendInput", "input": "hunter2\r" }, "keys":"ctrl+p", "name": "input my password" },
{ "command": { "action": "sendInput", "input": "FWest98\rhunter2\r" }, "keys":"ctrl+u", "name": "input my username AND password" },

Though, that would have the passwords stored in plaintext, which I can't in good faith recommend doing 😄
So this is a decent case for an extension being able to supply them as an API call to the extension binary, rather than writing them to a file.
Okay I've talked myself into leaving this on the extension proposals list. I've already had a mind to do something similar with "commands provided by an extension", but this proves the use case for having them not exclusively provided via a file. Thanks!

Password management functionality would be amazing!

It would be such a killer feature if something like @bitwarden had an integration for this, being able to provide secure SSH key password inputs into Windows Terminal.


mitigate inconsistencies from unknown graph-node feature support

This is a temporary measure to mitigate inconsistencies that arise from indexers serving queries with different versions of graph-node. The gateway must enforce some feature set. This followup should be to support versioned queries (GIP-24) in indexer-service and the gateway.
TODO

[x] merge https://github.com/graphprotocol/indexer/pull/841, release to indexers ASAP
[x] add a config field for min_graph_node_version, enforce via a filter in indexing_status.rs.
[x] set minimum graph-node version to 0.33.0, but allow unknown graph-node version for now.
[ ] transition to strict enforcement, after substantial indexer adoption of the updated indexer-service
[ ] GIP-24

[ ] add indexer-service support for versioned queries
[ ] add the new version field to attestations, such that the gateway supports both for the transition period
[ ] add gateway support for the above

blocked by https://github.com/graphprotocol/indexer-rs/issues/527


Fix tests

Description
Fixes tests ... I hope
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable

@Xorima I can help with this PR.

Hey @marcosvm
I'd love the help, if you are not already a member of sous-chefs please request to join here: https://github.com/sous-chefs/terraform-github-org
Drop by the #sous-chefs channel as well in https://community-slack.chef.io/ and say hi,
I just want to see this green so we can start on some new features and bug requests, hard to merge things as there is a much larger chance I am breaking something else

@Xorima I can't reproduce the STDERR: /usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 13 - Permission denied) we're seeing all over the CI failed builds. I tried a MacBook and inside a VM running Ubuntu 18.04, in both cases chef converges OK.
Do you have any recommendation of how to reproduce this error?

Hey, are you using dokken or full vagrant?

I'm using dokken, I think CI is using dokken. I'll try vagrant too.
On Thu, Feb 27, 2020 at 9:53 AM Jason Field<EMAIL_ADDRESS>wrote:

Hey, are you using dokken or full vagrant?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sous-chefs/percona/pull/419?email_source=notifications&email_token=AAAPOJTAO463CY7CVQDEQM3RE74YFA5CNFSM4KYXN6D2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENFJXDQ#issuecomment-592092046,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPOJQTVSSUMIL3XNWCB7LRE74YFANCNFSM4KYXN6DQ
.


Tombs of Amascut Puzzle Helper

Added a plugin that utilizes labelled tile overlays to make the Scarab Puzzle Room in Tombs of Amascut more brain-dead than it already is.

I have now released scabaras puzzle solvers as part of the existing plugin "Tombs of Amascut", which you can see in action in the README: https://github.com/LlemonDuck/tombs-of-amascut#scabaras-puzzle-helpers
In the aim of reducing the total amount of ToA plugins, does this sufficiently cover what you were hoping for? Or would you still like your plugin merged. I am happy to accept contributions/edits to my plugin as well.

I have now released scabaras puzzle solvers as part of the existing plugin "Tombs of Amascut", which you can see in action in the README: https://github.com/LlemonDuck/tombs-of-amascut#scabaras-puzzle-helpers
In the aim of reducing the total amount of ToA plugins, does this sufficiently cover what you were hoping for? Or would you still like your plugin merged. I am happy to accept contributions/edits to my plugin as well.

I mean technically it does, but I created this to publish to the plugin-hub. If someone wants to use your plugin over mine, they can, but I don't think you adding this same functionality I am assuming after I raised this PR should warrant my PR not being merged.


feat: CEL Validation for NodeClaim Kubelet

Fixes #N/A
Description

Adding CEL validation in the effort of moving away from webhook validation.
https://github.com/aws/karpenter-core/issues/103

How was this change tested?

make test

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
12 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.1%) to 82.227%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/scheduling/topology.go
2
86.49%

pkg/controllers/provisioning/scheduling/topologygroup.go
2
96.75%

pkg/scheduling/storageclass.go
2
81.82%

pkg/controllers/disruption/pdblimits.go
6
76.47%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
9156

Relevant Lines:
11135

💛  - Coveralls


Use a Keycard hardware wallet with Status

This content describes the different interactions of Status desktop and mobile users who use a Keycard. Keycard workflows can be found on this Figma file.
ToC draft

Generate keys for a new Keycard (H2)
Login to your Status account with your Keycard (H2)
Sign Wallet transactions using Keycard (H2)
Troubleshooting (H2)

The Keycard is locked with existing keys
The Keycard is locked after unsuccessfully trying a PIN
The Keycard stores keys but doesn't store a profile
This Keycard is empty
The Keycard has been initialized

These three are related because the only way out is to generate new keys

Recover your Keycard

Closing this issue because the content has been covered in https://github.com/status-im/status-website/issues/1150