[proposal] JS service layer

To support extendable JS services for different app or business logics without updating JS framework itself and managing JavaScript memories better for all Weex instances.
Background

Different apps has different requirements in JavaScript libs.
Lots of JS bundles reuse the same JavaScript libs but can not be shared in runtime.
Functions can not be passed into native. Currently we automatically convert function parameters into callback ids and then pass them into native. But for functions in a parameter object, it fails.
Most JavaScript polyfills can not manage their memories well between different Weex instances. We always have to release some JS objects manually for them when a Weex instance destroyed.

Purpose
We can make a "service layer" in JavaScript runtime to solve these problems one time. Each JS service can inject some instance variables when such a Weex instance created in such a JS framework. And it can make hooks when the instance created, refreshed or destroyed.
Details
refs: WHATWG HTML Living Standard: 9.6 Broadcasting to other browsing contexts
Changes for Render Layer
(nothing to change)
Changes for JS Runtime

Added runtime.service.register(name, config) and runtime.service.unregister(name) for runtime.
Call hooks of each service when createInstance, refreshInstance and destroyInstance in JS runtime.
Added a instanceObjects parameter in createInstance(id, code, config, data, serviceObjects) for each JS framework.
Added each variables in instanceObjects to each Weex instance closure when createInstance by a JS framework.

Changes for Tools

Make a tool or enhance current JS framework build config to concat services when build a JS framework for a certain App like Taobao, Qianniu etc.

Developer Experiences
In Weex JS runtime. We can call
runtime.service.register(serviceName, {
  /**
   * Optional.
   * Hook when a Weex instance created
   * @param  {string} id     Weex instance id
   * @param  {object} env    Weex environment object
   * @param  {object} config Weex instance config
   * @return {object}        The variables which should be injected
   *                         into the instane runtime
   */
  create: function (id, env, config) { ... },
  /**
   * Optional.
   * Hook when a Weex instance refreshed by native
   * @param  {string} id     Weex instance id
   * @param  {object} env    Weex environment object
   */
  refresh: function (id, env) { ... },
  /**
   * Optional.
   * Hook when a Weex instance destroyed
   * @param  {string} id     Weex instance id
   * @param  {object} env    Weex environment object
   */
  destroy: function (id, env) {...}
})

Notes

We can rebuild (a better) BroadcastChannel polyfill and HTML5 Timer APIs with this.

Additionally we can move native callback management from each framework to common runtime.
Here is a simple implementation https://github.com/Jinjiang/weex/blob/jsfm-feature-service/html5/runtime/callback-manager.js
and also we have rebuilt BroadcastChannel polyfill as a JS service https://github.com/Jinjiang/weex/blob/jsfm-feature-service/html5/services/broadcast-channel/index.js

Seems like it is a runtime hook, good to developer runtime plugin. But I can't get the idea how to register an lib and use it in the bundle code. Any example code?

After our discussion today. Currently we hope the service concept can be register/unregister from native. Weex has only one runtime in app. If we lost any variable after destroy instance will be memory leak.
js bundle code example:
<script>
var Utils = new Weex.services.utils()
module.exports = {
    created: function() {
        Utils.alert('Hello world~')
    }
}
</script>

Native register this code example
[WXSDKEngine registerServiceWithName: @"SERVICE_NAME" options:@{ @"a": @"1" } code:@"JS_CODE_HERE"  ]

Native will exec this code to runtime. For example:
(function(service, options) {
    /* js service code here */
})({
    register: global.registerService, // register service
    unregister: global.unregisterService, // unregister service
}, {
    serviceName: 'SERVICE_NAME' // create from name code. this object can be extend from native
})

Codes shown above are not the codes I asked for, If I register a module call  'ABC',
I should be able to register something like
weex.regsiterModule('ABC');
and in my bundle code I should be able to use var my module = require('ABC');

@seajean
JS runtime and JS service are parallel. You can init each service in your instance like var my_module = new Weex.services.ABC(). Don't needs to register this in bundle code.

This PR/issue doesn't receive response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.


Add spendable balance to the get balance API endpoint

Following from this issue https://github.com/stratisproject/StratisBitcoinFullNode/issues/2674, wedecided to add spendable transactoins to the balances returned from an API call.
so instead of
{
  "balances": [
    {
      "accountName": "account 0",
      "accountHdPath": "m/44'/105'/0'",
      "coinType": 105,
      "amountConfirmed":<PHONE_NUMBER>0000,
      "amountUnconfirmed": 0
    }
  ]
}

we'd have
{
  "balances": [
    {
      "accountName": "account 0",
      "accountHdPath": "m/44'/105'/0'",
      "coinType": 105,
      "amountConfirmed":<PHONE_NUMBER>0000,
      "amountUnconfirmed": 0,
      "amountSpendableConfirmed":<PHONE_NUMBER>7800,
      "amountSpendableUnconfirmed": 0,
    }
  ]
}

@bokobza Still needs to implement this one 👍

Migrated to https://dev.azure.com/Stratisplatformuk/StratisBitcoinFullNode/_workitems/edit/3172


Group restriction not totally working.

I've selected a specific user group with only a few users but somehow all users are now shown the reset password form online.  The users in the group can successfully change their password.  The users not in the group show an error in the audit log.  Why has this happened where all users are now shown the form to change their password even though I've selected a specific group?  If that's normal, then it should say that in the documentation.

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

ID: cacc043b-aeec-5deb-e60f-b11e6381b0ba
Version Independent ID: aa2be87c-296f-b3ff-9549-4407c46746d4
Content: Enable Azure Active Directory self-service password reset - Microsoft Entra
Content Source: articles/active-directory/authentication/tutorial-enable-sspr.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@KurtD-IT
Thanks for your feedback! We will investigate and update as appropriate.

@KurtD-IT
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows.
Microsoft Teams Community forum
Thank you for your time and patience throughout this issue.


Fix the extraction mode

Why did you mean by that ?

The process used to extract vessel should be simple and straightforward. Try to load data, place fiducial and run extraction. If there are some counter intuitive / unnecessary  steps, it should be fixed.


adding_references

[X]   Verify that note in all the board.I2C references are present (Readme, examples and code)
[x]   Change hardware description XXX_
[x]   Change Circuit Python references Software and Dependencies:
[x]   If library uses SPI verify that digitalio import is included
[X]   Verify that learning guide is included
[X]   Verify that product is included

@kattni could you take a look, this was done when we were doing the documentation improvements but was left out for some reason. thanks :)

@CrakeNotSnowman Thanks for the review :) really appreciated 👍🏼

No problem! Still learning what to look for with respect to the process--I'm still making my way through the learn guides, but I'm happy to help! Thanks for asking for it!


In Complete Survey flow, Risk Factor screen mandatory fields are allowed to submit without inputs

Describe the bug
In Complete Survey, on FlowRisk Factor Screen all fields are mandatory but even inputs are not provided, user is allowed to move on next screen and also allowed to submit survey details
Component
SDC library, reference app
To Reproduce
Steps to reproduce the behavior:

Install and launch the Demo App
Select one patient from list where the survey is not yet completed
Click on 'Complete Survey' button
Click On Next, it opens Risk Factor screen
Here all fields are mandatory
See error 1. click on Next button, it allows user to go to next screen
2. and fill the details in remaining screen till last form (Pulse) and submit the survey it allows without Risk factor details

Expected behavior
As all filed are mandatory on Risk Factor screen, it should not allow to move to next screen or atleast should not allow to submit survey
Smartphone (please complete the following information):

Device: Nokia 3.4
Android version: 11
Build number: 00WW_2_410_SP01

"prior-edit" entry mode added in screen_questionnaire to validate required field and show error message which blocks moving to next screen when required field is not answered.
Still on submit button click shows error message like "Inputs are missing.", As discussed with @aditya-07 this handling is added in Demo app just to show another way of error/validation handling.


Fix webregistry server run detail & make top corner logo link to homepage

This is based on top of https://github.com/nickjalbert/agentos/pull/10 which itself is a PR on top of the branch in #380.

Fixes #385
Fixes #386
Adds a new page that shows a prettier view of all runs in the registry in two tables: one for AgentRuns, and one for ComponentRuns. Also updates the "Runs" link in the main nav bar to point to this new view.

Screenshot of the new run list page:

@andyk could you close, rebase on master, and re-open when you get a chance?  GitHub is doing that thing where the diff is outdated and not updating :(

Okay @nickjalbert, I didn't close/rebase/reopen, but I did merge master into the branch this PR is based and now the diff view seems to be showing me the correct thing.
Is it working for you too?

btw merging master and pushing fixed the diff for me.  Thanks!


Fixes YouTube embed in /docs/topics/ldb/ breaking layout

Description
The YouTube embed in /docs/topics/ldb/ currently breaks the layout on the page when viewed on mobile devices.
PR adds a media query to set the embed width to 100% of the available area on small screens.

Issues Resolved
#76
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

Nice work!


Permission issue in creating apiview

I want to discuss the permission issue in creating apiview in spec PR pipeline.
As the apiview service checks whether PR creator is in Azure/Microsoft organzation, apiview service needs to get PR creator's org information. However, most PR creator's org information is private, and apiview service doesn't allow their spec PR to create apiview by default because apiview service cannot get their org information.
It's not an issue when user create apiview in apiview service UI because the apiview service will induce user to make github account's org information public. However, it's an issue in spec PR pipeline. We want to create apiview automatically in spec PR pipeline, and it will fail if the PR creator doesn't make github account public.
I proposed some solutions here:

Add more information in PR comment and let user know where they can make github account's org information public. (We will use this solution now because it's most easy, but I don't think it's friendly for user)
If apiview service has a PAT which is in Azure/Microsot organzation, then it can use the PAT to get PR creator's org information. (The PAT should belong to bot account. Is there a way to let bot account join Azure/Microsoft org?)
Disable the authorization verification in apiview service when we create apiview in spec pipeline. I don't know what security issue it will have because the apiview is created from spec pipeline, and so I think we can make sure the behaviors is safe.

@praveenkuttappan @weshaggard @lirenhe Hope you can put your ideas here. Also, please @ more people who can give us some suggestions. Thanks

@dw511214992 all the folks submitting a spec change should be in the Azure org and if so their account should be public. If that isn't the case then we shouldn't try and create an APIView for them. In which case we can instead just output a message as to why.

