SSL Error

I previously had it working without any issues with couchpotato but for the past few days, every time I try to convert something, I get this error when it tries to get the tags from TMDB.
SSLError: bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],) 2016-02-03 10:25:58 - tmdb_mp4 - ERROR - Failed to connect to tMDB, trying again in 20 seconds. Traceback (most recent call last):   File "/usr/local/conversion/tmdb_mp4.py", line 41, in __init__     self.movie = tmdb.Movie(imdbid)   File "/usr/local/conversion/tmdb_api/tmdb.py", line 122, in __init__     self.update_configuration()   File "/usr/local/conversion/tmdb_api/tmdb.py", line 65, in update_configuration     c = self.getJSON(config['urls']['config'])   File "/usr/local/conversion/tmdb_api/tmdb.py", line 53, in getJSON     page = requests.get(url, params={'language': language}).content   File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 67, in get     return request('get', url, params=params, **kwargs)   File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 53, in request     return session.request(method=method, url=url, **kwargs)   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request     resp = self.send(prep, **send_kwargs)   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send     r = adapter.send(request, **kwargs)   File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 447, in send     raise SSLError(e, request=request)
Do I need to update a package? These are the python packages I currently have installed:

['adium-theme-ubuntu==0.3.4', 'apscheduler==3.0.5', 'apt-xapian-index==0.45', 'babelfish==0.5.5', 'backport-ipaddress==0.1', 'backports-abc==0.4', 'backports.ssl-match-hostname==<IP_ADDRESS>', 'beautifulsoup4==4.4.1', 'beautifulsoup==3.2.1', 'bencode==1.0', 'cachecontrol==0.11.6', 'certifi==2<IP_ADDRESS>', 'cffi==1.5.0', 'chardet==2.3.0', 'cheetah==2.4.4', 'click==6.2', 'colorama==0.2.5', 'command-not-found==0.3', 'configobj==5.0.6', 'cryptography==1.2.2', 'debtagshw==0.1', 'decorator==4.0.6', 'defer==1.0.6', 'deluge-client==1.0.3', 'dill==0.2.4', 'dirspec==13.10', 'docopt==0.6.2', 'docutils==0.12', 'dogpile.cache==0.5.7', 'dogpile.core==0.4.1', 'duplicity==0.6.23', 'enum34==1.1.2', 'enzyme==0.4.1', 'extras==0.0.3', 'feedparser==5.2.1', 'fixtures==0.3.14', 'flup==1.0.2', 'formencode==1.3.0', 'future==0.15.2', 'futures==3.0.4', 'glances==1.7.3', 'gntp==1.0.2', 'guessit==1.0.2', 'hachoir-core==1.3.3', 'hachoir-metadata==1.3.3', 'hachoir-parser==1.3.4', 'html5lib==0.999', 'httplib2==0.8', 'idna==2.0', 'ipaddress==1.0.16', 'jinja2==2.7.2', 'jsonrpclib==0.1.7', 'lockfile==0.12.2', 'lxml==3.3.3', 'mako==1.0.3', 'markdown2==2.3.0', 'markupsafe==0.18', 'mox3==0.7.0', 'multipartposthandler==0.1.0', 'mysql-python==1.2.3', 'ndg-httpsclient==0.4.0', 'netifaces==0.8', 'oauth2==1.9.0.post1', 'oauthlib==1.0.3', 'oneconf==<IP_ADDRESS>.4.1', 'pam==0.4.2', 'pbr==1.8.1', 'pexpect==3.1', 'pillow==2.3.0', 'pip==8.0.2', 'piston-mini-client==0.7.5', 'ply==3.4', 'profilehooks==1.8.1', 'psutil==1.2.1', 'py-bcrypt==0.4', 'py-unrar2==0.99.6', 'pyasn1==0.1.9', 'pyasn==1.5.0b6', 'pycparser==2.14', 'pycrypto==2.6.1', 'pycups==1.9.66', 'pygithub==1.26.0', 'pygobject==3.12.0', 'pyinotify==0.9.4', 'pyopenssl==0.15.1', 'pyserial==2.6', 'pysmbc==<IP_ADDRESS>', 'pysrt==1.0.1', u'python-apt==<IP_ADDRESS>ubuntu2', 'python-daemon==2.1.0', 'python-dateutil==2.4.2', 'python-debian==0.1.21-nmu2ubuntu2', 'python-fanart==1.4.0', 'python-mimeparse==0.1.4', 'python-twitter==2.2', 'pytz==2015.7', 'pyxdg==0.25', 'pyyaml==3.11', 'qtfaststart==1.8', 'reportlab==3.0', 'requests-cache==0.4.10', 'requests-oauthlib==0.5.0', 'requests==2.9.1', 'rtorrent-python==0.2.9', 'send2trash==1.3.0', 'sessioninstaller==0.0.0', 'setuptools==19.6.2', 'sickrage==6.0.34', 'simplejson==3.8.1', 'singledispatch==<IP_ADDRESS>', 'six==1.10.0', 'software-center-aptd-plugins==0.0.0', 'speedtest-cli==0.3.4', 'sqlalchemy-migrate==0.10.0', 'sqlalchemy==0.8.4', 'sqlobject==2.1.2', 'sqlparse==0.1.18', 'ssh-import-id==3.21', 'stevedore==1.10.0', 'subliminal==1.1.1', 'sympy==<IP_ADDRESS>', 'system-service==0.1.6', 'tempita==0.5.2', 'testtools==0.9.35', 'tmdbsimple==1.3.0', 'tornado==4.3', 'twisted-core==13.2.0', 'twisted-web==13.2.0', 'twitter==1.17.1', 'tzlocal==1.2', 'unity-lens-photos==1.0', 'urllib3==1.7.1', 'web.py==0.37', 'wheel==0.24.0', u'xdiagnose==3.6.3build2', 'xmltodict==0.9.2', 'yarg==0.1.9', 'youtube-dl==2015.10.24', 'zope.interface==4.0.5']

Did you install the requests security package?
pip install requests[security]

Yep, I've installed all the pre-requisites and it was working fine until last week.
Requirement already up-to-date: requests[security] in /usr/local/lib/python2.7/dist-packages Requirement already up-to-date: pyOpenSSL>=0.13 in /usr/local/lib/python2.7/dist-packages (from requests[security]) Requirement already up-to-date: ndg-httpsclient in /usr/local/lib/python2.7/dist-packages (from requests[security]) Requirement already up-to-date: pyasn1 in /usr/local/lib/python2.7/dist-packages (from requests[security]) Requirement already up-to-date: six>=1.5.2 in /usr/local/lib/python2.7/dist-packages (from pyOpenSSL>=0.13->requests[security]) Requirement already up-to-date: cryptography>=0.7 in /usr/local/lib/python2.7/dist-packages (from pyOpenSSL>=0.13->requests[security]) Requirement already up-to-date: enum34 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyOpenSSL>=0.13->requests[security]) Requirement already up-to-date: ipaddress in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyOpenSSL>=0.13->requests[security]) Requirement already up-to-date: setuptools>=1.0 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyOpenSSL>=0.13->requests[security]) Requirement already up-to-date: idna>=2.0 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyOpenSSL>=0.13->requests[security]) Requirement already up-to-date: cffi>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyOpenSSL>=0.13->requests[security]) Requirement already up-to-date: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.4.1->cryptography>=0.7->pyOpenSSL>=0.13->requests[security])

Appears to be an issue with requests. I've raised an issue with them so this issue can be closed.

Nice, feel free to reference it here (if its on github) so others can find it, gonna close for now though

According to a collaborator for requests, it's due to an issue with certifi.
More information on this issue here. The issue is still open although it looks like a solution has been found. Going to try it now and see if it works.


CVE-2007-4559 Patch

Patching CVE-2007-4559
Hi, we are security researchers from the Advanced Research Center at Trellix. We have began a campaign to patch a widespread bug named CVE-2007-4559. CVE-2007-4559 is a 15 year old bug in the Python tarfile package. By using extract() or extractall() on a tarfile object without sanitizing input, a maliciously crafted .tar file could perform a directory path traversal attack. We found at least one unsantized extractall() in your codebase and are providing a patch for you via pull request. The patch essentially checks to see if all tarfile members will be extracted safely and throws an exception otherwise. We encourage you to use this patch or your own solution to secure against CVE-2007-4559. Further technical information about the vulnerability can be found in this blog.
If you have further questions you may contact us through this projects lead researcher Kasimir Schulz.

Hi @TrellixVulnTeam, thanks for reaching out and posting the PR. The affecting code is actually an integration test of the project. Is there a necessity to fix an integration test for the mentioned CVEs?
PS, please sign-off your patch if you want to get it merged.

/retest


Enable strings as steps based on descriptive-gate feature.

Usually !debug_assertions => compact-gate, but that is not the case when profiling.

[ ] Rebase to fix description in first commit, which is no longer accurate.

I pushed a new version that defines real steps in the few places necessary so that strings-as-steps are only necessary under cfg(test).
(This makes the description of the PR, and the first commit, inaccurate.)


Can you please add example of launch json for debug

I’m new to nvim. Currently I’m using vscode and would like to check nvim. I mainly use launch.json for debug configuration. I tried vscode launch json in nvim but it fails. Can you please add a sample for it?
it will be helpful for many people from vscode.

Hi there and thanks for the report!
The problem is that we'd need someone who's already familiar with configuring the sort of advanced VSCode debugging you want to write this tutorial.
If anybody reading this feels like volunteering, that's great, please do!
May I suggest rather than looking for a way to convert one to the other to simply follow through the instructions already included in kickstart.nvim to add debugging support?
You can find them here.
The idea is to help you build exactly the debugging environment you want! :)
You can do it with just a few minutes or maybe a couple of hours spent reading documentation and trying things out.  If you have specific questions, feel free to ask them here!
I'm closing this for now. Good luck with your journey!


Add cron job endpoints

This PR adds endpoints that allow application admins to inspect scheduled background jobs.
The jobs are created by a server admin during application startup but can be inspected and potentially started via the API.

A more expected response would be a list of jobs, where each job contains its own name.

Agreed, updated.

Also the description of /v1/jobs says Fetch a list of known jobs, which does not indicate a map.

