text:
Warning from recent changes in 0.4

There are tons of warnings like:
WARNING: Base.String is deprecated, use AbstractString instead.
in render at /home/tom/.julia/v0.4/Gadfly/src/guide.jl:76
WARNING: Base.String is deprecated, use AbstractString instead.
in render at /home/tom/.julia/v0.4/Gadfly/src/guide.jl:76
WARNING: Base.String is deprecated, use AbstractString instead.
in render at /home/tom/.julia/v0.4/Gadfly/src/guide.jl:76
WARNING: Base.Nothing is deprecated, use Void instead.
in render at /home/tom/.julia/v0.4/Gadfly/src/guide.jl:76
WARNING: Base.Nothing is deprecated, use Void instead.
in render at /home/tom/.julia/v0.4/Gadfly/src/guide.jl:76
WARNING: Base.Nothing is deprecated, use Void instead.
in render at /home/tom/.julia/v0.4/Gadfly/src/guide.jl:76

I'm happy to make a quick pass through the code and fix... would you like that?  Same goes for Compose.jl I think.

sed is your friend. Here's the script I'm using, feel free to start with it:
fls=$(find . -name "*.jl")
sed -i 's/\bString/AbstractString/g' $fls
sed -i 's/\bFloatingPoint/AbstractFloat/g' $fls
sed -i 's/\bUint/UInt/g' $fls
sed -i 's/\bMathConst/Irrational/g' $fls
sed -iE 's/\bNone/Union\(\)/g' $fls

That script is already outdated though. The latest julia will complain if it's not Union{}.
In Images, this change would cause so many @compats to be added that I'm lobbying we just fork for 0.4 now.

With that script, won't it convert (for example)
doSomeStringConversion(s) into doSomeAbstractStringConversion(s) and
break things?  My method is to use Sublime's ctrl-D to select all words
that match String (and thus wouldn't match doSomeStringConversions).
It's a little more manual, but not too unreasonable.  Although I guess you
can run the script and manually look through the diff for bad changes...
On Fri, Sep 18, 2015 at 1:34 PM, Tim Holy notifications@github.com wrote:

That script is already outdated though. The latest julia will complain if
it's not Union{}.
In Images, this change would cause so many @compats to be added that I'm
lobbying we just fork for 0.4 now.
—
Reply to this email directly or view it on GitHub
https://github.com/dcjones/Gadfly.jl/issues/696#issuecomment-141515038.

The \b out front means word break, so I think it's pretty safe. That said, manual is always safer. kate and emacs may not be as good as Sublime in across-file search & replace.

Ok cool.  I'm happy to try the script and help with whatever packages...
just let me know and I'll take ownership of the conversions.
On Fri, Sep 18, 2015 at 2:07 PM, Tim Holy notifications@github.com wrote:

The \b out front means word break, so I think it's pretty safe. That
said, manual is always safer. kate and emacs may not be as good as Sublime
in across-file search & replace.
—
Reply to this email directly or view it on GitHub
https://github.com/dcjones/Gadfly.jl/issues/696#issuecomment-141522034.

Fixed now.

authors: dcjones tbreloff timholy


text:
Deferred long-running timer task(s) to improve scrolling smoothness. See crbug.com/574343.

官方的demo都有这个警告！不要告诉我这个警告没关系。不管页面有没有setTimeout，第一次进（或者从其他页面跳转过去）有下拉加载更过控件的页面都会报这个警告，结局就是这个页面不刷新的话 这个页面就挂啦，就挂了！

Agree with you! Stupid critical bug!!!

嗯，我也遇到这个问题了

source: gharchive/issue

authors: chaegumi suzsoft wyh2020

repo: dcloudio/mui

license: mit

license_type: permissive

license_source: bigquery


text:
Support absolute login start flow URLs

Currently we only support relative ones, this issue was raised by a DC/OS integration test.
https://jira.mesosphere.com/browse/DCOS-41848

@mesosphere-ci run integration tests

source: gharchive/pull-request

repo: dcos/dcos-cli

license_source: github-api


text:
Slightly improve legibility

This PR marginally improves the legibility of the Setup form's validation.

Reviewer: @kennyt

:ship:

authors: jfurrow kennyt mesosphere-web

repo: dcos/dcos-installer-ui


text:
Fix access denied page styling

This PR simplifies the classes applied in AccessDeniedPage and adds application-wrapper which is meant to wrap everything in DC/OS UI.
💩 Before:

✨ After:

authors: jfurrow nLight

repo: dcos/dcos-ui


text:
DCOS-11960: Add missing leading slash

This PR adds a leading slash to breadcrumbs, because otherwise one can notice a jump in the address bar.

LGTM! 🚢

Good catch! I noticed this but didn't realize the fix was so simple :)

authors: jfurrow nLight orlandohohmeier


text:
DCOS-12147: Allow ternary operator

This PR enables 2 eslint rules to tame ternary:
no-nested-ternary - ensures that we don't nest them
no-unneeded-ternary - ensures that we don't do value ? true : false stuff
multiline-ternary is off to explicitly show that we don't yet have a decision on whether we always break a ternary into multiple lines them or we always use single line. So both are allowed. http://eslint.org/docs/rules/multiline-ternary

💯 ✨ Thanks for enabling the linting rules

authors: nLight orlandohohmeier


text:
Add DNS Tests

High Level Description
This adds tests for the various DNS records generated by Navstar in the various container configurations.
Related Issues

N/A

Checklist for all PR's

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and Review Process
What is the review process and when will my changes land?
All PRs require 2 approvals using github's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@nlsun , could you please update the PR template of this PR.

@orsenthil The tests are timing out, please increase the timeouts.

The error is:

The build Cloud Integration Tests::DCOS OSS CCM Install Test - API #5721 {buildId=570295} has been running for more than 35 minutes. Terminating...

If this is consistent, this test is adding a huge amount of time.
I've bumped it up to 45 minutes, but I am pretty sure that this is not a scalable solution
And would like to measure how long this particular test takes.

@orsenthil @GoelDeepak ready for review.

@orsenthil @GoelDeepak I've made the changes

@aeyakovenko you can review for fun as well

Can I actually keep these as separate commits, I think it makes these particular changes easier to follow

adding @drewkerrigan as well

@nlsun I would say reduce the ones that do not have an impact on final version

Fair enough.

I've made the changes, just waiting on tests now

Why is the new test_service_discovery_mesos_overlay failing in Azure?

@adam-mesos
>               'Application deployment failed, reason: {}'.format(data['app']['lastTaskFailure']['message'])
            )
E           AssertionError: Application deployment failed, reason: Executor terminated

Looks like the task failed to launch

The difference is that I rebased.

It looks like that test has not succeed azure ever TeamCity Link. Other Azure failures were masking it and thus had not really looked at it specifically.

Ok, if it never succeeded, then let's pull that test out of the PR so we don't introduce a broken window.

Hmm if that's the case then i prefer to fix the test, looking now.

Ah, looks like there's some underlying flakiness with Azure and the overlay network.

@orsenthil  Jira tracking the issue here: https://jira.mesosphere.com/browse/CORE-893
In the meantime, we can merge+silence that test.

@nlsun  - I am okay with that. I will like bring the attention of https://jira.mesosphere.com/browse/CORE-893 to @spahl , @adam-mesos and get their buy-in since this new test is always going to fail until the underlying mesos+ubuntu bug is fixed.

Hmm.. even after disabling nscd, azure still fails on  test_service_discovery.test_service_discovery_mesos_overlay

@adam-mesos dug around a bit more... and it turned out nscd was still running. Turns out it's actually called "unscd.service", we disabled "nscd.service". Fixed and pushed, should work now.

Ok, disabling it was not enough as that only goes into effect by the next boot, and the cloud config seems to run after boot, so I've also stopped the service, hopefully it'll work now.

@adam-mesos @orsenthil All green.

This failed in three tests on the train, will remove it from this train till fixed

authors: GoelDeepak adam-mesos amitaekbote nlsun orsenthil

repo: dcos/dcos


text:
Train 185

High Level Description

#1694 - Upgrade script bugs
#1695 - Turn ON pr-status-checks for dcos/dcos repo.
#1700 - gen: validate s3_prefix
#1708 - adminrouter: check for nil in addition to cjson_safe.null

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label ready-for-review

@jgehrcke , and @mhrabovcin  - thank you for merging this.


text:
Bump metronome to 0.4.4

High-level description
What features does this change enable? What bugs does this change fix?
Migration fix https://jira.mesosphere.com/browse/DCOS-39324
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-39324 Updating migration

Related tickets (optional)
Other tickets related to this change:

DCOS-39324 Updating migration

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[x] Test Results: [link to CI job test results for component]
[x] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

This should have gotten a CHANGES.md entry

authors: alenkacz jgehrcke


text:
[1.12] Bump Mesos to nightly 1.7.x c2d2818

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/d0186a2cef8da2ba2af54185eee691b8a94cb305...c2d2818d7c772cd68d6cf41e708ae85a12bbaf0f

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

Closed in lieu of https://github.com/dcos/dcos/pull/3698

authors: mesosphere-teamcity rukletsov


text:
[master] Bump Mesos to nightly master 8700dd8

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/2bf7f5d8dcb359845a663a011a941809ffc2366d...8700dd8d5ece658804d7b7a40863800dcc5c72bc

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review


text:
Lilygo ttgo vga32 tape

Hola David,
Ya está lista la carga de ficheros .tap (versión beta aunque, por ahora, está funcionando de lujo :)
Un saludo ;)

Probado y mergeado. Funciona bien lo que he probado. He añadido un mensaje de ayuda y arreglado el indentado de Tape.cpp.
La funcionalidad tiene muy buena pinta, limpia y breve!

license: MIT


text:
Oplog status metrics v2

A continuation of #16
Moving to using 2 x .find() queries to find the min/max timestamp instead of a single, heavier .aggregate() query due to some issues under high oplog insert load where the aggregate sometimes fails. Also retrying once if unable to get the timestamps. This change resolved the "Failed to get oplog status." errors I noticed under heavy insert/update load.

Hey @dcu, I am happy with these changes now and have successfully tested.
Summary:

Moved to using a function that returns a single timestamp with a boolean for tail/head instead a struct of both tail/head, so that the code could be less duplicated.
Added sleep to retry, which was retrying immediately.
Refactored GetOplogStatus to error on the collection stats and timestamps separately, also made things a bit more readable.
Used camel case on variables.

@timvaillancourt thanks, I merged this and also added you as collaborator

Thanks @dcu!

authors: dcu timvaillancourt


text:
[建议]更换BiliOB观察者链接至BiliOB233，为已宣布毕业的社团和V添加标注

如题：

BiliOB早已发布最终致辞并停止服务，建议将BiliOB观察者方框中的链接更改至由匿名开源社区成员提供的https://www.biliob233.com/。
建议为已宣布毕业的社团和V添加状态标注（比如灰色）等，方便搜索
有几处不知道是没有开发还是发生了错误？

detail页面直播时长标签全部显示为NaN
所有播放量的统计均显示为0

再加一个建议：

在Vtuber页面添加已经过官方授权的字幕组的链接

有道理有道理
直播时长坏了，一直没有修www。我准备直接改成别的站的数据
播放量统计为0，因为播放量的那个api现在不能匿名用啦


text:
🛑 Danbs is down

In db77c2c, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 241 ms

Resolved: Danbs is back up in 2c76ba6 after 13 minutes.

repo: ddanbs/upptime


text:
🛑 Danbs is down

In 9d42e73, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 785 ms

Resolved: Danbs is back up in 7be0707 after 13 minutes.


text:
🛑 Danbs is down

In 80aa7d6, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 2426 ms

Resolved: Danbs is back up in 2cbe161 after 6 minutes.


text:
🛑 Danbs is down

In ed7a7ea, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 1343 ms

Resolved: Danbs is back up in 01cad67 after 22 minutes.


text:
🛑 Danbs is down

In 50109b9, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 130 ms

Resolved: Danbs is back up in 59899e3 after 7 minutes.


text:
🛑 Danbs is down

In fa851e6, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 124 ms

Resolved: Danbs is back up in 22be278.


text:
🛑 Danbs is down

In cf69288, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 157 ms

Resolved: Danbs is back up in f42ab40.


text:
🛑 Danbs is down

In 0e2abb1, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 158 ms

Resolved: Danbs is back up in 1f76758.


text:
🛑 Danbs is down

In eab3e6d, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 154 ms

Resolved: Danbs is back up in ac07a8c.


text:
🛑 Danbs is down

In 2549d00, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 147 ms

Resolved: Danbs is back up in 7051772.


text:
🛑 Danbs is down

In bda7097, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 245 ms

Resolved: Danbs is back up in 2e44c3a.


text:
🛑 Danbs is down

In c96cd4c, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 96 ms

Resolved: Danbs is back up in 5aca4d1.


text:
🛑 Danbs is down

In 054c0a0, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 4337 ms

Resolved: Danbs is back up in a898f76.


text:
test: Use 1password for test secrets [skip buildkite]

The Issue
We'd like to use 1Password to manage secrets
How This PR Solves The Issue
This is a first step, using 1Password for the testing secrets, like TestAcquiaPull, etc.
Manual Testing Instructions
Review the test logs.

[x] The push-pull tests should run successfully in that one
[x] Tests like TestPlatformPull should not run in the other github tests

Release/Deployment Notes
These secrets live in the test-secrets vault
The test-secrets vault allows access to the service account tests whose auth token is in "1Password Service Account Auth Token: Tests"
The technique is documented in https://developer.1password.com/docs/ci-cd/github-actions/

Before pulling this, I removed the related secrets from ddev/ddev Github Actions secrets.

And with a fork PR:
Run 1password/load-secrets-action@v2
Error: Authentication error with environment variables: you must set either 1) OP_SERVICE_ACCOUNT_TOKEN, or 2) both OP_CONNECT_HOST and OP_CONNECT_TOKEN.

https://github.com/ddev/ddev/actions/runs/10848814835/job/30106737701?pr=6501#step:11:32

authors: rfay stasadev

repo: ddev/ddev


text:
Black / White List

Hi everyone,
It could be very useful to have a black / white list to enable or disable pixel-saver for certain applications, where it does not work as expected.
Thanks,
Felipe

There are heuristic right now on what to decorate or not. Window that have extra feature in the title bar (like many gnome apps) or windows that do not have a title bar (like chromium) are not subject to pixel saver features.
Do you have an app in mind that do not behaves properly ?

repo: deadalnix/pixel-saver


text:
Output file name package includes configuration and platform

This project is an excelent tool.
I have a little problem with the output file name when I build a release, in the console appears:
Successfully created package 'packagePath\NameProject.3.0.7706.22372.nupkg'. 5>  DETALLADO: Performing any required New-NuGetPackage script cleanup... 5>  DETALLADO: New-NuGetPackage script finished running at 12:25:54.4864894. Completed in 5,151172 seconds. 5>  'packagePath\NameProject.3.0.7706.22372.nupkg' was renamed to 'packagePath\NameProject.3.0.7706.22372.Release.AnyCPU.nupkg'. 5> packagePath\NameProject.3.0.7706.22372.Release.AnyCPU.nupkg
Do you know how to avoid this renamed?
If the package name include "Release.AnyCPU" then when I try to install it fails.
Thank you very much!

Yup, in your Config.ps1 file you should be able to simply set the following variable to false to prevent it from renaming the nuget package:
$appendConfigurationAndPlatformToNuGetPackageFileName = $false

@deadlydog thank you very much. Very easy if you read the configuration file ;-)
This time I have read "Config.ps1" fully, do you know if is there any way to relocate all .nupkg files in a subdirectory inside release folder?
Thank you very much!

No, it will currently always create the .nupkg file in the project's output directory. I believe you would need to write a separate post-build script to find and move all .nupkg files, or some other custom solution.

@deadlydog thank you very much. I will follow your advise and I will generate a post-build script. Great proyect!!

authors: davidcon deadlydog

repo: deadlydog/New-NuGetPackage


text:
Create 0000-01-02-deadmermaid1312.md

created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request


text:
Add runtime and RSS memory as seen by RabbitMQ

This has not been built/tested yet, I lack the capacity to do it at the moment.
cc @gerhard

So what is the plan there? do you want to wait for @gerhard's confirmation or I can go ahead and manually test it myself? Did you even figure out how to build this?

We did just before the end of the day, and it works.

:+1:

Thanks for all the merges!

authors: deadtrickster essen


text:
Oftentimes the same rows are cloned and appear multiple times.

I don't know exactly how to replicate this, but when I sort things around, some row gets copied and I can see multiple of them.
Any thoughts? or anyone having the same issue?

Hi @joonhocho I've recently seen something like this on newer versions of RN on Android. Is that where you experienced it?

@deanmcpherson I had it on iOS emulator and real device. I guess it's universal.

Should be fixed by f5c2ae0cc55f3d8c332ee3ba5b8d3eb568520739. Please reopen if not.

authors: chetstone deanmcpherson joonhocho


text:
Image for issue (I put it on debatemap/feedback but imma let github host the image)

Yes, sorry about that. It is a bug due to the flimsy code used for initializing a user's data on sign-up. The new version already has this particular bug fixed, but it's not online yet. (should be in a few days)

authors: Venryx acenturyandabit

repo: debate-map/app


text:
DBZ-2256 Using upstream image for Apicurio testing

https://issues.redhat.com/browse/DBZ-2256

@jpechane, could you check out this one? Thanks!

@gunnarmorling Applied, thanks

authors: gunnarmorling jpechane

repo: debezium/debezium


text:
DBZ-6046 Add instructions for upgrading the PG database used by Debezium

DBZ-6046
Replaces PR #4403. I've incorporated review comments that @jpechane submitted for that PR.
This change adds a section to the PostgreSQL connector documentation to provide guidance about how to upgrade PostgreSQL databases that Debezium captures from.
Tested in a local Antora build and a local downstream build.

@roldanbob I think we are good to go. I left just one comment on one sentence.

authors: jpechane roldanbob


text:
python3 lifetime metrics blowing up

Using python3.4 a very simple page insights query explodes:
fb_page_conn.insights.daily(['page_impressions', 'page_fan_adds']).get()

Traceback (most recent call last):
File "bin/run_fb.py", line 52, in
function(fb_mysql_conn,  sid_list, customer_type)
File "bin/run_fb.py", line 22, in insights_api_fetch_all_helper
fb_insights_mysql.get_page_info(fb_mysql_conn, stream_id, customer_class)
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/sumall_research/integration_wrappers/fb_insights_mysql.py", line 147, in get_page_info
print(t.get())
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/graph.py", line 208, in get
results = self.get_rows()
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/graph.py", line 182, in get_rows
results = self.get_raw()
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/graph.py", line 166, in get_raw
metrics, **self.params)
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/utils/api.py", line 58, in all
url = self._resolve_endpoint(segments + [relative_url], params)
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/utils/api.py", line 32, in _resolve_endpoint
for key in options.keys():
RuntimeError: dictionary changed size during iteration
I traced it to the line and the code reads:
    def _resolve_endpoint(self, endpoint, options={}):
    endpoint = self._segmentize_endpoint(endpoint)
    url = "/".join(self.base + endpoint)
    # remove facepy options, retain everything
    # that needs to end up in the querystring
    blacklist = ['path', 'page', 'retry', 'data', 'method', 'relative_url']
    for key in options.keys():
        if key in blacklist:
            del options[key]

Googling the error I found that deleting keys while iterating a dictionary fails:
http://www.quora.com/Working-in-Python-how-can-I-delete-items-while-iterating-over-a-dictionary
After commenting out the blacklist block to:
    def _resolve_endpoint(self, endpoint, options={}):
    endpoint = self._segmentize_endpoint(endpoint)
    url = "/".join(self.base + endpoint)
    # remove facepy options, retain everything
    # that needs to end up in the querystring
    #blacklist = ['path', 'page', 'retry', 'data', 'method', 'relative_url']
    #for key in options.keys():
    #    if key in blacklist:
    #        del options[key]
    if options:
        qs = urllib.urlencode(options)
        return url + '?' + qs
    else:$
        return url