@weshaggard Actually, we already support displaying a  message about it. However, most service teams' github account are set to private by default. So, we cannot create apiview for most PRs by default, which is not friendly, and I'm just thinking whether there is a better way to check their permissions, or whether we can skip permission check when the request is from our pipeline.
thanks

cc @praveenkuttappan

What does the message say? Does it tell folks (or link to docs) that tells them they need to make their Azure org public for their account? If not I suspect we might want to have them do that.

whether we can skip permission check when the request is from our pipeline

I don't think we want to skip this permission check because it potentially opens up a security hole for public PRs.
@praveenkuttappan any thoughts on this?

What does the message say? Does it tell folks (or link to docs) that tells them they need to make their Azure org public for their account? If not I suspect we might want to have them do that.

whether we can skip permission check when the request is from our pipeline

I don't think we want to skip this permission check because it potentially opens up a security hole for public PRs.
@praveenkuttappan any thoughts on this?

We definitely cannot skip permission check which is the only way to ensure this REST API is protected from unauthorized access. Users can login to APIView only if their org info is publicly available. So even if we support an alternate approach for this REST AP, user will still not be able to access the review that get's generated. So that's not a cleaner solution either.
Can we add a step in pipeline to create a warning and notify them if org info is not available publicly? Currently it is just added as a message if it fails to create API review. right?

Now, the message will help user know they need to make their org information public. The message is: Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

Eventually we want to have the pipeline inside of the Azure/azure-rest-api-specs repo to standardize how we do our pipelines but even with that that approach we have some strategies for handling this. Please work with @praveenkuttappan to use a similar approach as we do for our public PRs in the language repos. For now however given that the pipeline is protected we can use the apikey as a secret to call the api.

This was already fixed as part of the change we did in one of the last releases in January to switch PR owner authentication to Microsoft OSS api instead of verifying GitHub authentication.


The actual flight condition of your fully-actuated UAV

  Hello, could you please tell me what effect your fully-actuated UAV can achieve in actual flight?Like:
  1.Hover horizontally in the air
  2.Hover in the air with the uav body tilted
  3......
  4.....

 How to achieve the website video contact with the wall environment job?Do you need a depth camera?

 Thank you very much for your help!

Hello, could you please tell me what effect your fully-actuated UAV can achieve in actual flight?Like:
1.Hover horizontally in the air
2.Hover in the air with the uav body tilted
3......
4.....

Hi, you can achieve all five attitude modes mentioned in the paper by changing the parameter OMNI_ATT_MODE to these:
0: Full-tilt attitude: Similar to underactuated UAVs, it always tilts in the direction of acceleration. Tilts towards the wind when hovering.
2: Zero-Tilt attitude: Tries to keep its attitude at zero in all conditions when flying and hovering.
1: Min-tilt attitude: Behaves like a fusion of 0 and 2, keeping it at zero, unless if it has to tilt, then it tilts in the same direction as mode 0 would tilt but with much less tilt.
3: Fixed-tilt attitude: Keeps the fixed tilt angle (to the value set in OMNI_ATT_TLT_ANG) and direction (to the value set in OMNI_ATT_TLT_DIR).
4: Fixed attitude: Keeps the fixed roll and pitch to the values set in OMNI_ATT_ROLL and OMNI_ATT_PITCH.

How to achieve the website video contact with the wall environment job?Do you need a depth camera?

If you want to do it fully autonomously you would probably need some way of measuring how far you are from the wall or if you have hit the wall already. Depending on your application and the level of required autonomy, you may use a depth camera, or an RTK, or a force sensor or simply command it to go forward until bumping into something or some other state estimation method.
We do have a tracking camera which we use to help state estimation. But the point of putting the wall contact in the video is to show the robustness of the controller and the wall contact itself is irrelevant to this specific paper.

Hello, could you please tell me what effect your fully-actuated UAV can achieve in actual flight?Like:
1.Hover horizontally in the air
2.Hover in the air with the uav body tilted
3......
4.....

Hi, you can achieve all five attitude modes mentioned in the paper by changing the parameter OMNI_ATT_MODE to these:
0: Full-tilt attitude: Similar to underactuated UAVs, it always tilts in the direction of acceleration. Tilts towards the wind when hovering.
2: Zero-Tilt attitude: Tries to keep its attitude at zero in all conditions when flying and hovering.
1: Min-tilt attitude: Behaves like a fusion of 0 and 2, keeping it at zero, unless if it has to tilt, then it tilts in the same direction as mode 0 would tilt but with much less tilt.
3: Fixed-tilt attitude: Keeps the fixed tilt angle (to the value set in OMNI_ATT_TLT_ANG) and direction (to the value set in OMNI_ATT_TLT_DIR).
4: Fixed attitude: Keeps the fixed roll and pitch to the values set in OMNI_ATT_ROLL and OMNI_ATT_PITCH.

How to achieve the website video contact with the wall environment job?Do you need a depth camera?

If you want to do it fully autonomously you would probably need some way of measuring how far you are from the wall or if you have hit the wall already. Depending on your application and the level of required autonomy, you may use a depth camera, or an RTK, or a force sensor or simply command it to go forward until bumping into something or some other state estimation method.
We do have a tracking camera which we use to help state estimation. But the point of putting the wall contact in the video is to show the robustness of the controller and the wall contact itself is irrelevant to this specific paper.


Submit Maps Not Working

Submitting of maps not working ;(

better explained in https://github.com/webdevcody/survive-the-night-sim/issues/125


Settings for Nuke IncrementScriptVersion

Plugin for increasing workfile version is now configurable, optional and families could be selected. (Default setting as per current configuration in the plugin.)
Closes https://app.clickup.com/t/6658547/PYPE-1839
On client side Setting must be set as they request!

Task linked: PYPE-1839 Workfile Version Increment Upon Publishing

To be honest I'm a bit confused as to why we have that filter. The plugin is supposed to only work on workfiles by definition, so why are we filtering render.local and render.farm?
Wouldn't it be enough to have active and optional triggers here?

There might be a opinion about this workflow from some productions. Sort of:
What if we don't want to increase version of workfile after 'prerender' publishes? or
We would like to keep versioning as less as possible for our client would like to have version synchronized to their review cycle. In that case prerender publishing (and lot of studios already exchange this for deadline submitter) will be heavily incressing the version of workfile in case we will remove the families filter.

In that case prerender publishing (and lot of studios already exchange this for deadline submitter) will be heavily increasing the version of workfile in case we will remove the families filter.

Fair enough. The question is then if this is good enough. because if I'm sending to the farm (prerender or render), I thought we require publish of the workfiles to prevent accidental changes to it during the rendering. Which in turn would raise the version anyway.

Yes, that is right, it is broken anyway as we will need to have workfile in context all the time and in that case the plugin will rise it all the time even prerender and its derivate families will be present..
We have to introduce something more solid, based on blacklisting it on taskType and family manner.
Or what are yours sugestions?

also another alternative would be to introduce something like snapshots of one version. So this would be always publishing workfile even we would publish geo or camera or gizmo. Only difference would be it would not increse v### but it would add suffix with generated hash something like workfilename_v002_oxw2o.nk.
You might ask, why would we do this? This way we would keep strickty the workfile versioning tightli synced with reviewing cycle and allow separating workifle per publish.
This is just an idea..

I could rewrite plugin to:

if workfile is published AND any of the configured family is published too, version workfile up
if workfile is not published (local render, as I am guessing that farm render forces publishing of workfile), do not version up, even if any configured family is being published (eg. I am publishing prerender locally, but I dont want to version up workfile.)

Removed 'families' configuration


Action fails when deploying App Runner Private Services deployments

Hey all,
We started making use of this action to deploy an App Runner Private Service, after making use of this action many times for standard "public" app runner deployments.
The issue is that the AWS CLI/API does not report back a serviceUrl when describing an app runner private service, which causes this action to wrongfully fail (the service is deployed correctly, but the action fails because it didn't report a URL back).
I looked inside the code a bit and it seems that a PR that doesn't fail in case a serviceUrl is not returned can be easy to make, so I'd be happy to help if that solution works for everyone.
If not, please let me know if you have plans to fix this issue.

I ended up opening a PR with a small fix, please let me know what you think

My PR was merged with the suggested fix, closing this


Save As does not show text for Distance and Direction

From @topowright on December 8, 2016 22:34
The Distance and Direction Add-in has the ability to save features locally. Currently the text does not show up:

Expected Behavior
I would expect to see Save to shapefile, feature class or kml
Current Behavior
No text is showing up in the dialog box.
Possible Solution
Steps to Reproduce (for bugs)

Create a graphic
Click the Save As Button
Dialog box will show up

Context

Your Environment
Windows 8 ArcGIS pro 1.4 build 7156
Copied from original issue: Esri/military-tools-for-arcgis#78

From @pHill5136 on December 14, 2016 21:49
@topowright @nfeuerstein Checked this in pro 1.4 build 7179. Labels are appearing in the SaveAs dialog.

I can also verify this works on Pro 1.4 (I'm still on build 7039). closing issue.


Background

Is this pull request associated with an issue(s)?
No
Description
This PR adds some background to the CMaize documentation.
TODOs

[x] Look for more similar projects
[x] Clean up Statement of Need.

For tomorrow:
https://github.com/ixm-one/legacy
https://github.com/cpm-cmake/CPM.cmake
https://github.com/iauns/cpm

@AutonomicPerfectionist I have a weird bug. If you pull this branch and try to configure it (cmake -H. -Bbuild should suffice), you should get infinite recursion in CMakeTest's message override. The offending message call is in CMaize/tests/docs/CMakeLists.txt. I checked it in with _message, but I also tried without the _ and ran into the same problem.
The actual message call seems fine to me (right now it's literally a string because I took the $ off of the variable I was trying to debug). So the override should just be calling the native message command...

FWIW, I realize this bug is better reported in the CMakeTest repo, but I'm not sure what combination of interactions is causing the bug in order to piece together a MWE.

Infinite recursion in that override is a recurring (heh) problem, it usually happens because a fatal error is thrown somewhere along the exception handling route, which then starts the recursion over again. I'll take a look in a bit

Well this is a new one, somehow the overrides are being included more than once even though there's an include_guard, so the underscore function is overridden as well. Commenting out the include("cmake_test/cmake_test") in tests/CMakeLists.txt fixes it, but obviously that's not a real solution. Going to have to do some more digging to find A) where else cmake_test is being included and B) why the include_guard isn't working

@ryanmrichard a small fix in CMakeTest appears to solve it at first glance, probably should do some more tests before merging it though

@AutonomicPerfectionist Thanks for fixing that so fast! As for more testing, it looks like it fixes this problem; so I'm fine merging it and revisiting the issue if something else comes up.

@zachcran I'm going to freeze this PR here. It quickly got away from me. As I think you'll see this PR really will be the bulk of the paper's background. In preparing that, I really wanted to showcase the simplicity of CMaize vs. CMake. For this reason I wanted code snippets. This led me to needing to unit test the documentation examples to ensure I wasn't missing something (they really did work as advertised). This then led to me basically re-inventing some of what I think underlies your integration tests, though they're run out of this repo in a hopefully platform agnostic way. Basically:

CMake/CTest calls CMake in scripting mode.
In scripting mode we call CMake in build mode to actually build a sub-project.
After building (and potentially installing), still in the original scripting mode call, we again run CMake in scripting mode, this time to run a script which checks the output of the build.

It looks like me defaulting the C++ version to 98 (when nothing is selected broke things. I'm going to try going back to the old behavior (no value) and skipping the relevant line in _set_compile_features when it's empty (which was my original error).

@ryanmrichard Sorry for the delay. I'll take a look at this over the weekend!


fix s2 acceptance and force float in map reading

Small pull request to fix the SR1 S2 acceptance to account for the S2<200pe necessary for sources that produce low S2s and force the map reading to read floats.

So, the point of this change is that without this acceptance cut the simulation will produce events below the minimum s1 of 200 pe, which is a hard selection cut on the data.
This is particularly true for sources that are expected to produce low s2 i.e. wall model.  Here are some plots from the ongoing work on the wall source:

As you can see the source simulates events below the minimum s2 allowed.


Completion of the stage of translation of the course into Russian

Finalizing the translation phase. Units 6 and 7 have been translated. #109

@MKhalusova :rocket: Поехали)))

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Remove replaceCodeSettings from Settings Sync configurations