Do you think that a list of jobs would make more sense compared to a map? I was thinking that maybe having a map with known keys might be more simple to handle for API clients as a list would introduce some arbitrary order without any meaning. Or would you just change the "list of jobs" into a "map of jobs"? That's what I did in the latest commit just now.

If that is the case, I would like to see those names explicitly listed in the API response.

Could you elaborate on that? I definitely agree that all keys (job names) should be documented in the API spec. Currently the job names are documented in the introduction of the "Background Jobs" section (as it applies to all related endpoints in a way). Would you like to also include all known jobs in the response samples and/or response schemas? Does this only concern the /v1/jobs endpoint or the other endpoints as well?
I think maintaining samples for all available jobs would be quite cumbersome and serve little benefit (especially since the samples would only differ by their names).

I think maintaining samples for all available jobs would be quite cumbersome

This is probably true. Having the jobs listed in the "Backgroud Jobs" section, seems like the best choice.

Do you think that a list of jobs would make more sense [...].
Or would you just change the "list of jobs" into a "map of jobs"?

I think a map is fine, if its clear that the keys cannot change and stay fixed. Only their values can change.
I like the newly committed version better, since it specifies, that "all known job" are fetched and not just "a list of".
But to make this even more clear, my suggestion for the /v1/jobs description is: Fetch all "Background Jobs" and their respected states.

Good suggestion. I have added a link to the "Background Jobs" section from both the /v1/jobs and /v1/jobs/{name} endpoints.


Rendering is pixeled on Mac OS

Should have been fixed in master. See https://github.com/auchenberg/vscode-browser-preview/issues/75


Link to 3.2.1 is broken

Hi there!
This link in the README points to the wrong version : https://gordalina.github.io/cachetool/downloads/cachetool-3.2.1.phar
If you do
curl -sO https://gordalina.github.io/cachetool/downloads/cachetool-3.2.1.phar
chmod +x cachetool-3.2.1.phar
./cachetool-3.2.1.phar --version # => CacheTool 3.1.0-1-ga8bed42

Thank you!

Hi there! Any news?

Pack it yourself....
3.x cannot use opcache:compile:scripts command, because application not add to the container.

Pack it yourself....

I don't know how to do this...

There's a new release which includes the fix for opcache:compile:scripts command: https://gordalina.github.io/cachetool/downloads/cachetool-3.2.2.phar


usefulfunctions.lua lua error

Describe the bug
Lua error lua/entities/gmod_wire_egp/lib/egplib/usefulfunctions.lua:254
Log
umsg.Start: Starting new message without ending the old one!

 - addons/wire/lua/entities/gmod_wire_egp/lib/egplib/usefulfunctions.lua:254

Sorry for the really late response but I've had trouble trying to replicate this error. Is it possible you could give some more context to what was going on when the error happened? If any players were leaving/joining, EGP objects being created/destroyed, anything. Thank you.


drivers/net/netdev: improve granularity of 'quota' locking

Summary
There is no need to use global spinlock to protect netdev specific data counters. Allocate per-netdev specific spinlock to get better locking granularity.
Move C/C++ atomic support checking to compiler.h
Impact
Should improve netted performance in SMP case.
Increase size of struct netdev_lowerhalf_s by sizeof(spinlock_t).
Testing
Pass CI

Hi there, I've tried this patch on rv-virt:knetnsh64_smp, it's roughly improving the performance without atomics by 2%~3% (while switching to atomics may improve ~10%). It seems that adding lower->lock might be a good choice without atomic support.


Removing unused settings

What is the change?
I removed the settings:

CONF_CONDITIONAL_MODULE_NAME
CONF_MEM_PER_NODE
CONF_NUM_CONTROL_BLOCKS
CONF_USE_INPUT_TEMPERATURES_ON_DBLOAD

Two of the settings marked under the TODO before I found were actually used in multiple downstream repos. so I determined to leave them in ARMI.
Why is the change being made?
I am just solving an existing TODO in the repo.  One of these is only used in a single downstream repo, so I have opened a PR there for that. But the other three I determined are entirely unused anywhere.

Checklist

[X] This PR has only one purpose or idea.
[X] Tests have been added/updated to verify that the new/changed code works.

[X] The code style follows good practices.
[X] The commit message(s) follow good practices.

[X] The release notes (location doc/release/0.X.rst) are up-to-date with any important changes.
[X] The documentation is still up-to-date in the doc folder.
[X] The dependencies are still up-to-date in setup.py.


Add margin bottom to pre[data-svelte]

Closed in https://github.com/metonym/svelte-readme/commit/391ebecdb1afcb42d48ecccc5ad9da55e3e9fadc


xcodeproject configuration enhancement for localization

apply the recommended suggestion by xcode10.2 for localization

Fixing conflict

Fixing conflict


wrong version shown in 18.1.1-6

I noticed that the version number from the latest download is still 18.1.1-4 although the info claims that it should be 18.1.1-6:

Yes, please update the CFBundleShortVersionString for Cave's Info.plist!
This causes issues with our version detection and complicates application updates for managed environments, such as higher education. We're currently unable to target machines not running 18.1.1-6 because even if they are running the current version, the app presents itself otherwise.
I'd also suggest, humbly, moving to a SemVer based versioning scheme instead of the "dash-tag" currently used. <IP_ADDRESS> would convey the same information and be more easily compatible with version detection mechanisms.
For an even more specific example, please see the necessity of version number manipulation in my Cave recipe for autopkg.

@haircut thank you for the feedback, I was just about to release a new macOS client and have updated the version number to be correct, and have adopted SemVer formatting.  You can download the new DMG at https://www.unidata.ucar.edu/downloads/awips2/awips-cave-<IP_ADDRESS>.dmg


No background image displayed if "backgroundImage" is set to a path that contains accented chars.

Environment
Windows build number: 10.0.18363.836
Windows Terminal version (if applicable): 1.0.1401.0

Any other software? No.

Steps to reproduce

Set $.profiles.defaults.backgroundImage to a path that contains accented chars.
For example Pictures in Hungarian is Képek, so my path setting is like:
"backgroundImage": "C:\\Users\\Gabor\\Képek\\picture.png"
Expected behavior

The selected image is expected to be displayed as the background image.
Actual behavior

No background image is dispayed as if I did not set $.profiles.defaults.backgroundImage.
Please note:
if the same image is in my Desktop directory which is Asztal in Hungarian ("backgroundImage": "C:\\Users\\Gabor\\Asztal\\picture.png") then the picture is displayed correctly.

If you use the word Pictures instead of Képek, does it work?

If you use the word Pictures instead of Képek, does it work?

Yes, it does.

Okay. So... The pictures folder is actually named Pictures on disk, and it's got a desktop.ini file in it that changes the display name to Képek. There's nothing we can really do about that, unfortunately.
Best recommendation: when using localized paths, please use "copy as path" (shift+right-click in explorer) to get the actual final filename.
Thanks!

Okay. So... The pictures folder is actually named Pictures on disk, and it's got a desktop.ini file in it that changes the display name to Képek. There's nothing we can really do about that, unfortunately.
Best recommendation: when using localized paths, please use "copy as path" (shift+right-click in explorer) to get the actual final filename.
Thanks!

Unfortunately your guess is wrong and at least you could have waited my confirmation before you close this issue in a hurry.
The above mentioned folder name is actually Képek, it is not the display name stored in the desktop.ini file. It has really nothing to do with localized paths. I actually moved/redirected my personal folders (using Properties window Location tab) to another drive and I created the new folders explicitly with Hungarian names beforehand.
When I said yes to your last question then I meant that if I put the image into a folder the name of which is Picture then it works (of course only if other parts of the full path also do not contain accented chars).
Have you tried creating a folder with accented chars at all?
If you did then you could reproduce the issue and I really hope that is not a design decision to support paths containing characters only from the English alphabet.
Additionally, not just special folders' name (e.g. Pictures) but a user name can also contain accented chars, e.g. my name in Hungarian is written with accent Gábor and if it would be my user name (it could be, Windows allows that) then no picture under my profile folder would be displayed in Windows Terminal as background.
I think every path with any kind of character that Windows can handle should be handled by Windows Terminal as well.
So please consider re-opening this issue and take the time to investigate it correctly because it is an issue.
Thanks in advance!

Ah! Sorry I misunderstood you. I didn’t phrase my question very well.
I’ll pop this back into the triage queue. It’s absolutely not a design decision to not support anybody who doesn’t speak only English.

In general, we don’t treat closed discussions on this repository as final. Everything is worth continued discussion, and if a bug is closed wrongly or duplicated to the wrong thing or even comes back in a later version I encourage people to continue talking about it!

Thank you very much. I really appreciate it and hope my answer was not offensive in any way. :)

So, I am having some trouble reproducing this with a variety of characters:

	,"backgroundImage": "C:\\Users\\Dustin\\🕻\\früh\\Képek\\tom.png"
	,"backgroundImageAlignment": "bottomRight"
	,"backgroundImageStretchMode": "uniform"

From PowerShell, could you run...
chcp
[char[]](get-item ~\Képek\ | select -expand Name) | %{"{0:X4} " -f [int]$_}

?
When I run that, I get this:
Active code page: 437
004B
00E9
0070
0065
006B

Yes, sure.
For this test I placed the same image into two different folders:

First I set the background image to C:\Temp\Pictures\Képek\img0_1024x768.jpg
I opened Windows Terminal and typed in the suggested commands with aligning the Get-Item cmdlet's parameter to refer to C:\Temp\Pictures\Képek folder.
The result:

Then I set the background image to C:\Temp\Pictures\img0_1024x768.jpg
The exact same instance of the Windows Terminal window:

Additionally, I also tried renaming the file itself by replacing x to × ("\u00D7") char:

the original file path is: C:\Temp\Pictures\img0_1024x768.jpg
the modified file path is: C:\Temp\Pictures\img0_1024×768.jpg
As I expected the background image vanished from the Windows Terminal window in this case as well.

Hi,
I'm just wondering if there is any progress on this issue.
Did my last comment help?
Is there anything I can do?

I'm moving this into the 1.x milestone, but I don't have any leads on it. I marked it "Help Wanted", in case there's somebody out there with a better idea.
It's likely codepage-related, but my understanding was that we should be using UTF-8 and things should be cleaned up on the way in . . . but if they're not, that's unpleasant.
Do we need to manifest our process for UTF-8ness and let the OS deal with the fallout? 🤔

