What if we render image only when renderImage property is available?

Hmm... I have an idea!
What if we render image only when renderImage property is available?
We do not need CachedImage component either.
<CachedImageProvider sources={[...images]} renderImage={props => (
        <ResponsiveImage {...props} />
)} />

@iegik Hey
You could actually use the ImageCacheProvider to do various actions.
I feel like the CachedImage component is the simplest way to cache images, it's a simple drop-in replacement for the Image component and works great out of the box.
For some more advanced use cases you can use the ImageCacheProvider and cache some urls when the app starts or clean the cache.
Why do you think having the CachedImageProvider as a component is better?

Here I want to compare ImageCacheProvider with NavigationProvider or StyleProvider. I assume, that is possible create such Provider, who watches on its childrens and do some staff on theirs properties:
<ImageCacheProvider>
    <Image .../>
    <image .../>
</ImageCacheProvider>

So, I think CachedImageProvider - can be also a component.

The problems I see with this is that the Images would have to be immediate children of the ImageCacheProvider and I, personally, wouldn't like it in my code.
Moreover, this pattern is mostly used as a way to provide a certain behaviour to an entire sub-tree by passing some functionality through the context and again I'm not sure this is the case here.
What are the pros of this kind of a solution? What can we gain that is currently not possible?

The problems I see with this is that the Images would have to be immediate children
Ok, You are right here.

pattern is mostly used as a way to provide a certain behaviour to an entire sub-tree
Benefit of this pattern - You can always (enable) cache or pass (disable) caching by changing property of "caching provider". It is abstract layer for image loading mechanism.

it's a simple drop-in replacement for the Image component and works great out of the box
I found, that removing loading template out of the box and rendering method - will make CachedImage  component much lighter. But why CachedImage? we just need make transparent only one component to provide basic functionality out-of-the-box!
Let's do it in "Provider"!?

Here is some variants of usage (I apologize for https://github.com/kfiroo/react-native-cached-image/issues/61#issuecomment-317406192):

Using provider for each Image

<ImageCacheProvider source={image}>
    <Image source={image} />
</ImageCacheProvider>

Make own CachedImage

let CachedImage = (props) => {
    let {sources} = props;
    return <CachedImageProvider sources={[...images]} renderImage={props => (
        <ResponsiveImage {...props} />
    )} />
}

<CachedImage sources={...}/>

Preloader for some cases

<ImageCacheProvider sources={[...images]}/>
...
<Image/>
<Image/>
...

@iegik Hey :)
I agree that it will provide us with amazing customization capabilities for ImageCacheProvider that are now not so straight forward.
Taking this to a more practical level, I think we could have our stand alone ImageCacheManager (what we call today ImageCacheProvider) that should be used by ImageCacheProvider component that should reside at the top of your app and define the Cache behaviour.
The ImageCacheProvider would provide the customized ImageCacheManager to all CachedImages that are in its subtree using the context.
One could still use the stand alone API and provide his own customizations, same as today.
What do you think?

MB, git flow init -d and create v1.4 branch?

@iegik what does that do?

https://github.com/nvie/gitflow

Created a v1.4 branch, I'll push some more changes today, then I'll create a PR for it and we could continue the discussion over there :)
Sounds good?


Abbott Freestyle support on OS X

Hi,
I'd like to work on adding OS X support to the Abbott (Freestyle) driver but to be honest, I'm not sure where to start. What I know so far:

The upload product page shows that Abbott devices are only supported on Windows, and
http://developer.tidepool.io/serial-ports/ mentions that Abbott devices use a custom serial cable.
Some information about the Freestyle protocol is available here and the ABNF protocol here

Since are no unit tests currently, I thought creating some might be useful for the project and as a teaching tool for myself. What do you think? Are there any Tidepool documentation or other resources that would be useful on this subject?

Hi Sean!
Sorry for the late response, I somehow missed this. The reason why we're not yet supporting Abbott devices on OS X is that there is no Mac USB serial driver available. More information is available on our Uploader backlog: https://trello.com/c/YZX70Mch
The USB-serial chip is built into the cable (instead of the device itself) and uses the TI USB3410 chipset. TI only released an experimental version of a Mac driver, and that was last updated years ago. It seems the way to go is to develop a userspace driver using chrome.usb, with the TI code as a reference.
Would you feel comfortable working on something like this?
Cheers,
Gerrit

Hey Gerrit,
No worries. I pledge to at least take a look. Will check out the trello
board. Thanks!
On Wed, May 11, 2016 at 1:32 PM Gerrit Niezen<EMAIL_ADDRESS>wrote:

Hi Sean!
Sorry for the late response, I somehow missed this. The reason why we're
not yet supporting Abbott devices on OS X is that there is no Mac USB
serial driver available. More information is available on our Uploader
backlog: https://trello.com/c/YZX70Mch
The USB-serial chip is built into the cable (instead of the device itself)
and uses the TI USB3410 chipset. TI only released an experimental version
of a Mac driver, and that was last updated years ago. It seems the way to
go is to develop a userspace driver using chrome.usb, with the TI code as
a reference.
Would you feel comfortable working on something like this?
Cheers,
Gerrit
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/tidepool-org/chrome-uploader/issues/282#issuecomment-218581179

Hi @FelixGV ! I'll see if I can make that card public again, it's probably been moved to a private board. I'm actually currently working on user-space drivers for macOS, as Apple has been making it really difficult to install kernel extensions since the release of High Sierra.
Once the mechanism to use user-space drivers in the Uploader is in place, it should be easier to add a user-space driver for Abbott meters. I have actually already created a user-space driver for Abbott meters on my personal GitHub account, so it shouldn't be too hard to add it to the Uploader once I'm finished with the other drivers.
In the meanwhile, while I haven't tested it myself, I do think Parallels should work. Let me know if it works for you!

Hey @FelixGV - those Trello boards have been made public now, so you should be able to see that card again.
Also, as far as Parallels goes - I can successfully upload other USB-based diabetes devices on Win10 running in Parallels on my Mac. I don't have a Freestyle, so I can't speak for that device specifically, but I see no reason why it shouldn't work.

I'm going to close this ticket, as we now support uploading Abbott FreeStyle Lite and Freedom Lite meters using the EZSync002B cable.


Exclude tests from distributed packages

After installing dynamodb-geo.py in one of my repos, the tests in my repo fail because I also use "tests" as a directory/package name for my tests.
I get the following: ModuleNotFoundError: No module named 'tests_my_test_subdir'. When I use VSCode's "Go To Declaration" to see what the "tests" module points to, it brings me to ./venv/lib/python3.11/site-packages/tests/__init__.py which has the following content:
import os, sys; sys.path.append(os.path.dirname(os.path.realpath(__file__)))

import dynamodbgeo