Replace replaceCodeSettings from the Settings Sync.

User should use Sync Pragma in order to disable upload of certain settings.
Use host in order to switch the settings to other host.

Reference : https://github.com/shanalikhan/code-settings-sync/wiki/Sync-Pragmas

Hi there,
Forgive me if this question seems obvious, but the wiki page on "Sync Pragmas" is not 100% clear to me.
Do I use them directly in my settings.json that vscode uses for my user preferences? And if so, say I have 2 settings where I need values different per OS... Do I do this:
    // @sync os=linux
    "git.defaultCloneDirectory": "~/repos",
    // @sync os=windows
    "git.defaultCloneDirectory": "",

(which VSCode warns me is wrong because of "duplicate keys", so I'm guessing it's wrong..)
...or...
    // @sync os=linux
    "git.defaultCloneDirectory": "~/repos",
    // @sync os=windows
    // "git.defaultCloneDirectory": "",

and I can expect the good one to get uncommented should I sync on my Windows laptop? Is that how it's supposed to work?
Furthermore, what about multi-line settings... Do I need to apply the pragma comment per individual line? Or do I declare it twice like the previous example and declare it just before declaring a multiline pref?
Basically, do I do this below?
    "python.autoComplete.extraPaths": [
        // @sync os=linux
        "/mnt/users/alan/.local/lib/python2.7/site-packages",
        // @sync os=linux
        "/usr/lib/python2.7/site-packages",
        // @sync os=windows
        "C:\\Program Files\\Anaconda3\\lib\\site-packages",
    ],

or this below?
    // @sync os=linux
    "python.autoComplete.extraPaths": [
        "/mnt/users/alan/.local/lib/python2.7/site-packages",
        "/usr/lib/python2.7/site-packages",
    ],
    // @sync os=windows
    "python.autoComplete.extraPaths": [
        "C:\\Program Files\\Anaconda3\\lib\\site-packages",
    ],

or one commented like this below? (let's say I'm in Linux at the time)
    // @sync os=linux
    "python.autoComplete.extraPaths": [
        "/mnt/users/alan/.local/lib/python2.7/site-packages",
        "/usr/lib/python2.7/site-packages",
    ],
    // @sync os=windows
    // "python.autoComplete.extraPaths": [
    //     "C:\\Program Files\\Anaconda3\\lib\\site-packages",
    // ],