I'm just wondering if there is any news on this issue.

So, since I don't have anybody I can pull to look at this issue, I installed Windows and switched it to Hungarian. :smile:
I'm still having trouble really reproducing this issue, but I did find one thing that might be interesting.

If you open settings.json in Notepad, does the status bar say UTF-8 or ANSI in the bottom right?
Can you zip up a copy of settings.json and share it?

working

not working

So, since I don't have anybody I can pull to look at this issue, I installed Windows and switched it to Hungarian. 😄

Nice. :smile: How do you feel about it? :smiley:

I'm still having trouble really reproducing this issue, but I did find one thing that might be interesting.

If you open settings.json in Notepad, does the status bar say UTF-8 or ANSI in the bottom right?

I checked my settings.json file and voila! It was stored as ANSI.
As soon as I converted the file to UTF-8 the background image immediately appeared.
The strange thing is that on my host OS it is stored as ANSI but in my VM it is stored as UTF-8.
I usually edited these files in Visual Studio 2015 (on host) and 2019 (in vm).
Maybe Notepad++ as well but that does not change the encoding unless I do so.
So I didn't even think that could be the reason for this issue.
What a tiny but important detail!
UTF-8: C3 A9 - Working

ANSI: E9 - Not working

Thank you for your help. You made my day. :smiley:

How do you feel about it?

I feel like I need a whole bunch of VMs to do testing on now! :grin:
I'm so sorry it took this long!
There may be a way for Terminal to detect this and at least issue a warning... it would be better than silent failure! I'm going to file a followup workitem for that.
Thanks again for being patient :smile:

I'm so sorry it took this long!

No problem. I'm always happy if an issue is resolved.

There may be a way for Terminal to detect this and at least issue a warning... it would be better than silent failure! I'm going to file a followup workitem for that.

In the past I wrote a C# method that detects if the file is stored as ANSI 1250 and if yes then converts it to UTF-8.
Of course it's a bit hacky as the text file encoding could not really be detected unless it's UTF-8 with BOM.
But it works. 😃
I will share it happily if you think it could help.
At least it may give you an idea from which you can start your own algorithm.

Thanks again for being patient 😄

It's one of my skills. 😃


removing not necessary N () to improve performance

Unnecessary calls to sympy.N may increase computational cost
Description

Replace N(k) for k, where k = 1, 2, or 3
Motivation and Context

Improve performance. For instance
import sympy as sp
tic = time.time()
for k in range(1000):
a = 2
toc = time.time()
print('time without sympy.N', toc-tic, 's')
tic = time.time()
for k in range(1000):
a = sp.N(2)
toc = time.time()
print('time with sympy.N', toc-tic, 's')
outputs
time without sympy.N 5.888938903808594e-05 s
time with sympy.N 0.012852907180786133 s

How Has This Been Tested?

make test
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thank you @adjs for the improvement!


I can't setup (Spotify problems)

When I go to create the app on the Spotify developer website, I create the app but it says something wrong happened and when I open the application settings the message shown in the image appears.
what do I do?

I think that's a bit outside of my control, I'd wait for a couple of days and try again


GithubEntityProvider will not work with Github Enterprise

It looks like the same integration config is used for all providers, and there must always be a github config.
https://github.com/backstage/backstage/blob/master/plugins/catalog-backend-module-github/src/providers/GitHubEntityProvider.ts#L65-L83
Feeling that we should either add a host prop to the provider config, or we support organizationUrl like the OrgEntityProvider does and select the correct integration config based on the URL.

Another option I thought about is to support a url in the organization field, and just default to github.com if it's not provided.


Add Jaeger trace endpoint

Benchmarks are pretty bad, specific suggestions are welcome:
BenchmarkJaegerTraceDecoder-8               1000           1334891 ns/op          825989 B/op      12839 allocs/op

Benchmark is at the bottom of https://github.com/signalfx/metricproxy/pull/114/files#diff-152ad673e5dcb098fbfd15d40c7cec59

Visually i see nothing wrong, if you ran the benchmark with pprof and after investigation have confidence that this is the best it's going to get merge away.


Is there any reason why removeByUserId is private in CacheIdContainer?

Sometimes it would be convenient to remotely log a user out of an application (for example, revoked access to something, unauthorized entry). There is a removeByUserId method in CacheIdContainer that does exactly this, however it isn't exposed anywhere. The only way to use it is to extend CacheIdContainer to expose the method, or re-implement it elsewhere, which is undesirable, as it could later break if CacheIdContainer changes for any reason. Is there a reason this method isn't exposed anywhere?
(or IdContainer for that matter)

I agree that it is convenient to be enable multiple log-in.
If CacheIdContainer#removeByUserId is public, it can be overrided,
We can implement multiple log-in easily.
However, only its implementation it has a security hole that users can not invalidate other sessions.
So, when we provide multiple log-in, we should provide the way of invalidating session.
It contains showing session list to users,
Since CacheIdContainer is poor for this implementation, we create a new AsyncIdContainer that records remote ip adress, access time and so on into non-volatile datastore instead of cache.

I wasn't really interested in exposing CacheIdContainer#removeByUserId for the purpose of multiple logins. More so to allow an administrator (let's say) to forcibly destroy a user's session without deleting or modifying the account that's stored elsewhere. I could delete the cache key userId:###, but that's not as clean as having the IdContainer handle it.

Ok, I see. I misunderstood your motivation.
It needs a way of kicking other user session.
I consider this problem.


Limit max bounty to 99%

Limits the max bounty to 99% of the vault funds ( Fix #208 )

Did we not say 90%?

shay said 99%


Seed not working

Dear,
Thank you for your effort
the seeding command does not add any data to the tables
please advise
Thank you

Please check your php.ini memory limit. Try to assign it the value of -1 then restart phpSent from my iPhoneOn 13 Jan 2023, at 12:50, Johnny Shahin @.***> wrote:
Dear,
Thank you for your effort
the seeding command does not add any data to the tables
please advise
Thank you
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Please check your php.ini memory limit. Try to assign it the value of -1 then restart phpSent from my iPhoneOn 13 Jan 2023, at 12:50, Johnny Shahin @.> wrote: Dear, Thank you for your effort the seeding command does not add any data to the tables please advise Thank you —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>

that has worked for me thanks


ClusterLoader - Adding measurement manager

Implementation of measurement factory and measurement manager.
CloudProvider will be add in future PR.

/assign @shyamjvs

/lgtm
Thanks!


Migrate optuna/notebooks/azure-optuna/run_optuna.ipynb to deployment docs

Migrate optuna/notebooks/azure-optuna/run_optuna.ipynb to deployment docs.
See https://github.com/rapidsai/cloud-ml-examples/issues/203#issuecomment-1410349915 for detailed migration instructions.
### Tasks
- [ ] Decide if notebook should be migrated and add "migrate: X" label (if no also close this issue)
- [ ] Test if notebook works
- [ ] Fix up anything that needs changing
- [ ] Ensure notebook has good title, description and metadata tags in the first cell
- [ ] Replace deployment instructions with links to docs pages
- [ ] Copy notebook into a new folder into deployment docs examples
- [ ] Copy any supporting files to the folder
- [ ] Add notebook to examples toctree
- [ ] Make PR to deployment docs repo

This notebook uses Azure ML spaces. This makes it more relevant to "cloud deployment" than some of the other optuna notebooks. I'd vote "maybe" on migrating this.
xref https://github.com/rapidsai/deployment/pull/141#issuecomment-1423973228

Maybe is good enough for me!


Tilemap Editor Right-Click Should Erase Previously Painted Tiles

Summary
Accidentally painting a few tiles more than intended happens a lot. It would be awesome if that could be fixed without undoing everything and without one or multiple palette selections: Instead, painting via right-click could "erase" the previously painted tiles by replacing them with the tiles they were painted on top of.
Analysis

Keep a record of all tile painted tiles since the last source change, target change or tool selection.
On right-click, use this buffer to paint the old tiles back.
If the buffer is empty (completely, not on the current position), paint the default empty tile of the tileset.

I have a few questions about the desired behaviour of this feature.

Should right clicking "erase" only the hovered tile, or the entire brush shape?
Should we be able to right click and drag to erase as we would with the brush tool?
What exactly is meant by source change and target change? Does this mean tileset and tilemap change?

I think having complex functionality for this would point to using a new tool. Maybe the tool could be triggered on right click? A problem there would be the preview wouldn't know whether we were erasing or using the selected tool.

Should right clicking "erase" only the hovered tile, or the entire brush shape?

I'm thinking the entire brush shape.

Should we be able to right click and drag to erase as we would with the brush tool?

Yep, exactly like the brush tool. Overall, the analogy I have in mind is that it's the same brush, but with different colors, so it would behave the same as well.

I think having complex functionality for this would point to using a new tool. Maybe the tool could be triggered on right click?

That would be another option. For simplicity's sake I'd probably go with some behavior integrated in the brush tool itself though - it would also allow right-click to be used context aware per tool, rather than being blocked for all of them.

What exactly is meant by source change and target change? Does this mean tileset and tilemap change?

Source change: I'm selecting different tiles from the palette, pick a tilemap area to copy from, or a different source is assigned via code.
Target change: I'm painting on a different tilemap than before.


Introduce DropdownMenu.closeBehavior to control menu closing behavior

Fixes Add option to control whether the root DropdownMenu can be closed or not
This introduces  DropdownMenu.closeBehavior to provide control over DropdownMenu can be closed in nested menus.
Code sample

expand to view the code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String selectedValue = "1";

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            children: [
              Column(
                spacing: 16.0,
                mainAxisSize: MainAxisSize.min,
                children: [
                  const Text("DropdownMenuCloseBehavior.none"),
                  MenuAnchor(
                    menuChildren: <Widget>[
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: DropdownMenu(
                          closeBehavior: DropdownMenuCloseBehavior.none,
                          label: const Text('Menu'),
                          initialSelection: selectedValue,
                          onSelected: (String? value) {
                            if (value != null) {
                              setState(() {
                                selectedValue = value;
                              });
                            }
                          },
                          dropdownMenuEntries: ["1", "2", "3"]
                              .map(
                                (it) => DropdownMenuEntry(
                                  value: it,
                                  label: it,
                                ),
                              )
                              .toList(),
                        ),
                      )
                    ],
                    child: const Text('Open Menu'),
                    builder: (context, controller, child) {
                      return ElevatedButton(
                        onPressed: () {
                          controller.open();
                        },
                        child: child,
                      );
                    },
                  ),
                ],
              ),
              Column(
                spacing: 16.0,
                mainAxisSize: MainAxisSize.min,
                children: [
                  const Text("DropdownMenuCloseBehavior.self"),
                  MenuAnchor(
                    menuChildren: <Widget>[
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: DropdownMenu(
                          closeBehavior: DropdownMenuCloseBehavior.self,
                          label: const Text('Menu'),
                          initialSelection: selectedValue,
                          onSelected: (String? value) {
                            if (value != null) {
                              setState(() {
                                selectedValue = value;
                              });
                            }
                          },
                          dropdownMenuEntries: ["1", "2", "3"]
                              .map(
                                (it) => DropdownMenuEntry(
                                  value: it,
                                  label: it,
                                ),
                              )
                              .toList(),
                        ),
                      )
                    ],
                    child: const Text('Open Menu'),
                    builder: (context, controller, child) {
                      return ElevatedButton(
                        onPressed: () {
                          controller.open();
                        },
                        child: child,
                      );
                    },
                  ),
                ],
              ),
              Column(
                spacing: 16.0,
                mainAxisSize: MainAxisSize.min,
                children: [
                  const Text("DropdownMenuCloseBehavior.all"),
                  MenuAnchor(
                    menuChildren: <Widget>[
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: DropdownMenu(
                          closeBehavior: DropdownMenuCloseBehavior.all,
                          label: const Text('Menu'),
                          initialSelection: selectedValue,
                          onSelected: (String? value) {
                            if (value != null) {
                              setState(() {
                                selectedValue = value;
                              });
                            }
                          },
                          dropdownMenuEntries: ["1", "2", "3"]
                              .map(
                                (it) => DropdownMenuEntry(
                                  value: it,
                                  label: it,
                                ),
                              )
                              .toList(),
                        ),
                      )
                    ],
                    child: const Text('Open Menu'),
                    builder: (context, controller, child) {
                      return ElevatedButton(
                        onPressed: () {
                          controller.open();
                        },
                        child: child,
                      );
                    },
                  ),
                ],
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Demo
https://github.com/user-attachments/assets/1f79ea6e-c0c6-4dcf-8180-d9dcca1c22c5
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