When I run pip uninstall dynamodbgeo I get the following (notice the "tests" package):
% pip uninstall dynamodbgeo
Found existing installation: dynamodbgeo 0.0.3
Uninstalling dynamodbgeo-0.0.3:
  Would remove:
    /Users/amclaughlin/code/my-rep/venv/lib/python3.11/site-packages/dynamodbgeo-0.0.3.dist-info/*
    /Users/amclaughlin/code/my-repo/venv/lib/python3.11/site-packages/dynamodbgeo/*
    /Users/amclaughlin/code/my-repo/venv/lib/python3.11/site-packages/tests/*
Proceed (Y/n)? Y
  Successfully uninstalled dynamodbgeo-0.0.3

By replacing dynamodbgeo in my requirements.txt file with dynamodbgeo @ git+ssh://git@github.com/andy-hdai/dynamodb-geo.py@1c8f923 (this branch/commit), it successfully runs the tests.

For my own purposes, I just changes my repo's test directory to "_tests", which fixes the issue as well

Thanks Andy!


Suggestion: Build instructions & others

I've found this and it looks cool, but your README doesn't tell me which operating systems are supported, or how to compile it from source.
Including these instructions & system requirements makes it easier for others to start using your program :smiley:

Hi,
{source} supports OS X and Windows.
I have bought in the past {source} and it was installed via an installer so unfortunately I can't help you with building instructions.
Regards,
Erik

@beugelaar Ah right. Should the README say that only Windows and Mac are supported? I'm on linux, so if that's true that this won't work.

Hi, yes I think you are right but I have looked further. The app is build with MacGap, a webkit wrapper.
It is a XCode project and I have looked quickly but I think you have to build it on a OS  X machine using MacGap.
First install MacGap:
gem install macgap
And then build the {source} app:
macgap build myapp      // the {source app} i think it is in the public folder -> win/mac
Goodluck,
Erik

@beugelaar You have to build on a mac? I don't even know anyone with a mac, so I guess that's that for me using this project then!
Thanks for the help anyway :smiley:


An error occured while adding the project

I'm basically trying to add a project. It worked last night. Today I updated VSCode.
I think this is because of the new update. My VSCode version -
Version: 1.40.0
Commit: 86405ea23e3937316009fc27c9361deee66ffbf5
Date: 2019-11-06T17:09:34.601Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 19.0.0

Same error here.
My VSCode version:
Version: 1.40.0
Commit: 86405ea23e3937316009fc27c9361deee66ffbf5
Date: 2019-11-06T18:14:08.920Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 4.15.0-66-generic

I'll check this. Thanks for reporting!

I just published 1.5.4 which fixes this.
It's either a bug in vscode 1.40.0, a fixed bug that the dashboard happened to use, or an undocumented breaking change in the API. We will see
I noticed that all edit icons on the dashboard are shown upon opening on vscode 1.40.0. I'll fix this soon, as that's not that urgent. :)

Thank you so much, you're really fast at fixing stuff.
I don't know why it required me to "Reload Extension" but it works now :)


is there a way to change default "malloc function"?

i want to use the lib in mcu( Inconvenient to use malloc and free), i find it only  only can  register "free function" useing your api.

It's a reasonable feature request, the problem is that the individual files are intended to be used standalone with no external dependencies. A few ideas:

If you're cherrypicking individual files, you can just modify them to use whatever malloc/free you want
If you're using it through the library, it would be a nice feature to be able to add hooks. This could be done via a special #define that only gets defined when the library is compiled; that would import a special header that redefines malloc/free to use alternative versions that are internal to the library.

It's a reasonable feature request, the problem is that the individual files are intended to be used standalone with no external dependencies. A few ideas:
* If you're cherrypicking individual files, you can just modify them to use whatever `malloc`/`free` you want

* If you're using it through the library, it would be a nice feature to be able to add hooks. This could be done via a special `#define` that only gets defined when the library is compiled; that would import a special header that redefines `malloc`/`free` to use alternative versions that are internal to the library.

thank you. I prefer second way.


sha/keccak1600.c: add pair of optimized implementations.

Performance improvements measurements are?

When it comes to optimizations correct question actually is not how much faster does this or that get, but how far is it from theoretical limit. Latter is naturally platform-specific. But to make such estimates you have to be intimately familiar with algorithm [and platform]. So I'm getting acquainted with permutation patters, dependency chains... Haven't actually measured anything yet...

Actually what counts is what has been achieved. Whether more is possible is answering an entirely separate question. You have put this up as optimised. It needs measurements to know if that is true and to what level to know if it makes sense to commit.

Should any of this be macro-ized?  Comments on any of the functions?

Should any of this be macro-ized?

Maybe. It's a tricky question. It's a balance between how large textual presentation of the code is and how easy is it to "visualize" the flow. Current focus is latter. It might change in future. If I learned anything is that it pays off to "visualize" the flow... Besides it's actually problematic to macro-ize 1X variant, because T[][] references are irregular. As for comments, added.
Side note. Even though 4X is referred to as "[probably] best instruction per processed byte ratio", 2X effectively provides same ratio, but at 1/2 code size, which is also an advantage, as it takes less time to warm code cache. For reference, I reckon that full unroll is meaningless to consider, because it would be too tough on L1 code cache for marginal improvement it can provide with warm cache.

Minor commentary updates.

As for macro-ization and current focus being "flow visualization". It's also meant to be used as possible reference for assembly implementation[s] and excessive macro-ization (say on complete row operations) would make it harder to single-step and compare results side by side. In case question is why not assembly from https://github.com/gvanas/KeccakCodePackage. Some portions will surely be re-used, but I would still insist on at least understanding the algorithm better than just calling a subroutine.

As for "what has been achieved" and if "it's true". Loop fusion and code motion is recognized optimization technique. True or not? Achieved or not? It makes sense to optimize references to temporary storage. True or not? Achieved or not? 2x unroll minimizes references to temporary storage. True or not? Achieved or not? 4x eliminates need for temporary storage. True or not? Achieved or not? Or was it rendered worthless as template for assembly implementation in result of proposed modification?


Fix billing error for non-marketplace deployments

Fix for Azure pod errors when billing executes on non-marketplace deployments.
No Jira for this, just noticed it was happening.
To test if desired:
Deploy using create.sh script.  Run the demo template at least once to create a host execution to "bill".
Connect to AKS.
Create a pod:
apiVersion: v1
kind: Pod
metadata:
  name: billing-test
  namespace: ansible-automation-platform-billing
  labels:
    azure.workload.identity/use: "true"
spec:
  containers:
  - name: billing
    image: quay.io/bhavenst/billing:latest
    command: ["/usr/bin/tail", "-f", "/dev/null"]
    volumeMounts:
    - mountPath: /etc/billing/billingconf.py
      name: billing-settings
      readOnly: true
      subPath: billingconf.py
  volumes:
  - name: billing-settings
    secret:
      defaultMode: 420
      secretName: billing-settings

Exec into container and execute "aap-billing -d".  The process should end nicely with a message printed and $? should be 0.

Before:
[root@billing /]# aap-billing -d INFO 2024-03-05 22:53:59,748	Billing version: v0.2.9 INFO 2024-03-05 22:53:59,931	Billing period (2024-03-05 00:00:00+00:00) to (2024-04-04 23:59:59+00:00). INFO 2024-03-05 22:53:59,933	Checking for newly encountered hosts. DEBUG 2024-03-05 22:54:00,056	Starting new HTTPS connection (1): login.microsoftonline.com:443 DEBUG 2024-03-05 22:54:00,307	https://login.microsoftonline.com:443 "POST /0b4d9aac-c9b7-4832-9013-2ab4991d5533/oauth2/v2.0/token HTTP/1.1" 200 1726 DEBUG 2024-03-05 22:54:00,311	Starting new HTTP connection (1): <IP_ADDRESS>:80 DEBUG 2024-03-05 22:54:00,324	http://<IP_ADDRESS>:80 "GET /metadata/instance?api-version=2019-06-01 HTTP/1.1" 200 3201 DEBUG 2024-03-05 22:54:00,325	Fetched subscription ID (16cdd291-e762-40ca-a870-ad6041ca2547) and node resource group (rg-aapzkzhlbzmaus3o-nodepools-eastus). DEBUG 2024-03-05 22:54:00,326	Starting new HTTPS connection (1): management.azure.com:443 DEBUG 2024-03-05 22:54:00,424	https://management.azure.com:443 "GET /subscriptions/16cdd291-e762-40ca-a870-ad6041ca2547/resourceGroups/rg-aapzkzhlbzmaus3o-nodepools-eastus?api-version=2019-10-01 HTTP/1.1" 200 654 DEBUG 2024-03-05 22:54:00,425	Fetched managed resource group (mrg-AnsibleAutomationPlatform_bhavenst_1709662724-20240305111922) DEBUG 2024-03-05 22:54:00,426	Starting new HTTPS connection (1): management.azure.com:443 DEBUG 2024-03-05 22:54:00,528	https://management.azure.com:443 "GET /subscriptions/16cdd291-e762-40ca-a870-ad6041ca2547/resourceGroups/mrg-AnsibleAutomationPlatform_bhavenst_1709662724-20240305111922?api-version=2019-10-01 HTTP/1.1" 200 519 DEBUG 2024-03-05 22:54:00,529	Fetched managed app ID (/subscriptions/16cdd291-e762-40ca-a870-ad6041ca2547/resourceGroups/bhavenstGroup/providers/Microsoft.Solutions/applications/AAPbhavenst202403051119) DEBUG 2024-03-05 22:54:00,530	Starting new HTTPS connection (1): management.azure.com:443 DEBUG 2024-03-05 22:54:01,040	https://management.azure.com:443 "GET /subscriptions/16cdd291-e762-40ca-a870-ad6041ca2547/resourceGroups/bhavenstGroup/providers/Microsoft.Solutions/applications/AAPbhavenst202403051119?api-version=2019-07-01 HTTP/1.1" 200 3589 Traceback (most recent call last):   File "/usr/local/bin/aap-billing", line 8, in <module>     sys.exit(main())   File "/usr/local/lib/python3.8/site-packages/aap_billing/cli.py", line 81, in main     metadata = azapi.getManAppIdAndMetadata()   File "/usr/local/lib/python3.8/site-packages/aap_billing/azure/azapi.py", line 175, in getManAppIdAndMetadata     app_metadata = _fetchManagedAppMetadata(managed_app_id, token)   File "/usr/local/lib/python3.8/site-packages/aap_billing/azure/azapi.py", line 150, in _fetchManagedAppMetadata     metadata["plan_id"] = j["plan"]["name"] KeyError: 'plan'

After:
`[root@billing /]# aap-billing -d
INFO 2024-03-07 20:03:18,432	Billing version: v0.2.10
INFO 2024-03-07 20:03:18,621	Billing period (2024-03-05 00:00:00+00:00) to (2024-04-04 23:59:59+00:00).
INFO 2024-03-07 20:03:18,623	Checking for newly encountered hosts.
DEBUG 2024-03-07 20:03:18,675	Starting new HTTPS connection (1): login.microsoftonline.com:443
DEBUG 2024-03-07 20:03:19,061	https://login.microsoftonline.com:443 "POST /0b4d9aac-c9b7-4832-9013-2ab4991d5533/oauth2/v2.0/token HTTP/1.1" 200 1726
DEBUG 2024-03-07 20:03:19,065	Starting new HTTP connection (1): <IP_ADDRESS>:80
DEBUG 2024-03-07 20:03:19,073	http://<IP_ADDRESS>:80 "GET /metadata/instance?api-version=2019-06-01 HTTP/1.1" 200 3201
DEBUG 2024-03-07 20:03:19,073	Fetched subscription ID (16cdd291-e762-40ca-a870-ad6041ca2547) and node resource group (rg-aapzkzhlbzmaus3o-nodepools-eastus).
DEBUG 2024-03-07 20:03:19,074	Starting new HTTPS connection (1): management.azure.com:443
DEBUG 2024-03-07 20:03:19,236	https://management.azure.com:443 "GET /subscriptions/16cdd291-e762-40ca-a870-ad6041ca2547/resourceGroups/rg-aapzkzhlbzmaus3o-nodepools-eastus?api-version=2019-10-01 HTTP/1.1" 200 654
DEBUG 2024-03-07 20:03:19,237	Fetched managed resource group (mrg-AnsibleAutomationPlatform_bhavenst_1709662724-20240305111922)
DEBUG 2024-03-07 20:03:19,239	Starting new HTTPS connection (1): management.azure.com:443
DEBUG 2024-03-07 20:03:19,331	https://management.azure.com:443 "GET /subscriptions/16cdd291-e762-40ca-a870-ad6041ca2547/resourceGroups/mrg-AnsibleAutomationPlatform_bhavenst_1709662724-20240305111922?api-version=2019-10-01 HTTP/1.1" 200 519
DEBUG 2024-03-07 20:03:19,332	Fetched managed app ID (/subscriptions/16cdd291-e762-40ca-a870-ad6041ca2547/resourceGroups/bhavenstGroup/providers/Microsoft.Solutions/applications/AAPbhavenst202403051119)
DEBUG 2024-03-07 20:03:19,333	Starting new HTTPS connection (1): management.azure.com:443
DEBUG 2024-03-07 20:03:19,679	https://management.azure.com:443 "GET /subscriptions/16cdd291-e762-40ca-a870-ad6041ca2547/resourceGroups/bhavenstGroup/providers/Microsoft.Solutions/applications/AAPbhavenst202403051119?api-version=2019-07-01 HTTP/1.1" 200 3263
DEBUG 2024-03-07 20:03:19,694	Fetched managed app metadata info: {'kind': 'ServiceCatalog', 'plan_id': None, 'offer_id': None, 'resource_id': None})
INFO 2024-03-07 20:03:19,695
Billing is not active/functional in single tenant deployments
`


Error obtaining render for panel

Hi, I got errors with the panels typed grafana-polystat-panel, graph, stat, table.

How can I solve this?

Providing the complete log error message would help. Also please include the Grafana logs for the same time


Add CSP section to Api Configuration for a few more details

Fixes #249
Draft - need help from @nothingismagick or @Laegel to put some content into this new section.

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] New Binding Issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[x] Other, please describe:  Docs

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[X] No

The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Should note, that this minimal example seems to work if you are just speaking to the rust harness:
      "csp": "default-src tauri: 'self'"

Do you think the CSP section should include only your example?  Sorry don't know much here but it seemed important to explain the setting and 1 or 2 examples and then point folks to a link either on Rust docs or somewhere else where CSP is explained further?

We'll introduce a dedicated section for CSP since this is a big part of the audit changes.


Add docs for how to compile on Windows

As per https://github.com/snowleopard/shaking-up-ghc/issues/110#issuecomment-191954062

@ndmitchell Great, thanks! It would be nice to mirror your build script in AppVeyor to continuously test it.

Yep, mirroring in AppVeyor sounds good - although that starts from MinGW already on the path so is a bit different.


Preprocessing steps - addition

You can also add to read.me how to extract script mrg from emulator

I would also like to see information about getting DeepL key and how you can patch game yourself with LayeredFS


Gradle build issue

I believe this is a side effect of #369
In my case I was updating a project for my book to make sure it worked with TNS 2.00, and in my package.json file I had removed the tns-core-modules.  So it installed 3 plugins; then failed to run because missing the core modules.   So then I realized when I looked in the node_modules that the core modules and widgets weren't pulled in.  So I updated the package.json file and did a *npm install tns-core-modules" and tried to build again.   This time the meta data system totally failed...

asbg:generateBindings
java.lang.NullPointerException
at org.nativescript.staticbindinggenerator.Generator.collectInterfaceMethods(Generator.java:
505)
at org.nativescript.staticbindinggenerator.Generator.getPublicApi(Generator.java:127)
at org.nativescript.staticbindinggenerator.Generator.processRows(Generator.java:82)
at org.nativescript.staticbindinggenerator.Generator.go(Generator.java:54)
at org.nativescript.staticbindinggenerator.Generator.main(Generator.java:36)

and

Exception in thread "main" java.lang.IllegalArgumentException: Class com.tns.internal.AppBuilderCall
back conflict: D:\projects\nativescript\Chapter_5\crossCommunicator\platforms\android\build\intermediates\classes\F0F1F2F3\debug and D:\projects\nativescript\Chapter_5\crossCommunicator\platforms\android\build\intermediates\classes\F0F1F2\debug
at com.telerik.metadata.ClassRepo.cacheJarFile(ClassRepo.java:21)
at com.telerik.metadata.Builder.build(Builder.java:42)
at com.telerik.metadata.Generator.main(Generator.java:44)
:buildMetadata FAILED

As you can see The conflict is between F0F1F2F3 and F0F1F2 folders.  So when building the system needs to clean or somehow know to delete the old folder on a new prepare...

Hi @NathanaelA,
Indeed, when updating a project you need to do a clean. Currently there is no tns clean android command, so in your case, you need to do it manually.

go to platforms/android
delete build folder
build again
There will be a clean command, probably with the next release. It will be the developer's job to run the clean command when updating the project.

First of all, it is one of my rules I pass on to lots of people when TNS doesn't build; reset the platform folder...    So this bug really doesn't affect me much, I've been around TNS long enough to know TNS is absolutely horrible when it comes to managing its own "platforms" folder on Android...
HOWEVER, because of this, and now how extremely easy it is to cause this issue.  It really gives TNS a very poor reputation!   I as a new user am not going to know to even try resetting the platforms folder.  The platform folder IS supposed to be fully taken care of by TNS command, and I shouldn't ever have to touch it.
@valentinstoychev  -This is one of the few bugs that IMHO should be prioritized as a High priority bug fix (even though it doesn't really effect me), because the numbers of NEW users that this WILL drive away just because TNS gives you NO clue why it crashed.   And since it is extremely EASY to make this occur, and a new user would have NO idea why or how to fix and depending on when this occurred during their testing, we could lose lots of users on this one.
The best fix imho would be: During a TNS prepare (i.e. TNS knows that after adding a plugin, it has to do a prepare already.)  it would then do a clean of the project structure during the prepare.  Yes, I realize this would slow down the prepare a tad; but slow and working is WAY WAY better than random crash that means nothing...

closing in favor of: https://github.com/NativeScript/android-runtime/issues/459


Unable to run UPLOAD queries

Unable to run the query UPLOAD INFILE "../data/ua_detrac/ua_detrac.mp4" PATH "video.mp4";
I am trying to run the object_detection notebook in the tutorials.
Expected
Response Object:
@status: 0
@batch: Batch Object:
@dataframe: Empty DataFrame
Columns: []
Index: []
@batch_size: 0
@identifier_column: id
@metrics: None

Result
@status: -1
@batch: None
@error: ERROR: Syntax error - Line1: Col 2215458 - no viable alternative at input 'UPLOAD PATH 'ua_detrac.mp4' ........

complete response.txt
Reproduce
new install of EVA, following the steps in the README in a docker container with ubuntu 18.04, and then running object_detection.ipynb.
Furthermore, I receive the same error when running the query using the eva_client.
Additional Context
I have verified my installation by running the test.sh script in script/test/test.sh with the following result:

UPLOAD INFILE 'data/ua_detrac/ua_detrac.mp4' INTO MyVideo;
The readme is outdated. A PR fixed it but not merged yet.

Facing similar problem in Running UDFs
SELECT id, FastRCNNObjectDetector(data) FROM MyVideo;

returns a dataframe with empty rows.


toolbar improvements

following improvements for the toolbar shall be implemented:

[ ] Disallow marking the text "Layers"
[ ] don't show scrollbar if not needed
[ ] remember sizes and arrangement of toolbars (per user)
[ ] Drag and drop Pflanzen -> "Pflanzen: Drag&Drop"
[ ] Some browsers (e.g. vivaldi) always show big white scrollbar
[ ] side bars should take whole site (from top to bottom)
[ ] Main layout: the bars left and right should be from very top to very bottom, so the language bar etc. should be in between
[ ] Bar cannot be reduced to zero
[ ] Minimum size introduces a horizontal scroll bar
[ ] resizing problems: when you see all the layers and then you resize layers to nothing: when scrolling slowly it works, when scrolling fast there is different behavior ("Layers" scrolls up)

The text "Layers" get marked when resizing on left bar

This already seems to be fixed, I ticked it.
I added above:

[ ] Drag and drop Pflanzen -> "Pflanzen: Drag&Drop"
[ ] side bars should take whole site (from top to bottom)
[ ] Some browsers (e.g. vivaldi) always show big white scrollbar

I added above:

[ ] Disallow marking the text "Layers"
[ ] don't show scrollbar if not needed

As discussed in https://github.com/ElektraInitiative/PermaplanT/pull/244#pullrequestreview-1415949538

I have found a discussion about disappearing scrollbars in Firefox here. That might be the issue.

In my case they are constantly shown, and not disappearing.

Is the highlighting of the layers text some issue or is disabling it just a preference?

If it can be easily done we should prevent marking the text, at least for drag&drop-able elements to avoid accidental marking.

I added "remember sizes and arrangement of toolbars (per user)" above as suggested by @Bushuo

related to remember state use case


Unknown "Class is sealed and cannot be inherited" error 5050

Input
I cannot reproduce the issue on sorbet.run
I can reproduce the issue in a file app/lib/suit.rb
# typed: true
class Suit < T::Enum
  enums do
    Spades = new
    Hearts = new
  end
end

and run bundle exec srb tc app/lib/suit.rb
Observed output
./app/lib/suit.rb:2: Suit is sealed and cannot be inherited by Suit::Spades https://srb.help/5050
     2 |class Suit < T::Enum
              ^^^^
    ./app/lib/suit.rb:2: Suit was marked sealed and can only be inherited in this file
     2 |class Suit < T::Enum
        ^^^^^^^^^^^^^^^^^^^^

./app/lib/suit.rb:2: Suit is sealed and cannot be inherited by Suit::Hearts https://srb.help/5050
     2 |class Suit < T::Enum
              ^^^^
    ./app/lib/suit.rb:2: Suit was marked sealed and can only be inherited in this file
     2 |class Suit < T::Enum
        ^^^^^^^^^^^^^^^^^^^^

app/lib/suit.rb:2: Suit is sealed and cannot be inherited by Suit::Spades https://srb.help/5050
     2 |class Suit < T::Enum
              ^^^^
    ./app/lib/suit.rb:2: Suit was marked sealed and can only be inherited in this file
     2 |class Suit < T::Enum
        ^^^^^^^^^^^^^^^^^^^^

app/lib/suit.rb:2: Suit is sealed and cannot be inherited by Suit::Hearts https://srb.help/5050
     2 |class Suit < T::Enum
              ^^^^
    ./app/lib/suit.rb:2: Suit was marked sealed and can only be inherited in this file
     2 |class Suit < T::Enum
        ^^^^^^^^^^^^^^^^^^^^
Errors: 4

Expected behavior
Sorbet should not raise an error on example code cf. https://sorbet.org/docs/tenum, or at least point to a documented error code (5050 is not documented on srb.help). bundle exec srb tc does not return errors

Sorbet version
> bundle exec srb --version
Sorbet typechecker 0.5.5920 git b89eb263034e4b9754567c73e7983d0a87ffd34a debug_symbols=true clean=1

It appears that you have a sorbet/config file in the current directory which includes something like --dir=.
That causes Sorbet to read files and give them names prefixed with ./, like ./app/lib/suit.rb.
You then also pass app/lib/suit.rb on the command line. In combination with --dir=., this causes Sorbet to think that you are passing the file twice, as if you had written sorbet ./app/lib/suit.rb app/lib/suit.rb.
Sorbet does not attempt to strongly normalize file path names, because this is in general a problem with a lot of sharp edges.
You have some options:

Don't do this. Sorbet is not designed to type check single files in isolation when working inside a whole project (in general, it doesn't make sense to type check a single file, because it might depend on any number of things in order to be able to type check, and Sorbet makes no attempt to track and type check those dependencies too).
If you want to type check a single file in isolation, do it in its own project.

Pass the --no-config flag to srb tc. This requests that Sorbet not read the contents of sorbet/config, so the only flags and files passed to Sorbet will be those provided at the command line.

If for whatever reason you really want to pass this file at the command line (doesn't make sense, see two previous points), you can avoid these errors by passing the file name prefixed with ./ at the command line, like
bundle exec srb tc ./app/lib/suit.rb

Thanks @jez I was able to work around my issue 👍


Updated website to v0.6.1

Fixes https://github.com/kubeflow/website/issues/978

This change is

/assign @abhi-g


Text breaks out of shape when pasting in left aligned mode

I believe this was fixed by another unrelated change down the line. @clarencechaan can you confirm? Can we close the PR and the issue?

Hey! So I'm still able to reproduce the bug on production as well as locally on the latest commit.
Here's the element I've been testing with:
https://excalidraw.com/#json=BKovyPNfDdMiuZDg4Y8-Q,q7vK6TN6lWL-eyTRfSiTfA
The bug seems to be affected by the level of zoom.
https://github.com/user-attachments/assets/011da42e-04fa-4286-8883-364e972c5f11
Let me know if there's anything I can do to make the processor smoother or be of help.

You're right, this is still happening on excalidraw.com. Thanks.


Replacing snowflake_database_grant - granting access to a role and a share

Terraform Provider Version
0.88.0
Terraform Configuration
resource "snowflake_database_grant" "ext_db_grant_usage" {
  provider          = snowflake.account_admin
  database_name     = snowflake_database.ext_db.name
  privilege         = "USAGE"
  roles             = [snowflake_role.data_engineer_role.name]
  shares            = [snowflake_share.ext_share.name]
  with_grant_option = false
}

Category
category:grants
Expected Behavior
I am trying to update the above grant using the new format.
The example in the migration guide explains how to grant access to a database to 2 roles.
However is there a way to grant access to a share as well as a role? How should the above grant be changed with the new setup?
Actual Behavior
Grant usage to share and role
How much impact is this issue causing?
Medium

While we're on the topic of shares, I wanted to confirm whether this is the right way to grant a share usage on a database. It's putting a snowflake_share.example_share.name in the account_role category, which seemed a bit odd.
resource "snowflake_grant_privileges_to_account_role" "raw_db_reference_usage_grant" {   for_each   = toset([     snowflake_share.ext_a_share.name,     snowflake_share.ext_b_share.name,     snowflake_share.ext_c_share.name   ])   privileges = ["USAGE"]   account_role_name  = each.key   on_account_object {     object_type = "DATABASE"     object_name = snowflake_database.raw.name   } }

Shares are now granted permissions through the resource snowflake_grant_privileges_to_share.

Okay - so does this grant need to be split into 2 separate blocks?
resource "snowflake_database_grant" "ext_db_grant_usage" {
provider          = snowflake.account_admin
database_name     = snowflake_database.ext_db.name
privilege         = "USAGE"
roles             = [snowflake_role.data_engineer_role.name]
shares            = [snowflake_share.ext_share.name]
with_grant_option = false
}

Hey @natashamathur. Thanks for reaching out to us.
Yes, you have to use two resources: snowflake_grant_privileges_to_account_role and  snowflake_grant_privileges_to_share.

Hey @natashamathur. Do you need anything more in that matter or can we close this issue?

Is it possible to grant a role access to multiple tables or views in the same grant block? I am looking for ways to prevent my files from getting extremely long with all the new grants. I'll try for_each but wanted to confirm whether or not that was an accepted use case.

It's not possible without the for_each currently.

Okay. Right now we have about 30 views that need to be granted to various roles and shares. Would you recommend creating a block for each role / share, and then using for_each to grant access to all the necessary views? Or another approach?

Any approach that fits your needs is acceptable. For sure, using for_each makes the config more condensed, so if the proposed block fits your needs - go with it.


Update .phar download URL in README

Update for 0.7.0 release.

Thanks! Do you know if it is possible to target the latest version?

Unfortunately this is not possible AFAIK and I have tried before. You can link to the latest release via https://github.com/vinkla/climb/releases/latest/ but unfortunately not to files therein.

Okay, to bad.


Further reorganization of security module

This should be the last small refactoring needed.

Maybe just add some info to the pr / commit message on the motivation? I know what This should be the last small refactoring needed. means from context, but I could easily see forgetting in a year


Promote octane dependency version + log improvments

log hidden exception
promote mqm version to support base64 encoding in job name for multijob on secured envs
JENKINS-45757
JENKINS-45759

:white_check_mark: Build hpe-application-automation-tools-plugin latest.116-jxcovlhr completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/fe8209d6ea by @m-seldin)

:x: Build hpe-application-automation-tools-plugin latest.116-mxnunosi failed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/dc5c7fb5da by @m-seldin)

:white_check_mark: Build hpe-application-automation-tools-plugin latest.117-gtygufrl completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/dc5c7fb5da by @m-seldin)

:white_check_mark: Build hpe-application-automation-tools-plugin latest.117-uswqppvy completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/ac344a9511 by @m-seldin)

:white_check_mark: Build hpe-application-automation-tools-plugin latest.117-fhdbehyd completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/f7ea837d61 by @radislavB)

Approved for test build

:white_check_mark: Build hpe-application-automation-tools-plugin latest.117-nucolucm completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/0a0bc6614e by @mstekel)

Approved for test build

:white_check_mark: Build hpe-application-automation-tools-plugin latest.117-ygaypoak completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/53cbb39a33 by @radislavB)

:white_check_mark: Build hpe-application-automation-tools-plugin latest.117-aoarnotp completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/29a3aca538 by @radislavB)

@m-seldin Please add issue to  PR  https://issues.jenkins-ci.org/browse/JENKINS-46057

:white_check_mark: Build hpe-application-automation-tools-plugin latest.117-pseqceqy completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/5cf2cb8585 by @m-seldin)

:white_check_mark: Build hpe-application-automation-tools-plugin latest.117-foogodbr completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/fcf0a071ed by @mgustus)

pull request transfered to the new repository
https://github.com/jenkinsci/hpe-application-automation-tools-plugin/pull/9


Support for channel4.com OnDemand

Please add support for channel 4 OnDemand, e.g. http://www.channel4.com/programmes/the-it-crowd/4od
There's already a separate tool (in ruby, uses rtmpdump) that supports downloading from that service: https://github.com/robwatkins/4od-dl
youtube-dl --verbose http://www.channel4.com/programmes/the-it-crowd/4od
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.channel4.com/programmes/the-it-crowd/4od']
[debug] Encodings: locale 'ISO8859-1', fs 'ISO8859-1', out 'ISO8859-1', pref: 'ISO8859-1'
[debug] youtube-dl version 2013.12.26
[debug] Python version 2.7.3 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
[generic] 4od: Downloading webpage
[generic] 4od: Extracting information
ERROR: Unsupported URL: http://www.channel4.com/programmes/the-it-crowd/4od; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 484, in extract_info
ie_result = ie.extract(url)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 149, in extract
return self._real_extract(url)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/generic.py", line 330, in _real_extract
raise ExtractorError(u'Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.channel4.com/programmes/the-it-crowd/4od; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

Downloading itself seems easy; the stream is a regular f4m, and finding the stream's URL is not difficult. The only problem is that the stream is encrypted by Flash Access DRM.
Some resources:

F4V spec: http://download.macromedia.com/f4v/video_file_format_spec_v10_1.pdf
https://code.google.com/p/get-flash-videos/issues/detail?id=379
https://www.kernel.org/pub/scm/linux/kernel/git/jejb/get-flash-videos.git/ seems to have some working code (lib/FlashVideo/F4VDownloader.pm); the only missing piece is obtaining the decryption key.

@fstirlitz isn't that what AdobeHDS implements?

@jleclanche it does not support DRM.

Ah fair enough

Any insight with thiis???
http://www.channel4.com/programmes/formula-1/on-demand/63760-055
http://ll.abrstream.channel4.com/CH4_08_02_24_63760055001001_001_1500000_.f4m

9119080
9119080

9762680
          <resumeOffset>9762680</resumeOffset>
            </break>
        </breaks>
    </adverts>
    <endCredits>

false

http://ll.abrstream.channel4.com/CH4_08_02_24_63760055001001_001_1500000_.f4m
jZGfXUrmGGW2uXKUQFIjgBlHc4hA0t9QZqvEDPwjNrnzUrUVVvKcgXEWG6eSiP1cEKIpqTL4J6o1x
+dMCZOQpZkUWedsnyeGjSFYY4SarrsS1yICL2gkjbzdP/C4kBf22cmmN7cux+RwmjWuA5jKEtpUXGn3Ec3Ey6MM5qQMQH7wc2VnB/Erp4oC94gTHNLb
ll
1473046553

true

false

May contain flashing images
0
1587713
https://pmlsc.channel4.com/pmlsd/formula-
1/4od.atom
STREAM
CATCHUP
63760/055

GET /CH4_08_02_24_63760055001001_001_1500000_.f4m HTTP/1.1
Host: ll.abrstream.channel4.com
User-Agent: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MMB29V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36
OPR/36.0.2126.101812
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Referer: http://www.channel4.com/all4fplayer/1.0.160/4odplayer_bips_r.swf
Cookie: c4_cookie_policy=A;
C4_Identity="eyJkaXNwbGF5TmFtZSI6IkNoYXJsZXMiLCJnZW5kZXIiOiJGRU1BTEUiLCJhZ2UiOiI2NCIsInVzZXJJZCI6IjdmN2M4MzEzLWMwMDctNDQ3Mi05NGY2LWExN2I2YzI0O
TUxYyIsInR5cGUiOiJDNCIsInJlbWVtYmVyTWUiOiJ0cnVlIiwiY3JlYXRlZCI6IjE0NzMwMzk1NzE4ODYiLCJoYXNoIjoiTUhnZUFMWWRfWjR1aU1qdFBkdE1aUSIsImFkZHJlc3NDYXB
0dXJlZCI6InRydWUifQ=="; s_fid=50051E692397AF16-176ED4E71FF0A632; s_vnum=1475631616357%26vn%3D1; s_vi=[CS]v1|2BE666720531251D-60000109A000A811
[CE];
4nav_Identity=eyJkaXNwbGF5TmFtZSI6IkNoYXJsZXMiLCJnZW5kZXIiOiJGRU1BTEUiLCJhZ2UiOiI2NCIsInVzZXJJZCI6IjdmN2M4MzEzLWMwMDctNDQ3Mi05NGY2LWExN2I2YzI0
OTUxYyIsInR5cGUiOiJDNCIsInJlbWVtYmVyTWUiOiJ0cnVlIiwiY3JlYXRlZCI6IjE0NzMwMzk1NzE4ODYiLCJoYXNoIjoiTUhnZUFMWWRfWjR1aU1qdFBkdE1aUSIsImFkZHJlc3NDYX
B0dXJlZCI6InRydWUifQ%3D%3D; ADRUM=s=1473042976492&r=http%3A%2F%2Fwww.channel4.com%2Fprogrammes%2Fformula-1%2Fon-demand%2F63760-055%3F0;
omn_intcmp=categories_sport_popular
Connection: keep-alive

@ppsspp213 May I know how you get above pls? Thx.

+1 is there any hope for f4m drm?

An answer to @BMD4E 's question would be awesome

Really ?

The source is this article. I just phoned Channel4, and they confirmed they're migrating to HTML5 but, because they have such a large back catalogue, it's taking a while and they don't have a completion date.

Have they said if it’s going to 720p, 1080p or 480p for content from 2006/8
onwards?
On Sat, 27 Jul 2019 at 12:43 pm, superclarkk<EMAIL_ADDRESS>wrote:

The source is this article
http://www.csimagazine.com/csi/Channel4-migrates-to-HTML5-with-Adobe-Primetime.php.
I just phoned Channel4, and they confirmed they're migrating to HTML5 but,
because they have such a large back catalogue, it's taking a while and they
don't have a completion date.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/2050?email_source=notifications&email_token=ABPHOZD6TYC3RE7IWX2NEG3QBQYFJA5CNFSM4AKZNPIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26J5LA#issuecomment-515677868,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPHOZGHZP6DPOCRI3XI5F3QBQYFJANCNFSM4AKZNPIA
.

They were pretty cagey, so the above was all the info I could get.

Ok, thanks for the update 👍
On Sat, 27 Jul 2019 at 1:29 pm, superclarkk<EMAIL_ADDRESS>wrote:

They were pretty cagey, so the above was all the info I could get.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/2050?email_source=notifications&email_token=ABPHOZGO5VOOQT3NXHH3SG3QBQ5RTA5CNFSM4AKZNPIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26KRQA#issuecomment-515680448,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPHOZESU6UN3TFCWH7S45DQBQ5RTANCNFSM4AKZNPIA
.

They're still going to use

strong DRM based content protection across the feature set

in their migration to the HTML5-based All4 web player, so I don't quite understand the latent excitement here over that change...

The selection of Primetime allows us to look at alignment
with the other Adobe products that we currently use

https://theblog.adobe.com/transition-to-html5/
The title of this long-standing issue is "Support for channel4.com OnDemand", surest bet is that won't arrive with the web player format overhaul... 😞 Just my 2p, ofc...

I’m not a fan of their adaptive video quality streaming, where if it drops
packets it reduces the quality downwards, it’d be much better if they
produced a codec with more EDC imo.
On Sat, 27 Jul 2019 at 11:48 pm, Vangelis66<EMAIL_ADDRESS>wrote:

They're still going to use
strong DRM based content protection across the feature set
in their migration to the HTML5-based All4 web player, so I don't quite
understand the latent excitement here over that change...
The selection of Primetime allows us to look at alignment
with the other Adobe products that we currently use
https://theblog.adobe.com/transition-to-html5/
The title of this long-standing issue is "Support for channel4.com
http://channel4.com OnDemand", surest bet is that won't arrive
with the web player format overhaul... 😞 Just my 2p, ofc...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/2050?email_source=notifications&email_token=ABPHOZD2WGHXKECW6RBVLHLQBTGCZA5CNFSM4AKZNPIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26T4KQ#issuecomment-515718698,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPHOZDBYN7UL66C2PGMFHLQBTGCZANCNFSM4AKZNPIA
.

Getting a slightly different output these days.
youtube-dl.exe --verbose https://www.channel4.com/programmes/big-fat-quiz/on-demand/71755-001
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.channel4.com/programmes/big-fat-quiz/on-demand/71755-001']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.12.29
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 71755-001: Requesting header
WARNING: Could not send HEAD request to https://www.channel4.com/programmes/big-fat-quiz/on-demand/71755-001: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[generic] 71755-001: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)> (caused by URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)'),))
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp581_vk6o\build\youtube_dl\extractor\common.py", line 632, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp581_vk6o\build\youtube_dl\YoutubeDL.py", line 2248, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp581_vk6o\build\youtube_dl\utils.py", line 2736, in https_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open

@theshillito
Nothing new has cropped up with regards to All4, i.e. they're still using DRM encrypted streams, which yt-dl can't process... 😭
What you have reported above is a local issue you're seeing when the official yt-dl executable tries to connect securely (over HTTPS) with www.channel4.com ...
The root cause of that issue is the same as with the numerous duplicate issues where Windows users can't update the youtube-dl.exe file past May 30th 2020...
TL:DR: youtube-dl.exe is built on Python 3.4.4, which bundles modules containing an older version of the openssl crypto library; that older version has a bug (fixed in later versions, hence not present in more recent Python).
This is somewhat technical, but when an expired intermediate certificate is present inside your Windows cert store, older openssl (in Py3.4.4) will select this expired one and abort secure connection to www.channel4.com, instead of trying to complete the certificate chain to the server via a different - but valid - route...
Workarounds:
Use the somewhat unsafe flag --no-check-certificate, or deal with the issue directly by

Loading https://www.channel4.com/ in a Microsoft browser, like Internet Explorer 11 or Edge; the browser will fetch all needed (valid) intermediate certs and will cache them in the Windows CA store (this is where youtube-dl.exe looks by default for certs).
In your Windows CA store, locate and remove all expired INTERMEDIATE certificates; you have better leave the expired ROOT certificates (if any) alone, though...

Then, youtube-dl.exe (on Py3.4) will have no trouble connecting:
youtube-dl.exe -v "https://www.channel4.com/programmes/big-fat-quiz/on-demand/71755-001" =>
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.channel4.com/programmes/big-fat-q
uiz/on-demand/71755-001']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2020.12.29
[debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, phantomjs 2.1.1, rtmpdump 2.4

[debug] Proxy map: {}
[generic] 71755-001: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 71755-001: Downloading webpage
[generic] 71755-001: Extracting information
ERROR: Unsupported URL: https://www.channel4.com/programmes/big-fat-quiz/on-dema
nd/71755-001
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp581_vk
6o\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp581_vk
6o\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp581_vk
6o\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp581_vk
6o\build\youtube_dl\extractor\generic.py", line 3448, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.channel4.com/pro
grammes/big-fat-quiz/on-demand/71755-001

i.e., my error is
ERROR: Unsupported URL: https://www.channel4.com/programmes/big-fat-quiz/on-demand/71755-001
while yours is:
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)> (caused by URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)'),))

Use yt-dlp fork and use param "--allow-unpla"
Then you'll need to decrypt the content with key info.

@jesshub

Use yt-dlp fork and use param "--allow-unpla"
Then you'll need to decrypt the content with key info.

Not supported with that either.
yt-dlp --allow-unplayable-formats -u <email address> https://www.channel4.com/programmes/celebrity-gogglebox/on-demand/72091-009
ERROR: [generic] Unsupported URL: https://www.channel4.com/programmes/celebrity-gogglebox/on-demand/72091-009

yt-dlp --allow-unpla "MPD LINK"
You need to put the mpd link, not the url page.

@superclarkk
As it's already known, Channel Four only offer DRMed VOD streams, to watch you have to

Be in a sanctioned location, i.e. the UK
Register an obligatory account with them and sign-in...
Use a sanctioned desktop browser with the latest version of the Widevine CDM (content-decryption-module)

DRM content isn't supported by downloading apps (at least not in the open 😜 ), for legal reasons; especially since the current owner of the most popular DRM solution (cenc+WidevineCDM) is the almighty Google; yt-dl's latest takedown by GitHub last year was "supposedly" DRM-related, so this is a strictly no-no topic...
yt-dlp doesn't directly support downloads from Ch4 either, so the -u option you issued in your posted command is also out of place...
As @jesshub advised, once you initiate successful playback in your desktop browser, you'll have to resort to URL-sniffing in that browser and unearth the direct URI to the actual MPEG-DASH MPD (media presentation description) file (i.e. a URI that contains .mpd); then, that URI has to be fed directly to yt-dlp along with the --allow-unplayable-formats flag...
But yt-dlp doesn't support decryption of DRM-encrypted files, at best, up-to-this-stage, you'll end up with an encrypted/unplayable MP4 file... 😭
@jesshub wrote:

Then you'll need to decrypt the content with key info.

This isn't a job for the fainthearted and I doubt that it's even possible currently...
I am aware that some months ago a Chromium extension (that won't be named) was able to extract decryption keys from previous Widevine CDMs, but last thing I heard was that Google were quick to patch that hole and, along the way, deprecate (on May 31st) all Widevine versions older than 4_10_2209_0; do you know otherwise (a simpe yes/no would suffice...) ?

@Vangelis66
I don't know for all DRM stuff, but it works for channel 4 still.

but it works for channel 4 still

Thanks 😃 ; would that mean that older WidevineCDM versions still work to decrypt & deliver ch4 content in a browser?

I was able to successfully download and decrypt this media:
https://github.com/89z/mech/tree/v1.52.2/research/channel4

I was able to successfully download and decrypt this media:

Just my 2c here, but posting in this tracker a link to a method of circumventing full-blown DRM on copyrighted audiovisual material is simply asking for legal trouble... Considering, not so long ago, youtube-dl was DMCA'ed by GitHub under the claim it could break DRM (not actually true) ... :wink:
@dirkf, as the current maintainer, what do you reckon?
(FWIW, Zombo has blocked me for some petty reason of his :angry: , but I still have lots of faith in you... :smile: )

In so far as there is a policy, it's this. What some other GH repo does (and ofc they are all accessible by 2 clicks from yt-dl) is not our problem.

Just my 2c here, but posting in this tracker a link to a method of circumventing full-blown DRM on copyrighted audiovisual material is simply asking for legal trouble... Considering, not so long ago, youtube-dl was DMCA'ed by GitHub under the claim it could break DRM (not actually true) ... 😉

@Vangelis66 this is an issue tracker, not a morality tracker. My previous comment directly address the posted issue, while your previous comment is basically histrionics. Please stop.

FWIW, Zombo has blocked me for some petty reason of his 😠 , but I still have lots of faith in you... 😄

Whenever someone give me a downvote, I block them. 9 times out of 10, people that block me have nothing to say. If someone actually want to have a discussion about something, I am willing to defend my viewpoints. But a downvote is the opposite of a discussion.


Bugfix/infra 1596 naive handling of methods

Updating the extension to handle edge case scenarios that the original repo doesn't have. PR also includes fixes to the composer scripts in order to run the tests locally.

Pushed the branch directly to the repo instead, so we can attempt to get it to a certain standard to have it pushed back into upstream.


fix anchors shift on all main website pages

Description
There was a previous fix to anchor shifts issue specific to contribution page #18567, but I found more pages are using anchors and having the same issue. In this PR, the fix is applied to all anchors by using a common css selector :target.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:

Changes

[x] Fix anchors shift on all main website pages

Comments

Preview: http://ec2-34-219-134-42.us-west-2.compute.amazonaws.com/get_started/build_from_source
Compare to: https://mxnet.apache.org/get_started/build_from_source

If you still see shift of anchor on preview host, please try clean the cache and load the website again. Thanks

@mxnet-label-bot add [Website, pr-awaiting-review]

@mxnet-bot run ci [centos-cpu]


new: adbdgl refactor

Warrants a 3.0.0 release (the large diff is mostly due to the notebook updates)
See the new README
Closes #29
Note: For notebook testing purposes:

Use !pip install git+https://github.com/arangoml/dgl-adapter.git@feature/adapter-refactor
Use !git clone -b feature/adapter-refactor --single-branch https://github.com/arangoml/dgl-adapter.git

What's new

Repo-wide refactor to reflect the behaviour of the ArangoDB-PyG adapter (up to https://github.com/arangoml/pyg-adapter/pull/23) at the exception of:

The preserve_adb_keys logic (DGL does not support lists of strings as a property)
Ambiguity check for homogeneous graphs (DGL stores its node & edge data separately, even if the graph is homogeneous)
The strict parameter of Arangodb to PyG (for now)

Official support for python 3.10 and 3.11

Overall lgtm. a) would this PR require a new major version release given backwards compatibility? Do we need a migration guide? b) what are the resulting doc changes? Do we need to sync with the doc team?

a) I would say there is need for a migration guide since the API convention/usability remains the same, but this will warrant a major version release (from 2.1.0 to 3.0.0)
b) Right, the doc team would have to replace the contents of https://www.arangodb.com/docs/stable/data-science-dgl-adapter.html#quickstart with https://github.com/arangoml/dgl-adapter/tree/feature/adapter-refactor#quickstart

@geenen124 @joerg84 any other thoughts on moving forward with this PR?

re-requesting review after having merged https://github.com/arangoml/dgl-adapter/pull/31

Sorry @geenen124 had to make another readme update, one last review when you get the chance


Update auto-generated properties

Repository: openmicroscopy/ome-documentation
Already up-to-date.
Generated by build OMERO-5.0-latest-docs-autogen#156.

--no-rebase

Looks fine on staging, merging ready for release.


Resource file generator

ASP.NET Core localization is based on .resx file and localizers that use the resources. This all works pretty well but there is one big obstacle on localization any larger applications. It is the creating and maintaining .resx files. The localization process does not require neutral .resx file but in most cases they are needed because we need some files that are going to be the model for localized resx files. Most localization tools and services can handle .resx. You send the neutral .resx files and you will get set of localized ,resx files. In order to do that we need those neutral .resx files.
Unfortunately there is not tooling support in VS for this but we have to do everything manually. First refactor the original source to replace hard coded string with localizer["..."], then add the matching item into a .resx file and making sure they always match. Very tedious and boring job. It should be enough that you just internationalize your code (e.g. add localizer["..."]) and then VS tooling would scan the source files and create the neutral resource files.
Can you implement such a tool and include that to VS.

I will create such a tool.


Pre-compiled dashboard

less dependencies
easy use from cdns

<!doctype html>
<script type="module">
  import {renderDashboard, Client} from 'https://cdn/alinea'
  renderDashboard({
    config: configHere,
    client: new Client(config, 'https://mybackend')
  })
</script>

I think we got far enough with this vendoring in dependencies


Clarification on Reply message

@wiz0u: I have been trying to use your code  with amendments to send reply to a real time message received.
I am trying to send a reply if a message is received from a specific user (XYZ). While the below piece of code(line 100,101) sends out a reply, it lands under my "Saved messages" and not under the specific channel where the message is received.

Not sure what is going wrong here. Could you please help?

Got the answer from your stackoverflow reply here. Thanks a lot @wiz0u for this wonderful library!


Update vulnerable dependencies

This PR combines all suggestions from dependabot to fix dsicovered vulnerabilities in PyYAML and Django

this has version dependency with mlcube?

this has version dependency with mlcube?

We could remove it and instead ask users to install it manually beforehand

this has version dependency with mlcube?

We could remove it and instead ask users to install it manually beforehand

But, users would get conflict when try to install ?  We should ask MLCube team to update their package

this has version dependency with mlcube?

We could remove it and instead ask users to install it manually beforehand

But, users would get conflict when try to install ? We should ask MLCube team to update their package

Agreed, I just asked Jurado. I guess we'll have to wait until they release a new update

That was faster than expected!


Using php-coveralls with matrix on GitHub actions fails with HTTP 422 Invalid Entity

I've been trying to move to GitHub Actions including the uploading of a CI build with a matrix running PHP 7.1, 7.2, 7.3, 7.4 and 8.0. But the uploading of the coverage always fails with an HTTP 422 Invalid Entity.
I've been trying several configurations (once I've got clear what the correct one is I'll raise a PR to include it in the Readme.md) without success.
As per other issues (#301 #300 and #273) I've been testing workflows with the COVERALLS_REPO_TOKEN set to secrets.COVERALLS_REPO_TOKEN (with the secret set to the repo token from coveralls.io. And also with the secrets.GITHUB_TOKEN both without success. My only "success" is to add COVERALLS_RUN_LOCALLY: 1, then the coverage is uploaded but the output on coveralls.io is off as the matrix build isn't combined.
Also I've been trying to see how this repo is matching with the API as described at https://docs.coveralls.io/api-reference and I can see some matches but some seem to be missing. Is there more info on how a matrix build should post the data? It is my assumption that each matrix build should upload their coverage data en a final run should finish the coverage report using the web hook.
Any insights are appreciated in order to get proper support into this repo for others to use in combination with a matrix build.
If needed I can add more details, wanted to keep the issue report rather compact though

After going back and forth for some evenings between this repo and the official GitHub action offered by coveralls repo to find the differences. I was able to get a fully working solution. The following workflow works for my PHP open source library called JsonMapper
Below steps can also be found as a working workflow here and the result of a coverage can be seen at https://coveralls.io/builds/36646748
To upload the coverage report to coveralls as part the matrix build
- name: Upload test coverage
      run: php vendor/bin/php-coveralls -vvv
      env:
        COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        COVERALLS_PARALLEL: true
        COVERALLS_FLAG_NAME: ${{ matrix.name }}
      continue-on-error: ${{ matrix.allow_fail }}

And the complete the coverage report when all matrix builds have run invoke the web hook
  finish:
    needs: build
    runs-on: ubuntu-latest
    steps:
      - name: Coveralls Finished
        run: |
          curl --header "Content-Type: application/json" \
            --request POST \
            --data '{"repo_token":"${{ secrets.GITHUB_TOKEN }}","repo_name":"JsonMapper/JsonMapper", "payload": {"build_num": "${{ github.sha }}", "status": "done"}}' \
            https://coveralls.io/webhook

After going back and forth for some evenings between this repo and the official GitHub action offered by coveralls repo to find the differences. I was able to get a fully working solution. The following workflow works for my PHP open source library called JsonMapper
Below steps can also be found as a working workflow here and the result of a coverage can be seen at https://coveralls.io/builds/36646748
To upload the coverage report to coveralls as part the matrix build
- name: Upload test coverage
      run: php vendor/bin/php-coveralls -vvv
      env:
        COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        COVERALLS_PARALLEL: true
        COVERALLS_FLAG_NAME: ${{ matrix.name }}
      continue-on-error: ${{ matrix.allow_fail }}

And the complete the coverage report when all matrix builds have run invoke the web hook
  finish:
    needs: build
    runs-on: ubuntu-latest
    steps:
      - name: Coveralls Finished
        run: |
          curl --header "Content-Type: application/json" \
            --request POST \
            --data '{"repo_token":"${{ secrets.GITHUB_TOKEN }}","repo_name":"JsonMapper/JsonMapper", "payload": {"build_num": "${{ github.sha }}", "status": "done"}}' \
            https://coveralls.io/webhook


Error 401 on TL-SG108E 3.0

Congrats for this repo
I have a TL-SG108E version 3.0 and when I try test, I received the error 401.
IP, username and password is Ok
Can you help?
Traceback (most recent call last):
File "/home/raimonxd/zabbix-template-sg108e/tplinkswitch2zabbix.py", line 179, in
session = dao.do_login()
File "/home/raimonxd/zabbix-template-sg108e/tplinkswitch2zabbix.py", line 76, in do_login
raise Exception(f"Error: HTTP Status code: {str(resp.status_code)}")
Exception: Error: HTTP Status code: 401

Firmware version: 1.0.0 Build 20171214 Rel.70905

Hi @jeffersonraimon , could you send me the request and response for login process, visit status port page and statistics port page.
You could get the Request and Response using Burpsuite tool (capturing the messages).
I don't have version 3 of this switch but I think with that info, I can try to parse

Thanks man.
I saved the HTTP history items in this file zipped and i can open with https://adityatelange.github.io/bhhb/
sw_tplink.zip

Seems that this model, the response of login is HTTP 401 but it works. Just checked the other pages, and seems that have same structure... so fast fix you could try is
Line 72:
if resp.status_code == 200:

change for
if resp.status_code in [200,401]:

Try again and tell if works

Works, thanks!

Fix merged, thanks for testing
And remember change admin password ;)

Fix merged, thanks for testing
And remember change admin password ;)


feat(sdks) : Updated the sdks with latest changes

Updated spec with latest changes. SDKs will be released with below versions :
Dotnet - 5.5.0
Java - 5.6.0
Python - 6.0.0
Below are the new features added to Updated SDK's :

Removed required field for GetAllCalculations method (PA, SPAR, Vault, Quant)
Removed defaults values when the parameter is required in look up end points PA, SPAR, Vault and Strategy Documents End Points.
FI Product - New Parameters are added in the request post body
413 status code is added to Quant Product
'Warnings' are added as an enhancement to quant unit status response object
In the Error response object new fields - code and title is added (As per linter tool recommendation)
SPAR Product - New end point - getSPARComponentById is added as a part of SPAR Product.
GetAllCalculations - Response Type Documentation updated.
Updated "xFactSetApiLongRunningDeadline" value from 56 to 10, which effects in md (documentation files).

JIRA - https://bpm.factset.com/browse/AAPI-3103

PD Signoff- Looks good to me.


Update COS bucket DAs to support to creating KMS key in external account

Changes should go into solutions/secure-cross-regional-bucket and solutions/secure-regional-bucket only..

Add new optional variable ibmcloud_kms_api_key. This should be used in a new provider block like so:
provider "ibm" {
  alias            = "kms"
  ibmcloud_api_key = var.ibmcloud_kms_api_key != null ? var.ibmcloud_kms_api_key : var.ibmcloud_api_key
  region           = local.kms_region # this value should be parsed from the existing KMS CRN
}

The kms module block should use the kms provider alias (its already set up like this in the code actually).

Support creating cross account s2s auth policy (in KMS account):

if value for ibmcloud_kms_api_key is passed, and skip_iam_authorization_policy is set to false, then create a cross account s2s auth policy in the KMS account to allow the COS bucket reader access to the KMS instance GUID in the KMS account.
Ensure that if doing cross account auth policy, the skip_iam_authorization_policy value thats passed to the COS module itself is set to true since we will create the cross account one in the DA itself.

Review all of the variable descriptions and readme markdowns to ensure its clear that it supports KMS in a different account using the ibmcloud_kms_api_key variable.

@ocofaigh I have found what I believe is a bug. In modules/buckets/main.tf line 10, I am getting an error. What is being passed in is the guid already. I think this code snippet it expecting the crn so is erroring when the string does not contain ":".
"cos_guid" : element(split(":", bucket_config.resource_instance_id), length(split(":", bucket_config.resource_instance_id)) - 3)

After discussing with Todd, it seems that the name id and crn are being used interchangeably here. Should the var description be updated to state that the existing cos crn should be passed in?

Pr has been merged. Closing issue.


Remove container name dependency from documents

Feature Request
For example: In multiubuntu.md user needs to manually type in container name and this could be removed using kubectl jsonpath
Describe the solution you'd like
Please refer this #549

@h3llix can you also check the other documents and update them together?

@nam-jaehyun Sure. I'll fix them.


feat: Use Fetch+blob for ImageBitmap

Use a Fetch api for createImageBitmap for prevent synced decoding of Image in createImageBitmap
Fix #7436

Description of change
Test: https://github.com/pixijs/pixi.js/issues/7436#issuecomment-826065150
Pre-Merge Checklist

[x] Tests and/or benchmarks are included
[ ] Documentation is changed or added
[x] Lint process passed (npm run lint)
[x] Tests passed (npm run test)

I'm okay with this if it works. Fetch and createImageBitmap have roughly the same browser support profiles. We have not used fetch more broadly because IE11, but it's already gated by a check here for createImageBitmap.
https://caniuse.com/createimagebitmap
https://caniuse.com/fetch

I'm okay with this if it works. Fetch and createImageBitmap have roughly the same browser support profiles. We have not used fetch more broadly because IE11, but it's already gated by a check here for createImageBitmap.
https://caniuse.com/createimagebitmap
https://caniuse.com/fetch

You can check test in linked issue, but yep, because createImageBitmap is more specific that fetch, it shouldn't be source of problems.
fetch is not fully required, because only need for load raw blob that can be passed to createImageBitmap.
fetch used only because shorten that XHR.
I tryed to Blobing a Image, but Blob constructor not allow this case.

Thank you @eXponenta


Validate that IP addresses for ControlPlane and StaticWorkers are different

Which issue(s) this PR fixes:
Fixes #2632
What type of PR is this?
/kind api-change
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

Validate that IP addresses for ControlPlane and StaticWorkers are different

Documentation:

NONE

@kron4eg What if we add public and private addresses, and hostnames, of CP and static worker nodes to two different sets, and then compare sets? That seems like a great way to prevent any possible combination of what can go wrong, as long as we find any intersection, we error out.

@kron4eg What if we add public and private addresses, and hostnames, of CP and static worker nodes to two different sets, and then compare sets? That seems like a great way to prevent any possible combination of what can go wrong, as long as we find any intersection, we error out.

Hostnames are optional and may be absent at the time when validation is running. That's why I didn't included them in the check. Given nested for loop almost exactly the same as sets but without fancy APIs/functions, except one thing. It point to the exact index of the problematic static worker with with .Index() function. Which is not possible with sets.

Hostnames are optional and may be absent at the time when validation is running. That's why I didn't included them in the check.

That's true, but if we know them, it's useful to do the validation, and with sets this is very easy.

Given nested for loop almost exactly the same as sets but without fancy APIs/functions, except one thing.

They don't function the exactly same, for example, you might "hack" around by inverting public and private addresses. This and some other cases are much easier to catch by doing the intersection.

It point to the exact index of the problematic static worker with with .Index() function. Which is not possible with sets.

This is nice, but IMO it's also enough just to point out to what value is conflicting and you can do that with intersect.

TBH I don't want to change the thing "just because" with loosing some of the info. There has to be a good reason for that and I don't see sets as one.

@kron4eg Can we at least include the information what's the conflicting IP address? I find that much more valuable compared to the index.

@kron4eg Can we at least include the information what's the conflicting IP address? I find that much more valuable compared to the index.

sure, and as a bonus optional validation on the hostname (excluding empty case).

/release-note-edit
[ACTION REQUIRED] KubeOne is now validating that IP addresses and hostnames provided for control plane nodes and static worker nodes are different. In other words, it's not possible to use the same machine both as a control plane node and a static worker node. This behavior has never been supported by KubeOne; if you want a control plane node that can schedule any pod, you can provision it as a control plane node and remove the control plane taint (`node-role.kubernetes.io/control-plane:NoSchedule`).


feat: add Head config option

@brillout thanks for the input, it all makes sense, I'll update the PR accordingly :pray:

👍 Let me know if you have questions.

PR updated, it looks also simpler now, thanks!


Code

Dear author：
I'm interested in this paper. Could you share the code with me？I can't find the code in your Github.

Hi,
Thank you for your interests. The code is still under organization and I will release it ASAP.

Hi, 你好 Thank you for your interests. The code is still under organization and I will release it ASAP.感谢您的关注。代码仍在整理中，我将尽快发布。

Dear author, when will the code for this article be uploaded？

Hi,
The code has been released. Hope it can be helpful.


Cannot assign to constant variables using inherited constants/enums

Godot version:
master branch
Commit 2db494267b2924989900e968bdb898d8ab50c8f5
OS/device including version:
Ubuntu 18.04
Issue description:
When a script inherits another script that contains a constant or set of enums, they cannot be assigned to new constants, else it will throw Parse Error: Expected constant expression.
Attempting to assign to the inherited constant also throws Parse Error: cannot assign a new value to a constant, so they're still treated as constants for assignments TO them, but not constant assignments FROM them.
Steps to reproduce:

Write a .gd file that has a const value, or a set of enum values in it.
Extend that original .gd file and declare a new const using one of the base script's constant values
The editor will show a parse error stating that the const assignment expected a constant expression.

Minimal reproduction project:
IssueProject.zip

Also reproduced on 2.1 branch.

CC @vnen

I think there was an older issue about this.

This issue is simular to #19818 and #20008 but im not sure is it a duplicate or not. I leave this message just for linking these issues together.

This is a duplicate of #20008.


Revert all PR for "Data providers perform unnecessary COUNT queries that negatively affect performance".

PRs Revert:

https://github.com/yiisoft/yii2/pull/20223
https://github.com/yiisoft/yii2/pull/20222
https://github.com/yiisoft/yii2/pull/20225
https://github.com/yiisoft/yii2/pull/20007

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
https://github.com/yiisoft/yii2/issues/20213

@terabytesoftw The 4 lines mensioned in the opening posts are exactly the ones that need to be removed, but it looks like this PR is currently incomplete? I don't see all the expected changes in this PR (except for the CHANGELOG entries for 2.0.50 that should not be reverted)

Could you explain to me what else is missing, i reverted all the PRs, compared with the 2.0.49.x branch and i don't see any differences.

@terabytesoftw It's not easy to read from all the separate diffs. Here's the things I noticed manually:

the removed use Yii statements in many files from https://github.com/yiisoft/yii2/pull/20222/files#diff-2d59a53b455d32e67467aa1a4036d737a3564d6f65203e405ee3fc8c251787de, or did you leave these removed on purpose?
one CHANGELOG line can be removed, since <IP_ADDRESS> is not released yet: https://github.com/yiisoft/yii2/blob/master/framework/CHANGELOG.md?plain=1#L10
new CHANGELOG line can be added for <IP_ADDRESS> that details the changes you are making

I agree a final comparison for all relevant files with 2.0.49.x is a good thing (but double check any other relevant changes to those files from other PR's are not reverted).

the removed use Yii statements in many files from https://github.com/yiisoft/yii2/pull/20222/files#diff-2d59a53b455d32e67467aa1a4036d737a3564d6f65203e405ee3fc8c251787de, or did you leave these removed on purpose?

Yes, i removed it, since it is a change that does not affect.

Thanks.


WeatherUnderground vs Ecowitt

Describe the bug
I just got my Froggit DP1500 + moisture sensors and followed the guide to get the data into my iobroker. Nothing happened in listener mode, nothing in scheduler mode. After changing the protocol to Ecowitt (instead of WeatherUnderground as described in the guide), the data started to show up.
To Reproduce
Follow the guide for a Froggit DP1500, iobroker v5.3.8.
Expected behavior
Either data should show up when using WeatherUnderground or the guide needs to mention Ecowitt instead. I'm not fully sure whether this may not be a bug in the DP1500, though.
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Versions:

Adapter version: 0.8.2
JS-Controller version: 4.0.21
Node version: 12.22.5
Operating system: iobroker v5.3.8

Additional context
Since stuff works now for me, no immediate action is required. However, if this is a bug in the guide or the adapter, this should be fixed or mentioned. In any case, thanks for the great work with this adapter!
Edit: Interestingly, the DP1500 seems to send the model string "GW1000A_Pro", which suggests an Ecowitt Gateway. Maybe that's the issue here.

Thanks for the detailed issue report.
Can you set your settings to WU protocol and run the adapater in debug mode? This would allow me to see if the data is actually transmitted or not.
I have seen some differences in the data sent by the different stations.

The last line also shows issue #122..

Yes, that's what I did, presumably. Everything else was the same and I double-checked the other parameters, also when using WU. I guess having a comment in the readme is the easiest way to help here.

Did you set Station-id and Ststion-Key to ANY non blank value?
My Eurochron did not send any data as long as stations-id and station.key have been empty.
see #130


Camera Roll

https://github.com/maplibre/maplibre-native/issues/2941

@louwers can you approve the github workflow? I want to examine the wreckage.

I have sent an invite so the workflows run automatically.


bankruptcy: Migrate from modal view to top-of-page panel.

Switched to top-of-page prompt to make it natural to fit in with other
notifications. As we switch to panel-based prompt, templates for the
bankruptcy modal are removed along with its usage in application's
homepage.
Added a bit of delay before the message is marked as read to make it
easier for the user to read the later message.
Fixes #3347.
GIFs or Screenshots:

I wanted to get this finished, so I did the final cleanups myself:

Fix typos and edited the text
Fixed should_display_bankruptcy_banner never explicitly returning false.
0f238f29fb03fd4660ec378e5c48bc7654c36274 to remove the .enable() infrastructure I was talking about above.

And merged this as 0f238f29fb03fd4660ec378e5c48bc7654c36274.  I'm really excited to see this finished!


Expose regionName setting in Kinesis receiver configuration

Hi,
I'd like to have that setting exposed to be able to set DynamoDB table (for KCL) in the same region as the Kinesis stream.

Can one of the admins verify this patch?

@srowen @kopiczko
This is part of a larger effort to overhaul Kinesis-based streaming slated for 1.4.  Lots of API changes including region, AWS credentials, and application name - as well as upgrading both the AWS Java SDK and the KCL.
Here's the parent jira:  https://issues.apache.org/jira/browse/SPARK-6599.
Here's the related jira that covers the region portion:  https://issues.apache.org/jira/browse/SPARK-6514.
We should definitely try to be backward-compatible even though the API is Experimental.

Thanks guys for your response. @cfregly I've already answered your comment on Jira. I guess we should move our discussion there. I can improve this implementation to meet requirements in SPARK-6514 and rename PR according to guidelines in wiki.

Any updates on this patch? If you are not able to work on it, mind closing it?

This is not needed any more as Spark 1.4.0 has fixed this issue. Mind closing this PR?

Sorry guys, I currently have no time to work on it. @tdas: Would you mind give a reference how this is solved?

Sorry guys, I currently have no time to work on it. @tdas: Would you mind giving a reference how this is solved?

Sure, take a look at the new KinesisUtils API.
https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.streaming.kinesis.KinesisUtils$


all scaladoc links are broken

All links on the page http://www.scalatest.org/scaladoc are broken

That was quick. We are migrating the server. Started at noon eastern time today. Should be back up shortly, but I admit I forgot this was on that server.

...and we're back! Sorry for the downtime, but we needed a more umphy server. The Time To Live is 5 mimutes so if it doesn't show up for you yet, try again in a couple minutes.


Re-enable offline build

The qsc-encoder integration requires an online connection even when only running make. This disables the possibility to develop code when offline.
Is this something easily remedied, @bhess? If not, would you mind I set USE_ENCODING_LIB=OFF by default?
Also, what happens in case of a release? Will all required code be included or will this online dependency be permeated into a ZIP file?

The qsc-encoder integration requires an online connection even when only running make. This disables the possibility to develop code when offline.
Is this something easily remedied, @bhess?

Yes this is easy by adding a UPDATE_DISCONNECTED 1 to the cmake ExternalProject_Add. This way no update will be attempted on make. I'll add it to #131.

Also, what happens in case of a release? Will all required code be included or will this online dependency be permeated into a ZIP file?

How is it done with other dependencies (e.g. liboqs), are they included in the release? I'd follow the the same procedure with the encoder lib.

Fixed by #131


Added Backtracking package with Sudoku, NQueens and Maze problem algo…

As discussed I have added backtracking algorithms in java.

Hi, any changes required in my branch?


Add support for lazy initialization of the editor

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (64166d7) to head (1718b60).
Report is 10 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           36        37    +1
  Lines          894       923   +29
=========================================
+ Hits           894       923   +29

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Terminal size is wrong

I see this from time to time but I don't know how to reproduce... This time I was able to record at least and it shows that somehow the terminal layed out with wrong dimensions, its container is higher than the terminal itself leading to the gap at the bottom
https://github.com/user-attachments/assets/73fcdc90-4646-40ce-931c-5287545da89c

This is odd, the only style that class has AFAICT from the gif and code is height: 100%, nothing to do with positioning:
https://github.com/microsoft/vscode/blob/cdd41b08dba59afbff4a499f522e35dde0d53caa/src/vs/workbench/contrib/terminal/browser/media/terminal.css#L25-L32
The parent should also be position: absolute:
https://github.com/microsoft/vscode/blob/cdd41b08dba59afbff4a499f522e35dde0d53caa/src/vs/base/browser/ui/splitview/splitview.css#L35-L38
Inline chat shifts the position like this, but that should show as inline styles in devtools on .terminal-wrapper:
https://github.com/microsoft/vscode/blob/cdd41b08dba59afbff4a499f522e35dde0d53caa/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.ts#L286-L296
@meganrogge have you ever seen this on mac? I think to action this further we need to get into this state and make sense of what's shifting the element.

Looking at this frame, it seems the height is correct but the position is wrong

I haven't seen this, but will move my tabs to the left to see if that matters


Correct changelog

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests


[Bug]:  use rootless buildkit.

buildkit master image tested successed.

#210 Just update buildkit image tag from master-rootless to master, and stack still needs to use rootless buildkit.

Why use rootless?

Currently, security is not an critical issue, just keep this issue open.

Dagger currently relies on privileged container. See:

https://github.com/dagger/dagger/issues/1588
https://docs.dagger.io/1223/custom-buildkit/#running-a-custom-buildkit-container-in-docker

We can only use rootless buildkit after dagger supports it.


Responsive IFRAME for stage customization

Summary
Make the iframe responsive for the marketplace stage.
Details
Bootstrap-tize the iframe to make it auto-resizing.
Acceptance criteria

[ ] Landing page state is responsible and contained iframe and contents is resizing well

Additional context
N/A

Basically the iframe is responsive and adjusting to the parent container width. You can specify the iframe as follows for customizing the stage:

The specified size of images to be used as a Stage is as before: 980px (width) and  290px (height) and the aspect ratio of the image is specified as: 290/980 px = 29.59%.
This is working fine, and the aspect ratio of the image is respected, however there is the following problem: to the left of the image there is a small padding.
Please note that, as the iframe displays cross-origin content, it is not possible to add a styling for images in order to make it stretch and take the width of its parent container.


Allow teleporting past Y= +/- 20 million

it's such a tiny method - a one liner - and the other methods in this mixin already use @Override for similar methods. I did forget the cubic world check for sure though, I'll add that now.

Actually, I can't check for isCubic(), since the method is static.

This is why I suggested the redirect of all 4 usages of this method :P

Thank you Corgi very cool

Doesn't need isCubic checks. This is for checking absolute possible limits, so it's fine if it's beyond the limits of the actual world you are in.


NIST File Validation Process Updates

Problem Statement
The ReportStream Support inbox received an email from Atilla Acar with Carbon Health. They are going through the Sender Onboarding process and receiving errors when validating a sample file using NIST Validation Tool link provided in our API Guide.
What you need to know
Initial email received:

Hi, I am following this page (https://reportstream.cdc.gov/developer-resources/api/getting-started) for onboarding. In the first step, "Format and validate a fake data file," I need to validate a sample file using the NIST General Validation Tool. However, when I open this link, the default tool scope is set to "NIST Home," and there is no available test profile for this scope. I tried changing the tool scope to "RADx MARS HL7v2" and tested the sample file from ReportStream, but I encountered many errors and warnings. I'm unsure which tool scope I should select or if I’m missing something. Thanks, Atilla

Upon further investigation, it was determined that Carbon Health will not be sending any OTC data. The specific NIST Validation Tool that is linked in our guide is only used when validating files containing OTC data. The correct link was provided, but the sample file the user downloaded from our site is still giving her numerous errors.
As mentioned in the email received 9/24/2024 at 5:08PM EST:

Thank you for the clarification. I retrieved the sample HL7v2 message from this link: https://reportstream.cdc.gov/developer-resources/api/documentation/sample-payloads-and-output#sample-hl7-251-payload-and-output and tried to validate it using the link you provided: https://hl7v2-elr-testing.nist.gov/mu-elr/, but I'm still receiving numerous errors. It seems the sample message was recently updated on 9/9/2024, but it may be invalid, or perhaps the test suite isn't up to date.
Could you please provide me with a valid payload (HL7v2 message) for ReportStream ELR reporting, or could you double-check if this is the correct link for validating the message?

Acceptance Criteria

[ ] API Guide updated to reflect recent process updates and correct URLs for validation.
[ ] Sample file verified to validate successfully.

To Do

[ ] Update ReportStream Onboarding Guide and Developer Resources to reflect current processes and tools.
[ ] Update sample file as needed to validate successfully against necessary NIST validation tools.

Additional Comments
More information can be found in the relevant Slack thread, but can be transposed as needed.

Hey @victor-chaparro, may you please provide guidance on this ticket?

@jillian-hammer This is in relation to the ticket that is on your plate for this sprint. This provides more context to you, and I think your ticket #16106 on the Experience board would meet these Acceptance criteria, so we could close both.
@MikaelahD13 I think this could be combined with #16106, check and see.

The link issue will be fixed with #16289. However, the sample file issue is still an unaddressed issue, so let's leave this ticket open for now.


Fix ref-count when pickling dict subclasses

Fixes #453

Thanks for the contribution! I think this may actually solve some other issues with reference counting being off-by-one, but I'm not sure yet.


Fixed fragment generation for headings with inline code

Fixes issue https://github.com/lycheeverse/lychee/issues/1366, where headings with inline code did not have their fragments generated properly.

Awesome, thanks! 🙏


test(master): add IDAllocator test and fix TestBalanceMetaPartition test

What this PR does / why we need it:

Add IDAllocator unit tests.
Fix TestBalanceMetaPartition unit test.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
#1903
Special notes for your reviewer:
Release note:

My 10th pull request to CubeFS.


FluentScanner adds spaces to step names

Since Humanize is called after string.Format, data is getting spaces added. E.g. (first param is an Expression<Func<,>>)
[StepTitle("Then the element [{0}] has text '{1}'", false)]
Results in
And then the element [page => page . title ] has text ' me '
So you can see spaces randomly in the expression's .ToString() and around the apostrophes, and the expression is lower-cased

I'm experiencing this as well using the StepTitleAttribute on my reusable step methods and the Fluent API.
My expectation is that if that attribute is used to specify a title/format, that is used verbatim.  Otherwise, the system would perform the existing logic to auto-generate the title.


modify .codeclimate.yml

Coverage remained the same at 59.302% when pulling 1b067ba955e6fe089c1dea73c805e7c415d34783 on test into 4f5dd14cdbe947dd1bcf6260ffe1c54ac1cd6e6f on dev.


Close invite user panel before opening Cloud install panel.

Previously, after clicking "Continue" on this screen:

you would end up back on this screen:

Now, clicking "Continue" will take you back to the roster.

This change is

OMG :+1:!


borgbackup: need either pyfuse3 or llfuse

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@alyssais I tried to keep cross compilation working but couldn't test it.

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

7 packages built:

borgbackup
borgmatic
pika-backup
python310Packages.pyfuse3
python39Packages.pyfuse3
s3ql
vorta

Should we backport a3859b7 so pyfuse3 builds on Python 3.10?

A fix is a fix, is a fix, is a fix and always worth backporting.