I would like to know which is the good syntax (and if you can later clarify it in the wiki page so it's clearer for others that would be great too.)
Thank you for an awesome extension btw!

@darkvertex according to

Before uploading your settings.json all the settings with inline pragmas are uncommented. Then, when your settings are synchronized, all the settings values with pragmas that don't match with your machine (OS, hostName or ENV variables) will be commented. Therefore VS Code won't apply them.

so i think a combination of ur first & second examples is what happens, @shanalikhan any insights ?

I echo these confusions in my comment here: https://github.com/shanalikhan/code-settings-sync/issues/753#issuecomment-495460505


Update ocr.py

Loading bar added.
Fixes issue #1

Hey good work, but the loader was supposed to be added in the GUI, because that's where the user is unable to see what's going on. In the CLI, there is no need of the progress bar as one can see the words are being recognized.


Should Value:set with force also trigger Computed onChange?

Example:
local health = Value(100)
local doubleHealth = Computed(function(use)
return use(health) * 2
end)
local observeHealth = Observer(health)
local observeDoubleHealth = Observer(doubleHealth)
print("My health is starting with: ", Fusion.peek(health))
local disconnect = observeHealth:onChange(function()
print("The health is now: ", peek(health))
end)
local disconnect2 = observeDoubleHealth:onChange(function()
print("Double health is now: ", peek(doubleHealth))
end)
task.wait()
print("Seting health to: 50 - updates Computed")
health:set(50)
task.wait()
print("Seting health to: 50 - wont update")
health:set(50)
task.wait()
print("Seting health to: 50 - update only value not computed")
health:set(50, true)
task.wait()
print("Seting health to: 80 - different value will update computed")
health:set(80)
task.wait(2)
disconnect()
disconnect2()
logs:
11:24:30.310  My health is starting with:  100  -  Cliente - FusionTestController:21
11:24:30.409  Seting health to: 50 - updates Computed  -  Cliente - FusionTestController:33
11:24:30.409  The health is now:  50  -  Cliente - FusionTestController:24
11:24:30.410  Double health is now:  100  -  Cliente - FusionTestController:28
11:24:30.962  Seting health to: 50 - wont update  -  Cliente - FusionTestController:37
11:24:31.896  Seting health to: 50 - update only value not computed  -  Cliente - FusionTestController:41
11:24:31.896  The health is now:  50  -  Cliente - FusionTestController:24
11:24:32.184  Seting health to: 80 - different value will update computed  -  Cliente - FusionTestController:45
11:24:32.184  The health is now:  80  -  Cliente - FusionTestController:24
11:24:32.185  Double health is now:  160  -  Cliente - FusionTestController:28

The force parameter indicates that the equality check for the Value object should be overriden, but it does not imply anything about how the broader reactive graph is updated by design since that would overstep a ton of boundaries. It's up to individual state objects to control when they consider themselves meaningfully changed, and it's up to the other objects in the graph to interpret that. Implementing a global override for this would cause a lot of non-local unintuitive behaviour in the worst cases.


Refactored unit conversion doesn't work within species

Following the refactoring of the convert_unit() function for GWP (see #361), converting the physical unit of a species (without changing the species) does not work any more unless also providing a GWP-context.
TEST_DF = pd.DataFrame([
    ['model_a', 'scen_a', 'World', 'Primary Energy', 'Mt CO2/yr', 1, 6.],
],
    columns=pyam.IAMC_IDX + [2005, 2010],
)
pyam.IamDataFrame(TEST_DF).convert_unit('Mt CO2/yr', 'Gt CO2/yr')

raises an UndefinedUnitError.
This seems like a bug, because a context is shouldn't be necessary from first principles.

Good catch. It looks like this wasn't covered by any existing test, so the first step will be to add one. Will open a PR.

closing as implemented


Compile error in online compiler, report_status.h

Upon creating a new program within the online compiler (My target is mbed LPC1768), selecting the mbed-os-example-blinky, and making no changes to the example, compilation fails with the following:
Error: Identifier "MBED_MAX_MEM_REGIONS" is undefined in "stats_report.h", Line: 45, Col: 30
In stats_report.h, if I comment out the following for loops that use this define, the program compiles fine:
        for (int i = 0; i < MBED_MAX_MEM_REGIONS; i++) {
            if (sys_stats.ram_size[i] != 0) {
                printf("RAM%d: Start 0x%lx Size: 0x%lx \r\n", i, sys_stats.ram_start[i], sys_stats.ram_size[i]);
            }
        }
        for (int i = 0; i < MBED_MAX_MEM_REGIONS; i++) {
            if (sys_stats.rom_size[i] != 0) {
                printf("ROM%d: Start 0x%lx Size: 0x%lx \r\n", i, sys_stats.rom_start[i], sys_stats.rom_size[i]);
            }
        }

It looks like MBED_MAX_MEM_REGIONS was added to mbed_stats.h in commit ad736e989466da375e20cf776409225f25045854 and this appears to be in the 5.11-rc1 branch.
So my guess here is that mbed-os-blinky merged in code intended to work with 5.11 but which fails with 5.10.whatever.

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-234

@shimniok Thanks for the heads up.
We found out about this issue earlier today, and it led to a process review of how we manage examples during the release period.
We'll be fixing the problem tonight.

@shimniok Could you try importing the example again in the online compiler? The issue should now be resolved.


Enable analysts to edit application & history is saved

User Story
As an analyst
I want to edit an application
so that I have the most up-to-date information when assessing.
Acceptance Criteria

[x] Clicking on the edit pencil allows analyst to edit the form data on a different page (reuse edit pages for applicants to save time)

[x] Don't show "Edit pencil" for the sections below:

Template Uploads

Supporting Documents Uploads

Coverage uploads

Review

Acknowledgements

Submission

[x] On the edit page when user clicks save they get a modal (see screen design below)

[x] Scenario: Modal
Clicking Save on the modal will save the changes and take the user back to the application
Clicking cancel on the modal will only cancel the text entered into the modal and take the user back to the edit application page with the previous changes still there.

[x] Scenario: Save
Given I changed the application with valid information
When I click on Save
Then the changes are saved
And I'm redirected to the Application page
And to the same section where they clicked the edit button (if time allows for development)

[x] Scenario: Cancel on Edit Page
Given I changed the application with valid information
When I click on Cancel on the edit page
Then I'm redirected to the Application page (no confirmation)
And all information changed is discarded

[x] Scenario: Applicant can see changes
Any changes that the analyst makes to the form data will also by default be visible to the applicant on the portal

Technical Analysis

[ ] Reuse the SaveForm from ApplicationForm (to take advantage of splicing in the latest information along with the rest of the data)
[ ] The RLS should allow an applicant to see the latest changes on the applicant side of the portal. (Should be the "default" as who can see form data is dependent on the application owner)
[ ] No Autosaving
[ ] Add a column on Form Data for a note
[ ] Use the same method of updating data as rfiData (insert only, archive old form)
[ ] May need to update the computed column for displaying formData

What is the front-end complexity?
Do it require creating or updating a component?
Any work on the back-end?
Integration?
Any changes in database structure?
What types of tests that we need to create and run?
Impacts on DevOps?
Other risks and potential side effects?
Which documentation needs to be updated?

Wireframes
Application page - before update (old value)

Edit application page

Modal
Adding text is optional
Save will close the modal and return the user to the Application and to the same section where the user clicked the edit pencil icon to begin with.

Application page - after update (new value)
New values show in the application page

@elliottSlee @zoeyli-46 Do we mean this is for after the 60 day period?  If not then let's discuss the business need for the audit during the 60 day period.

@MarsRomer This is for the analyst post-intake (after 60 days), they do not see the applications before the intake ends. This is the audit log for the analyst, the business need is to have an auditable trail of changes made to an application such as change of status from open to closed etc.

Thank you, that makes it much clearer for me!

@zoeyli-46 we can use this for the edit card

Acceptance criteria updated.

@eazeredo  what was the update and the reasoning behind it?

Reason: I forgot to add it on Monday.
Changes: Added the User Story template, AC rewritten for clarity, and wireframes updated.

Mars to check with NWBC that there are no concerns to show the updated edited form to the applicants

I think this ticket was already reviewed by me and the changes are in prod.  Can someone please confirm?

I thought so but it was in the dev review column so I wanted to make sure you were good with it! This did get pushed to prod Tuesday morning so I will move it to the done column thanks.


[FEAT]: Create Issue forms and make the issue options more visually appealing

Currently, there is an issue template for this repo, but no issue form which will help users in contributing.

I will add Issue Forms to the respective issues to make it easier for the contributor to raise it.

Here is an example of how a Bug Issue Form will look like 👇

and issue templates:

I want to work on this issue. So, kindly assign this issue to me ( GSSOC'24 ).

⚠[URGENT]⚠ Reminder for GSSoC 24' Contributors Please join our CogniGuard Project #general GSSoC'24 Discord channel:
Here you can discuss your queries and doubts with your mentors.
See #109 issues section.

⚠[URGENT]⚠ Reminder for GSSoC 24' Contributors Please join our CogniGuard Project #general GSSoC'24 Discord channel:
Here you can discuss your queries and doubts with your mentors.
See #109 issues section.

⚠[URGENT]⚠ Reminder for Closing of Contribution period for GSSoC 24'
Finish your work and raise the PRs ASAP to get your points.
Thanks💗 for your valuable Contributions!

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


changing the url of UniRef* from ftp to https

Requesting from the current urls with ftp as protocol gives me error as follows:
Invalid request. Privoxy doesn't support FTP.

Thank you!


Video stuck after some time

Video is playing as normal when the Screensaver starts, but after some time, it always stuck there and the screen froze.

Closing as duplicate of #278


Dsc paging changes

New functionality to address server side (sql) paging for dsc resources

add server side paging to dsc nodes get + examples
add server side paging to dsc configurations get + examples
add server side paging to dsc node configurations get + examples
add server side paging for dsc node counts (status and node configurations) + examples

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ x] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ x] If applicable, the PR references the bug/issue that it fixes.
[ x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x ] I have read the contribution guidelines.
[ x] My spec meets the review criteria:

[x ] The spec conforms to the Swagger 2.0 specification.
[ x] The spec follows the guidelines described in the Swagger checklist document.
[ x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-libraries-for-java

Automation for azure-sdk-for-python

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go

Also, there are some model validation errors

@mcardosos -- changed description on NodeCounts from "Gets the total number of records matching filter criteria." to "Gets the total number of records matching countType criteria."

Signing off!

@ravbhatnagar - thanks
@mcardosos - could you merge?

Hi @vrdmr please ping this thread when your ready to merge


bug: query validation

If the query is:
http://localhost:3009/v1/users?role=admin&limit=5&offset=0&sort=email:desc,createdAt
shouldn't validation be:
listUsers: {
    query: Joi.object({
      page: Joi.number().min(1),
      perPage: Joi.number().min(1).max(100),
      limit: Joi.number().min(1),
      offset: Joi.number().min(1),
      role: Joi.string().valid(...User.roles),
      sort: Joi.string(),
    })
  }

instead of:
listUsers: {
    query: Joi.object({
      page: Joi.number().min(1),
      perPage: Joi.number().min(1).max(100),
      name: Joi.string(),
      email: Joi.string(),
      role: Joi.string().valid(...User.roles)
    })
  }

I might be wrong but the second one doesn't work for me, it gives - validation error

I didn't update Joi validation for a while. I will check that api call shortly and update here. Thanks.

Note that the endpoint above "/users" requires admin auth token (logged in as an admin) to be able to list users.
With the admin auth token, it works for me:
http://localhost:3009/v1/users?role=admin&limit=5&offset=0&sort=email:desc,createdAt
{
    "data": [
        {
            "id": "6035fac2e9f15b66900b5e87",
            "name": "Bran Stark",
            "email"<EMAIL_ADDRESS>            "role": "admin",
            "createdAt": "2021-02-24T07:05:38.418Z"
        },
        {
            "id": "60360956d3e4555a408e10b8",
            "email"<EMAIL_ADDRESS>            "role": "admin",
            "createdAt": "2021-02-24T08:07:50.028Z"
        },
        {
            "id": "60360955d3e4555a408e10a3",
            "email"<EMAIL_ADDRESS>            "role": "admin",
            "createdAt": "2021-02-24T08:07:49.565Z"
        }
    ],
    "meta": {
        "limit": 5,
        "offset": 0,
        "sort": {
            "email": -1,
            "createdAt": 1
        },
        "totalCount": 3,
        "count": 3,
        "timer": 54.79,
        "timerAvg": 38.14
    }
}

it works because it is not being validated at all, so your query is passing but validation doesn't work

updated code to use:
listUsers: {
    query: {
      limit: Joi.number().min(1).max(9999),
      offset: Joi.number().min(0),
      page: Joi.number().min(0),
      perPage: Joi.number().min(1),
      sort: Joi.string(),
      name: Joi.string(),
      email: Joi.string(),
      role: Joi.string().valid(User.roles)
    }
  }

It does validation. I used VSCode Rest Client to run API example call in "rest-client-examples.rest" file.
"/v1/users?limit=5&offset=-1&sort=email:desc,createdAt"
"messages": [
  "\"offset\" must be larger than or equal to 0"
]

try to validate 'name' or 'role'

Thanks for replying @ChrisK1994
I've just tried with name and role, it seems to work for me:
/v1/users?limit=5&offset=0&sort=email:desc,createdAt&role=bogus
getting an error message: ""role" must be one of [user, admin]"


Reduces log level to debug to reduce noise in the logs

See an example PR run to notice enormous number of the log entries as this is happening for each unit test.

//cc: @sepe81


feat: add phalcon 5.6.1 release

update phalcon with release 5.6.1

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


⚠ Tachidesk Server has degraded performance

In 81ac116, Tachidesk Server (https://tachidesk.culturecloud.eu.org) experienced degraded performance:

HTTP code: 502
Response time: 11129 ms

Resolved: Tachidesk Server performance has improved in f8057f3.


remove links, use list

Fixes #3150
Todos

[ ] Set aktualisiert am/update to date of merge
[ ] Run tests after initial approval

Changes are highlighted by the red line.
EN:

DE:

Internal Tracking ID: EXPOSUREAPP-14165

The Quellen / Sources are a list, even though its only one item. I think that fits the purpose of a list of sources better. In case there will be more. If we decide to go with only one source, we could also display it as:
Source: Corona Schutzmaßnahmen (...)

@brianebeling

You have addressed all the points I raised in issue #3150. Many thanks!

@brianebeling

You have addressed all the points I raised in issue #3150. Many thanks!

Thank you for the great summary! In an optimal world, sources shouldn't change in the first place, that was a really good find.

@brianebeling
When you update the publication date, please make sure that there is no dot in the English date. "Update on 28. September 2022" is wrongly formatted. It should have been "Update on 28 September 2022".
There has unfortunately been no standard in the FAQs about how to write the update text and date. In most of the FAQs it is written like "Updated, September 28, 2022".

@MikeMcC399 Thanks for reviewing and suggestions, for the moment we have put the link to COVID-19-Schutzgesetz back, since we want to show the original sources. We might find a later a better solution; it is true that it difficult to read this document.


fix: Fixes description indenting

When the description field includes a long description it may not be properly rendered, mainly in Kotlin, where the way of managing the text-blocks is different.
This PR improves the way descriptions are managed by:

Removes empty lines at the beginning of the text-block
Removes indention due to alignment, but keeps indention in the lines that need it

I think this issue may be exclusive from Kotlin, when using text-blocks. The change should be transparent (or nearly transparent) for Java code, but we can wrap it in a special setting if needed.

I am assuming you use multi–line strings aka text blocks.
If it is kotlin specific, would it be sufficient for the users to call trimIndent themselves?
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/trim-indent.html
(I haven't looked through the code. This sounds like a method that should be part of a standard lib)

Sadly it's not possible. Annotations must be compile-time constants, so it's not possible to do any manipulation, like .trimIndent()

Argh. Unfortunate that https://youtrack.jetbrains.com/issue/KT-22505/Support-calls-to-trimMargin-trimIndent-as-initializer-for-const-vals is not getting resolved.
And there seems to be no easy Apache Commons or similar implementation.
Will review the PR on Friday

Kind of unfortunate that there is no nice solution and we have to provide the Utils for it. I think I found some simplifications, but not as much as I wished :(. However, I would add two more test cases: String with no empty lines and null input.

@sam0r040 All the comments addressed. I also added more tests covering the different corner cases. Coverage is now 100%


No error or warning when a ServerRpc is called without ownership

Describe the bug
The default setting for ServerRpcAttribute.RequireOwnership is true. This means that calls to this function will fail outright if the method is called by a client that does not have ownership. This failure is not communicated to the user at all, it is just a no-op.
To Reproduce
Steps to reproduce the behavior:

Create a NetworkBehaviour with a ServerRpc method. Do not override the default RequireOwnership property
Call the rpc method from a client that does not have ownership
Observe that the rpc is not executed on the server, but there is no indication that it failed

Expected behavior
Users should be informed when a method they try to call does not succeed
Environment (please complete the following information):

OS: Win10
Unity Version: 2020.2.7f1
MLAPI Version: 0.1.0
MLAPI Commit: a0e87b3b79

Additional context
Note - I would also suggest that RequireOwnership should actually be true by default. ServerRpcs are often used to avoid complicated ownership structures, but the default behavior right now requires it.

Committed to in MTT-540

fixed by #627


transformers-4.34.1 Error

Error during the installation of transformers-4.34.1.

Despite it saying ERROR it's just a warning.  I've asked attention sinks to relax their requirement, you'll have to ignore for now.

https://github.com/tomaarsen/attention_sinks/issues/26


Create Token behaviors with limited permissions

Describe the bug
Creating a token requires permissions not just for tokens but for tokens, policies, and projects. If the user does not have permissions for policies and projects, errors will show up. One wonders if that is the best UX to present, or should we just trim down the capabilities of what "Create Token" will do based on the user's permissions?
To Reproduce
For the accompanying video I set up the following policy for Sweeney Todd:
{
  "name": "sweeney policy",
  "id": "sweeney-policy",
  "members": [
    "user:local:sweeney"
  ],
  "statements": [
    {
      "effect": "ALLOW",
      "actions": [
        "iam:tokens:*"
      ],
      "projects": [
        "*"
      ]
    }
  ],
  "projects": []
}

The actual command:
curl -sSkH "api-token: $TOK" -X POST -d '{ "name": "sweeney policy", "id": "sweeney-policy", "members": [ "user:local:sweeney" ], "statements": [ { "effect": "ALLOW", "actions": [ "iam:tokens:*" ], "projects": [ "*" ] } ], "projects": [] }' $TARGET_HOST/apis/iam/v2/policies?pretty

I then went to Settings >> Tokens.
Upon selecting Create Token you will observe the error banner appears behind the modal
and that no policies are loaded into the policy dropdown.
One still can go ahead and press the Create button within the modal though to attempt to create the token. That closes the modal and reports an error that the token could not be created because of no permissions on projects (the top-most error banner).
Expected behavior
Here are some suggestions; there are certainly others:
Permissions for                Option 1                    Option 2
Token  Project  Policy
  X       X        X           Create token works
  X       X                    Suppress policy dropdown    Hide CreateToken button on main page
  X                            Suppress project dropdown   Hide CreateToken button on main page

Screenshots

More Details
A second scenario of the same problem is when viewing token details. Just selecting a token to view its details manifests this error, again because project permissions are absent.

Versions (please complete the following information):

OS: any
Browser: any
Automate Build Number:<PHONE_NUMBER>5317

i dont think we will be able to prioritize working on this.
also, i dont know of any users that are giving token permissions to folks besides admins.

this work has been deprioritized.


Observable.of() and repeatWhen

I am having unexpected behavior with Observable.of() and repeatWhen. I was wondering if this is correct behavior or not, and why?
RxJS version: 5
Code to reproduce:
const value = 5;
let variable = 0;
const getValue = () => {
variable = variable + 1;
return value * variable;
}
function test () {
Observable.of(getValue())
.repeatWhen(obs => obs.delay(1000))
.subscribe(value => console.log(value);
}
Expected behavior:
Expected: 5 10 15 20 ...
Actual behavior:
Result: 5 5 5 5 ...
Additional information:
Apparently, the value returned by Observable.of() is reused for each subsequent subscribe. How, why?

getValue() called once, because JavaScript is call by value

Observable.of() is designed as one-off value so in here Observable.of(getValue())....subscribe is equilvalent to Observable.of(5)...subscribe, value when it get's evaluated.

Observable.defer is what I was looking for 👍.


add the NARPS dataset as a submodule

Is your feature request related to a problem? Please describe.
Not really a problem but it may help standardize paths if we can always point to the data by using a path that is relative to the root of the repo.
Describe the solution you'd like
datalad install -d . \
                 -s https://github.com/OpenNeuroDatasets/ds001734.git \
                 data/original

This currently fails because .gitmodules is allegedly in the .gitignore (??? WTF ???)
And a cat .gitignore | grep module returns empty.
datalad install -d . -s https://github.com/OpenNeuroDatasets/ds001734.git data/original

[INFO   ] scanning for annexed files (this may take some time)
[INFO   ] Remote origin not usable by git-annex; setting annex-ignore
[INFO   ] https://github.com/OpenNeuroDatasets/ds001734.git/config download failed: Not Found
[INFO   ] access to 1 dataset sibling s3-PRIVATE not auto-enabled, enable with:
|               datalad siblings -d "/home/remi/github/narps_open_pipelines/data/original" enable -s s3-PRIVATE
install(ok): data/original (dataset)
add(ok): data/original (file)
[WARNING] Received an exception GitIgnoreError(The following paths are ignored by one of your .gitignore files:
.gitmodules
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: "git config advice.addIgnoredFile false"
). Canceling not-yet running jobs and waiting for completion of running. You can force earlier forceful exit by Ctrl-C.
[INFO   ] Canceled 0 out of 0 jobs. 0 left running.
Total:   0%|                                                                                | 0.00/1.00 [00:00<?, ? datasets/s]The following paths are ignored by one of your .gitignore files:
.gitmodules
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: "git config advice.addIgnoredFile false"

The following paths are ignored by one of your .gitignore files:
.gitmodules
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: "git config advice.addIgnoredFile false"

Looks like there's a .* in .gitignore

Awesome !!!
thanks for the catch!!


[Feature]: Linux Desktops

Is your proposal related to a problem?
Hi, any plans to do VM Ubuntu, Fedora, etc desktops that are preconfigured/ready to go like windows?  Thanks.  Like the windows projects so far.
Describe the solution you'd like.
see above
Describe alternatives you've considered.
see above
Additional context
No response

I think you can use https://github.com/qemus/qemu-docker


Error installing requirements.txt

Hi can you help me...
When I do pip install -r requirements.txt I have this error.
Obtaining pyodbc from git+https://github.com/maparent/pyodbc.git@v4-virtuoso#egg=pyodbc (from -r requirements.txt (line 1))
Updating ./pythonenv/src/pyodbc clone (to v4-virtuoso)
Obtaining sqlalchemy-rdfbridge from git+https://github.com/conversence/sqlalchemy-rdfbridge.git#egg=sqlalchemy-rdfbridge (from -r requirements.txt (line 2))
Updating ./pythonenv/src/sqlalchemy-rdfbridge clone
Requirement already satisfied: SQLAlchemy>=0.9 in ./pythonenv/lib/python3.5/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied: rdflib>=3 in ./pythonenv/lib/python3.5/site-packages (from -r requirements.txt (line 4))
Collecting werkzeug>=0.11 (from -r requirements.txt (line 5))
Using cached Werkzeug-0.12.2-py2.py3-none-any.whl
Collecting future>=0.15 (from -r requirements.txt (line 6))
Requirement already satisfied: pyparsing in ./pythonenv/lib/python3.5/site-packages (from rdflib>=3->-r requirements.txt (line 4))
Requirement already satisfied: isodate in ./pythonenv/lib/python3.5/site-packages (from rdflib>=3->-r requirements.txt (line 4))
Requirement already satisfied: six in ./pythonenv/lib/python3.5/site-packages (from isodate->rdflib>=3->-r requirements.txt (line 4))
Installing collected packages: pyodbc, sqlalchemy-rdfbridge, werkzeug, future
Running setup.py develop for pyodbc
Complete output from command /home/jaimetrillos/Documents/BDO/virtuoso-python-master/pythonenv/bin/python3 -c "import setuptools, tokenize;file='/home/jaimetrillos/Documents/BDO/virtuoso-python-master/pythonenv/src/pyodbc/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" develop --no-deps:
running develop
running egg_info
writing top-level names to pyodbc.egg-info/top_level.txt
writing dependency_links to pyodbc.egg-info/dependency_links.txt
writing pyodbc.egg-info/PKG-INFO
reading manifest file 'pyodbc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyodbc.egg-info/SOURCES.txt'
running build_ext
building 'pyodbc' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=3.0.6b116+commit346f8fe -DSQL_WCHART_CONVERT=1 -I/usr/include/python3.5m -I/home/jaimetrillos/Documents/BDO/virtuoso-python-master/pythonenv/include/python3.5m -c src/virtuoso.cpp -o build/temp.linux-x86_64-3.5/src/virtuoso.o -Wno-write-strings
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from src/virtuoso.cpp:1:0:
src/pyodbc.h:45:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------

Command "/home/jaimetrillos/Documents/BDO/virtuoso-python-master/pythonenv/bin/python3 -c "import setuptools, tokenize;file='/home/jaimetrillos/Documents/BDO/virtuoso-python-master/pythonenv/src/pyodbc/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" develop --no-deps" failed with error code 1 in /home/jaimetrillos/Documents/BDO/virtuoso-python-master/pythonenv/src/pyodbc/

I do not know what I did but now it works sorry


[ximalaya] Improve handling for album link types

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm requesting a site-specific feature
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Anywhere
Example URLs
Test link:
https://www.ximalaya.com/album/6912905
Provide a description that is worded well enough to be understood
Looks like Ximalaya playlist links formatting has slightly changed now and are missing "id" section before /album/
Old stile links looked like this: https://www.ximalaya.com/61425525/album/6912905
As a result extractor sends new link format handling to general extractor instead of XimalayaAlbumIE
I assume line 126 in ximalaya.py needs to be improved
_VALID_URL = r'https?://(?:www.|m.)?ximalaya.com/\d+/album/(?P[0-9]+)'
The rest of the extractor and individual tracks are working just fine.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
./yt-dlp -vU -F "https://www.ximalaya.com/album/6912905"
[debug] Command-line config: ['-vU', '-F', 'https://www.ximalaya.com/album/6912905']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd2508] (zip)
[debug] Python 3.10.9 (CPython arm64 64bit) - macOS-12.6.2-arm64-arm-64bit (OpenSSL 1.1.1s  1 Nov 2022)
[debug] exe versions: phantomjs 2.1.1
[debug] Optional libraries: sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Extractor Plugins: SamplePluginIE
[debug] Post-Processor Plugins: SamplePluginPP
[debug] Loaded 1819 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.06, Current version: 2023.01.06
yt-dlp is up to date (2023.01.06)
[generic] Extracting URL: https://www.ximalaya.com/album/6912905
[generic] 6912905: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 6912905: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.ximalaya.com/album/6912905
Traceback (most recent call last):
  File "./yt-dlp/yt_dlp/YoutubeDL.py", line 1502, in wrapper
    return func(self, *args, **kwargs)
  File "./yt-dlp/yt_dlp/YoutubeDL.py", line 1578, in __extract_info
    ie_result = ie.extract(url)
  File "./yt-dlp/yt_dlp/extractor/common.py", line 682, in extract
    ie_result = self._real_extract(url)
  File "./yt-dlp/yt_dlp/extractor/generic.py", line 2523, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.ximalaya.com/album/6912905

I assume line 126 in ximalaya.py needs to be improved

Yeah, with this minor change everything seems to work fine:
diff --git a/yt_dlp/extractor/ximalaya.py b/yt_dlp/extractor/ximalaya.py
index b25be772e..5224b7607 100644
--- a/yt_dlp/extractor/ximalaya.py
+++ b/yt_dlp/extractor/ximalaya.py
@@ -123,7 +123,7 @@ def _real_extract(self, url):
 class XimalayaAlbumIE(XimalayaBaseIE):
     IE_NAME = 'ximalaya:album'
     IE_DESC = '喜马拉雅FM 专辑'
-    _VALID_URL = r'https?://(?:www\.|m\.)?ximalaya\.com/\d+/album/(?P<id>[0-9]+)'
+    _VALID_URL = r'https?://(?:www\.|m\.)?ximalaya\.com/(?:\d+/)?album/(?P<id>[0-9]+)'
     _TESTS = [{
         'url': 'http://www.ximalaya.com/61425525/album/5534601/',
         'info_dict': {


Added Questdb exporter

Resolves #98

@ZainulNiaz you might want to rebase your branch on top of latest main. We don't use master branch anymore. It's just there to lookup the code that was re-written. It's redundant and will be removed soon. Use main branch.


More fixes

Codecov Report

Merging #103 (46a846b) into master (8ce36cc) will increase coverage by 0.15%.
The diff coverage is 41.50%.

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   30.81%   30.97%   +0.15%
==========================================
  Files          66       66
  Lines       13398    13436      +38
  Branches      209      214       +5
==========================================
+ Hits         4129     4162      +33
  Misses       9060     9060
- Partials      209      214       +5

Impacted Files
Coverage Δ

src/clj/spring_lobby.clj
11.66% <0.00%> (-0.04%)
:arrow_down:

src/clj/spring_lobby/fs.clj
25.22% <0.00%> (-0.07%)
:arrow_down:

src/clj/spring_lobby/client/handler.clj
37.13% <71.92%> (+4.34%)
:arrow_up:

src/clj/skylobby/resource.clj
69.59% <100.00%> (+0.62%)
:arrow_up:

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 8ce36cc...46a846b. Read the comment docs.


Not keeping session

Hi,
I'm currently trying to create signing in via Google and Facebook for users in my app. I followed installation and setup guide, however when I'm trying to sign in - my app creates an account with details from provider, but it doesn't keep session params in conn. I'm just still logged out. To cache I'm using Mnesia.
config.exs
...
config :base_app, :pow,
  user: BaseApp.Auth.User,
  repo: BaseApp.Repo,
  extensions: [PowResetPassword, PowEmailConfirmation],
  controller_callbacks: Pow.Extension.Phoenix.ControllerCallbacks,
  mailer_backend: BaseAppWeb.Mailer
...

endpoint.ex
...
plug Pow.Plug.Session,
    otp_app: :base_app,
    repo: BaseApp.Repo,
    user: BaseApp.Auth.Admin,
    current_user_assigns_key: :current_admin,
    session_key: "admin_auth",
    cache_store_backend: Pow.Store.Backend.MnesiaCache

  plug Pow.Plug.Session,
    otp_app: :base_app,
    repo: BaseApp.Repo,
    user: BaseApp.Auth.User,
    cache_store_backend: Pow.Store.Backend.MnesiaCache,
    current_user_assigns_key: :current_user

  plug BaseAppWeb.Router

:plug_session from conn.private after trying to sign in:
:plug_session => %{
      "_csrf_token" => "some_code",
      "admin_auth" => "base_app_some_code",
      "base_app_auth" => "base_app_some_code",
      "phoenix_flash" => %{"info" => nil},
      "pow_assent_session_params" => nil
    },

I will really appreciate any advice.

Looks like the session keys are set in :plug_session. Is it :current_admin, :current_user or both that doesn't work?

Also you can refactor the above:

# config/config.exs

config :base_app, :pow,
  user: BaseApp.Auth.User,
  repo: BaseApp.Repo,
  extensions: [PowResetPassword, PowEmailConfirmation],
  controller_callbacks: Pow.Extension.Phoenix.ControllerCallbacks,
  mailer_backend: BaseAppWeb.Mailer,
  cache_store_backend: Pow.Store.Backend.MnesiaCache,

# endpoint.ex

  plug Pow.Plug.Session,
    otp_app: :base_app,
    user: BaseApp.Auth.Admin,
    current_user_assigns_key: :current_admin,
    session_key: "admin_auth"

  plug Pow.Plug.Session, otp_app: :base_app

  plug BaseAppWeb.Router

The otp_app: :base_app will ensure that if a config option is not found in the passed config, it'll fallback to the config :base_app, :pow config

Yeah, you're right - session keys should be stored in :plug_session. I've got separate data tables for user and admin role. That is why there is :current_user and :current_admin - and when it comes to logging in via username and password everything worked fine, current user is stored in :plug_session.
Your solution from second post works for me! Thank you very much! 🥇


Setup Logo

Hey there,
i have the following question.
Is there a way to change the Text-Title to an image?
Thanks for your help

Right now you can only hardcode the image into the theme. I have to add an image upload to the form-builder for it or a fixed image upload into the system settings.

Maybe I will add that to the next release because Typemill needs an upload-field for images and files anyway and I also plan to improve the image management. It might take a while ...

This is deployed with version 1.3.4 now. You can upload your logo and your own favicon. This is only supported by the standard theme right now, other themes will follow...


Technologies and service creation docs page

This is an overview page that should help when creating a new service. The page also describes the tech stack and its role in the architecture.

@lesser1 Same procedure as with #22.


Allow setting the external vpc related variables from config script.

Description
This PR allows the external vpc related configs to be set from the civiform_config.sh script.
Checklist
General

[ ] Added the correct label
[ ] Assigned to a specific person or civiform/deployment-system
[ ] Created tests which fail without the change (if possible)
[ ] Performed manual testing (at a minimum run bin/setup without your changes and then bin/deploy with your changes to ensure your changes don't break existing deployments)
[ ] Extended the README / documentation, if necessary

Instructions for manual testing
If instructions are needed for manual testing by reviewers, include them here.
Issue(s) this completes
Fixes #<issue_number>; Fixes #<issue_number>...

Totally fine as is, but if we're also going to be allowing the private and public subnets to be an array, it might make sense to do that here as well.

Agreed! I'll go ahead and merge this and I can work on the change to update the private and public subnet variables to lists.


[New game]: Brick Breaker Game

🎮 Game Request
I would like to add a Brick Breaker Game made using HTML, CSS & Javascript.
I would love to contribute to this open source project for the GSSoC '23. I hope you assign me this New Game Request!
Point down the features
Gameplay of a Brick Breaking type game.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

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

/assign

Hey @5h0ov 👋!
@kunjgit here,
We have this annoucement to make 📢!!
We have updated our README 🚀
Make sure you follow proper guideline to raise your next issues !!
Make sure you join our Discord🕹 if you haven't 😇
Thank you 💗!

Hello @5h0ov, Time's Uppp!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

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


Get a subject of a message from TurnContext class.

🚨 The issue tracker is not for questions 🚨
If you have a question, please ask it on https://stackoverflow.com/questions/tagged/botframework
[question]
How can I get a subject from TurnContext.activity?
I am sure to get a text but I could not get the one.
This is a result that print(turn_context.activity) in Python. Please tell me a few advice. Thanks.
{
   "additional_properties":{

   },
   "type":"message",
   "id":"1702969246201",
   "timestamp":datetime.datetime(2023, 12, 19, 7, 0, 46,　228612, tzinfo=<isodate.tzinfo.Utc object at 0x7f438c380a60>),
   "local_timestamp":datetime.datetime(2023, 12, 19, 16, 0, 46, 228612, "tzinfo=<FixedOffset""+09:00"">)",
   "local_timezone":"Asia/Tokyo",
   "service_url":"https://smba.trafficmanager.net/jp/",
   "channel_id":"msteams",
   "from_property":<botbuilder.schema._models_py3.ChannelAccount object at 0x7f4385676c20>,
   "conversation":<botbuilder.schema._models_py3.ConversationAccount object at 0x7f4385677ac0>,
   "recipient":<botbuilder.schema._models_py3.ChannelAccount object at 0x7f4385677580>,
   "text_format":"plain",
   "attachment_layout":"None",
   "members_added":"None",
   "members_removed":"None",
   "reactions_added":"None",
   "reactions_removed":"None",
   "topic_name":"None",
   "history_disclosed":"None",
   "locale":"en-US",
   "text":"<at>dev1</at>",
   "speak":"None",
   "input_hint":"None",
   "summary":"None",
   "suggested_actions":"None",
   "attachments":[
      <botbuilder.schema._models_py3.Attachment object at 0x7f438574ba60>
   ],
   "entities":[
      <botbuilder.schema._models_py3.Entity object at 0x7f438574ae30>,
      <botbuilder.schema._models_py3.Entity object at 0x7f438574afb0>
   ],
   "channel_data":{
<EMAIL_ADDRESS><EMAIL_ADDRESS>      "channel":{
<EMAIL_ADDRESS>      },
      "team":{
<EMAIL_ADDRESS>      },
      "tenant":{
         "id":"ce58bd37-0571-4720-95ce-8e758c7bfcdb"
      }
   },
   "action":"None",
   "reply_to_id":"None",
   "label":"None",
   "value_type":"None",
   "value":"None",
   "name":"None",
   "relates_to":"None",
   "code":"None",
   "expiration":"None",
   "importance":"None",
   "delivery_mode":"None",
   "listen_for":"None",
   "text_highlights":"None",
   "semantic_action":"None",
   "caller_id":"<CallerIdConstants.public_azure_channel":"urn:botframework:azure"">"
}

The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repos are the preferred platform for submitting bug fixes and feature requests.

I'm not sure what is meant by subject. But if you still need help with this, please open a question in Stack Overflow.


support for Kubernetes 1.6 in vagrant

I tried bumping the Kubernetes version to 1.6.1 in my fork with this commit: https://github.com/jbw976/coreos-kubernetes/commit/f8397385a0eb80bf9707275c820dd18f048183d7
However, the cluster doesn't seem to come up successfully with vagrant up from multi-node/vagrant.  Is 1.6.1 expected to work simply by bumping the version number, or is there more work necessary to support 1.6?
It looks like the api server container keeps failing/exiting:
core@c1 ~ $ docker ps -a
CONTAINER ID        IMAGE                                                                                COMMAND                  CREATED              STATUS                          PORTS               NAMES
33ee03df2ca8        quay.io/coreos/hyperkube@sha256:1c8b4487be52a6df7668135d88b4c375aeeda4d934e34dbf5a8191c96161a8f5   "/hyperkube apiserver"   About a minute ago   Exited (2) About a minute ago                       k8s_kube-apiserver_kube-apiserver-<IP_ADDRESS>_kube-system_63ca746f1897c616e533e8a22bc52f25_11
78c8e6698fdb        quay.io/coreos/hyperkube@sha256:1c8b4487be52a6df7668135d88b4c375aeeda4d934e34dbf5a8191c96161a8f5   "/hyperkube proxy --m"   22 minutes ago       Up 22 minutes                                       k8s_kube-proxy_kube-proxy-<IP_ADDRESS>_kube-system_3adc2e5909a25a7591be4e34d03a979a_0
236a7318e1e1        quay.io/coreos/hyperkube@sha256:1c8b4487be52a6df7668135d88b4c375aeeda4d934e34dbf5a8191c96161a8f5   "/hyperkube scheduler"   22 minutes ago       Up 22 minutes                                       k8s_kube-scheduler_kube-scheduler-<IP_ADDRESS>_kube-system_00f8fdc56c1d255064005c48f70be4ef_0
88168fcf90cc        quay.io/coreos/hyperkube@sha256:1c8b4487be52a6df7668135d88b4c375aeeda4d934e34dbf5a8191c96161a8f5   "/hyperkube controlle"   22 minutes ago       Up 22 minutes                                       k8s_kube-controller-manager_kube-controller-manager-<IP_ADDRESS>_kube-system_3904d793c0237421892d0b11d8787f7d_0
ee5e7cd9c687        gcr.io/google_containers/pause-amd64:3.0                                                           "/pause"                 23 minutes ago       Up 23 minutes                                       k8s_POD_kube-controller-manager-<IP_ADDRESS>_kube-system_3904d793c0237421892d0b11d8787f7d_0
5099f6e7db56        gcr.io/google_containers/pause-amd64:3.0                                                           "/pause"                 23 minutes ago       Up 23 minutes                                       k8s_POD_kube-proxy-<IP_ADDRESS>_kube-system_3adc2e5909a25a7591be4e34d03a979a_0
7b861b49e90d        gcr.io/google_containers/pause-amd64:3.0                                                           "/pause"                 23 minutes ago       Up 23 minutes                                       k8s_POD_kube-apiserver-<IP_ADDRESS>_kube-system_63ca746f1897c616e533e8a22bc52f25_0
157ea2d35035        gcr.io/google_containers/pause-amd64:3.0                                                           "/pause"                 23 minutes ago       Up 23 minutes                                       k8s_POD_kube-scheduler-<IP_ADDRESS>_kube-system_00f8fdc56c1d255064005c48f70be4ef_0

And here is the entirety of the api server container logs:
core@c1 ~ $ docker logs 33ee03df2ca8
[restful] 2017/04/11 00:28:07 log.go:30: [restful/swagger] listing is available at https://<IP_ADDRESS>:443/swaggerapi/
[restful] 2017/04/11 00:28:07 log.go:30: [restful/swagger] https://<IP_ADDRESS>:443/swaggerui/ is mapped to folder /swagger-ui/
E0411 00:28:07.959405       1 reflector.go:201] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:70: Failed to list *api.Secret: Get https://localhost:443/api/v1/secrets?resourceVersion=0: dial tcp [::1]:443: getsockopt: connection refused
E0411 00:28:07.983872       1 reflector.go:201] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:70: Failed to list *api.Namespace: Get https://localhost:443/api/v1/namespaces?resourceVersion=0: dial tcp [::1]:443: getsockopt: connection refused
E0411 00:28:07.988497       1 reflector.go:201] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:70: Failed to list *api.LimitRange: Get https://localhost:443/api/v1/limitranges?resourceVersion=0: dial tcp [::1]:443: getsockopt: connection refused
E0411 00:28:07.988710       1 reflector.go:201] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:70: Failed to list *api.ServiceAccount: Get https://localhost:443/api/v1/serviceaccounts?resourceVersion=0: dial tcp [::1]:443: getsockopt: connection refused
E0411 00:28:07.989015       1 reflector.go:201] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:70: Failed to list *storage.StorageClass: Get https://localhost:443/apis/storage.k8s.io/v1beta1/storageclasses?resourceVersion=0: dial tcp [::1]:443: getsockopt: connection refused
E0411 00:28:07.989238       1 reflector.go:201] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:70: Failed to list *api.ResourceQuota: Get https://localhost:443/api/v1/resourcequotas?resourceVersion=0: dial tcp [::1]:443: getsockopt: connection refused
I0411 00:28:08.075165       1 serve.go:79] Serving securely on <IP_ADDRESS>:443
I0411 00:28:08.075310       1 serve.go:94] Serving insecurely on <IP_ADDRESS>:8080
E0411 00:28:08.190502       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
E0411 00:28:08.235467       1 client_ca_hook.go:58] rpc error: code = 13 desc = transport is closing
E0411 00:28:13.032638       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
E0411 00:28:14.564430       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
I0411 00:28:18.414582       1 trace.go:61] Trace "Create /api/v1/namespaces/kube-system/pods" (started 2017-04-11 00:28:08.403696382 +0000 UTC):
[24.604µs] [24.604µs] About to convert to expected version
[94.481µs] [69.877µs] Conversion done
"Create /api/v1/namespaces/kube-system/pods" [10.010853094s] [10.010758613s] END
E0411 00:28:20.106746       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
E0411 00:28:21.792029       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
E0411 00:28:27.231371       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
E0411 00:28:28.868291       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
E0411 00:28:34.492583       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
E0411 00:28:36.038974       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
I0411 00:28:36.615233       1 trace.go:61] Trace "Create /api/v1/namespaces/kube-system/pods" (started 2017-04-11 00:28:26.573277232 +0000 UTC):
[30.753µs] [30.753µs] About to convert to expected version
[80.065µs] [49.312µs] Conversion done
"Create /api/v1/namespaces/kube-system/pods" [10.041929421s] [10.041849356s] END