drive-by comment to learn what the screen recording app is?

drive-by comment to learn what the screen recording app is?

Screen Studio

is it still not available on stable version ?

Checked with latest flutter version
Flutter version 3.24.5 on channel stable


polkit: 123 -> 124

upstream archived the project on the freedesktop gitlab and migrated to github.
also the new release won't build with Nix anymore, so another patch is necessary.
Changes: https://github.com/polkit-org/polkit/compare/123...124
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3781


Can i modify datatype of Users Table

Question
Hi,
I using Postgres database to setup Identity Server
I want to modify Id Column of Users table from text to GUID, is it possible to Modify.
Relevant parts of the log file
   <log goes here>

Hi @murughas
you need change TKey from string to Guid - here: https://github.com/skoruba/IdentityServer4.Admin/blob/dev/src/Skoruba.IdentityServer4.Admin/Startup.cs#L65-L80

and change this TKey:
in entities: https://github.com/skoruba/IdentityServer4.Admin/tree/dev/src/Skoruba.IdentityServer4.Admin.EntityFramework.Shared/Entities/Identity
and TKey in dtos: https://github.com/skoruba/IdentityServer4.Admin/tree/dev/src/Skoruba.IdentityServer4.Shared/Dtos/Identity

Thanks a lot :)

@skoruba links you mentioned here are pointing to dev branch.
Can i make the changes in master ? will that work or it will work only dev branch?

@skoruba can I use a composite Key inside there, for e.g. they may look up user with Drivers License or  Passport Number, since these are unique, I want to put composite , like 3 keys or a tuple.
How would I got about this, please add suggestions.

@skoruba I just changed as you mentioned in master branch code. But still coloumns are created with text type.

@skoruba  It works fine now after changing, Postgres migration files.
Id = table.Column(nullable: false,type:"uuid")
made changes like this.


reference path outside root fails on deploy

If I have a folder structure:
root
  |- foo
     |- mod.ts   ← NB: import reference to ../bar/mod.ts
  |- bar
     |- mod.ts

it works fine when running deno:
cd root/foo/
deno run mod.ts

If however, when within cd root/foo I run deployctrl the deployment fails because the import reference to ../bar/mod.ts is outside of /foo
This appears to be an inconsistency with what deno supports, and how the deployment script pulls the deployment assets together.  It would be super useful if this worked for managing things within a monorepo.

My project has a similar structure. I have multiple projects in one repo, organized in directories. All of them import modules from a common shared directory.
root
  |- project1
     |- mod.ts
     |- deno.json
  |- project2
     |- mod.ts
     |- deno.json
  |- shared
     |- mod.ts
  deploy-1.json
  deploy-2.json

Things I've tried that work (but have downsides):
I -can- deploy these by running deployctl and specifying entry points and includes.
I -can- deploy these using config files also, if the config files are in the root.
Things I've tried that don't work:
I -can't- keep the deploy config files in their respective project deno.json files, because the location of the config sets the base for the deployment.
I experimented with using a symlink to shared inside the project folders, but deployctl doesn't follow/upload the symlinked directory.
It would be nice to keep the deploy configs in the project directories.
One thing that might make configs like this cleaner is a base config option, then project1/deno.json might look like this:
{
    "deploy": {
        "project": "XYZ",
        "base": "..",
        "include": [
            "project1/**/*",
            "shared/**/*"
        ],
        "entrypoint": "project1/mod.ts",
         ...
    }
}

Or, maybe there is another way to structure multiple projects with shared code that would work better. If anyone has suggestions, I'm interested.


Sudden crash cause synced progress lost

Testing mainnet in Digital Ocean the node suddenly crashed without any cause.
The node was synced to the head when the crash happened, and the node started syncing from many epochs behind indicating that sync progress was lost. What can cause this?

2021-02-16 02:04:29 [NETWORK]         debug: Req  request sent method=ping, encoding=ssz_snappy, peer=16Uiu2HAmEspe2SSFjyK9pum6wh2H4gU6bouFTRKoGva9SnQWBmvi, requestId=127810
2021-02-16 02:04:29 [NETWORK]       verbose: Received valid gossip aggregate and proof attestationSlot=551419, aggregatorIndex=55255, aggregateRoot=0xe0f2f4dca976ec5a17e39cf7c7d0b43b7aacbcfe76e94b371566f1d519b9f42a, attestationRoot=0xb2850050c7eef652bf7d602a899942232b05b57726109780a990d23848bee239, targetEpoch=17231
2021-02-16 02:04:29 [GOSSIP]        verbose: Received AggregateAndProof validator=55255, target=0x451b77e8bdcd07f14657a3ce29ed677c61611e3e07e0978241c1d7ff8a7e73c6
  <<< Crashed here >>>
2021-02-16 02:04:35 [DB]               info: Connected to LevelDB database name=/root/.local/share/lodestar/mainnet/chain-db
2021-02-16 02:04:44 []                 info: Initializing beacon state from db slot=524800, epoch=16400, stateRoot=0x10f35611f49959671cea4ecaf31d4e66afaa60762dbe5e463b1d64a545ff6d16
2021-02-16 02:04:44 [DB]               info: Connected to LevelDB database name=/root/.local/share/lodestar/mainnet/chain-db
2021-02-16 02:04:55 [API]              warn: Server listening at http://<IP_ADDRESS>:9596
2021-02-16 02:04:55 [API]              info: Started rest api server address=http://<IP_ADDRESS>:9596
2021-02-16 02:04:55 [METRICS]          info: Starting metrics HTTP server port=8008
2021-02-16 02:04:59 [GOSSIP]        verbose: Gossip is started
2021-02-16 02:04:59 [NETWORK]          info: PeerId 16Uiu2HAm8ysp1GJzop1D5L6XkBTdVnwcvnGwdN2iaGn8D1wFo2Kn, Multiaddrs /ip4/<IP_ADDRESS>/tcp/9000,/ip4/<IP_ADDRESS>/tcp/9000
2021-02-16 02:04:59 []                 warn: Low peer count peers=0
2021-02-16 02:04:59 []                 info: Searching for peers - peers: 0 - finalized: 16398 0x7e4a…e149 - head: 524800 0xb076…3ed4 - currentSlot: 551423
2021-02-16 02:05:05 []                 info: Searching for peers - peers: 0 - finalized: 16398 0x7e4a…e149 - head: 524800 0xb076…3ed4 - currentSlot: 551423
2021-02-16 02:05:17 []                 info: Searching for peers - peers: 0 - finalized: 16398 0x7e4a…e149 - head: 524800 0xb076…3ed4 - currentSlot: 551424
2021-02-16 02:05:25 [NETWORK]         debug: Dialing discovered peer peer=16Uiu2HAmMyUXQ2rfCwu4zpUNW9Ax6gkkn75K2GitnxAFnXvdCFgU
2021-02-16 02:05:25 [NETWORK]         debug: Dialing discovered peer peer=16Uiu2HAmKaba5hmtcqXcVPjFD6sUyqyQuQbygRCa6bRoT9M8KHX5
2021-02-16 02:05:25 [NETWORK]         debug: Dialing discovered peer peer=16Uiu2HAm2Pn9chFUBG3MbkFf6oK3Rf5GpVq1e7FvNnCeutfjVUfL
2021-02-16 02:05:25 [NETWORK]         debug: Dialing discovered peer peer=16Uiu2HAmNVLJ18CZsMJGFVhPpBhZgeL6rNiXQmyWtVy1FmWCQpkN
2021-02-16 02:05:25 [NETWORK]         debug: Dialing discovered peer peer=16Uiu2HAkzd9Fi5tLiCCf6CbuxNNzMDxACKG1EQY3u6vC6cHHmRNw

Extra
Most external memory gets wiped out on reset, memory leak still?

The exact same thing happened in a different machine. Sudden crash + head slot dropped

Node A: 551400 -> 525120
Node B: 547960 -> 524980


Remove adapter from ioBroker admin > Objects > Settings