I realized there was another error:
  File "bin/run_fb.py", line 52, in <module>
function(fb_mysql_conn,  sid_list, customer_type)

File "bin/run_fb.py", line 22, in insights_api_fetch_all_helper
fb_insights_mysql.get_page_info(fb_mysql_conn, stream_id, customer_class)
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/sumall_research/integration_wrappers/fb_insights_mysql.py", line 147, in get_page_info
print(t.get())
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/graph.py", line 208, in get
results = self.get_rows()
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/graph.py", line 182, in get_rows
results = self.get_raw()
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/graph.py", line 166, in get_raw
metrics, **self.params)
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/utils/api.py", line 58, in all
url = self._resolve_endpoint(segments + [relative_url], params)
File "/Users/tcarpenter/Development/Eclipse/research-pipeline/rpvenv/lib/python3.4/site-packages/facebookinsights/utils/api.py", line 37, in _resolve_endpoint
qs = urllib.urlencode(options)
AttributeError: 'module' object has no attribute 'urlencode'
After again googling, I found that this code is not python3 compatible:
http://stackoverflow.com/questions/28906859/module-has-no-attribute-urlencode
Changing the code to:
def _resolve_endpoint(self, endpoint, options={}):
    endpoint = self._segmentize_endpoint(endpoint)
    url = "/".join(self.base + endpoint)

    # remove facepy options, retain everything
    # that needs to end up in the querystring
    #blacklist = ['path', 'page', 'retry', 'data', 'method', 'relative_url']
    #for key in options.keys():
    #    if key in blacklist:
    #        del options[key]

    if options:
        qs = urllib.parse.urlencode(options)
        return url + '?' + qs
    else:
        return url

I finally get data:
[Row(end_time=datetime.datetime(2015, 6, 20, 7, 0, tzinfo=tzutc()), page_impressions=1222, page_fan_adds=0), Row(end_time=datetime.datetime(2015, 6, 19, 7, 0, tzinfo=tzutc()), page_impressions=303, page_fan_adds=0), Row(end_time=datetime.datetime(2015, 6, 18, 7, 0, tzinfo=tzutc()), page_impressions=901, page_fan_adds=1)]

I've made a PR for this while performing the key delete properly.

Ah yes, Python 3 generators have bitten me before, good find.

authors: debrouwere tommyjcarpenter

repo: debrouwere/facebook-insights

license: isc


text:
feat: voicechat animation in avatar shape

Add animation to indicate that an avatar shape is talking

After doing some tests it looks like adding this animations has no impact on the performance

repo: decentraland/explorer


text:
Notes for agenda March 22 2023

Notes for meeting on March 22, 2023

Had some weird history issue so redid this PR on #222


text:
Target ES2020

So that we can use noble-secp256k1 which is an order of magnitude smaller than elliptic.

would that be enough to use this in react native without too much setup?

Not stale!

Already using @noble/secp256k1, it is 100% without dependencies so works great in for example Angular. Not sure about React Native though...

React native supports bigints now.

I also suggest to replace:
    "@stablelib/ed25519": "^1.0.2",
    "@stablelib/random": "^1.0.1",
    "@stablelib/sha256": "^1.0.1",
    "@stablelib/x25519": "^1.0.2",
    "bech32": "^2.0.0",
    "js-sha3": "^0.8.0",

with @noble/hashes and @noble/ed25519, both of which passed independent security audit. bech32 can be replaced with @scure/base, which also passed the audit.
The packages support tree shaking, so you can use just whatever is needed e.g. just sha3, not ripemd160.

this was fixed in #284

authors: mirceanis oed paulmillr sondreb

repo: decentralized-identity/did-jwt


text:
[PRESET] Create/Update Compiler Preset Shaun Palmer's Pro Snowboarder

I would like to update a compiler preset on decomp.me.

Preset Name: Shaun Palmer's Pro Snowboarder
Preset ID (when updating): 131
Platform: PS2
Compiler ID: MWCPS2 2.4 (Built 001213) (stays the same)
Compiler Flags: -version -O0,p -opt display -sym on -char unsigned
Libraries (if applicable):  None

Thank you!

dun

authors: Daniel-McCarthy ethteck


text:
automatically adjust the value of maxperblock

If there are 100 blocks remaining in the window, and the buyer is planning to purchase 10 tickets within the current window (or for minpricescale, to the proportional amount of the ideal ticket price), then dcrticketbuyer would buy approximately every 10 blocks. It would recalculate and update the equation after every ticket purchasing so that it adjust as it goes along in order to take account for delays in purchases being mined as well as any change in available spending balance.
Benefits:
-The user wont have to frequently adjust maxperblock by hand to make sure the right number of tickets are purchased. Less manual configuration required.
-Keeps ticket fees more stable since all tickets are not trying to get into the earlier blocks.
-Would help keep the expected estimatestakediff accurate during the window.
-Useful when minpricescale activates. It is better to let others purchase tickets who want to first, rather then raising the price higher then it needs to go if others buy after you. It helps reduce the dilemma of people trying to hold out to see if someone else will raise the price first. A better functioning minpricescale encourges users to keep it enabled. Then the default could also potentialy be set higher to 0.95 instead of 0.7, helping to stabilize the price.

Another issue this will fix is that currently when the buyer doesnt spread the buys throughout the window, there is a lot of competition to get in the early blocks of the window, which drives the fees on those blocks way up, costing the user substantially.

I am not sure there is an easy solution to this, because it relies on knowing what other users in the network will try to do. The current program attempts to be as greedy as possible with ticket purchases, and it's impossible to know how many other users will buy tickets in this window and whether or not it is ideal to wait. The program could try to estimate demand, but that might open the user up to abuse based around that algorithm.

Closing this since there is no clear solution.

The current solution is actually not as greedy as possible. It is just a static number setting, default maxperblock=5, that may be more or less greedy for different users. The current static solution is already abuse causing fee costs to rise higher due to an early flood of purchases. Yes, there is no perfect way to adjust maxperblock since future behavior of other users is not knowable. Short I perfect, I believe we can improve upon this static default.
Having a maxperblock=evenly which spreads purchases evenly through the window offers many of the benefits I mentioned above. As for the abuse of this, it has not been clearly defined here. The scenarios I have looked at are not compelling. This feature would be an improvement. It could also be done as a percentage of the window, so maxperblock=100% to purchase throughout the entire window, or maxperblock=70% to aim to purchase all tickets within the first 70% of the remaining window to be more greedy.

authors: cjepson marcopeereboom raedah

repo: decred/dcrticketbuyer


text:
Can't see my region in functions location list (northamerica-northeast1)

Never mind. Further reading suggests that it should not matter where the functions are located

Great to see you saw that! It won't matter, however I will update the extension to include other regions!


text:
Compile/build for Windows.

Simply add support for use with Windows. Or how we can compile for Windows.
Thank you.