@aaronlevy @colhom any thoughts about Kubernetes 1.6+ being supported for vagrant yet?  I've been using this repo for my daily dev flow and it'd be great to start using 1.6.  Thanks!

The root cause for the api server not starting appears to be that k8s 1.6 is using etcd3 while the vagrant cluster starts up an etcd2 node.  The error message show below occurs when an etcd3 client connects to a v2 only server (from https://github.com/kubernetes/kubernetes/issues/39710):
E0411 00:28:20.106746       1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing

In the interest of trying to update this repo to deploy an etcd3 server, I see that needs to be done via Ignition: https://github.com/coreos/bugs/issues/1877#issuecomment-288485078
However, Ignition doesn't appear to be supported for Vagrant/Virtualbox: https://coreos.com/ignition/docs/latest/supported-platforms.html
Am I correct to conclude k8s 1.6 (that uses etcd3) in the Vagrant/Virtualbox setup in this repo at https://github.com/coreos/coreos-kubernetes/tree/master/multi-node/vagrant is not possible currently?

Just FYI, this solution using k8s 1.6.1 and etcd2 seems to work for us so far: https://github.com/rook/coreos-kubernetes/commit/a3e880bf3c880e4e4551fbba54d21cf6833ffb19
It may be of use to other folks, but the long term upstream solution would be to start up an etcd3 server instead of having k8s api server use etcd2.  Hope this helps.

@jbw976 I created a fairly significant pull request that upgrades Kubernetes to 1.7.3 along with all it's dependencies. Feel free to check it out here


Add "Sleep" mode for ACs

Would be great to add the possibility to turn off AC's display for the night by home assistant.

There is an action you can trigger anytime:
hOn: Set climate screen display
Can you please test ?

Hi
Screen off is different function. Today I upgraded (I had version 7) and Night Mode was working normally, now it dissapeared.
It differs from "screen off" because night mode increases temperatur each 2 or 3 hours by 1°C.
I found action: hOn: Set climate sleep mode
I confirm it works same way, but previous way was better I have to say :)
I could just use this as button without any additional added scripts or whatever.
@gvigroux Awesome work that you maintain this integration :)