See here: https://forum.iobroker.net/topic/32134/gelöst-wie-adapter-ausblenden-bei-objekte-einstellungen
Same for the rss adapter:

Since it looks like you do not need this feature, you can deactivate as follows: https://forum.iobroker.net/post/413450

fixed in v0.0.28


Cannot invoke initializer for type 'MMLandscapeWindow' with no arguments

This is happening only in iOS 13 beta 5

I think you need pod update, use "playerLayer.fullScreenWhenLandscape" control rotate action

unfortunately the problem persists in the main version


tests(projects): add files fixture to tests that use MEDIA_ROOT

Description

Adds the files fixture as arg to certain tests that use settings.MEDIA_ROOT, hope that prevents them from failing.

Related issue: #1086
Motivation and Context

How has this been tested?

Screenshots (if appropriate)
Types of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] Refactoring (no functional changes, no api changes)

Checklist

[x] All new and existing tests passed.

Can you give a link how files works?

this one: https://github.com/rdmorganiser/rdmo/blob/065d195043b7ac34a7b6b3180dac69829a3974bc/conftest.py#L45
it is already used by some test functions..
thought to copy the files once at start of the session, but then you get problems with clean up after the tests. So this fixture makes a new tempfolder per test function, we could add a rmdir to this fixture for clean up.


Sending events to Slanger with the Pusher PHP Library returns a 404 error

I'm sure that I'm doing something wrong but I can't seem to figure it out. Here's where I'm at:
I've successfully used pusher.js and the Pusher PHP Library with Pusher, and now I'm trying to get it to work with Slanger.
I had a little trouble installing Slanger 0.3.7 on Ubuntu 12.04 but I downgraded to 0.3.6 and it has loaded and seems to be running OK. Here's how I'm starting slanger:
 slanger -v --app_key abcde --secret defgh

The only warning I get is:

WARNING: Sinatra 1.2.x has reached its EOL. Please upgrade.

Otherwise it seems to be working OK.
I can connect to the server on port 8080 via Javascript using something like:
var pusher = new Pusher('abcde');
var channel = pusher.subscribe('test_channel');
channel.bind('my_event', function(data) {
  console.log(data);
});

I had to edit the pusher.js file to reflect:
// WS connection parameters
Pusher.host = 'myserver.com';
Pusher.ws_port = 8080;
Pusher.wss_port = 443;

// SockJS fallback parameters
Pusher.sockjs_host = 'myserver.com';
Pusher.sockjs_http_port = 8080;
Pusher.sockjs_https_port = 443;
Pusher.sockjs_path = "/pusher";

There's probably a better way to do that but it worked for me.
I also have WEB_SOCKET_DEBUG = true; and so in Chrome's console I see:
Pusher : State changed : initialized -> connecting pusher-test.php:8
Pusher : Connecting : {"transport":"ws","url":"ws://www.myserver.com:8080/app/abcde?protocol=6&client=js&version=2.0.4&flash=false"} pusher-test.php:8
Pusher : State changed : connecting -> connected pusher-test.php:8
Pusher : Event recd : {"event":"pusher_internal:subscription_succeeded","data":{},"channel":"test_channel"} pusher-test.php:8
Pusher : No callbacks on test_channel for pusher:subscription_succeeded pusher-test.php:8

Back on the slanger server, which I started with the -v flag I see:
[[:unbind, :connection]]

[[:initialize]]

[[:receive_data,
  "GET /app/abcde?protocol=6&client=js&version=2.0.4&flash=false HTTP/1.1\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nHost: www.myserver.com:8080\r\nOrigin: http://sanbox.com\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nSec-WebSocket-Key: Nh4s/HW66jxX35mrpk58Qw==\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Extensions: x-webkit-deflate-frame\r\nUser-Agent: Mozilla/5.0 Chrome/27.0.1453.81 Safari/537.36\r\nCookie: PHPSESSID=al08mvprjp5r12t96j2nf63971; wc_session_cookie_19df44c033af94b9ec05d066366952b7=5q6itmABBmoaRJW1CNnUpNE7fKmtFu8x%7C%7C1368980160%7C%7C1368976560%7C%7C64df121799d8c5313a92dfc1eaf86199; __utma=79364243.1143100722.1368807361.1368807361.1368807361.1; __utmb=79364<IP_ADDRESS>8807361; __utmc=79364243; __utmz=79364243.1368807361.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)\r\n\r\n"]]

[[:inbound_headers,
  "GET /app/abcde?protocol=6&client=js&version=2.0.4&flash=false HTTP/1.1\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nHost: www.myserver.com:8080\r\nOrigin: http://sanbox.com\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nSec-WebSocket-Key: Nh4s/HW66jxX35mrpk58Qw==\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Extensions: x-webkit-deflate-frame\r\nUser-Agent: Mozilla/5.0 Chrome/27.0.1453.81 Safari/537.36\r\nCookie: PHPSESSID=al08mvprjp5r12t96j2nf63971; wc_session_cookie_19df44c033af94b9ec05d066366952b7=5q6itmABBmoaRJW1CNnUpNE7fKmtFu8x%7C%7C1368980160%7C%7C1368976560%7C%7C64df121799d8c5313a92dfc1eaf86199; __utma=79364243.1143100722.1368807361.1368807361.1368807361.1; __utmb=79364<IP_ADDRESS>8807361; __utmc=79364243; __utmz=79364243.1368807361.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)\r\n\r\n"]]

[[:upgrade_headers,
  ["HTTP/1.1 101 Switching Protocols",
   "Upgrade: websocket",
   "Connection: Upgrade",
   "Sec-WebSocket-Accept: xeiIWgY+wZtqCnUwsHcpK/YRz34="]]]

[[:sending_frame,
  :text,
  "{\"event\":\"pusher:connection_established\",\"data\":{\"socket_id\":\"28dd2388-4802-449d-8d47-63b00c2e3174\"}}"]]

[[:receive_data,
  "\x81\xBEz\v\x03W\x01)f!\x1Fewu@)s\"\tcf%@xv5\thq>\x18n!{Xob#\e)9,Xhk6\x14ef;X1!#\x1Fxw\b\x19cb9\x14nou\av"]]

[[:message_received,
  :text,
  "{\"event\":\"pusher:subscribe\",\"data\":{\"channel\":\"test_channel\"}}"]]

[[:sending_frame,
  :text,
  "{\"event\":\"pusher_internal:subscription_succeeded\",\"data\":{},\"channel\":\"test_channel\"}"]]

So far so go ( unless I need wo worry about any of those messages? )
But when I try and send a message to slanger via PHP I get an error. I'm using the Pusher PHP Library as previously mentioned and here's how I set it up:
require_once('Pusher.php');

$key = 'abcde';
$secret = 'defgh';
$app_id = '12345';
$channel = 'test_channel';
$message = time();

$debug = true;
$host = 'http://www.myserver.com';
$port = '4567';
$timeout = 5;

$pusher = new Pusher($key, $secret, $app_id, $debug, $host, $port,$timeout);
$pusher->trigger($channel, 'my_event', array('message' => $message) );