I need to take a look how things are looking with eBPF on Windows, because I think that would be the only feasible way of implementing that feature if we ever decide to implement that.
There is WinPcap (https://github.com/wireshark/winpcap), the library that Wireshark is using, but it's ancient and we would need to wrap it with cgo somewhow - I think that would be a bad idea.

We decided to use libpcap API as the standard to ensure this works across linux (vms, k8s and fargate) and windows. Interested users can always use the community version of npcap which is API compatible with winpcap (basically pcap api). @mukuldeepfence @shyam-dev

@shyam-dev can you please look at this and close it? All we need to do is provide build instructions for windows.

Any build instructions for windows published ?
Thanks

authors: msenturk sandman137 suricatalfon vadorovsky

repo: deepfence/PacketStreamer


text:
feat: always show close button on the active panel in a stack

Based on user feedback, we've made close buttons a little more prominent. Mainly the active tab in a stack now always shows it's close button. This mirrors behaviour in other IDEs like vs code. The intent is this will make it slightly less likely to accidently close tabs.
Summary:

Changes:

show close button on active panels
removed transition so close button appears instantly on hover of non-active panel
added hover background to close button to make it stand-out slightly more
adjusted overall tab size and spacing to be a little tighter
reduced minimum tab size slightly to 10ch to fit more tabs in tab bar

Did you add a bit more shadow to the tabs to give a little more depth to them?

No. Are you basing that on the diff of tests/golden-layout.spec.ts-snapshots/tests-golden-layout-operations-golden-layout-can-drag-tab-to-left-edge-2 images?
Shadows were changed in a previous PR, but I guess playwright decided the shadow change alone was within tolerance to not regenerate. This PR actually changes the tab width, which is enough of a diff.

Yep just looking at the diffs I noticed a more prominent shadow

authors: dsmmcken mattrunyon

repo: deephaven/web-client-ui


text:
🛑 DEEP web page is down

In 34475d7, DEEP web page (https://deep-hybrid-datacloud.eu/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DEEP web page is back up in c56dc88.

repo: deephdc/status


text:
Optimize Spark TransformProcess execution

Currently, (almost) each step of a TransformProcess (when executed on Spark) is a JavaRDD<List<Writable>> to JavaRDD<List<Writable>> operation. However, we can actually chain multiple operations together, such that each RDD->RDD acutally implements multiple operations.
In theory, this should reduce the amount of overhead for Spark, resulting in faster execution.
Additionally, for join operations, repartitioning by the key should reduce the amount of network shuffling that is required.

Operations that are a succession of map or flatMap calls (along with all other operations that do not require a shuffle) are executed in a single task already (see § Execution DAG in url for details).
So what it takes to understand how "chaining" operations could improve performance is to tally the operations that we introduce in a TransformProcess that "break" this native chaining. Such as :

shuffle operations (e.g. reduce)
serialization to disk

Are there pointers to specific such places you can think of, @AlexDBlack  ?

Yes, I'm aware that Spark will apply multiple tasks for each partition.
Not sure exactly what I had in mind when I opened this - but I suspect I was thinking of pushing this down to the level of DataVec.
I'll close this in favor of my recent basecamp issue/proposal that supercedes this.

authors: AlexDBlack huitseeker


text:
100% GPU-memory and 0% GPU-Util when building model

Hello,
I noticed that 100% GPU-memory and 0% GPU-Util usage when alphafold2 was building models. Although I upgraded the graphic card from NVIDIA GeForce GTX 1660 to  NVIDIA GeForce RTX 3060ti, but the model building time were nearly the same.
How to increase the GPU usage in model building stage, please？
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.57.02    Driver Version: 470.57.02    CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:02:00.0 Off |                  N/A |
| 30%   40C    P8    24W / 240W |   7822MiB /  7981MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1563      G   /usr/lib/xorg/Xorg                  9MiB |
|    0   N/A  N/A      2210      G   /usr/bin/gnome-shell                7MiB |
|    0   N/A  N/A      2817      C   python3                          7799MiB |
+-----------------------------------------------------------------------------+

Hi, when you say “model building” do you mean compiling the AlphaFold model? If so, that behaviour is expected — model compilation is performed by the CPU. Only model inference is performed on the GPU. Your upgraded graphics card should improve inference speed.

Hi, when you say “model building” do you mean compiling the AlphaFold model? If so, that behaviour is expected — model compilation is performed by the CPU. Only model inference is performed on the GPU. Your upgraded graphics card should improve inference speed.

Exactly, thank you very much!

authors: abridgland sunnybirds

repo: deepmind/alphafold


text:
Update catch_human_agent.py with updated dm_env_adaptor.py behavior

An update to dm_env_adaptor.py (https://github.com/deepmind/dm_env_rpc/commit/7a06811544a8cb4ce3f460a2afa3bd4ed8e80a24#diff-2c755513ee4f5f32331e60c10ce8ef602679781e87629139b0ba03db85848ab0) changed the default behavior that this script relied upon. This script assumes the reward will be packed into the step_result.observation[_OBSERVATION_REWARD] as it was previously with dm_env_adaptor calls prior to the updated.
I believe that the current behavior requires that if you want the reward to be included into the observation you have to send it as an argument to dm_env_adaptor.py for example:
env, world_name = dm_env_adaptor.create_and_join_world( ..., requested_observations=[_OBSERVATION_BOARD, _OBSERVATION_REWARD])

The other way to get the reward is to call it from step_result.reward itself.
See pull request for one possible fix.

Thanks for reporting this! I don't see your PR, but this has subsequently been fixed this commit. Hopefully this clarifies how the dm_env_adaptor should be used.

authors: AurelianTactics tomwardio


text:
observation stacking?

we're working to reproduce some of the results in the original paper. It is stated that the rainbow agent: "is feedforward and does not use any observation stacking outside of the last action, which is included in the current observation".
However, in the code the rainbow agent appears to stack the last 4 observations by default. Empirically (at least in early iterations) this doesn't seem to affect cumulative return much either way. Could someone clarify if obs stacking was used for the results in the paper?

I think the following indicates that only the latest observation is used.
https://github.com/deepmind/hanabi-learning-environment/blob/253d6fff48dac3d2118cefc308fee156a7de9445/agents/rainbow/configs/hanabi_rainbow.gin#L39

Confirming that the results presented in the paper did not use any observation stacking.

authors: findmyway mwalton nolanbard

repo: deepmind/hanabi-learning-environment


text:
out of memory

When I ran evaluate_sample, I got "CUDA_ERROR_OUT_OF_MEMORY", but the results is correct. My GPU has 8GB memory.
Is it correct that the demo will cost that amount of memory? If so, does that mean I can not train by using this single GPU?

You should be able to train, but will have to adjust the batch size
accordingly. For example batches of 2 videos, each with 64 frames should
fit your gpu during training.
Joao
On Mon, Jul 8, 2019 at 11:57 AM geminikq notifications@github.com wrote:

When I ran evaluate_sample, I got "CUDA_ERROR_OUT_OF_MEMORY", but the
results is correct. My GPU has 8GB memory.
Is it correct that the demo will cost that amount of memory? If so, does
that mean I can not train by using this single GPU?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/kinetics-i3d/issues/70?email_source=notifications&email_token=ADXKU2U2WPALMTN34PLRJ2DP6MMR5A5CNFSM4H62ORRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G52H3PA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADXKU2WEFJGW6XKYJAJ5AYTP6MMR5ANCNFSM4H62ORRA
.

authors: geminikq joaoluiscarreira


text:
checkGradients: accept more general output format.

Previously child elements of output could not be scalar values and
output was expected to be of 'array format' e.g. contain contiguous
integer key values. These constraints are removed.

Please fix the above issue, otherwise looks good.

Done. Also fixed the indentation style.

Thank you!

authors: GeorgOstrovski dm-jrae

repo: deepmind/torch-totem


text:
feat: unify default config variables

Resolves #844

@dilyararimovna, please check that evolution scripts will not break because of this

repo: deepmipt/DeepPavlov


text:
New function signature

Description
Replaces Actor with Pipeline almost everywhere.
Checklist

[x] I have covered the code with tests
[x] I have added comments to my code to help others understand it
[x] I have updated the documentation to reflect the changes
[x] I have performed a self-review of the changes

I thought we decided that the only classes that use pydantic should be Message classes.

Example description

Example descriptions haven't been changed.

The one in the link. It still says Actor: https://github.com/deeppavlov/dialog_flow_framework/blob/feat/new_function_signature/examples/script/core/2_conditions.py#L31.

[ ] Add description about actor

@pseusys Just one sentence: "Actor is responsible for processing user input and determining
the appropriate response based on the current state of the conversation and the script." + give a link to pipeline/1_basics

authors: RLKRo avsakharov pseusys


text:
Added Dynamic Relations to good first issue

Signed-off-by: Mom0aut 30840092+Mom0aut@users.noreply.github.com
ℹ Repository information
The repository has:

[x] At least three issues with the good first issue label.
[ ] At least 10 contributors.
[x] Detailed setup instructions for the project.
[x] CONTRIBUTING.md
[x] Actively maintained.

Hey @Mom0aut ! I tried to contribute to this repo as well but I haven't seen any activity in the last few months. I decided to fork it to keep it alive. Please see https://github.com/lucavallin/gfi and feel free to open a pull request there. At this time I am setting up the hosting and cleaning up the code. If you're up for it, I could use some help to convert the app from Nuxt.js & Python to Next.js & Typescript.

repo: deepsourcelabs/good-first-issue


text:
Not working with Typescript?

Maybe I'm doing something wrong but I can't seem to make this work with Typescript. I've configured everything as per various examples:
preLoaders: [
    {
        test  : /\.ts$/,
        loader: 'baggage?[file].html&[file].css'
    }
],
loaders   : [
    {
        test   : /\.ts$/,
        loaders: [
            'awesome-typescript-loader?module=common'
        ],
    }
],

My file structure seems correct:
- SongsTable.ts
- SongsTable.html

If I go into baggage's code and log baggageFile and stats.isFile() everything is correct – the file path is correct, it exists, the inject variable even holds the correct output. But in my final bundle the baggage inject is nowhere to be found. Am I doing something wrong or?

do you have any example repo so I can try to reprocude it myself?

It works for me with TypeScript (similar configuration to above - baggage is set as a preLoader).
P.S. It's useful to f.e. set in your definitions file like global.d.ts a global var, by f.e. declare var template: string;. This will avoid showing errors in f.e. your component files that the template variable is missing.

https://github.com/deepsweet/baggage-loader/issues/11

authors: Anahkiasen deepsweet jtomaszewski

repo: deepsweet/baggage-loader


text:
fix(CheckboxE): Fix inability to use space to toggle state in Firefox

Related issue
Resolves #3012
Overview
This fixes a bug with CheckboxE where the space key would double-toggle the input.
Link to preview
CheckboxE:
https://5e25c277526d380020b5e418-jyjeyhqiwf.chromatic.com/?path=/docs/checkbox-experimental--default
RadioE (behaviour should be unchanged):
https://5e25c277526d380020b5e418-jyjeyhqiwf.chromatic.com/?path=/docs/radio-experimental--default
Reason
To make sure the component works correctly using the keyboard.
Work carried out

[x] Add Cypress tests
[x] Fix bug
[x] Tidy up tests slightly
[x] Copy fix to RadioE

Demo
Before

After

Developer notes
RadioE shouldn't have the same problem in practice as the space key only checks the input (rather than toggles it like it does for a checkbox), and so an extra click has no effect. However, I've changed the code there as well for consistency.

Thanks @jpveooys , looks good here

repo: defencedigital/mod-uk-design-system


text:
Controller registers new users despite disabled registration

I have deis workflow up and running on GCE installed using helm following these instructions.
http://docs-v2.readthedocs.org/en/latest/installing-workflow/installing-deis-workflow/
I attempted to turn off user registration after registering my initial user by updating the deis-controller ReplicationController to include the environment variable REGISTRATION_MODE=disabled using kubectl edit rc deis-controller --namespace=deis. I then deleted the old pod, to get a new pod up with the environment variable.
Despite this the controller is still accepting new user registration.
$ kubectl get pods --namespace=deis
NAME                          READY     STATUS    RESTARTS   AGE
deis-builder-ghfx7            1/1       Running   2          3h
deis-controller-cfh9p         1/1       Running   0          57m
deis-database-iy25n           1/1       Running   0          3h
deis-minio-lw5st              1/1       Running   0          3h
deis-registry-758wn           1/1       Running   4          3h
deis-router-knqdu             1/1       Running   0          3h
deis-workflow-manager-b6b24   1/1       Running   0          3h

$ kubectl exec deis-controller-cfh9p --namespace=deis env | grep REGISTRATION_MODE
REGISTRATION_MODE=disabled

$ deis register http://deis.my.domain
username: newuser
password:
password (confirm):
email: new@user.com
Registered newuser
Logged in as newuser

$ deis whoami
You are newuser at http://deis.my.domain

According to this that should be the correct way to disable registration, as well as according to this test case. I'll see if I can reproduce this.

I can confirm this as well, following your instructions. kd is just an alias for kubectl --namespace=deis in this demo:
><> kd edit rc deis-controller
replicationcontroller "deis-controller" edited
><> kd delete po deis-controller-r2o1a
pod "deis-controller-r2o1a" deleted
><> kd exec deis-controller-0t6u8 env | grep REGISTRATION
REGISTRATION_MODE=disabled
><> deis register http://deis.$DEIS_TEST_DOMAIN --username test --password test --email test@example.com
Registered test
Logged in as test

Dropping into a python shell:
><> kd exec -it deis-controller-0t6u8 python manage.py shell
Python 3.5.1 (default, Dec  9 2015, 14:41:32)
[GCC 5.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.conf import settings
>>> settings.REGISTRATION_MODE
'enabled'

Apparently this is something that was not tunable for the beta. This has since been fixed in master. @oaojesse can you confirm with the workflow-dev chart?

Seems fixed in the workflow-dev chart. Thanks!

authors: bacongobbler oaojesse

repo: deis/controller


text:
Python errors unreadable in non-english locale

With my system locale (ru_RU.UTF-8) I receive following error:
> $ deiss apps
Couldn't connect to the Deis Controller:
('Connection aborted.', error(104, '\xd0\xa1\xd0\xbe\xd0\xb5\xd0\xb4\xd0\xb8\xd0\xbd\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd1\x80\xd0\xb0\xd0\xb7\xd0\xbe\xd1\x80\xd0\xb2\xd0\xb0\xd0\xbd\xd0\xbe \xd0\xb4\xd1\x80\xd1\x83\xd0\xb3\xd0\xbe\xd0\xb9 \xd1\x81\xd1\x82\xd0\xbe\xd1\x80\xd0\xbe\xd0\xbd\xd0\xbe\xd0\xb9'))
Make sure that the Controller URI is correct and the server is running.

With default locale it's much better:
> $ LANG= deiss apps
Couldn't connect to the Deis Controller:
('Connection aborted.', error(104, 'Connection reset by peer'))
Make sure that the Controller URI is correct and the server is running.

This is probably a python problem, but print for cyrillic letter from python3 console works fine with ru_RU locale.

I couldn't reproduce this using the deis built binary or deis.py locally:
$ LANG=ru_RU.UTF-8 deis apps
Couldn't connect to the Deis Controller:
('Connection aborted.', error(61, 'Connection refused'))
Make sure that the Controller URI is correct and the server is running.
$ LANG= deis apps
Couldn't connect to the Deis Controller:
('Connection aborted.', error(61, 'Connection refused'))
Make sure that the Controller URI is correct and the server is running.

This looks like it should all be client-side, so I'm not sure what else to try. The client does start up with the standard invocation to set the locale from the LANG variable, and your tests indicate it is being honored...

@mboersma I suspect you don't have russian locale configured, that's why it falls back to english for you. I've just set up another non-latin locale (greek):
> $ LANG=el_GR.UTF-8 deiss apps
Couldn't connect to the Deis Controller:
('Connection aborted.', error(111, '\xce\x91\xcf\x80\xcf\x8c\xcf\x81\xcf\x81\xce\xb9\xcf\x88\xce\xb7 \xcf\x83\xcf\x8d\xce\xbd\xce\xb4\xce\xb5\xcf\x83\xce\xb7\xcf\x82'))
Make sure that the Controller URI is correct and the server is running.

Same on Debian 8 with python 2

The python client is deprecated and will be removed with the v1.10.0 release. If you see similar issues with the new go CLI, please open a new issue.

authors: ineu mboersma

repo: deis/deis


text:
fix(controller) : remove domain

deis domains:remove was removing all domains instead of single one

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.

I must add that i dont write python. this was just a little effort to fix a problem and it should close
https://github.com/deis/deis/issues/3475

Jenkins, add to whitelist.

Thanks for fixing this, @babarinde. This looks like a bad oversight :(

I think this doesn't actually close #3475, as this bug removes all certs, not domains.

Code LGTM. Thanks for finding this.

Code LGTM. Thanks @babarinde!

this doesn't fix the root problem, sadly. Nice change though:
diff --git a/controller/api/tests/test_domain.py b/controller/api/tests/test_domain.py
index 3d9ba5f..a42c320 100644
--- a/controller/api/tests/test_domain.py
+++ b/controller/api/tests/test_domain.py
@@ -101,6 +101,11 @@ class DomainTest(TestCase):
         with self.assertRaises(Domain.DoesNotExist):
             Domain.objects.get(domain=test_domains[0])

+    def test_delete_domain_does_not_remove_others(self):
+        """https://github.com/deis/deis/issues/3475"""
+        self.test_delete_domain_does_not_remove_latest()
+        self.assertEqual(Domain.objects.all().count(), 1)
+
     def test_manage_domain_invalid_app(self):
         url = '/v1/apps/{app_id}/domains'.format(app_id="this-app-does-not-exist")
         body = {'domain': 'test-domain.example.com'}

><> venv/bin/python manage.py test api.DomainTest.test_delete_domain_does_not_remove_others
WARNING Cannot synchronize with etcd cluster
Creating test database for alias 'default'...
F
======================================================================
FAIL: test_delete_domain_does_not_remove_others (api.tests.test_domain.DomainTest)
https://github.com/deis/deis/issues/3475
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/bacongobbler/go/src/github.com/deis/deis/controller/api/tests/test_domain.py", line 107, in test_delete_domain_does_not_remove_others
    self.assertEqual(Domain.objects.all().count(), 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 1 test in 0.113s

FAILED (failures=1)
Destroying test database for alias 'default'...

seems to be that .get_object() is returning the entire queryset instead of the domain we want to target

seems to be that .get_object() is returning the entire queryset instead of the domain we want to target

authors: babarinde bacongobbler carmstrong deis-admin mboersma


text:
Add push and pull support using cnab-to-oci

This PR is the very first attempt to make things build. It is a sanity check and a reference for the all dependency versions we need in order to have Duffle and cnab-to-oci compile, and it uses my forks for cnab-to-oci, as well as a CNAB Go package extracted from Duffle in order to avoid circular dependencies.
It also implements naive push and pull commands, to make sure everything works together -- see below.
Obviously, this should not be merged in its current state.
radu:deislabs$ duffle push bundle.json -t docker.io/radumatei/duffle-push-test3
Starting to copy image cnab/helloworld:0.1.1...
Completed image cnab/helloworld:0.1.1 copy
WARN[0007] reference for unknown type: application/vnd.cnab.config.v1+json
Pushed successfully, with digest "sha256:0ad49bc2506ed60a4f8de90703b84fe3c356b1ca0e526fe7200c3d95c4457826"

radu:deislabs$ duffle pull docker.io/radumatei/duffle-push-test3@sha256:0ad49bc2506ed60a4f8de90703b84fe3c356b1ca0e526fe7200c3d95c4457826 -o test3.json
radu:deislabs$ cat test3.json
{
	"name": "duffle-puhs-test",
	"version": "0.1.1",
	"description": "please, no more go deps shenanigans",
	"keywords": [
		"helloworld",
		"cnab",
		"tutorial"
	],
	"maintainers": [
		{
			"name": "Jane Doe",
			"email": "jane.doe@example.com",
			"url": "https://example.com"
		}
	],
	"invocationImages": [
		{
			"imageType": "docker",
			"image": "radumatei/duffle-push-test3@sha256:a59a4e74d9cc89e4e75dfb2cc7ea5c108e4236ba6231b53081a9e2506d1197b6",
			"size": 942,
			"mediaType": "application/vnd.docker.distribution.manifest.v2+json"
		}
	],
	"images": null,
	"parameters": null,
	"credentials": null
}

cc @michelleN, @silvin-lubecki

This PR does not appear to satisfy the requirements of https://github.com/deislabs/duffle/issues/668:

It implements a many-one mapping of repositories; issue 668 requires a one-one mapping.
It moves a bundle and its images around as an atomic unit; issue 668 relocates just the images of a bundle and does not require either the original or relocated bundle to be stored in a repository.

I've added an agenda item to today's CNAB community call to discuss these points.

@glyn — this is just a work in progress and reference to get all dependencies working, and as the description states, it will not be merged in its current state.

@glyn -- I do have one question about this discussion -- and keep in mind that I haven't followed the registry and image relocation discussions closely, so I might be asking something obvious here.
Have we decided that the requirements from #668 about image relocation (which as I recall, is a continuation of the rewrite command) are the also the requirements for the simple bundle push / pull to OCI registries?
At least at first, they look like two separate use cases, both with valid scenarios.

@glyn -- I do have one question about this discussion -- and keep in mind that I haven't followed the registry and image relocation discussions closely, so I might be asking something obvious here.
Have we decided that the requirements from #668 about image relocation (which as I recall, is a continuation of the rewrite command) are the also the requirements for the simple bundle push / pull to OCI registries?
At least at first, they look like two separate use cases, both with valid scenarios.

No, we certainly haven't decided that, but I wanted to point out the potential conflict and have the discussion so we are all "on the same page".

Thanks for pointing this out, @glyn!
To sum up the discussion from the CNAB meeting earlier today, we decided that both approaches are valid, and we want to eventually support relocating the images for duffle push, perhaps under a flag.
As we are working on the two implementations and we have a clear view of how they work, we will decide if / how we want to integrate relocating images either directly in Duffle, or as part of the cnab-to-oci library used in Duffle for registry support.

@silvin-lubecki - absolutely, we shouldn't wait on that PR.
Thanks!

This PR introduces an initial implementation for working with OCI registries, provided by github.com/docker/cnab-to-oci.

duffle push - if you logged in to an OCI registry using the Docker CLI, this command will reuse the same credentials, so you should be able to push.

$ duffle push test.json --target cnabregistry.azurecr.io/duffle-push-target:latest --bundle-is-file
Starting to copy image ubuntu:latest...
Completed image ubuntu:latest copy
WARN[0002] reference for unknown type: application/vnd.cnab.config.v1+json
Pushed successfully, with digest "sha256:8a6482e6e5778354cbd95cac49ce3cb5fd78ded0df744c889ca3b29cb131f310"

As the current implementation uses cnab-to-oci, you can read this WIP document describing the rationale behind cnab-to-oci.

Note that you can push a bundle from the bundle store, or a bundle from a file, by passing the --bundle-is-file flag.

duffle pull - again, this will reuse the Docker CLI credentials

$ rm -rf ~/.duffle/
$ duffle init
==> The following new directories will be created:
/home/radu/.duffle
/home/radu/.duffle/bundles
/home/radu/.duffle/logs
/home/radu/.duffle/plugins
/home/radu/.duffle/claims
/home/radu/.duffle/credentials
==> The following new files will be created:
/home/radu/.duffle/repositories.json
radu:duffle$ duffle pull cnabregistry.azurecr.io/duffle-push-target:latest
radu:duffle$ duffle bundle list
NAME                    VERSION DIGEST
helloworld-test-push    0.1.2   8d100741027eac95a658d354d73bf090f080a318

Note that you can either pull a tag, for example cnabregistry.azurecr.io/duffle-push-target:latest, or directly pull the SHA256 - for example cnabregistry.azurecr.io/duffle-push-target@sha256:8a6482e6e5778354cbd95cac49ce3cb5fd78ded0df744c889ca3b29cb131f310

This has been tested using Azure Container Registries and Docker Hub.
Feedback needed:

how the repository is passed for push(the --target flag) - this PR does not follow the same tag -> push strategy the Docker CLI follows - meaning the name of the bundle (as defined by the spec) does not dictate the repository that will be used to push to (as in - you need to first tag an image and include the repository name with the Docker CLI before you can push). In its current form, the bundle will be pushed to whatever --target points to, provided you have push access.

what should Duffle do if the images referenced in the bundle aren't already pushed and available to copy? (@glyn might have some insight here, as he just implemented the duffle relocate command`)

Thanks!

what should Duffle do if the images referenced in the bundle aren't already pushed and available to copy? (@glyn might have some insight here, as he just implemented the duffle relocate command`)

I'm not sure what the intended spec of duffle push is or should be. This needs to be made clear, preferably in the help text. Specifically:

Does this command operate on just the bundle itself or on referenced images too?
If it operates on the reference images, what assumptions does it make about their location and what does it do to them?

(duffle relocate only deals with images, but it will read them from their current repositories and write them to their relocated repositories.)

Obviously, this should not be merged in its current state.

Nit: have you heard of draft pull requests? :-)

@glyn Radu had in fact made this a draft pull request and changed it as ready for review in the past few days.

@glyn Radu had in fact made this a draft pull request and changed it as ready for review in the past few days.

Ah, I missed that. Thanks.

@michelleN - yes, the target flag is required. Adding this as the second argument would look like:
duffle push <bundle> <repository>:<optional-tag>

That indeed seems a better, updating.
Thanks for the feedback.

@michelleN - updated the UX with your suggestions, and improved the help messages for both commands.
That error message seems to be tied to some signed bundles (from before pulling out the signing part), and also rebased this, meaning there are no more references to those in this branch, so everything should be fixed now.

Rebased off #827 - haven't addressed all comments yet.

authors: glyn michelleN radu-matei

repo: deislabs/duffle


text:
Deduplicate bootstrapping instructions

Right now we have a lot of copy/paste going on for bootstrapping in each provider. Ideally we could rework things to make it so that we can just point to one set of instructions. To be clear, this is just an enhancement to the docs to make things a little easier to maintain

https://github.com/deislabs/krustlet/blob/master/docs/howto/bootstrapping.md

repo: deislabs/krustlet


text:
Define tasks and create a bell board

Potrebno je definisati zadatke koji ce se rjesavati u ovom projektu, kao i definisati vrijeme za koje je predvidjeno njegovo rjesavanje
Potrebno je i definisati tabelu na kojoj cemo pratiti progres desavanja u izradi projekta.

US ispunjen, kreirana je Kanban tabela, dodati su issues za prvi sprint kao i deskripcija sta ce se raditi.
Posto je ovaj US dokument i samim tim ne nosi kod, US se zatvara nad main granom.


text:
Expose mainViewController

Why is this property hidden? It might be sometimes useful to have a reference to this view controller when transitioning.
Here is my scenario
VC1 calls app://VC2
UIApplication calls router
router matches the path
match block grabs the context object on the mainViewController
match block sets the context object on VC2
match block calls slideMenuController to changeMainViewController to VC2

Unless there is a pressing reason for this being hidden can we remove its private modifier?

It is now supported.
Please use version1.2.3.

authors: dekatotoro ollieatkinson

repo: dekatotoro/SlideMenuControllerSwift


text:
Gradle Compile

Please can you show gradle compile code on home screen.

Thanks for your feedback!
Are you referring to dependencies as handled by Gradle?
Example: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Remote-artifacts
This won't be available for now. Sorry! But using the JAR is just as easy :)

authors: Zapnologica mwaclawek

repo: delight-im/Android-SimpleLocation


text:
Jaeger collect the latency different from wrk2.

In social-network, the latency of  requests(read-user-timeline)  collected by wrk is inconsistent with the delay collected by Jaeger.
n the data collected by jarger, part of the trace will reach the s level, and the delay information of wrk (0.txt) is the delay of ms level.
Do you encounter such a situation?

We did observe the higher latency in wrk2 because of the client-side queueing. The latency of Jaeger could also be higher than that reported by wrk2 because we used async message queue in social-network. The compose-post request may return before it finishes writing to the home-timelines of all followers and tagged users.

repo: delimitrou/DeathStarBench


text:
[bug-1347]: Prompt for storage system password when creating storage

Description
Add storage system password prompt when creating storage if password flag is not provided.
karavictl storage create --type powerflex --endpoint https://powerflex.com --system-id 0123456789 --user admin --admin-token admin.yaml --insecure --addr csm-authorization.com --array-insecure
Enter password for https://admin@powerflex.com:

GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/1347

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[ ] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Backward compatibility is not broken

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration
New unit test. Manual testing with real storage system.

e2e pass

repo: dell/karavi-authorization


text:
Support adding roles for PowerMax

Description
This PR adds support for creating a role for a PowerMax system.
This also fixes an issue if you create PowerMax storage and then Powerflex storage, the PowerMax systems would be listed under PowerFlex storage.
To validate a PowerMax role, we verify that the system ID exists as an authorized storage system and verify that the specified Storage Resrouce Pool exists on the PowerMax.
The cobra commands have been refactored in favor of contstructors rather than global variables. This fixes an issue in test runs where we want to update/set various flags on the commands.
Issues
List the issues impacted by this PR:

Issue ID

#83

Checklist:

[x] I have performed a self-review of my own changes.

# make test
docker run --rm -it -v /git/karavi-authorization/policies:/policies/ openpolicyagent/opa test -v /policies/
data.karavi.authz.url.test_get_api_login_allowed: PASS (1.792405ms)
data.karavi.authz.url.test_post_proxy_refresh_token_allowed: PASS (711.846µs)
data.karavi.authz.url.test_get_api_version_allowed: PASS (1.538507ms)
data.karavi.authz.url.test_get_system_instances_allowed: PASS (1.241773ms)
data.karavi.authz.url.test_get_storagpool_instances_allowed: PASS (944.188µs)
data.karavi.authz.url.test_post_volume_instances_allowed: PASS (880.791µs)
data.karavi.authz.url.test_get_volume_instance_allowed: PASS (829.917µs)
data.karavi.authz.url.test_post_volume_instances_queryIdByKey_allowed: PASS (1.043505ms)
data.karavi.authz.url.test_get_system_sdc_allowed: PASS (946.403µs)
data.karavi.authz.url.test_post_volume_add_sdc_allowed: PASS (762.907µs)
data.karavi.authz.url.test_post_volume_remove_sdc_allowed: PASS (5.866155ms)
data.karavi.authz.url.test_post_volume_remove_allowed: PASS (628.847µs)
data.karavi.volumes.create.test_small_request_allowed: PASS (2.035073ms)
data.karavi.volumes.create.test_large_request_not_allowed: PASS (375.062µs)
--------------------------------------------------------------------------------
PASS: 14/14
go test -count=1 -cover -race -timeout 30s -short ./...
?       karavi-authorization/cmd/karavictl      [no test files]
ok      karavi-authorization/cmd/karavictl/cmd  5.007s  coverage: 60.2% of statements
ok      karavi-authorization/cmd/proxy-server   0.068s  coverage: 0.7% of statements
?       karavi-authorization/cmd/sidecar-proxy  [no test files]
?       karavi-authorization/cmd/tenant-service [no test files]
ok      karavi-authorization/deploy     0.096s  coverage: 84.6% of statements
?       karavi-authorization/internal/decision  [no test files]
ok      karavi-authorization/internal/powerflex 9.083s  coverage: 88.9% of statements
ok      karavi-authorization/internal/proxy     6.579s  coverage: 68.0% of statements
ok      karavi-authorization/internal/quota     0.405s  coverage: 92.6% of statements
ok      karavi-authorization/internal/roles     0.037s  coverage: 96.0% of statements
ok      karavi-authorization/internal/tenantsvc 1.814s  coverage: 82.9% of statements
ok      karavi-authorization/internal/token     0.029s  coverage: 90.0% of statements
ok      karavi-authorization/internal/web       0.053s  coverage: 24.1% of statements
?       karavi-authorization/pb [no test files]

@atye: Thank you for submitting your pull request!
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.

We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at karavi@dell.com.

LGTM. Please look in to failed tests.

Tests have been fixed via refactoring of the cobra commands with constructors rather than global variables.

Changes look good. There are some failing checks that just need to be addressed, e.g. gosec.

Fixed the gosec issue. There is also a security issue in jwt-go which is fixed in https://github.com/dgrijalva/jwt-go/releases/tag/v4.0.0-preview1. I'll update the package.

authors: atye ioeicicdsvc


text:
TEST - NOT FOR REVIEW

Description
A few sentences describing the overall goals of the pull request's commits.
Issues
List the issues impacted by this PR:

Issue ID

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have run 'make check' to ensure my code does not have any formatting, vetting, linting, or security issues
[ ] I have run 'make test' to ensure new and existing unit tests pass locally with my changes
[ ] I have not allowed coverage numbers to degrade
[ ] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

e2e pass

repo: dell/karavi-metrics-powerflex


text:
[BUG] Undocumented SQL show databases discrepancy

Databricks
%sql show databases

local Delta
spark.sql("show databases").collect()

[Row(namespace='default')]

they should both be namespace, or they should both be databaseName. but as it exists right now, unit tests are failing due to this discrepancy and blocking merge requests for us.

This seems to be a problem specific to the Databricks environment which may have differences in the metastore setup than default Apache Spark. So it would be better to contact Databricks support.

luckily the people working on Delta Tables are databricks employees, and there is a large umbrella initiative already to both remove databricks-specific code from Delta as well as bring the open source Delta repo to parity with what DataBricks offers. hoping to add this to that initiative

@justinTM show databases is not in Delta code. It's better to contact Databricks support in this case as there is nothing to be changed in the open source Delta repo.

Closing this as this is not a Delta Lake issue

authors: justinTM tdas zsxwing

repo: delta-io/delta


text:
Table schema is not written to hive metastore

Description
When writing a delta table using pyspark, the table schema is not written into the hive metastore. When querying the table using spark thrift server via jdbc , I can't see the columns.

Steps
The table is created using
df.write.format("delta").saveAsTable("mytable").
Results
The information in the hive metastore is as followed:
SELECT * FROM TABLE_PARAMS

TBL_ID
PARAM_KEY
PARAM_VALUE

5
spark.sql.create.version
3.1.2

5
numFiles
6

5
spark.sql.sources.provider
delta

5
transient_lastDdlTime
1623398918

5
totalSize
2688705839

5
spark.sql.partitionProvider
catalog

5
spark.sql.sources.schema.numParts
1

5
spark.sql.sources.schema.part.0
"{""type"":""struct"",""fields"":[]}"

with the following warning in the spark session:
21/06/11 07:08:37 WARN HiveExternalCatalog: Couldn't find corresponding Hive SerDe for data source provider delta. Persisting data source table default.myname into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive.
Environments
Tested configurations
`Pyspark: 3.1.2
Hadoop: 3.2.0
Delta: 1.0.0
HiveMetastore: 3.0.0
Pyspark: 3.1.2
Hadoop: 3.2.0
Delta: 1.0.0
HiveMetastore: 2.7.3
Pyspark: 3.1.1
Hadoop: 3.2.0
Delta: 1.0.0
HiveMetastore: 2.7.3)`
Settings
conf.set("spark.hadoop.hive.metastore.client.connect.retry.delay", "5") conf.set("spark.hadoop.hive.metastore.client.socket.timeout", "1800") conf.set("spark.hadoop.hive.metastore.uris", "thrift://metastore.hive-metastore.svc.cluster.local:9083") conf.set("spark.hadoop.hive.input.format", "io.delta.hive.HiveInputFormat") conf.set("spark.hadoop.hive.tez.input.format", "io.delta.hive.HiveInputFormat")

It is because currently thriftserver's SparkGetColumnsOperation uses old SessionCatalog object, which relies on hive metastore. Instead, TableCatalog should be used, which will delegate to correct catalog manager in case of different table providers (delta provider in your case).
https://github.com/apache/spark/blob/e958833c727442fc9efa4fc92f93db16cd5c8476/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkGetColumnsOperation.scala#L57

As a workaround, I ceated a view on the delta table
spark.sql("CREATE OR REPLACE VIEW mytable_view AS SELECT * FROM mytable;")
This allows me to view the columns, and also query the data from PowerBi.

The view creation worked for me using DBeaver, though I have a problem with PowerBI reading the views. Can you tell me the driver and settings you are using to connect PowerBI?

I use the following settings:
Server myserver:10000
Protocol: Standard
Data connection mode: DirectQuery
Since I didn't configure any auth for the STS, yet, I just put in some arbitrary user/pw combination.

It is because currently thriftserver's SparkGetColumnsOperation uses old SessionCatalog object, which relies on hive metastore. Instead, TableCatalog should be used, which will delegate to correct catalog in case of different table providers (delta provider in your case).
https://github.com/apache/spark/blob/e958833c727442fc9efa4fc92f93db16cd5c8476/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkGetColumnsOperation.scala#L57

is there a way to fix it through the way we start the thrift server?

I don't think so. We've changed the SparkGetColumnsOperation.scala, using
it internally.
On Mon, Jun 21, 2021 at 2:43 PM Brian @.***> wrote:

It is because currently thriftserver's SparkGetColumnsOperation uses old
SessionCatalog object, which relies on hive metastore. Instead,
TableCatalog should be used, which will delegate to correct catalog in case
of different table providers (delta provider in your case).
https://github.com/apache/spark/blob/e958833c727442fc9efa4fc92f93db16cd5c8476/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkGetColumnsOperation.scala#L57
is there a way to fix it through the way we start the thrift server?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/delta-io/delta/issues/695#issuecomment-865002159, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTLW2RP4XEDQFWKZNJM5F3TT4XXDANCNFSM46QVA6XQ
.

Since this is a Spark issue, it would be great to open a new ticket to Spark community instead. You can raise a ticket in https://issues.apache.org/jira/projects/SPARK

I've created Spark issue here https://issues.apache.org/jira/browse/SPARK-37648
Meanwhile, @azsefi could you please share how you fixed it on your side? I probably could use it until some fix is done

Thanks, @hanna-liashchuk - appreciate you creating the issue.  And yes, @azsefi - if you could share what you did that would be super helpful.  thanks!

Hi @bn2302, we have a workaround for this issue in Apache Kyuubi (Incubating), https://github.com/apache/incubator-kyuubi/pull/1476
Kyuubi can be considered as a more powerful Spark Thrift Server, it's worth a try.

Closing this issue as it is a Spark bug; please re-open if this is incorrect.  Thanks!

Hi , I looked at this issue in spark it is still open, anyone aware apart from creating view over table is there any other way we can directly get delta table schema in hive,

Isn't fixed by #2409?
Related #1478

authors: Data-drone EDPInMiami azsefi bn2302 dennyglee felipepessoto hanna-liashchuk nitindatta pan3793 zsxwing


text:
Missing Component Hash not required for NTIA

The NTIA recommends, but does not require hashes of packages, and getting hashes for development tools installed on a system can be extremely challenging.

Closed by https://github.com/demaconsulting/SpdxModel/pull/11

repo: demaconsulting/SpdxModel


text:
Latest cocoa pods doesn't support link_with

Probably It should be
target 'Examples' do
pod 'Eureka'
pod 'SwiftValidator', '3.0.3'
end
project 'Examples.xcodeproj'

Hello @abelondev, thanks for the comment, the latest release is the 0.39.0 as the 1.0 is still in beta. As soon as they release version 1.0 I will change the Podfile.
Thanks again,
Dem

I just can’t build without changing. So this API is deprecated (recommended not to use for now)

On Mar 13, 2016, at 4:09 PM, Demetrio Filocamo notifications@github.com wrote:
Hello @abelondev https://github.com/abelondev, thanks for the comment, the latest release is the 0.39.0 as the 1.0 is still in beta. As soon as they release version 1.0 I will change the Podfile.
Thanks again,
Dem
—
Reply to this email directly or view it on GitHub https://github.com/demetrio812/EurekaSwiftValidatorComponents/issues/1#issuecomment-196079315.

What cocoapods version are you using? You are probably using the 1.0.beta5 that is a pre-release. With the latest release (0.39.0) that Podfile will not run. As I said, I'm waiting for the 1.0 to be released in order to change the Podfile, in the meantime you can change it manually if you want to test the Examples project (that Podfile is only needed for the Examples)
Thanks,
Dem

Cocoapods 1.0 is ready ;)

Just pushed the new Podfile

authors: abelondev demetrio812 skrosoft


text:
Update statement do not accept Option

With select command columns which can be nulled are returned as Option but when doing update it is not possible to set those as Option types.

By default all parameters are mandatory by design.
Set AllParametersOptional in the type provider input to alter this behavior.
https://github.com/demetrixbio/FSharp.Data.Npgsql#optional-input-parameters

Also consider to use ResultType.DataTable to send updates to a database.
https://github.com/demetrixbio/FSharp.Data.Npgsql#data-modifications

Thanks for pointing to those links. I have following situation
match dateValue with
| Some date -> // Set column to date
| None -> // Set column to null

How do you recommend to do this?

I am getting error
The type provider 'FSharp.Data.Npgsql.NpgsqlProviders' reported an error: Unable to cast object of type 'System.Int32' to type 'System.String'

in my command
        use con = openConnection()
        use trn = con.BeginTransaction()
        use selectCmd =
            new NpgsqlCommand<"
                    select
                        description
                        from jobs
                    where id = @JobId", ResultType.DataTable>(con, trn)

Id in my table is of type uuid.

The issue I found with using DataTable is that
use cmd = new NpgsqlCommand<"
            UPDATE public.customer
            SET activebool = false
            WHERE email = @email
                AND activebool
    ", dvdRental, SingleRow = true>(dvdRental)

I can't assign connection string read from ConfigurationBuilder
let dvdRental = lazy ConfigurationBuilder().AddJsonFile(config).Build().GetConnectionString(connectionStringName)

Use dvdRental.Value

I tried that and I get error This is not a valid constant expression or custom attribute value

Sorry about confusion.
Design time connection string has to be literal.
Also it can be read from external configuration
https://github.com/demetrixbio/FSharp.Data.Npgsql#configuration


text:
[test] Integration Tests for TCP open_pipe()

Description

This PR closes https://github.com/demikernel/demikernel/issues/616

Summary of Changes

Added test!() helper macro that lunches a test a prints on the standard output if that test has passed or failed.
Added update_error!() helper macro that updates an error variable with an error without overwriting previous error.
Changed integration tests for open_pipe() to use the test!() and update_error!() helper macros.
Added the following integration tests for create_pipe():

Attempt to open a pipe with an invalid name.
Attempt to open a pipe that does not exist.
Attempt to open open the same pipe multiple times.

A few small comments. You might want to consider squashing the last 3 commits into a single on that just adds new pipe tests.

I actually did it intentionally, because I like to have three different commits, each of which introducing a new test that is buildable and runnable. Are you OK with me keeping it? That helps bisecting.

A few small comments. You might want to consider squashing the last 3 commits into a single on that just adds new pipe tests.

I actually did it intentionally, because I like to have three different commits, each of which introducing a new test that is buildable and runnable. This helps bisecting. Are you OK with me keeping it?

Yup, that's fine.

authors: iyzhang ppenna

repo: demikernel/demikernel


text:
Armorblox

Status
Ready/In Progress/In Hold (Reason for hold)
Related Content Pull Request
Related PR: link to the PR at demisto/content
Related Issues
Related: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.

Hi Team,
Could you please let us know the ETA for this PR.
Thanks and Regards,
Samhitha.

@SamhithaTatipalli As the template suggests we need a matching PR in the content repo, do you have such? if so please comment on it with this PR link, if not, we will review this PR when you'll have a matching PR in the content repo.

@ShahafBenYakir, Yes, we have a PR to link with it but it is basically in review internally- Once it is passed internally - I would link it post raising a PR to demisto/content.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: SamhithaTatipalli:x: ankita-sharma2019You have signed the CLA already but the status is still pending? Let us recheck it.

@ShahafBenYakir, Please find the matching PR in the content repo: https://github.com/armorblox/content/pull/61.

@SamhithaTatipalli We review docker PRs together with their corresponding content PRs so the same reviewer will review both. In your case, I can see you made some changes on your internal repo but you have not yet created a pull request to the demisto/content repo. Once you'll have that content PR open, tag this PR in the content PR.

@ShahafBenYakir, yes we have raised a PR, but the PR Unit testing is failing since image is not present in the docker hub. We are using that image in our content repo. Unless and until if this PR gets approved, unit test will always fail. Please find the link for reference:https://github.com/demisto/content/pull/20455.
Could you please assist me on this?

I opened a new PR with fixes of the pipfile.lock and solved conflicts 8431.
Closing the PR.

authors: CLAassistant SamhithaTatipalli ShacharKidor ShahafBenYakir

repo: demisto/dockerfiles


text:
🛑 StatPing is down

In 14f0d0b, StatPing (https://stat.eka.monster) was down:

HTTP code: 0
Response time: 0 ms

Resolved: StatPing is back up in 236db37.

repo: demonsteru/up


text:
Ship dendron features with a vim plugin

Please select if your request is either something new or an enhancement

[ ] Enhancement of an existing Feature.
[x] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[x] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[x] Lookup - Dendron's Lookup Command
[x] Views - Dendron Preview, Tree View, Side Panels in the UI
[x] Schema - Dendron Schemas
[x] Pod - Data import from / export to Dendron
[x] Publish - External Site Publish
[x] Markdown - Markdown features, such as syntax support and features

Describe the solution you'd like
I'm a neovim and vscode user and I really like dendron, but I didn't find anything close to it on vim, I mean markdown based, back link support, etc.... It would be great to have dendron's features ship within a vim plugin.
Describe alternatives you've considered
vim.notes
vimwiki
vim.zettelkasten

That would actually be terrific, @jakara, and I would love to see such a plugin.
@namjul actually started working on one here: dendron.nvim
As for other alternatives, here are some neovim options:

jakewvincent/mkdnflow.nvim
renerocksai/telekasten.nvim
mickael-menu/zk with nvim integration (mickael-menu/zk-nvim)

authors: aleksey-rowan jakara

repo: dendronhq/dendron


text:
HW 05.10.2016 ACTIVITY task

https://github.com/alexTraining2016/HWflagslanuchmode

update


text:
Unable to list campaigns

I am trying to make the most basic request of listing all campaigns of the account (The same credentials with Postman generated Python code correctly return the advertising campaigns of the account):
import logging
from ad_api.api import sponsored_products

my_credentials = dict(
    refresh_token="Atzr|Iw______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________Og",
    client_id="amzn1.application-oa2-client.2______________________________0",
    client_secret="amzn1.oa2-cs.v1.cd____________________________________________________________6d",
    profile_id="2______________6",
)

logging.basicConfig(level=logging.DEBUG, format="%(asctime)s:%(levelname)s:%(message)s")

sponsored_products.Campaigns(credentials=my_credentials).list_campaigns()

and I get the following response:
2023-09-21 20:09:13,667:WARNING:Call to deprecated function list_campaigns endpoint: /v2/sp/campaigns method: GET
---------------------------------------------------------------------------
AdvertisingApiTemporarilyUnavailableExceptionTraceback (most recent call last)
/Users/muw/Desktop/code/git/amazon_ads_api/test_adsapi.ipynb Cell 1 line 1
      4 my_credentials = dict(
      5     refresh_token="Atzr|Iw______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________Og",
      6     client_id="amzn1.application-oa2-client.2______________________________0",
      7     client_secret="amzn1.oa2-cs.v1.cd____________________________________________________________6d",
      8     profile_id="2______________6",
      9 )
     11 logging.basicConfig(level=logging.DEBUG, format="%(asctime)s:%(levelname)s:%(message)s")
---> 13 sponsored_products.Campaigns(credentials=my_credentials).list_campaigns()

File /opt/homebrew/lib/python3.11/site-packages/ad_api/base/helpers.py:21, in sp_endpoint.<locals>.decorator.<locals>.wrapper(*args, **kwargs)
     19 def wrapper(*args, **kwargs):
     20     kwargs.update({"path": path, "method": method})
---> 21     return function(*args, **kwargs)

File /opt/homebrew/lib/python3.11/site-packages/ad_api/base/utils.py:20, in Utils.deprecated.<locals>.new_func(*args, **kwargs)
     17 @functools.wraps(func)
     18 def new_func(*args, **kwargs):
     19     logging.warning("Call to deprecated function {} endpoint: {} method: {}".format(func.__name__, kwargs.get('path'), kwargs.get('method')))
---> 20     return func(*args, **kwargs)

File /opt/homebrew/lib/python3.11/site-packages/ad_api/api/sp/campaigns.py:341, in Campaigns.list_campaigns(self, **kwargs)
    316 @sp_endpoint('/v2/sp/campaigns', method='GET')
...
    314     js = res.content
--> 317 raise exception(status_code, js, headers)
    318 exit(res.status_code)

Running the code in the terminal leads to the following response:
➜  amazon_ads_api python3 test.py
2023-09-21 22:19:17,737:WARNING:Call to deprecated function list_campaigns endpoint: /v2/sp/campaigns method: GET
Traceback (most recent call last):
  File "/Users/muw/Desktop/code/git/amazon_ads_api/test.py", line 10, in <module>
    sponsored_products.Campaigns(credentials=my_credentials).list_campaigns()
  File "/opt/homebrew/lib/python3.11/site-packages/ad_api/base/helpers.py", line 21, in wrapper
    return function(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/ad_api/base/utils.py", line 20, in new_func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/ad_api/api/sp/campaigns.py", line 341, in list_campaigns
    return self._request(kwargs.pop('path'), params=kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/ad_api/base/client.py", line 284, in _request
    return self._check_response(res)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/ad_api/base/client.py", line 323, in _check_response
    raise exception(status_code, js, headers)
ad_api.base.exceptions.AdvertisingApiTemporarilyUnavailableException: (503, b'Http/1.1 Service Unavailable ', {'Server': 'Server', 'Date': 'Thu, 21 Sep 2023 20:19:18 GMT', 'Content-Length': '62', 'Connection': 'keep-alive', 'x-amz-rid': 'A7DYTJW6B5NPYC11W5P6', 'Cache-Control': 'no-cache,no-store', 'Pragma': 'no-cache', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'Strict-Transport-Security': 'max-age=47474747; includeSubDomains; preload'})

The following recent question on stackoverflow seems to be referring to the same issue: https://stackoverflow.com/questions/77038320/amazon-ads-api-with-python-amazon-ad-api-packeg
Desktop

OS: macOS 13.2.1
Python 3.11.5
python-amazon-ad-api 0.5.0
Jupyter Lab in Visual Studio Code Version: 1.82.2
iTerm2 Build 3.4.20

Please advise.

@muw78  Sponsors Product V2 endpoint is deprecated. Please use V3 endpoints to get all campaigns
https://advertising.amazon.com/API/docs/en-us/reference/migration-guides/sp-v2-v3
https://python-amazon-ad-api.readthedocs.io/en/latest/sp/campaigns_v3.html#ad_api.api.sp.CampaignsV3.CampaignsV3.list_campaigns

@shavi34 thanks for clarification. Built my own wrapper in the meantime to call the v3 endpoints I need and it works perfectly.

repo: denisneuf/python-amazon-ad-api


text:
Add support for Array.startsWith and Array.endsWith

Implements #81.
As with Array.sameElements, I think there is no point of having these methods for EmbedArray since its implementation is based on element equality.

This needs a rebase on top of latest master.

Rebased with master. Should be ready to merge (if it looks fine).

LGTM

authors: adamwy densh

repo: densh/scala-offheap


text:
custom kubecontext

Is your feature request related to a problem? Please describe.
The kubecontext info is very useful but clutters my prompt, adding 47 chars to it!
Is your feature request related to new section on prompt? Then consider the following questions:

Will it clutter the prompt? NO
Is it worth to be aware of it? YES
Will it slow down the prompt? NO

Describe the solution you'd like
Allow adding a custom context (either mapping or slicing).
Currently showing:
 at ☸  gke_projectname-123518_asia-east1-b_projectname

Wishing to see:
 at ☸ gke_projectname

we could add a SPACESHIP_KUBECONTEXT_NAMEARRAY variable. If present, use the value for the current context instead.
SPACESHIP_KUBECONTEXT_NAMEARRAY=(
  gke_projectname-123518_asia-east1-b_projectname  gke_projectname
  gke_otherproject-111111_us-east1-a_otherproject  gke_otherproject
)

Nice suggestion @Fandekasp. It would be make the section adherent to our philosophy. This should doable with Zsh assoc arrays.

Why not just rename your context to a shorter name?

@maximbaz 	indeed, that was very simple:
$ kubectl config rename-context gke_very_long_context_name name

Closing this issue, thanks

authors: Fandekasp maximbaz salmanulfarzy

repo: denysdovhan/spaceship-prompt