I've added some switch in 0.7.6 to easily control: sleep mode, screen display, echo

@gvigroux
Awesome job!
Thank you sir!


Add test cases

Description
Update examples under https://github.com/terraform-ibm-modules/terraform-ibm-mas/tree/main/examples
and call those examples under test https://github.com/terraform-ibm-modules/terraform-ibm-mas/tree/main/tests

@vburckhardt - Please give us more details on what testcases (examples) we should add here. We support two different offerings for the end user to select for deployment namely, MAS Core and MAS Core+Manage. So should we split the code for these offerings and add them as examples? I tried referring other TIMs but not getting.


Hyphen/Dashes are removed from tables

I've got a problem with the dashes/hyphen in the docx tables.
In the table content all hyphens are removed.
Maybe it has something to do with this:
In the file table.py file is a comment, that hyphens must be removed.
@property
def style(self):
"""
Read/write. A |_TableStyle| object representing the style applied to
this table. The default table style for the document (often Normal         Table) is returned if the table has no directly-applied style.
Assigning |None| to this property removes any directly-applied table
style causing it to inherit the default table style of the document.
Note that the style name of a table style differs slightly from that
displayed in the user interface; a hyphen, if it appears, must be
removed. For example, Light Shading - Accent 1 becomes Light         Shading Accent 1.
"""
Is there a way leave the dashes in the docx file like before, because all hyphens are removed from the table content.
Thanks a lot!