This worked fine with Pusher but with slanger it just hangs for a long time. The only part I don't see matching up anywhere is the app_id - I didn't specify it in slanger so I'm not sure how it gets used. Maybe it is not needed?. Anyhow, I enabled debugging and here is the output from the Pusher PHP Library's debug:
->trigger received string channel "test_channel". Converting to array.
curl_init( http://www.myserver.com:4567/apps/abcde/events?auth_key=abcde&auth_signature=063bb6f9036992b2ad35a46e40ed2d8880b13bceae32ba638dde614eeacc0609&auth_timestamp=1368810457&auth_version=1.0&body_md5=2fe7f6a19c25c64769022db0f62c70a7 )
trigger POST: {"name":"my_event","data":"{\"message\":1368810457}","channels":["test_channel"]}
exec_curl response: Array
(
    [body] =>
    [status] => 0
)

When that didn't work I tried removing the /apps/abcde/ part from the request's URL but it is just giving me a 404 error with this output:
->trigger received string channel "test_channel". Converting to array.
curl_init( http://www.myserver.com:4567/events?auth_key=abcde&auth_signature=68c1d198ae0943edfc4bd1616b1d860e1df8d3af65cbf931072c1059a35c1994&auth_timestamp=1368810567&auth_version=1.0&body_md5=118aa2310de4f49d1a6ff2ce1fc4788d )
trigger POST: {"name":"my_event","data":"{\"message\":1368810567}","channels":["test_channel"]}
exec_curl response: Array
(
    [body] => <!DOCTYPE html>

Sinatra doesn’t know this ditty.

    Try this:

post '/events' do
  "Hello World"
end

    [status] => 404
)

I feel like I'm pretty close but I know I'm either missing something simple but important, or the version 0.3.6 version of slanger or the version of sinatra I'm running has a problem with it. Thanks for your help.

Is this issue still open?


[PE-D][Tester D] Unable to add contact with DOB specified

User is unable to add a date of birth for contacts while adding a contact following the below format.

add n/Fiona Kunz p/9482427<EMAIL_ADDRESS>a/little tokyo role/Supplier tos/Delivery within 2 weeks prod/Office Supplies prod/Furniture dob/2000-03-23
When adding using the above command, it is expected that the contact will be added with the above details
However, dob/ is considered as part of the previous command instead.

Might be problematic as users might want to add a contact with birthday as specified in the UG.
DOB entered in other commands are not detected as well (seen below).

Labels: severity.Medium type.FunctionalityBug
original: maiyasaliha/ped#12

because we don't have dob in our application. i will update the ug.


Trashing only working for the first list item

Trashing only working for the first list item, and it is deleting all other items.

Added new commit to resolve this issue. This issue is closely linked to issue #1. Issue caused due to considering trash icon as a class. Replaced the class with id, and that solved the problem.


Add a "testing" flag for listings

As we saw with OpenBazaar 1.0 many stores will start off by creating test listings. Just like we have a NSFW flag, having a testing flag would be useful so they can easily discriminated.

I think mixing test listings in with the production network is a bad idea. Why? Because we have the testnet network. Maybe we can figure out a way to either encourage them to use that if they type the word "test" or "testing" into their listing or just have a persistent message on the Create Listing page to let them know they can do this.
Maybe @morebrownies or @rmisio or @jjeffryes have some ideas for that.

For any listing creating during the Alpha and Beta, the default could be to set the testing flag to true. But having test listings doesn't look professional and Duo is looking to filter them out. It's definitely not something you'd expect on a marketplace like eBay, Amazon or Etsy.

I agree with you about the professionalism, but we can't prevent them from creating these listings. We have a test network for a reason. Why would we want yet another class of listings for the UI to have to distinguish between?

We have a test network

Do we? My impression was that only the wallet (which is not strictly speaking part of the OpenBazaar network) works with testnet.

Not strictly separate networks, but the contracts should only display in one view of the network or the other based on the flag. So setting the test flag on a listing should not allow it to exist in the main network UI if that is clearer. If we allow this to happen then the UI will now have to account for how it shows and handles test listings and real listings simultaneously, not just filter them out based on if you're trying to see test or main networks.

Are you saying that the contracts already have a flag? If so, then great!
Would you mind pointing it out to me in the pb file?

I'll have to defer to @cpacia for that right now since he's the one who wrote that code, but I believe right now you could at least see that the listing accepts testnet Bitcoin for payment if you wanted to get started on filtering out test listings.
"acceptedCurrencies": [
                "TBTC"
            ],

I thought I remembered there being more formal discussion of having a way to filter it out, but not sure the status.

That's correct. When we do searches with OB1, we filter on the accepted currency. That easily separates the testnet from mainnet listings, which you want to do in any case, since if you're on mainnet you can't buy testnet listings and vice versa.
@JustinDrake we just added a network flag to the search parameters yesterday, which will make this easier. If you get a search query with network=testnet, you should only show listings that accept TBTC, if you get network=mainnet, only BTC.
In the future when we support more currencies the acceptedCurrencies will be used for that too, and we'll send parameters for what currencies the user can spend. Just a heads up if you want to add that to your roadmap.

Regarding the larger issue, I don't think it's clear at all to most users that testnet exists, or how they would switch their server to use it.
We should put some thought into how we present that in a simple way, so users can safely experiment.
@morebrownies any thoughts there?

Regarding the larger issue, I don't think it's clear at all to most users that testnet exists, or how they would switch their server to use it.

One thing to keep in mind is that only users of the stand-alone server can potentially start-up a server in testnet mode. Users of the bundled app have no where to set that option. During alpha, it's hard-coded to testnet and during beta it will be hardcoded to mainnet.

We had this same discussion for 1.x and decided it was too much of a haul to add in a quick switch in the app, but we should probably consider it for a later enhancement.

@morebrownies any thoughts there?

I would echo @hoffmabc comment above. Ideally we would have a toggle switch for testnet | livenet, but if the scope is large, probably best to punt on it for now.

I don't think we have any plans to add a testnet toggle directly in the app.


[Enhancement] Block creating db using storage volume in shared-nothing mode

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 4 / 5 (80.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/CreateDbAnalyzer.java
4
5
80.00%
[51]

[FE PR Coverage Check]
:heart_eyes: pass : 4 / 5 (80.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/CreateDbAnalyzer.java
4
5
80.00%
[51]

[FE PR Coverage Check]
:heart_eyes: pass : 4 / 5 (80.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/CreateDbAnalyzer.java
4
5
80.00%
[51]

[FE PR Coverage Check]
:heart_eyes: pass : 4 / 5 (80.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/CreateDbAnalyzer.java
4
5
80.00%
[51]

@Mergifyio backport branch-3.1


connman-ncurses: init at 2015-07-21

Motivation for this change
A simple ncurses UI for ConnMan.
https://github.com/eurogiciel-oss/connman-json-client
https://github.com/eurogiciel-oss/connman-json-client/wiki
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Please suggest to upstream to make a release. Unless there is a release, how to know if it's ready for consumers (downstream)?

There is a 1.0 release: https://github.com/eurogiciel-oss/connman-json-client/releases/tag/v1.0
The package version includes some fixes committed later.
I have asked for a new release: https://github.com/eurogiciel-oss/connman-json-client/issues/21.

There is a 1.0 release: https://github.com/eurogiciel-oss/connman-json-client/releases/tag/v1.0

I saw that. The release notes weren't that reassuring: "This first release, well... improves the beta." :-) And it's from 2014.

I have asked for a new release: eurogiciel-oss/connman-json-client#21.

Great!

@GrahamcOfBorg eval

@GrahamcOfBorg build connman-ncurses

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘connman-ncurses-2015-07-21’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/tools/networking/connman-ncurses/default.nix:26 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
installing
'connman_ncurses' -> '/nix/store/qgg4gx98kl7r4qazh5wa22kh588vxgqs-connman-ncurses-2015-07-21/bin/connman_ncurses'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qgg4gx98kl7r4qazh5wa22kh588vxgqs-connman-ncurses-2015-07-21
shrinking /nix/store/qgg4gx98kl7r4qazh5wa22kh588vxgqs-connman-ncurses-2015-07-21/bin/connman_ncurses
strip is /nix/store/adidfx4pa7vmvby0gjqqmiwg2x49yr27-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/qgg4gx98kl7r4qazh5wa22kh588vxgqs-connman-ncurses-2015-07-21/bin
patching script interpreter paths in /nix/store/qgg4gx98kl7r4qazh5wa22kh588vxgqs-connman-ncurses-2015-07-21
checking for references to /build in /nix/store/qgg4gx98kl7r4qazh5wa22kh588vxgqs-connman-ncurses-2015-07-21...
/nix/store/qgg4gx98kl7r4qazh5wa22kh588vxgqs-connman-ncurses-2015-07-21

Success on aarch64-linux (full log)
Partial log (click to expand)
installing
'connman_ncurses' -> '/nix/store/1irlmgi6jkzw3060y0ckd4zg6jh9zr22-connman-ncurses-2015-07-21/bin/connman_ncurses'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1irlmgi6jkzw3060y0ckd4zg6jh9zr22-connman-ncurses-2015-07-21
shrinking /nix/store/1irlmgi6jkzw3060y0ckd4zg6jh9zr22-connman-ncurses-2015-07-21/bin/connman_ncurses
strip is /nix/store/skd6ix5ipkyhxzq7naylj4digawakl4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/1irlmgi6jkzw3060y0ckd4zg6jh9zr22-connman-ncurses-2015-07-21/bin
patching script interpreter paths in /nix/store/1irlmgi6jkzw3060y0ckd4zg6jh9zr22-connman-ncurses-2015-07-21
checking for references to /build in /nix/store/1irlmgi6jkzw3060y0ckd4zg6jh9zr22-connman-ncurses-2015-07-21...
/nix/store/1irlmgi6jkzw3060y0ckd4zg6jh9zr22-connman-ncurses-2015-07-21


FixTreeNodeClickNotAlignWithUserView

due to scalling or my window setting or the mouse scroll value it result in
(when i debug i found that my current_line jump all over the place and cause this)

when i click some heading, example the MVC heading it highlight the heading above or sometime the heading bellow

oh and i found that your repo don't have the .prettierrc to standardize the code format


Revert "Configure cloud provider"

Reverts randforum/github-actions-continuous-delivery-azure#2

I am trying to revert the pull request


Tracking implementations to understand breaking change impacts

We've had two recent incidents of breaking changes made in RFCs that affect implementations - DID Exchange (discussed previously) and new Discover Features (the feature formerly known as protocol-discovery).  In these early days, I think we need a way to track when there are implementations so that when breaking changes are made, the existing implementations are known and can be directly notified.
The implementations and their association with Aries-RFCs should be self-reported and should be tied to a specific version and point in time, so that when a breaking change is proposed, the impact can be understood.
Not sure what is the best way to do this that will handle our current case and scale appropriately:

Add an Implementations section to the RFCs that contain pointers to implementations set to the version implemented.
Add an Implementations.md document that lists pointers to implementations and the concepts/features implemented by the implementations.
Add an Implementations.md document that list implementations with a pointer to an aries-rfcs-supported.md document within the implementation repo. That document in turns lists the supported RFCs versions.

Maybe with the latter the definition can be strict enough that a utility can be created to walk the lists and report the impact of an RFC change?
Anyone have suggestions from what has been done in other communities at this stage of growth?

Related: We need to understand which status of an RFC indicates that building on it is a good idea. DID Exchange isn't there yet IMO, but that isn't yet obvious in our RFC Structure.

Wow.  Given that the status of the RFC is "Accepted", then the fact it isn't there yet is a major issue.  The lifecycle has to be followed.
My preference is that we add "Connection" back in as accepted and change DID Exchange to proposed.
And we track implementations so that we know when, and we can notify, things are going to break.

The error here is indeed mine. I have a not-yet-done PR which changes the status of DID Exchange back to Proposed.

Sounds good - but please add the connection protocol back at the same
time.  We've got lots of implementations that are working because that is
accepted and in place.
On Wed, Jul 24, 2019 at 11:33 AM Sam Curren<EMAIL_ADDRESS>wrote:

The error here is indeed mine. I have a not-yet-done PR which changes the
status of DID Exchange back to Proposed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/aries-rfcs/issues/137?email_source=notifications&email_token=AAHYRQT6TCPQAZ2EKGBEPJ3QBCN57A5CNFSM4IF25MBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2XHALI#issuecomment-514748461,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHYRQVW2LGJKN2JD4QYOJTQBCN57ANCNFSM4IF25MBA
.

We have started on building the DID Exchange feature.

@troyronda "connection" was its previous name

@swcurran I am supportive of what you are asking for. I think we should have an Implementations section, and encourage people to submit PRs linking to their impls. And I think better discipline would be a benefit for everyone.
However, I do not agree with your characterization of the history of the Connection protocol. I wanted to offer an alternate history, just so people who come to this ticket see that there are other viewpoints that aren't so critical of how that evolved. So, IMO:

The connection protocol was incubated in Indy, and merged there. This was under an old process that predated Aries, and more or less equates to Indy's ACCEPTED status.

When Aries came along and we decided that some Indy HIPEs ought to be Aries RFCs, we generally tried to move things straight across while adjusting statuses for the new process/lifecycle Aries was using. However, there was never a crisp agreement about how this transition would happen in all its specifics--there was just a general intention and a rough process.

This particular protocol was raised as a PR against Aries with the name "Connection", but before the PR was fully processed, the RFC title was changed from "Connection" to "DID Exchange". Changing a PR is not a violation of any process; anybody who raises a PR can always do that.

There has been no breaking change. The Connection protocol that your codebase implements still exists in its Indy HIPE, and nothing about it has changed in a way that breaks anybody. It is correctly marked as Superseded by the Aries RFC with the new name, and Aries RFC 0023 DID Exchange correctly notes that it supersedes Indy HIPE 0031. We don't need to "bring back" a Connection Protocol in Aries; it never existed in Aries in the first place. If you want to keep supporting the Indy Connection Protocol, by all means do.

@troyronda The differences between Indy's Connection Protocol and Aries's DID Exchange Protocol are largely cosmetic. If you're building for one, you're almost exactly building for the other, give or take a few string constants. Press forward with confidence.

I disagree with your view of the flow, but I'm not fussed about.  However, there is a factual error in what you have that I highlighted in Rocketchat and will repeat here about what implementations exist:

A number of implementers implemented Connections 0.1 that is documented here - https://hackmd.io/s/HkklVzww4 It was defined for IIW and has had a much longer lifespan than expected. Note that it is significantly different that DID-Exchange in that it does not support preview or the proposal messages.

The indy-hipe version was never implemented and so should be ignored.  As I talked about on Rocketchat, I think the 0.1 version of the connection protocol should be added as an Aries RFC and can do that.
This is all separate from the point of the issue - how do we know when changes are going to break existing implementations so that we treat those more carefully.

Taking note that I have a TODO to provide an example of how this might work. I haven't gotten to it, but will provide a proposed solution and link to it in this issue.

An Implementations section has been added to the RFC template and all of the existing RFCs.  As well, the "Demonstrated" status has been added to the RFC lifecycle.
I think we are good to close this and I'll do that in a day or two.  Please post a note if you think more needs to be done.

Closing this issue - we're good for now.


Unrecoverable crash after attempting Auto-Eject

Please use the search functionality before reporting an issue. Also take a look at the closed issues!
Issue description:
Turn on Auto-eject. game crashed.  now can't reload the game at all
Steps to reproduce:

Put hopper on top of Energized Smelter
Put chest on top of hopper
3.Load chest with different types of dust
Wait for a few of the dusts to turn into ignots.(in this case, copper)
Place chest to the right of Energized Smelter.  (NOte: This also ends up with the chest being to the left of a Metallurgic Infuser that I believe was producing steel dust)
Turn on Auto-Eject at Energized Smelter
After a few seconds, game crashes and cannot be recovered.

Version (make sure you are on the latest version before reporting):
Forge: <IP_ADDRESS>05
Mekanism: 1.12.2-<IP_ADDRESS>0
Other relevant version:
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
---- Minecraft Crash Report ----
WARNING: coremods are present:
Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
Contact their authors BEFORE contacting forge
// Oh - I know what I did wrong!
Time: 4/4/19 9:24 PM
Description: Ticking block entity
java.lang.NoSuchMethodError: net.minecraftforge.items.IItemHandler.isItemValid(ILnet/minecraft/item/ItemStack;)Z
at mekanism.common.util.InventoryUtils.putStackInInventory(InventoryUtils.java:91)
at mekanism.common.tile.component.TileComponentEjector.outputItems(TileComponentEjector.java:212)
at mekanism.common.tile.component.TileComponentEjector.tick(TileComponentEjector.java:105)
at mekanism.common.tile.prefab.TileEntityBasicBlock.func_73660_a(TileEntityBasicBlock.java:87)
at net.minecraft.world.World.func_72939_s(World.java:1832)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Server thread
Stacktrace:
at mekanism.common.util.InventoryUtils.putStackInInventory(InventoryUtils.java:91)
at mekanism.common.tile.component.TileComponentEjector.outputItems(TileComponentEjector.java:212)
at mekanism.common.tile.component.TileComponentEjector.tick(TileComponentEjector.java:105)
at mekanism.common.tile.prefab.TileEntityBasicBlock.func_73660_a(TileEntityBasicBlock.java:87)
-- Block entity being ticked --
Details:
Name: mekanism:energized_smelter // mekanism.common.tile.TileEntityEnergizedSmelter
Block type: ID #256 (tile.MachineBlock // null)
Block data value: 10 / 0xA / 0b1010
Block location: World: (-51,38,-399), Chunk: (at 13,2,1 in -4,-25; contains blocks -64,0,-400 to -49,255,-385), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Actual block type: ID #256 (tile.MachineBlock // null)
Actual block data value: 10 / 0xA / 0b1010
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1832)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
-- Affected level --
Details:
Level name: New World
All players: 1 total; [EntityPlayerMP['LilStopey'/149, l='New World', x=-49.69, y=38.00, z=-397.32]]
Chunk stats: ServerChunkCache: 755 Drop: 0
Level seed: -2415288656021689837
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (-168,64,-20), Chunk: (at 8,4,12 in -11,-2; contains blocks -176,0,-32 to -161,255,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Level time: 348558 game time, 348558 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 58819 (now: false), thunder time: 30163 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory:<PHONE_NUMBER> bytes (961 MB) /<PHONE_NUMBER> bytes (1408 MB) up to<PHONE_NUMBER> bytes (2048 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
FML: MCP 9.42 Powered by Forge <IP_ADDRESS>05 10 mods loaded, 10 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State     | ID                 | Version                  | Source                                  | Signature                                |
|:--------- |:------------------ |:------------------------ |:--------------------------------------- |:---------------------------------------- |
| UCHIJAAAA | minecraft          | 1.12.2                   | minecraft.jar                           | None                                     |
| UCHIJAAAA | mcp                | 9.42                     | minecraft.jar                           | None                                     |
| UCHIJAAAA | FML                | <IP_ADDRESS>                | forge-1.12.2-<IP_ADDRESS>05.jar           | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAAAA | forge              | <IP_ADDRESS>05             | forge-1.12.2-<IP_ADDRESS>05.jar           | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAAAA | inventorytweaks    | 1.63+release.109.220f184 | InventoryTweaks-1.63.jar                | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe |
| UCHIJAAAA | jei                | <IP_ADDRESS>8               | jei_1.12.2-<IP_ADDRESS>8.jar               | None                                     |
| UCHIJAAAA | journeymap         | 1.12.2-5.5.4             | journeymap-1.12.2-5.5.4.jar             | None                                     |
| UCHIJAAAA | mekanism           | 1.12.2-<IP_ADDRESS>0         | Mekanism-1.12.2-<IP_ADDRESS>0.jar           | None                                     |
| UCHIJAAAA | mekanismgenerators | 1.12.2-<IP_ADDRESS>0         | MekanismGenerators-1.12.2-<IP_ADDRESS>0.jar | None                                     |
| UCHIJAAAA | mekanismtools      | 1.12.2-<IP_ADDRESS>0         | MekanismTools-1.12.2-<IP_ADDRESS>0.jar      | None                                     |

Loaded coremods (and transformers):

Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
invtweaks.forge.asm.ContainerTransformer
GL info: ERROR RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [EntityPlayerMP['LilStopey'/149, l='New World', x=-49.69, y=38.00, z=-397.32]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

Update your forge, it's too old.
Note to self/devs: forge required version check not working?

Also please use a service like Pastebin/Gist for crashlogs in future

Or use the collapse function in the editor.


support unix_socket_path in from_url

unfortunately no way to encode the DB in this implementation

hi @graingert
The code for from_url method has moved and evolved since the time of PR creation.
Could you check if this PR is still relevant?
As for your question "Is there an 'official' redis URI definition?" some links were added to the method's docstring.
Thank you.

Yes, this was resolved long ago. Use unix:// as the scheme to connect via a unix socket connection.

Yeah I've lost all context in this, sorry
On Sun, 26 May 2019, 20:20 Andy McCurdy<EMAIL_ADDRESS>wrote:

Closed #294 https://github.com/andymccurdy/redis-py/pull/294.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/andymccurdy/redis-py/pull/294?email_source=notifications&email_token=AADFATDKLMZFBANUAUZYDSTPXLPGZA5CNFSM4AB2DYJ2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORUSCZDQ#event-2367958158,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADFATBGLIML272ETXVCKSLPXLPGZANCNFSM4AB2DYJQ
.


Rename pp_rules to pp_load_rules

In preparation to convert PP save rules from a text file to Python, this PR renames pp_rules (that contains rules for loading PP files) to pp_load_rules (more descriptive, less likely to be confusing in the future).

Now rebased following recent changes.

Does this need a What's New entry? It's technically a public API change.

!


Use live data for overview Sliders

Fix #82
This PR implement using live data for the overview sliders.
It also adds a condition to prevent slider widget from adding items repeatedly since Layout() is drawn multiple times per sec.

Testnet is failing when trying to fetch exchange with this error
 [ERR] UI: Get "/markets/DCR-USDT/ticker": unsupported protocol scheme ""
2023-09-27 10:02:03.110 [ERR] UI: Get "/markets/DCR-USDT/ticker": unsupported protocol scheme ""

Mainnet

as per the issue

clicking on the asset card should take you to the wallets tab


NEXT-25239 - Fix many to one versioned references

1. Why is this change necessary?
As described in the linked issue, versioned references (e.g. from document to order over the id and version_id of said order) from unversioned entities (e.g. document) are not respected properly and result in undefined / unreasoned behaviour. This results in wrong total calculations and possibly wrongfully returned associations.
2. What does this change do, exactly?
This change fixes the ManyToOneAssociationFieldResolver to respect versioned references from unversioned entities through adding respective checks and constructing additions for the join condition. It also adds some useful comments to understand the methods, removes false ones and renames methods for better understanding and consistency.
3. Describe each step to reproduce the issue or behaviour.

Create an order
Generate a document for that order
In the Database, check if the order version number created for the document is lexicographically smaller than the live version, if it is, change it (in the order table so FK kick in) so it is bigger
With an API client of your choice, log in and prepare a search for the document via the /api/search/document endpoint.
In the request for 3., specify a filter on order.orderNumber for the respective order of that document and request the order in the associations. Additionally, request exact counting of the entities (total-count-mode: 1).
Dispatch the request
6.1 The results will include an order in the live version (which is wrong as the document references another version, the live version is just lexicographically the first one)
6.2 The results will include a wrong total (2 instead of 1)
Add an additional filter for order.versionId for the specific version of the document
Dispatch the request again
8.1 The results will still include an order in the live version
8.2 The results will now have a correct total count (due to filters being respected in the ID fetch for the document)

As can be seen, both 6.* and 8.1 leave unsatisfying results. This PR will fix all problems from 6.*, which also resolves 8.1 as we not even need an additional filter.
4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/NEXT-25239
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[x] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

🤖 Generated by Copilot at 80317b1
This pull request fixes a bug in the ManyToOneAssociationFieldResolver class that caused incorrect joins and queries for versioned many to one associations. It also adds documentation, formatting and tests for the updated class. The affected files are ManyToOneAssociationFieldResolver.php, ManyToOneAssociationFieldResolverTest.php and 2023-04-27-fix-versioned-many-to-one-references.md.

🤖 Generated by Copilot at 80317b1

Add a changelog entry for the fix of versioned many-to-one references (link)
Modify the join method of the ManyToOneAssociationFieldResolver class to use the new buildVersionWhere method instead of the buildWhere method (link)
Remove the internal annotation from the buildWhere method, as it is no longer overwritten by the parent class (link)
Replace the buildWhere method with the new buildVersionWhere method, which handles different scenarios of version-aware and non-version-aware entities and fields (link)
Add a docblock comment to the buildVersionWhere method (link)
Add a trailing comma to the from method call in the createSubVersionQuery method, to comply with the coding standards (link)
Add a docblock comment to the joinVersion method, which joins the correct version of the referenced entity based on the available fields (link)
Add a trailing comma to the str_replace method call in the joinVersion method, to comply with the coding standards (link)
Add a new test class for the ManyToOneAssociationFieldResolver class, to verify the functionality of the versioning logic (link)
Include the necessary use statements, properties, setup method and test cases in the test class (link)

Hey @maximilianruesch,
i tried to merge your PR but the e2e tests are failing in our pipeline.
It seems that the document generation is not working correctly with your changes.

I was able to reproduce the order/sw-order/edit-add-credit-note.cy.js by trying to generate a credit note for an order.
To execute the e2e tests you can run the following commands:
composer run e2e:setup
composer run e2e:open

I'm sorry that I have to play the PR back after three weeks, but we currently do not have the resources to analyze exactly where the error lies here.

I suppose this is a general issue with loading the documents in their list view in the order detail. The documents are loaded scoped to a specific order version which is not the intended behaviour. Removing the following statement here can help with this: https://github.com/shopware/platform/blob/5865d9008edf14661c1d8627385514e04821670b/src/Administration/Resources/app/administration/src/module/sw-order/component/sw-order-document-card/index.js#L122
I currently have trouble rebuilding my administration and thus executing the E2E Tests does not yield positive results. I will cater to this as fast as possible, maybe one of my colleagues will in the meantime (as i will be on vacation from tomorrow).

Thanks for your contribution, your PR was merged! :tada: :blue_heart:


pkg/host: support feature checking in syz-executor for HostFuzzer mode

When fuzzers run in HostFuzzer, they need to check features in the target machine, however, the current logic for feature checking happens on the host (syz-fuzzer).

Related to #1541

Hi, does the problem solved? I still meet it now.

The problem wasn't solved. The issue status is accurate.

The problem wasn't solved. The issue status is accurate.

Thanks for your reply.


Design Document

Write a design doc explaining fairing mechanisms at a high-level.

/assign @wbuchwalter


Reject master keys shorter than 16 bytes in production

No API change

Summary
Update specs after the changes of https://github.com/meilisearch/meilisearch/issues/3272.
Related to https://github.com/meilisearch/meilisearch/pull/3274.

Changes

Specify that too short a Master Key is a cause for error

Out Of Scope
Warnings emitted in dev mode are considered out of scope as far as the spec is regarded. This is consistent with other specifications that generally leave warnings up to the implementation.

Attention To Reviewers
N/A

Misc

[] Update OpenAPI specification file (if needed; Apply the OpenApi label)
[] Update telemetry datapoints (if needed; Apply the Telemetry label)

Clarified that the master key length is tested against its size in bytes, not characters

Thanks for the warning and error messages, @gmourier !

@gmourier: answered inline above with a concern in the case of development mode with too short a master key.
Other changes look fine to me ❤

I completely understand the message's purpose, but if the user does it literally, it may not work when using Docker.

Because if you run the export command, the ENV var will be applied to the host, and the user will still have to pass it > through the docker command.
So it does not work if the user "just restart Meilisearch".

Should we give the --master-key options instead of the export command @brunoocasali to overcome that?

I agree with you @dureuill; we can favor the --master-key option instead of the export one. One solution could be to display both also... @brunoocasali WDYT?
If we don't have a proper answer before wednesday, we will move to the --master-key option @dureuill

@dureuill made excellent observations about it.
I think the --master-key option is the best because it will work across all the environments as Louis pointed out. And even if the user does not like the option, they will have to review the docs to check another option to use it (config file, env var, or keep the CLI).
Could we also have some opinions from the docs team? Because maybe by changing the way the message is written, we could avoid misunderstandings.

Hi @maryamsulemani97! Can you check if the text messages are understandable and correct from the doc team's POV? It would be super helpful 🙇♂ Let me know if I should ask someone else

Thank you, @maryamsulemani97, for your review! I've integrated all the suggested changes.
@dureuill, @brunoocasali I've changed the export MEILI_MASTER_KEY= by --master-key


Add .DS_Store (macOS), .vscode (visual studio code), and .idea (Jetbr…

…ains IDE) to .gitignore

Adds common filetypes to .gitignore, so that developers don't accidentally checkin files that are
typically modified locally.
.vscode -- this is used to store Microsoft Visual Studio code workspace information
.idea - this is used by Jetbrains IDEs like CLion (or IntelliJ)
.DS_Store - this stores additional attributes on macOS
In my case I was experimenting with building the provider for the first time, and was trying out the two IDEs, and
noticed these modifications, so it seemed appropriate to clean them up.

Fixed bad commit.


Training step issue

Hi there, here I found that the step += 1 is under the for loop of train_iter.
And in this case, only the first 100 samples of the first batch are used to train, is that correct?

I am not sure why do you think like that.

training_step is the total number of steps for training.

Clear now, thanks for your explanation!


[Run] Drag and drop files

Summary of the new feature/enhancement
PowerToys Run is a amazing way to find files. I already used Wox, Listary and Everything, but the fact that Microsoft is developing it's own tool is very promising. I know a lot of artists who uses those kind of tools to search quickly through their assets, and integrate it into their work.
Listary and Everything already has the possibility to drag and drop the file directly from the search results into any app. So you can move/copy files into another folder, or integrate a image directly into a Photoshop composition, or a video file into Premiere for example. This will open so much possibilities !
Currently, you can't do that directly from the search results and have to open the containing folder, and then move the corresponding file into your app.

Example of this feature in Eveything. Works similarly in Listary. The same feature is open on Wox .
Proposed technical implementation details (optional)
Sorry, I'm not a Windows developer, but I'm pretty sure there is a corresponding API for those kind of thing.
Thanks to all the contributors of this amazing feature toolset !

This would be a great feature to have!!

I would love to see this too!

Maybe combine this with a Quick Switch feature (like seen in Listary) and like seen in #23

Maybe combine this with a Quick Switch feature (like seen in Listary) and like seen in #23

Ref: #12182

So?

Please i cannot wait to use this feature. It's the only major thing missing from PowerToys/Flow laucher and i would actualy pay for it if i had to.

The changes related to this issue have been released in 0.66 and can be found in the latest version: https://github.com/microsoft/PowerToys/releases


Chaning Admin Username does not reflect the change at repositories Panel.

Description

install Gitea on windows with Sqlite database
create the first username with name admins which will be admins automatically (being the first user)
create a test repository
change its name to something else.

this bug happens:

the name is changed almost everywhere except the repositories panel (picture below)

maybe this is not related to the admin user and other users are like this as well (I have not tested it because I have a single user yet).

at below picture the name admins is wrong. I have changed it and at the repository main page the name is shown correctly.

Gitea Version
1.21.0+dev-554-g3e044d2c9
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
windows
How are you running Gitea?
command-line
Database
SQLite

Unable to reproduce on 1.21.0+dev-577-g79c332950 with sqlite
Could you try to reproduce it with a new instance and report detailed steps? Including how do you change the name?

We close issues that need feedback from the author if there were no new comments for a month. :tea:


Unable to enter port number in Acode

After installing the add-on and installing the server via the curl command. I ran acodeX-server through termux and then went to acode and used the command shortcut "ctrl+k" and get the error "Start the acodeX Server in termux first!" I would show images but I can't figure out how to upload them through this issue page.
I'm running grapheneos on version<PHONE_NUMBER> on a pixel 6. Plugin version is v3.0.1. Here's what I got when running uname
uname -a Linux localhost 5.10.200-android13-4-gb559d5ab185a #1 SMP PREEMPT Thu Dec 7 05:20:47 UTC 2023 aarch64 Android
Also both apps, acode and termux have been granted all permissions to access the network, sensors, etc.

I have already tested on previous grapheneos and it worked at that time.
Is there any message or anything when you run the acodeX-server ?
You can enter port number from AcodeX setting page (from Acode App > Settings > Plugin> AcodeX plugin page > and ⚙ icon on top)

Sorry for the late response. I didn't realize you could edit the port from there. Here are some of the screenshots I got

What's really interesting is that when I go to the AcodeX setting page to change the port. The extension still doesn't recognize that the server is open on said port.

I hope this helps!

It's unexpected!!!
Try by reinstalling the AcodeX plugin in Acode(not the server)

Sorry about the long wait. I'm not sure what caused the issue initially, but reinstalling Termux solved it. Reinstalling the Acode app, the plugin, and the server didn't fix the problem so it ended up being a Termux problem I don't understand. However, once I reinstalled Termux, I successfully got the node server to work, and it connected with the plugin.


Can't export files from Documents directory from application sandbox

After creating a file in the Documents directory of the application's sandbox I can't export it using the custom artifacts feature of device farm.
I've created this fork to help explain and reproduce the issue.
https://github.com/jamesknowsbest/aws-device-farm-xctest-ui-tests-for-ios-sample-app
Let me know if you need anything else

[update]
Previously, I was creating a file from the tests. This put the file in the application sandbox of the test app directory and not the directory of the actual app. I'm working on having the app create a file to verify that this feature works as expected.