+1


Temporary saving using local storage

Feature Request 🛍

Implement a temporary save feature using local storage to allow users to save their progress and revisit their work without losing data.
Use Case

Possible Solution

Context

Detailed Description

stale!


Python 2.7 compatibility??

numpy drops support for 2.7. This settles it IMO

2020
But yeah, let's only do it if lots of people complain.

Ditto

A question to those concerned: Do you need Python 2.7 for personal projects or because your company requires it?

Work projects

I would also need it for work projects. would be really helpful!

I had a look at the code and the changes needed to make skorch work with Python 2.7 (not even talking about making it functionally the same) is non-trivial. The number of people who need it does not appear to be big enough to justify the time investment (especially since Python 2 support will drop soon).
I will still leave this open in case more people want Python 2 support.

need it too

Hey! It's 2020 now. Python 2.7 is nearly dead for relevant packages such as numpy (source). We won't support Python 2.7.
Opting for closing this.

You can officially annonce not to support Python 2.7. Two years after the first post, we can confirm that we weren't enough users to make the dev. In my case, I coded a custom function for the project.
You probably still have people with python 2.7 code for a few years...

Python
By default, macOS is installed with Python 2.7. PyTorch can be installed with Python 2.7, but it is recommended that you use Python 3.6 or greater, which can be installed either through the Anaconda package manager (see below), Homebrew, or the Python website.

From https://pytorch.org/get-started/locally/

@alexandreCameron
You are right, for a few years, there will still be people who for some reason or another, have to work with Python 2.7. If you'd like to, you could share your custom function, maybe it helps those people.
As there wasn't really a critical mass in support of Python 2.7 and since it's end of life is now well known, I will close the issue (people can still post helpful snippets here).


Wip

Work in progress

Please work locally and open a PR if you have something you want merged. Even better, open an Issue and discuss any changes first.

Yes this is not ready, I pushed the pr because someone asked me to.
On Mon, Oct 16, 2023, 10:48 Oskar Hane @.***> wrote:

Closed #48 https://github.com/docker/genai-stack/pull/48.
—
Reply to this email directly, view it on GitHub
https://github.com/docker/genai-stack/pull/48#event-10666557000, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5KQ2LPQCA326WT7AYU64TX7VCMVAVCNFSM6AAAAAA56J72HGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQGY3DMNJVG4YDAMA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Allow specifying inspection mode when using the info command

Current info command pretty inspects everything, which could be an issue when used in a Rails application. For example, a Rails controller usually has many instance variables that contain big objects. And calling inspect on them creates noise.

(more than 2000 lines after the screenshot)
So it'd be great to provide something like info -s as simple mode (calling to_s instead of inspect)

or cut them into one line or few lines on the default?

I think the best solution is to expand the object with only one level:
# given
class Foo
  def initialize(bar)
    @bar = bar
  end
end

class Bar
  def initialize
    @some_var = 123
  end
end

foo = Foo.new(Bar.new)
# expand foo but not its @bar variable
foo.special_inspect #=> #<Foo:0x00007fbf855d3a12 @bar=#<Bar:0x00007fbf855d3a80 ...>>

and then make our own ColorPrinter to utilize it.
but it looks like PrettyPrint library doesn't support this. do you think it's worth implementing one ourselves?

How about that? It is better than 2000 lines.

Yes that looks a lot better 👍

Another idea is to pass long string to less command.

Until support less pager, I introduce it.
(less is difficult for remote console)


Plugin has stopped working for seemingly no reason

Hi there. I was successfully using your plugin on a website for a while. For some reason, it seems to have stopped working. I haven't changed anything about the element that uses it and I can't for the life of me figure out why it's broken.
The website in question can be seen here. It's supposed to be at the top of the page, but instead it's just white space. Interestingly, even if I set background-color: red!important; on any of the containing divs, it still just shows the white, which is the document body.
I've had a look around Google and I can't find any similar issues being reported. Have you encountered this before?

Apologies, this was just due to CSS and completely unrelated to the plugin.


Prevent ByteToMessageDecoder from overreading when !isAutoRead

Motivation:
ByteToMessageDecoder only looks at the last channelRead() in the batch
of channelRead()-s when determining whether or not it should call
ChannelHandlerContext#read() to consume more data when !isAutoRead. This
will lead to read() calls issued unnecessaily and unprompted if the very
last channelRead() didn't result in at least one decoded message, even
if there have been messages decoded from other channelRead()-s in the
current batch.
Modifications:
Track decode outcomes for the entire batch of channelRead() calls and
only issue a read in BTMD if the entire batch of channelRead() calls
yielded no complete messages.
Result:
ByteToMessageDecoder will no longer overread when the very last read
yielded no message, but the batch of reads did.

This PR makes ByteToMessageDecoder behave exactly like SslHandler - which overrides this logic - down to flag name and field comment.
This is important to anyone who doesn't use autoread and relies on 'manually' triggering the reads for any reason - which in our case was the implementation of backpressure/flow control.

@iamaleksey could you also add a test case ?

@netty-bot test this please

@normanmaurer of course 👍 Just didn't want to leave you hanging after that conversation. Probably won't be today, but should make it happen by end of the week.

Code generally looks good, but a test is something I would like to see too!

A simple test added. Please let me know if you want to see more than this - and I'll probably get to it eventually.

@netty-bot test this please

@netty-bot test this please

@carl-mastrangelo @ejona86 PTAL again as now there is a unit test.

@iamaleksey thanks a lot!


Generate tests as part of the SDK

I would start with test infrastructure ;)

scaffolding is step 1!


support targetting g++

Hello
Thanks for this inspired new programming language.
Currently jakt (by default) attempts to compile the generated C++ source using a C++ compiler, however it makes several assumptions:

The compiler, if not passed thru arguments, is called clang++. It could be clang++-<some-version> or even g++ or g++-<some-version>.
The extra arguments passed to the compiler are clang specific.

To address the issue:

The CXX env variable is queried for the system compiler, which could be g++.
Depending on whether the compiler name contains clang or not, the arguments passed to the compiler can be clang-specific or g++-specific.

The conditional can later accommodate to allow support for targetting the msvc cl.exe compiler, but it wasn't added since currently targetting cl.exe fails due to some unrelated include issues:

Using compiler builtins: __builtin_fabs , INT64_TYPE ..etc.
search path conflicts due to window's filesystem insensitivity: runtime/AK/String.h will be used for C's string.h which is included in <cstring> etc.

Hello!
One or more of the commit messages in this PR do not match the Jakt code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

Squash your main: Apply suggested change into main: Support targetting g++ (fixups should not be their own commit)

@MoAlyousef do you want a hand re-basing this?

Sure

I've done the re-basing here: https://github.com/MacDue/jakt/tree/gcc_support (on my gcc_support branch).
You can fork my repo and make a pull request from that branch, or I can make the pull request (you'll still get the credit for the commit either way)

Also I put your extensive PR description in the commit body, so it's not lost after merging.

Yeah I prefer if you can make the pull request

Done: https://github.com/SerenityOS/jakt/pull/357


issues with mintinline and curly braces

Hi,
I am using minted to highlight yaml in my document, and apparently this gives a hard time to pandoc. In particular, I get an error at this line of code:
Seeds are set at the top level of the simulation specification, as in the following snippet: \mintinline{yaml}{seeds: { simulation: 0, scenario: 0 }}.

when running pandoc --to=plain --wrap=none alchemist-tutorial.tex I get:
Error at "source" (line 679, column 150):
unexpected }
expecting \end{document}
Seeds are set at the top level of the simulation specification, as in the following snippet: \mintinline{yaml}{seeds: { simulation: 0, scenario: 0 } }.
                                                                                ^

Is this a bug in Pandoc? Thanks

Hey @DanySK this seems like a bug in the filter, can you look at #43 and see if there are some changes that fix your issue?  When I wrote it I didn't consider { brace problems } but that PR fixed them to my knowledge.
Otherwise, please include alchemist-tutorial.tex and the generated output and any other information you can (e.g., pandoc version).  I'm not familiar with that specific usage of pandoc (the plain format and wrap), but \mintinline{yaml}{seeds: { simulation: 0, scenario: 0 }} looks extremely suspicious -- if the minted.lua filter emitted that then it should get fixed (the interior braces for the actual yaml code are a problem) :slightly_smiling_face:

Hi @svenevs,
I cannot attach the whole file as it is protected by NDA. Should I try to produce an excerpt?
❯ pandoc --version
pandoc 2.11.4
Compiled with pandoc-types 1.22, texmath <IP_ADDRESS>, skylighting 0.10.4,
citeproc <IP_ADDRESS>, ipynb <IP_ADDRESS>
User data directory: /home/danysk/.local/share/pandoc or /home/danysk/.pandoc
Copyright (C) 2006-2021 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.

I'm not sure #43 applies: braces are correctly matched there.

I wrote that filter and tried to give some educated guesses but I'm not going to be able to help fix this anytime soon (personal reasons). Please provide a minimal example that can be reproduced if you would like somebody to help fix it. It doesn't seem like you are even using the minted filter here, which is why a reproducible example will help identify where the bug is.

@svenevs could you point me to the instructions to appropriately use the minted filter? At this point, it is possible that I am doing something wrong and this report is actually invalid.


Fix NSGenericException in main, line 17

Version: 2.3.3 (2016.01.13) | net.artsy.artsy
Stacktrace
-;main;main.m;17
Reason
*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIAlertController (<UIAlertController: 0x157a048b0>) of style UIAlertControllerStyleActionSheet. The modalPresentationStyle of a UIAlertController with this style is UIModalPresentationPopover. You must provide location information for this popover through the alert controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem.  If this information is not known when you present the alert controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation.'
Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37029/crash_reasons/102830998

Assuming this is fixed.


Binary Tree Traversal using one traversal

Is your feature request related to a problem? Please describe.
Hey, @Kumar-laxmi I want to add an algorithm to Tree in C++ by which we can find the inorder, preorder, and postorder traversals just by using gone traversal iteratively. Please assign me this issue. Thank you!
Describe the solution you'd like
Using stack.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

refer #177